/**
 * Inner pages — all pages except home & seismic activity.
 * Scoped to body.ies-inner-layout
 */

body.ies-inner-layout div.container.content-width{
	width: min(var(--ies-layout-max-width), calc(100% - var(--ies-layout-gutter)));
	max-width: min(var(--ies-layout-max-width), calc(100% - var(--ies-layout-gutter)));
	min-height: var(--ies-layout-min-height);
	box-sizing: border-box;
}

body.ies-inner-layout .layout-shell,
body.ies-inner-layout .page-content-shell{
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.ies-inner-layout .content-article-card,
body.ies-inner-layout .project-list-card,
body.ies-inner-layout .project-detail-card,
body.ies-inner-layout .cv-profile-card{
	background: linear-gradient(180deg, #ffffff 0%, #fffafb 100%) !important;
	border: 1px solid #eee2e5 !important;
	border-radius: 22px !important;
	box-shadow: 0 18px 40px rgba(85, 11, 34, 0.08) !important;
	padding: 26px 28px !important;
	margin-bottom: 0 !important;
}

body.ies-inner-layout .page-article-title,
body.ies-inner-layout .announcements-page-title{
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f0e4e8;
}

body.ies-inner-layout .page-article-body{
	display: grid;
	gap: 18px;
	line-height: 1.65;
}

/* Archive grids */
body.ies-inner-layout .ies-archive-grid{
	display: grid;
	gap: 18px;
}

body.ies-inner-layout .ies-archive-grid--records{
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.ies-inner-layout .ies-archive-grid--profiles{
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.ies-inner-layout .ies-archive-grid--news{
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Record / project / publication cards */
body.ies-inner-layout .ies-record-card,
body.ies-inner-layout .page-article-body > .wrapper,
body.ies-inner-layout .page-article-body .ies-prose-stack > .wrapper{
	background: linear-gradient(165deg, #ffffff 0%, #fff9fb 100%);
	border: 1px solid #eee3e6;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(70, 0, 20, 0.08);
	transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
	margin-bottom: 0 !important;
}

body.ies-inner-layout .ies-prose-stack{
	display: grid;
	gap: 1.25rem;
}

body.ies-inner-layout .ies-prose-list{
	margin: 0;
	padding-left: 1.35rem;
	display: grid;
	gap: 0.75rem;
}

body.ies-inner-layout .ies-prose-list li{
	padding: 10px 12px;
	border-radius: 12px;
	background: #fffbfc;
	border: 1px solid #f3e8ec;
	line-height: 1.65;
}

body.ies-inner-layout .wrapper > div[style*="padding"] p{
	margin: 0 0 0.85rem;
	text-align: justify;
}

body.ies-inner-layout .wrapper > div[style*="padding"] p:last-child{
	margin-bottom: 0;
}

body.ies-inner-layout .ies-record-card:hover,
body.ies-inner-layout .page-article-body > .wrapper:hover,
body.ies-inner-layout .page-article-body .ies-prose-stack > .wrapper:hover{
	transform: translateY(-4px);
	box-shadow: 0 18px 32px rgba(70, 0, 20, 0.12);
	border-color: #d6b1be;
}

/* კონტენტი ყოველთვის ჩანდეს — reveal ანიმაციის გათიშვისას */
body.ies-inner-layout .content-article-card.ies-reveal,
body.ies-inner-layout .content-article-card.ies-reveal.ies-reveal-on,
body.ies-inner-layout .announcements-page.ies-reveal,
body.ies-inner-layout .announcements-page.ies-reveal.ies-reveal-on{
	opacity: 1 !important;
	transform: none !important;
	filter: none !important;
}

body.ies-inner-layout .ies-record-card__head,
body.ies-inner-layout .wrapper-title{
	padding: 14px 18px 12px 18px;
	background: linear-gradient(90deg, #fff1f3 0%, #ffffff 100%);
	border-bottom: 1px solid #f0e4e8;
	border-left: 4px solid #bf123c;
	margin: 0;
}

body.ies-inner-layout .ies-record-card__title,
body.ies-inner-layout .wrapper-title a,
body.ies-inner-layout .wrapper-title{
	margin: 0;
	font-size: 16px;
	line-height: 1.4;
	color: #4f1022;
	font-weight: 700;
}

body.ies-inner-layout .ies-record-card__title a:hover{
	color: #bf123c;
}

body.ies-inner-layout .ies-record-card__body,
body.ies-inner-layout .wrapper > div[style*="padding"]{
	padding: 16px 18px 18px 18px !important;
	display: grid;
	gap: 10px;
}

body.ies-inner-layout .ies-record-card__body > div,
body.ies-inner-layout .ies-meta-row,
body.ies-inner-layout .field_container,
body.ies-inner-layout .page-article-body .wrapper > div > div{
	padding: 10px 12px;
	border-radius: 12px;
	background: #fffbfc;
	border: 1px solid #f3e8ec;
}

body.ies-inner-layout .ies-meta-row strong,
body.ies-inner-layout .field_container strong,
body.ies-inner-layout strong.mtavruli,
body.ies-inner-layout strong.mtavruliN{
	display: block;
	font-size: 11px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #8d6673;
	margin-bottom: 4px;
}

/* Profile / staff cards */
body.ies-inner-layout .ies-profile-card{
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 0;
	align-items: stretch;
}

body.ies-inner-layout .ies-profile-card .ies-record-card__head{
	border-left: 0;
	border-bottom: 1px solid #f0e4e8;
	background: transparent;
	padding: 0 0 10px;
}

body.ies-inner-layout .ies-profile-card__content{
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

body.ies-inner-layout .ies-profile-card__media{
	padding: 16px;
	border-right: 1px solid #f0e4e8;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	background: #fffbfc;
}

body.ies-inner-layout .ies-profile-card__media img{
	width: 100px;
	height: 100px;
	object-fit: contain;
	object-position: center;
	background: #f4eff1;
	border-radius: 16px;
	border: 2px solid #f3e8ec;
}

body.ies-inner-layout .ies-profile-card__body{
	padding: 0;
	display: grid;
	gap: 8px;
	align-content: start;
}

body.ies-inner-layout table.profile{
	display: block;
	width: 100%;
}

body.ies-inner-layout table.profile tbody,
body.ies-inner-layout table.profile tr{
	display: contents;
}

body.ies-inner-layout table.profile td{
	display: block;
	padding: 0 !important;
	border: 0 !important;
	width: auto !important;
}

body.ies-inner-layout table.profile td:first-child{
	grid-column: 1;
}

body.ies-inner-layout .ies-profile-card table.profile{
	display: grid;
	grid-template-columns: 120px 1fr;
}

body.ies-inner-layout .ies-profile-card table.profile td:first-child{
	padding: 16px !important;
	border-right: 1px solid #f0e4e8 !important;
}

body.ies-inner-layout .ies-profile-card table.profile td:first-child img{
	border-radius: 16px;
	width: 100px;
	height: 100px;
	object-fit: contain;
	object-position: center;
	background: #f4eff1;
}

body.ies-inner-layout .ies-profile-card table.profile td:last-child{
	padding: 16px 18px !important;
}

/* News cards */
body.ies-inner-layout .news-archive-card{
	display: flex;
	flex-direction: column;
	height: 100%;
	background: linear-gradient(165deg, #ffffff 0%, #fff9fb 100%);
	border: 1px solid #eee3e6;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(70, 0, 20, 0.09);
	transition: transform .24s ease, box-shadow .24s ease;
}

body.ies-inner-layout .news-archive-card:hover{
	transform: translateY(-5px);
	box-shadow: 0 20px 34px rgba(70, 0, 20, 0.13);
}

body.ies-inner-layout .news-archive-card--featured{
	grid-column: span 2;
	flex-direction: row;
}

body.ies-inner-layout .news-archive-card-image{
	padding: 14px 14px 0;
}

body.ies-inner-layout .news-archive-card--featured .news-archive-card-image{
	width: 42%;
	padding: 16px 0 16px 16px;
}

body.ies-inner-layout .news-archive-card-image img{
	width: 100%;
	height: 160px;
	object-fit: contain;
	object-position: center;
	background: #f4eff1;
	border-radius: 14px;
}

body.ies-inner-layout .news-archive-card--featured .news-archive-card-image img{
	height: 100%;
	min-height: 200px;
}

body.ies-inner-layout .news-archive-card-body{
	padding: 12px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

body.ies-inner-layout .news-archive-card-time{
	font-size: 11px;
	color: #8d6673;
	text-transform: uppercase;
	letter-spacing: .04em;
	border-left: 3px solid #bf123c;
	padding-left: 10px;
}

body.ies-inner-layout .news-archive-card-title{
	margin: 0;
	font-size: 15px;
}

body.ies-inner-layout .news-archive-card-excerpt{
	margin: 0;
	font-size: 13px;
	color: #6c5962;
	line-height: 1.55;
	flex: 1;
}

/* Link grids (structure, services) */
body.ies-inner-layout .ies-link-grid,
body.ies-inner-layout .ies-services-grid{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

body.ies-inner-layout .ies-link-card,
body.ies-inner-layout .ies-service-card{
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 140px;
	padding: 18px 16px;
	border-radius: 18px;
	border: 1px solid #e7d7de;
	background: linear-gradient(180deg, #ffffff 0%, #fff7fa 100%);
	color: #4e3b43 !important;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
	box-shadow: 0 14px 30px rgba(71, 8, 25, 0.09);
	text-decoration: none !important;
	transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, color .24s ease;
}

body.ies-inner-layout .ies-link-card:hover,
body.ies-inner-layout .ies-service-card:hover{
	transform: translateY(-6px);
	border-color: #d3afbc;
	color: #8c1530 !important;
	box-shadow: 0 20px 34px rgba(71, 8, 25, 0.14);
}

body.ies-inner-layout table.structure{
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	width: 100% !important;
	border: 0;
}

body.ies-inner-layout table.structure tbody,
body.ies-inner-layout table.structure tr{
	display: contents;
}

body.ies-inner-layout table.structure td{
	padding: 0 !important;
	border: 0 !important;
}

body.ies-inner-layout .structure-wrapper{
	min-height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 18px !important;
	margin: 0 !important;
}

body.ies-inner-layout .structure-wrapper a{
	font-size: 15px;
	font-weight: 700;
	color: #4f1022 !important;
	text-decoration: none !important;
}

body.ies-inner-layout .structure-wrapper:hover a{
	color: #bf123c !important;
}

/* Content lists */
body.ies-inner-layout .content-list{
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 8px 0 0 !important;
}

body.ies-inner-layout .content-list > li{
	margin: 0;
}

body.ies-inner-layout .content-list > li > a,
body.ies-inner-layout .content-list > li > span{
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 10px 12px;
	border-radius: 12px;
	border: 1px solid #eadde2;
	background: #fff;
	text-align: center;
	font-size: 13px;
}

body.ies-inner-layout .content-list > li > a:hover{
	background: #fff6f8;
	color: #8c1530;
	border-color: #d9b6c3;
}

/* Maps & data tables */
body.ies-inner-layout .ies-stations-page,
body.ies-inner-layout .ies-map-stack{
	display: grid;
	gap: 16px;
}

/* სეისმური / GNSS სადგურების გვერდები */
body.ies-stations-layout .layout-sidebar{
	display: none !important;
}

body.ies-stations-layout .layout-main{
	width: 100% !important;
	max-width: 100% !important;
}

body.ies-stations-layout .page-article-body > p,
body.ies-stations-layout .page-article-body > ul,
body.ies-stations-layout .page-article-body > ol{
	max-width: none;
}

body.ies-stations-layout .ies-stations-filter-card{
	background: linear-gradient(180deg, #ffffff 0%, #fffafb 100%);
	border: 1px solid #eee2e5;
	border-radius: 18px;
	box-shadow: 0 12px 28px rgba(70, 0, 20, 0.08);
	padding: 18px 20px;
}

body.ies-stations-layout .ies-stations-filter-form{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px 18px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

body.ies-stations-layout .ies-stations-filter-options{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
	flex: 1 1 280px;
}

body.ies-stations-layout .ies-stations-filter-options legend{
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.ies-stations-layout .ies-stations-filter-chip{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid #eadde2;
	background: #fff;
	color: #4f1022;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

body.ies-stations-layout .ies-stations-filter-chip:hover{
	border-color: #d6b1be;
	background: #fff7f9;
}

body.ies-stations-layout .ies-stations-filter-chip input{
	margin: 0;
	width: 16px;
	height: 16px;
	accent-color: #bf123c;
	vertical-align: middle;
}

body.ies-stations-layout .ies-stations-filter-chip:has(input:checked){
	border-color: #d6b1be;
	background: #fff0f4;
	box-shadow: inset 0 0 0 1px rgba(191, 18, 60, 0.12);
}

body.ies-stations-layout .ies-stations-filter-actions{
	flex: 0 0 auto;
}

body.ies-stations-layout .ies-stations-filter-btn,
body.ies-stations-layout .ies-stations-filter-form .button{
	min-height: 42px;
	padding: 0 22px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #bf123c 0%, #8c1530 100%);
	color: #fff !important;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(140, 21, 48, 0.2);
}

body.ies-stations-layout .ies-stations-filter-btn:hover,
body.ies-stations-layout .ies-stations-filter-form .button:hover{
	filter: brightness(1.05);
}

body.ies-stations-layout table.eartquakes-legend{
	display: block;
	width: 100%;
}

body.ies-stations-layout table.eartquakes-legend tbody,
body.ies-stations-layout table.eartquakes-legend tr{
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

body.ies-stations-layout table.eartquakes-legend td{
	flex: 1 1 180px;
}

body.ies-stations-layout .ies-map-panel{
	width: 100%;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid #eee3e6;
	box-shadow: 0 12px 28px rgba(70, 0, 20, 0.08);
	background: #f7f4f5;
}

body.ies-stations-layout #stationsmap,
body.ies-stations-layout .ies-google-map-canvas{
	width: 100% !important;
	height: min(52vh, 480px) !important;
	min-height: 320px;
	border: 0 !important;
	border-radius: 0 !important;
}

body.ies-stations-layout .page-article-body table.eartquakes-table,
body.ies-stations-layout .ies-stations-page table:not(.eartquakes-legend){
	width: 100% !important;
}

body.ies-stations-layout .ies-stations-table-wrap{
	width: 100%;
	overflow-x: auto;
	border-radius: 18px;
	border: 1px solid #eee3e6;
	box-shadow: 0 12px 28px rgba(70, 0, 20, 0.08);
	background: #fff;
}

body.ies-stations-layout table.ies-stations-table,
body.ies-stations-layout table.eartquakes-table.ies-stations-table{
	width: 100% !important;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0 !important;
}

body.ies-stations-layout table.ies-stations-table th,
body.ies-stations-layout table.ies-stations-table td,
body.ies-stations-layout table.eartquakes-table.ies-stations-table th,
body.ies-stations-layout table.eartquakes-table.ies-stations-table td{
	text-align: center;
	vertical-align: middle;
	word-break: break-word;
}

body.ies-stations-layout table.ies-stations-table th:nth-child(1),
body.ies-stations-layout table.ies-stations-table td:nth-child(1),
body.ies-stations-layout table.eartquakes-table.ies-stations-table th:nth-child(1),
body.ies-stations-layout table.eartquakes-table.ies-stations-table td:nth-child(1){
	width: 52px;
}

body.ies-stations-layout table.ies-stations-table th:nth-child(2),
body.ies-stations-layout table.ies-stations-table td:nth-child(2),
body.ies-stations-layout table.eartquakes-table.ies-stations-table th:nth-child(2),
body.ies-stations-layout table.eartquakes-table.ies-stations-table td:nth-child(2){
	width: 10%;
}

body.ies-stations-layout table.ies-stations-table th:nth-child(3),
body.ies-stations-layout table.ies-stations-table td:nth-child(3),
body.ies-stations-layout table.ies-stations-table th:nth-child(4),
body.ies-stations-layout table.ies-stations-table td:nth-child(4),
body.ies-stations-layout table.eartquakes-table.ies-stations-table th:nth-child(3),
body.ies-stations-layout table.eartquakes-table.ies-stations-table td:nth-child(3),
body.ies-stations-layout table.eartquakes-table.ies-stations-table th:nth-child(4),
body.ies-stations-layout table.eartquakes-table.ies-stations-table td:nth-child(4){
	width: 12%;
}

body.ies-stations-layout table.ies-stations-table th:nth-child(5),
body.ies-stations-layout table.ies-stations-table td:nth-child(5),
body.ies-stations-layout table.eartquakes-table.ies-stations-table th:nth-child(5),
body.ies-stations-layout table.eartquakes-table.ies-stations-table td:nth-child(5){
	width: 24%;
}

body.ies-stations-layout table.ies-stations-table th:nth-child(6),
body.ies-stations-layout table.ies-stations-table td:nth-child(6),
body.ies-stations-layout table.eartquakes-table.ies-stations-table th:nth-child(6),
body.ies-stations-layout table.eartquakes-table.ies-stations-table td:nth-child(6){
	width: 14%;
}

body.ies-stations-layout table.ies-stations-table th:nth-child(7),
body.ies-stations-layout table.ies-stations-table td:nth-child(7),
body.ies-stations-layout table.eartquakes-table.ies-stations-table th:nth-child(7),
body.ies-stations-layout table.eartquakes-table.ies-stations-table td:nth-child(7){
	width: 10%;
}

body.ies-inner-layout table.eartquakes-legend{
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #eee3e6;
	background: #fff;
	box-shadow: 0 8px 20px rgba(70, 0, 20, 0.06);
}

body.ies-inner-layout table.eartquakes-legend td{
	padding: 12px 14px !important;
	font-size: 13px;
}

body.ies-inner-layout .legend-img{
	vertical-align: middle;
	margin-right: 6px;
}

body.ies-inner-layout .page-article-body table.eartquakes-table,
body.ies-inner-layout .page-article-body table:not(.structure):not(.profile):not(.eartquakes-legend){
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #eee3e6;
	box-shadow: 0 10px 24px rgba(70, 0, 20, 0.06);
}

body.ies-inner-layout .page-article-body table th{
	background: linear-gradient(90deg, #bf123c 0%, #8c1530 100%);
	color: #fff;
	font-size: 12px;
	padding: 12px 10px !important;
}

body.ies-inner-layout .page-article-body table td{
	padding: 10px 10px !important;
	border-top: 1px solid #f3e8ec;
	font-size: 13px;
}

body.ies-inner-layout .page-article-body table tr:hover td{
	background: #fff8fa;
}

body.ies-inner-layout .selected-eq-row td,
body.ies-inner-layout tr.selected-eq-row td{
	background: #fff0f4 !important;
}

/* Station details */
body.ies-inner-layout .station_details{
	padding: 20px 22px;
	border-radius: 18px;
	border: 1px solid #eee3e6;
	background: linear-gradient(180deg, #ffffff 0%, #fffafb 100%);
	box-shadow: 0 12px 28px rgba(70, 0, 20, 0.08);
	display: grid;
	gap: 10px;
}

body.ies-inner-layout .stations-details-spoiler,
body.ies-inner-layout .su-spoiler{
	border-radius: 14px !important;
	border: 1px solid #eee3e6 !important;
	margin-bottom: 10px !important;
	overflow: hidden;
}

/* Sub-headers */
body.ies-inner-layout .sub-header{
	margin: 1.5rem 0 0.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid #f0e4e8;
}

body.ies-inner-layout .sub-header h2{
	margin: 0 0 8px;
	font-size: 20px;
	color: #4f1022;
}

body.ies-inner-layout .sub-header hr{
	border: 0;
	height: 2px;
	background: linear-gradient(90deg, #bf123c 0%, rgba(191, 18, 60, 0.1) 100%);
}

/* Shortcodes / editor columns inside detail cards */
body.ies-inner-layout .page-article-body .su-row,
body.ies-inner-layout .page-article-body .ies-prose-stack .su-row{
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin: 0.75rem 0 0;
}

body.ies-inner-layout .page-article-body .su-column{
	flex: 1 1 220px;
	min-width: 0;
}

body.ies-inner-layout .page-article-body .su-column-size-2-3{
	flex-basis: min(100%, 62%);
}

body.ies-inner-layout .page-article-body .su-column-size-1-3{
	flex-basis: min(100%, 32%);
}

body.ies-inner-layout .page-article-body .su-column-inner img,
body.ies-inner-layout .page-article-body .wrapper img{
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

body.ies-inner-layout .page-article-body .su-spoiler-title,
body.ies-inner-layout .page-article-body .su-spoiler-icon{
	color: #4f1022;
}

body.ies-detail-layout .page-article-body .ies-prose-stack{
	gap: 0;
}

body.ies-detail-layout .page-article-body .ies-archive-grid{
	margin-top: 0.5rem;
}

/* CV profile */
body.ies-inner-layout .profile-picutre{
	border-radius: 18px;
	box-shadow: 0 12px 28px rgba(70, 0, 20, 0.1);
	cursor: pointer;
	margin-bottom: 16px;
}

body.ies-inner-layout .repeater-container table{
	width: 100%;
}

/* Filters in sidebar */
body.ies-inner-layout .staff-filter-form table{
	width: 100%;
}

body.ies-inner-layout .staff-filter-form input[type="text"]{
	width: 100%;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #e5d5db;
}

body.ies-inner-layout form.stations-filter-form,
body.ies-inner-layout form.eqs-filter-form{
	padding: 14px;
	border-radius: 14px;
	background: #fffafb;
	border: 1px solid #eee3e6;
}

/* Pagination */
body.ies-inner-layout .ies-archive-pagination,
body.ies-inner-layout .pagination{
	margin-top: 8px;
}

body.ies-inner-layout .pagination{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

body.ies-inner-layout .pagination a,
body.ies-inner-layout .pagination span{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid #eadde2;
	background: #fff;
	color: #4f1022 !important;
	text-decoration: none !important;
	font-weight: 600;
}

body.ies-inner-layout .pagination a:hover{
	background: #fff0f4;
	border-color: #d6b1be;
	color: #bf123c !important;
}

body.ies-inner-layout .pagination .current{
	background: linear-gradient(135deg, #bf123c 0%, #8c1530 100%);
	border-color: transparent;
	color: #fff !important;
}

/* Announcements */
body.ies-inner-layout .announcements-page,
body.ies-announcements-layout .announcements-page{
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin-bottom: 0 !important;
	animation: none;
	transition: none;
}

body.ies-inner-layout .layout-main .announcements-page:hover,
body.ies-announcements-layout .layout-main .announcements-page:hover{
	transform: none !important;
	box-shadow: none !important;
	border-color: transparent !important;
}

body.ies-inner-layout .announcements-content-full,
body.ies-announcements-layout .announcements-content-full{
	margin-left: 0 !important;
	border-left: 0 !important;
	width: 100%;
	max-width: 100%;
	padding: var(--ies-layout-shell-padding) !important;
	background: linear-gradient(180deg, #fffafb 0%, #ffffff 100%) !important;
	box-sizing: border-box;
}

body.ies-inner-layout .announcements-grid,
body.ies-announcements-layout .announcements-grid{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px !important;
}

body.ies-inner-layout .announcement-card,
body.ies-announcements-layout .announcement-card{
	border-radius: 18px !important;
}

@media (max-width: 720px){
	body.ies-inner-layout .announcements-grid,
	body.ies-announcements-layout .announcements-grid{
		grid-template-columns: 1fr;
	}
}

/* Project detail meta */
body.ies-inner-layout .project-meta-grid{
	gap: 14px;
}

body.ies-inner-layout .project-meta-item{
	border-radius: 14px;
}

/* Project / publication detail */
body.ies-inner-layout .ies-record-detail__back{
	margin: 0 0 0.75rem;
	font-size: 0.88rem;
}

body.ies-inner-layout .ies-record-detail__back a{
	color: #8c1530;
	text-decoration: none;
}

body.ies-inner-layout .ies-record-detail__back a:hover{
	text-decoration: underline;
}

body.ies-inner-layout .ies-record-detail__grid{
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
	border: 1px solid #efdee4;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}

body.ies-inner-layout .ies-record-detail__row{
	display: grid;
	grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
	gap: 1rem;
	margin: 0;
	padding: 1rem 1.15rem;
	border-top: 1px solid #f3e8ec;
}

body.ies-inner-layout .ies-record-detail__row:first-child{
	border-top: 0;
}

body.ies-inner-layout .ies-record-detail__label{
	margin: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #8c1530;
}

body.ies-inner-layout .ies-record-detail__value{
	margin: 0;
	color: #47363f;
	font-size: 0.95rem;
	line-height: 1.7;
}

body.ies-inner-layout .ies-record-detail__list{
	margin: 0;
	padding-left: 1.1rem;
}

body.ies-inner-layout .ies-record-detail__list li + li{
	margin-top: 0.35rem;
}

body.ies-inner-layout .ies-record-detail__file{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 1rem;
	border-radius: 8px;
	background: #8c1530;
	color: #fff !important;
	font-size: 0.86rem;
	font-weight: 600;
	text-decoration: none;
}

body.ies-inner-layout .ies-record-detail__file:hover{
	background: #7a1230;
	color: #fff !important;
}

@media (max-width: 720px){
	body.ies-inner-layout .ies-record-detail__row{
		grid-template-columns: 1fr;
		gap: 0.45rem;
	}
}

/* Editor content */
body.ies-inner-layout .page-article-body > p,
body.ies-inner-layout .page-article-body > ul,
body.ies-inner-layout .page-article-body > ol,
body.ies-inner-layout .page-article-body .wrapper > div[style*="padding"] p,
body.ies-inner-layout .page-article-body .wrapper > div[style*="padding"] ul,
body.ies-inner-layout .page-article-body .wrapper > div[style*="padding"] ol{
	max-width: none;
	width: 100%;
}

body.ies-inner-layout .page-article-body .wrapper > div[style*="padding"] .su-row p,
body.ies-inner-layout .page-article-body .wrapper > div[style*="padding"] .su-row ul,
body.ies-inner-layout .page-article-body .wrapper > div[style*="padding"] .su-row ol{
	max-width: none;
}

body.ies-inner-layout .page-article-body a:not(.modern-cta-btn):not(.ies-link-card):not(.ies-service-card){
	color: #bf123c;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

/* Empty states */
body.ies-inner-layout .ies-page-empty,
body.ies-inner-layout .news-page-empty{
	padding: 24px;
	text-align: center;
	border-radius: 16px;
	border: 1px dashed #e5c9d2;
	background: #fff7f9;
	color: #6c5962;
}

@media (max-width: 1100px){
	body.ies-inner-layout .ies-archive-grid--records,
	body.ies-inner-layout .ies-archive-grid--profiles{
		grid-template-columns: 1fr;
	}

	body.ies-inner-layout .ies-archive-grid--news{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.ies-inner-layout .news-archive-card--featured{
		grid-column: span 2;
	}

	body.ies-inner-layout .ies-link-grid,
	body.ies-inner-layout .ies-services-grid,
	body.ies-inner-layout table.structure{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px){
	body.ies-stations-layout .ies-stations-filter-form{
		flex-direction: column;
		align-items: stretch;
	}

	body.ies-stations-layout .ies-stations-filter-options{
		flex-direction: column;
		align-items: stretch;
	}

	body.ies-stations-layout .ies-stations-filter-chip{
		width: 100%;
	}

	body.ies-stations-layout .ies-stations-filter-actions,
	body.ies-stations-layout .ies-stations-filter-btn{
		width: 100%;
	}

	body.ies-stations-layout table.eartquakes-legend td{
		flex: 1 1 100%;
	}

	body.ies-inner-layout .ies-archive-grid--news,
	body.ies-inner-layout .ies-link-grid,
	body.ies-inner-layout .ies-services-grid,
	body.ies-inner-layout table.structure{
		grid-template-columns: 1fr;
	}

	body.ies-inner-layout .news-archive-card--featured{
		grid-column: span 1;
		flex-direction: column;
	}

	body.ies-inner-layout .news-archive-card--featured .news-archive-card-image{
		width: 100%;
		padding: 14px 14px 0;
	}

	body.ies-inner-layout .ies-profile-card,
	body.ies-inner-layout .ies-profile-card table.profile{
		grid-template-columns: 1fr;
	}

	body.ies-inner-layout .ies-profile-card__media,
	body.ies-inner-layout .ies-profile-card table.profile td:first-child{
		border-right: 0 !important;
		border-bottom: 1px solid #f0e4e8;
	}
}

/* Contact page */
body.ies-contact-layout .content-article-card{
	padding: 28px 30px !important;
}

body.ies-contact-layout .page-article-title{
	margin-bottom: 10px;
}

body.ies-contact-layout .page-article-body{
	gap: 0;
}

.ies-contact-page{
	display: grid;
	gap: 28px;
	width: 100%;
}

.ies-contact-page__subtitle{
	margin: 0 0 6px;
	max-width: none;
	width: 100%;
	color: #6c5962;
	font-size: 1.02rem;
	line-height: 1.65;
}

.ies-contact-page__grid{
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 24px;
	align-items: stretch;
}

.ies-contact-page__info{
	display: grid;
	gap: 12px;
	align-content: start;
}

.ies-contact-card{
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 16px 18px;
	background: linear-gradient(165deg, #ffffff 0%, #fff9fb 100%);
	border: 1px solid #eee2e5;
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(70, 0, 20, 0.06);
}

.ies-contact-card__icon{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #fff1f3;
	color: #8d1533;
}

.ies-contact-card__label{
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8d6673;
}

.ies-contact-card__value{
	color: #3a2a30;
	font-size: 0.96rem;
	line-height: 1.55;
}

.ies-contact-card__value a{
	display: block;
	color: #8d1533;
	text-decoration: none;
}

.ies-contact-card__value a + a{
	margin-top: 4px;
}

.ies-contact-card__value a:hover,
.ies-contact-card__value a:focus-visible{
	color: #5a0014;
	text-decoration: underline;
}

.ies-contact-page__map-card{
	display: grid;
	grid-template-rows: 1fr auto;
	height: 100%;
	min-height: 100%;
	background: #ffffff;
	border: 1px solid #eee2e5;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 14px 30px rgba(70, 0, 20, 0.08);
}

.ies-contact-page__map{
	display: block;
	width: 100%;
	min-height: 420px;
	height: 100%;
}

.ies-contact-page__map-actions{
	padding: 14px 16px 16px;
	border-top: 1px solid #f0e4e8;
	background: #fffafb;
}

.ies-contact-page__map-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	background: #8d1533;
	color: #ffffff !important;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.18s ease, transform 0.18s ease;
}

.ies-contact-page__map-btn:hover,
.ies-contact-page__map-btn:focus-visible{
	background: #6f1028;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.ies-contact-page__building{
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid #eee2e5;
	box-shadow: 0 14px 30px rgba(70, 0, 20, 0.08);
	background: #ffffff;
}

.ies-contact-page__building-media{
	padding: 18px 18px 10px;
	background: linear-gradient(180deg, #f7f2f4 0%, #ffffff 100%);
}

.ies-contact-page__building-media a{
	display: block;
	border-radius: 12px;
	overflow: hidden;
}

.ies-contact-page__building img{
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	object-position: center center;
}

.ies-contact-page__building figcaption{
	padding: 12px 16px 14px;
	font-size: 0.88rem;
	color: #6c5962;
	background: #fffafb;
	border-top: 1px solid #f0e4e8;
}

.ies-contact-page__form-card{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 24px;
	border-radius: 18px;
	border: 1px solid #eee2e5;
	background: linear-gradient(90deg, #fff7f9 0%, #ffffff 100%);
	box-shadow: 0 10px 24px rgba(70, 0, 20, 0.06);
}

.ies-contact-page__form-title{
	margin: 0 0 6px;
	font-size: 1.1rem;
	color: #4f1022;
}

.ies-contact-page__form-lead{
	margin: 0;
	max-width: none;
	color: #6c5962;
	font-size: 0.95rem;
	line-height: 1.55;
}

.ies-contact-page__form-btn{
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	background: #8d1533;
	color: #ffffff !important;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.18s ease;
}

.ies-contact-page__form-btn:hover,
.ies-contact-page__form-btn:focus-visible{
	background: #6f1028;
	color: #ffffff !important;
}
@media (max-width: 1100px){
	.ies-contact-page__grid{
		grid-template-columns: 1fr;
	}

	.ies-contact-page__map{
		min-height: 360px;
	}
}

@media (max-width: 720px){
	body.ies-contact-layout .content-article-card{
		padding: 22px 18px !important;
	}

	.ies-contact-page{
		gap: 22px;
	}

	.ies-contact-page__form-card{
		flex-direction: column;
		align-items: flex-start;
	}

	.ies-contact-page__map{
		min-height: 300px;
	}
}

