/*
 * EXAB DGA Demo theme
 * Direction-agnostic: layout follows the document direction (rtl for Arabic, ltr otherwise).
 * Tokens come from the DGA design system used in the "Magazine Code" Figma design.
 */

:root {
	--exab-green: #1b8354;
	--exab-green-section: #1b8254;
	--exab-green-dark: #074d31;
	--exab-beige: #f2e9da;
	--exab-card-bg: #fff;
	--exab-border: #d2d6db;
	--exab-neutral-100: #f3f4f6;
	--exab-text: #161616;
	--exab-text-display: #1f2a37;
	--exab-text-paragraph: #384250;
	--exab-text-secondary: #6c737f;
	--exab-on-color: #fff;
	--exab-success-bg: #ecfdf3;
	--exab-success-border: #abefc6;
	--exab-success-text: #085d3a;
	--exab-radius-sm: 4px;
	--exab-radius-md: 8px;
	--exab-radius-lg: 16px;
	--exab-section-x: 80px;
	--exab-font: 'IBM Plex Sans Arabic', 'IBM Plex Sans', Tahoma, Arial, sans-serif;
}

body.exab {
	margin: 0;
	font-family: var(--exab-font);
	font-size: 16px;
	line-height: 24px;
	color: var(--exab-text);
	background: #fff;
}

body.exab *,
body.exab *::before,
body.exab *::after {
	box-sizing: border-box;
}

body.exab.exab--contrast {
	filter: contrast(1.35);
}

.exab-page :where(p, h1, h2, h3, ul) {
	margin: 0;
	padding: 0;
}

.exab-page :where(ul) {
	list-style: none;
}

.exab-page :where(a) {
	color: inherit;
	text-decoration: none;
}

.exab-page :where(img) {
	display: block;
}

/* Icons exported from Figma without padding: vector placed in a fixed box at the design inset. */
.exab-ico {
	position: relative;
	display: block;
	flex: none;
	width: var(--s);
	height: var(--s);
}

.exab-ico__in {
	position: absolute;
	inset: var(--i);
	transform: var(--t, none);
}

.exab-ico__in img {
	width: 100%;
	height: 100%;
}

.exab-stamp__flag {
	background: #006923;
}

.exab-link {
	font-size: 14px;
	line-height: 20px;
	color: var(--exab-green);
}

/* ---------- Digital stamp ---------- */

.exab-stamp {
	display: flex;
	align-items: center;
	height: 32px;
	padding: 0 32px;
	background: var(--exab-neutral-100);
}

.exab-stamp__content {
	display: flex;
	align-items: center;
	gap: 10px;
}

.exab-stamp__text {
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
	color: var(--exab-text);
}

/* ---------- Utility bar ---------- */

.exab-utility {
	height: 40px;
	background: var(--exab-neutral-100);
	border-bottom: 1px solid var(--exab-border);
}

.exab-utility__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 100%;
	padding: 0 32px;
}

.exab-utility__info {
	display: flex;
	align-items: center;
	gap: 16px;
}

.exab-utility__item {
	display: flex;
	align-items: center;
	gap: 4px;
	color: var(--exab-text-paragraph);
	white-space: nowrap;
}

.exab-utility__actions {
	display: flex;
	align-items: center;
	gap: 6px;
}

.exab-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: var(--exab-radius-sm);
	background: transparent;
	cursor: pointer;
}

.exab-iconbtn:hover {
	background: rgba(0, 0, 0, 0.06);
}

.exab-iconbtn--outline {
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.exab-iconbtn--outline:hover {
	background: rgba(255, 255, 255, 0.12);
}

/* ---------- Main navigation ---------- */

.exab-nav {
	position: relative;
	z-index: 20;
	background: #fff;
	border-bottom: 1px solid var(--exab-border);
}

.exab-nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	padding: 0 32px;
}

.exab-nav__brand {
	display: flex;
	align-items: center;
	gap: 16px;
}

.exab-nav__toggle {
	display: none;
}

.exab-menu {
	display: flex;
	align-items: center;
}

.exab-menu__item {
	position: relative;
}

.exab-menu__item > a {
	display: flex;
	align-items: center;
	gap: 4px;
	height: 72px;
	padding: 8px 16px;
	font-weight: 500;
	white-space: nowrap;
	border-radius: var(--exab-radius-sm);
}

.exab-menu__item > a:hover,
.exab-menu__item > a:focus-visible {
	color: var(--exab-green);
}

.exab-menu__sub {
	position: absolute;
	inset-inline-start: 0;
	top: 100%;
	min-width: 200px;
	padding: 8px 0;
	background: #fff;
	border: 1px solid var(--exab-border);
	border-radius: var(--exab-radius-md);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.exab-menu__item--has-sub:hover .exab-menu__sub,
.exab-menu__item--has-sub:focus-within .exab-menu__sub {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.exab-menu__sub a {
	display: block;
	padding: 8px 16px;
}

.exab-menu__sub a:hover {
	background: var(--exab-neutral-100);
	color: var(--exab-green);
}

.exab-nav__actions {
	display: flex;
	align-items: center;
}

.exab-navaction {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: var(--exab-radius-sm);
}

.exab-navaction:hover {
	background: var(--exab-neutral-100);
}

/* ---------- Buttons ---------- */

.exab-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid transparent;
	border-radius: var(--exab-radius-sm);
	font-family: inherit;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	white-space: nowrap;
	cursor: pointer;
	transition: filter 0.15s, background 0.15s;
}

.exab-btn:hover {
	filter: brightness(0.94);
}

.exab-btn--primary {
	background: var(--exab-green);
	color: var(--exab-on-color) !important;
}

.exab-btn--light {
	background: #fff;
	color: var(--exab-green-section) !important;
}

.exab-btn--outline {
	background: transparent;
	border-color: var(--exab-border);
	color: var(--exab-text) !important;
}

.exab-btn--neutral {
	background: var(--exab-neutral-100);
	color: var(--exab-text) !important;
}

.exab-tag {
	display: inline-flex;
	align-items: center;
	height: 24px;
	padding: 0 8px;
	background: var(--exab-success-bg);
	border: 1px solid var(--exab-success-border);
	border-radius: var(--exab-radius-sm);
	font-size: 12px;
	line-height: 18px;
	font-weight: 500;
	color: var(--exab-success-text);
	white-space: pre;
}

.exab-title {
	font-weight: 700;
	color: var(--exab-text);
}

.exab-title--md {
	font-size: 30px;
	line-height: 38px;
}

.exab-title--lg {
	font-size: 30px;
	line-height: 38px;
	color: #fff;
}

.exab-title--light {
	color: #fff;
}

/* ---------- Hero ---------- */

.exab-hero {
	position: relative;
	width: 100%;
	margin: 0;
	background: var(--exab-neutral-100);
}

.exab-hero picture {
	display: block;
}

.exab-hero__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1600 / 556;
	object-fit: cover;
	object-position: center;
}

.exab-hero__title {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 767px) {
	.exab-hero__img {
		aspect-ratio: 780 / 880;
	}
}

.exab-dots {
	display: flex;
	gap: 8px;
	padding: 4px 12px;
	border-radius: 9999px;
}

.exab-dots button {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: url('../img/dot.svg') center / contain no-repeat;
	cursor: pointer;
}

.exab-dots button.is-active {
	background-image: url('../img/dot-active.svg');
}

/* ---------- About ---------- */

.exab-about {
	padding: 40px var(--exab-section-x);
}

.exab-about__inner {
	display: flex;
	gap: 24px;
	max-width: 1280px;
	margin: 0 auto;
}

.exab-card {
	position: relative;
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	min-width: 0;
	min-height: 563px;
	padding: 24px;
	border-radius: 12px;
	overflow: hidden;
}

.exab-card--issue {
	background: var(--exab-beige);
}

.exab-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.exab-card__lead {
	font-weight: 500;
	color: var(--exab-text);
}

.exab-card__text {
	text-align: justify;
	color: var(--exab-text);
}

.exab-card--issue .exab-title {
	font-size: 24px;
	line-height: 34px;
}

.exab-card--about {
	background: #218355;
	color: #fff;
}

.exab-card--about .exab-card__text {
	color: #fff;
}

.exab-card--about > *:not(.exab-card__shade):not(.exab-card__decor) {
	position: relative;
	z-index: 2;
}

.exab-card__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: 12px;
	background: linear-gradient(to top, #1b8254 37.75%, rgba(27, 130, 84, 0.8) 59.94%);
}

.exab-card__decor {
	position: absolute;
	left: -24.5px;
	top: 378px;
	z-index: 3;
	width: 466px;
	height: 399px;
	max-width: none;
	object-fit: cover;
	pointer-events: none;
}

.exab-cover {
	display: block;
	flex: 0 0 399px;
	min-height: 563px;
	overflow: hidden;
	border-radius: 10px;
	background: #e4dcd5;
}

.exab-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ---------- Numbers ---------- */

.exab-stats {
	position: relative;
	min-height: 375px;
	overflow: hidden;
	background: var(--exab-green-section);
}

.exab-stats__bg {
	position: absolute;
	left: 0;
	top: -49px;
	width: 966px;
	height: 644px;
	max-width: none;
	object-fit: cover;
	opacity: 0.1;
	mix-blend-mode: luminosity;
	transform: scaleX(-1);
	pointer-events: none;
}

.exab-stats__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 29px 0;
}

.exab-stats__cards {
	direction: ltr; /* the design lays the three figures out left to right regardless of language */
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 120px;
}

.exab-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 224px;
	height: 248px;
	padding: 16px;
	border-radius: var(--exab-radius-lg);
	text-align: center;
}

.exab-stat__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	border-radius: 9999px;
	background: rgba(243, 252, 246, 0.2);
}

.exab-stat__value {
	font-size: 48px;
	line-height: 60px;
	letter-spacing: -0.96px;
	color: #fff;
}

.exab-stat__label {
	color: #eee;
}

/* ---------- Sections (articles / news) ---------- */

.exab-section {
	padding: 40px var(--exab-section-x);
}

.exab-section__inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 1280px;
	margin: 0 auto;
}

.exab-section__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
}

.exab-date {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--exab-text-display);
}

.exab-date--light {
	color: #f8f8f8;
}

.exab-articles {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

.exab-articles__list {
	order: -1;
	display: flex;
	flex: 1 1 680px;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.exab-feature {
	position: relative;
	flex: 0 0 576px;
	height: 656px;
	padding: 16px;
	background: var(--exab-card-bg);
	border: 1px solid var(--exab-border);
	border-radius: var(--exab-radius-lg);
}

.exab-feature__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: var(--exab-radius-md);
}

.exab-feature__panel {
	position: absolute;
	inset-inline: 15px;
	bottom: 16px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border-radius: var(--exab-radius-md);
	background: linear-gradient(to bottom, rgba(27, 131, 84, 0.8), #1b8354);
	color: #f8f8f8;
}

.exab-feature__title {
	font-size: 18px;
	line-height: 28px;
	font-weight: 700;
}

.exab-item {
	display: flex;
	gap: 24px;
	height: 208px;
	padding: 16px;
	background: var(--exab-card-bg);
	border: 1px solid var(--exab-border);
	border-radius: var(--exab-radius-lg);
}

.exab-item__img {
	flex: 0 0 226px;
	width: 226px;
	height: 100%;
	object-fit: cover;
	border-radius: var(--exab-radius-md);
}

.exab-item__body {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	color: var(--exab-text-display);
}

.exab-item__title {
	font-size: 20px;
	line-height: 28px;
	font-weight: 700;
}

.exab-item__title,
.exab-item__text {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.exab-item__text {
	-webkit-line-clamp: 2;
}

.exab-item .exab-btn {
	margin-top: auto;
}

.exab-news {
	display: flex;
	gap: 16px;
}

.exab-newscard {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
	padding: 16px;
	background: var(--exab-card-bg);
	border: 1px solid var(--exab-border);
	border-radius: var(--exab-radius-lg);
	color: var(--exab-text-display);
}

.exab-newscard__img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: var(--exab-radius-md);
}

.exab-newscard__title {
	font-size: 18px;
	line-height: 28px;
	font-weight: 700;
}

.exab-newscard__text {
	flex: 1 1 auto;
}

/* ---------- Partners ---------- */

.exab-partners {
	padding: 40px var(--exab-section-x);
	background: var(--exab-green-section);
}

.exab-partners__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 1280px;
	margin: 0 auto;
}

.exab-partners__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.exab-partners__nav {
	display: flex;
	flex: 0 0 40px;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: var(--exab-radius-sm);
	background: rgba(243, 244, 246, 0.5);
	cursor: pointer;
}

/* The icon points left; the first button is "previous" (towards the reading start), the second is "next". */
[dir='rtl'] .exab-partners__nav[data-exab-scroll='-1'] .exab-ico,
[dir='ltr'] .exab-partners__nav[data-exab-scroll='1'] .exab-ico {
	transform: scaleX(-1);
}

.exab-partners__track {
	display: flex;
	flex: 1 1 auto;
	gap: 20px;
	justify-content: safe center;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.exab-partners__track::-webkit-scrollbar {
	display: none;
}

.exab-partner {
	display: flex;
	flex: 0 0 70px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 70px;
	height: 70px;
	padding: 8px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid var(--exab-border);
	border-radius: var(--exab-radius-lg);
}

.exab-partner img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: var(--exab-radius-lg);
}

/* ---------- Contact ---------- */

.exab-contact {
	padding: 40px var(--exab-section-x);
}

.exab-contact__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 16px;
	background: var(--exab-card-bg);
	border: 1px solid var(--exab-border);
	border-radius: var(--exab-radius-lg);
	text-align: center;
	color: var(--exab-text-display);
}

.exab-contact__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 9999px;
	background: #f3fcf6;
}

.exab-contact__title {
	font-size: 18px;
	line-height: 28px;
	font-weight: 700;
}

.exab-contact__text {
	font-weight: 500;
}

/* ---------- Last modified ---------- */

.exab-lastmod {
	padding: 16px var(--exab-section-x);
	font-size: 14px;
	line-height: 20px;
}

.exab-lastmod p {
	max-width: 1280px;
	margin: 0 auto;
}

/* ---------- Footer ---------- */

.exab-footer {
	padding: 0 32px;
	background: var(--exab-green-dark);
	color: #fff;
}

.exab-footer__inner {
	display: flex;
	flex-direction: column;
	gap: 48px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 0 24px;
}

.exab-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	padding: 16px 0 40px;
}

.exab-footer__group {
	display: flex;
	flex: 1 1 180px;
	flex-direction: column;
	gap: 8px;
	min-width: 180px;
}

.exab-footer__label {
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
}

.exab-footer__label--spaced {
	margin-top: 24px;
}

.exab-footer__links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
	line-height: 20px;
}

.exab-footer__links a:hover,
.exab-footer__legallinks a:hover {
	text-decoration: underline;
}

.exab-footer__tools {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.exab-footer__legal {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 16px 0;
}

.exab-footer__legalinfo {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
	line-height: 20px;
}

.exab-footer__legallinks {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 16px;
	text-decoration: underline;
}

.exab-footer__rights {
	font-weight: 600;
}

.exab-footer__meta + .exab-footer__meta {
	margin-top: 8px;
}

.exab-footer__logos {
	display: flex;
	flex: 0 0 228px;
	align-items: center;
	gap: 16px;
}

.exab-footer__logos img {
	height: auto;
	max-width: 106px;
	object-fit: contain;
}

/* ---------- Inner pages (default theme content) ---------- */

.exab-main--inner {
	min-height: 50vh;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
	:root {
		--exab-section-x: 24px;
	}

	.exab-nav__toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border: 1px solid var(--exab-border);
		border-radius: var(--exab-radius-sm);
		background: #fff;
		cursor: pointer;
	}

	.exab-nav__toggle span {
		width: 18px;
		height: 2px;
		background: var(--exab-text);
		box-shadow: 0 -6px 0 var(--exab-text), 0 6px 0 var(--exab-text);
	}

	.exab-menu {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		display: none;
		flex-direction: column;
		align-items: stretch;
		background: #fff;
		border-bottom: 1px solid var(--exab-border);
	}

	.exab-menu.is-open {
		display: flex;
	}

	.exab-menu__item > a {
		height: 48px;
	}

	.exab-menu__sub {
		position: static;
		display: none;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.exab-menu__item--has-sub:hover .exab-menu__sub {
		display: block;
	}

	.exab-nav__brand {
		flex: 1 1 auto;
	}

	.exab-navaction {
		width: 48px;
	}

	.exab-utility__info {
		display: none;
	}

	.exab-about__inner,
	.exab-articles,
	.exab-news,
	.exab-footer__legal {
		flex-direction: column;
		align-items: stretch;
	}

	.exab-card,
	.exab-cover {
		flex: 1 1 auto;
		min-height: 420px;
	}

	.exab-feature {
		flex: 0 0 auto;
		height: 520px;
	}

	.exab-stats__cards {
		flex-wrap: wrap;
		justify-content: center;
		padding: 0;
	}

	.exab-item {
		height: auto;
		flex-direction: column;
	}

	.exab-item__img {
		flex: 0 0 auto;
		width: 100%;
		height: 200px;
	}
}

/* ---------- Contact page ---------- */

.exab-pagehead {
	padding: 48px var(--exab-section-x);
	background: var(--exab-green-dark) url('../../default/styles/img/patternhead.png') center bottom / cover;
	color: var(--exab-on-color);
	text-align: center;
}

.exab-pagehead__inner {
	max-width: 1280px;
	margin-inline: auto;
}

.exab-pagehead h1 {
	margin: 8px 0;
	font-size: 36px;
	line-height: 44px;
	font-weight: 700;
	color: inherit;
}

.exab-pagehead p {
	margin: 0;
	opacity: 0.8;
}

.exab-crumbs {
	display: flex;
	justify-content: center;
	gap: 8px;
	font-size: 14px;
	opacity: 0.85;
}

.exab-crumbs a {
	color: inherit;
	text-decoration: none;
}

.exab-contactpage {
	padding: 56px var(--exab-section-x) 72px;
	background: var(--exab-neutral-100);
}

.exab-contactpage__inner {
	display: grid;
	grid-template-columns: 5fr 7fr;
	gap: 24px;
	max-width: 1280px;
	margin-inline: auto;
	align-items: start;
}

.exab-contactpage__info,
.exab-contactpage__form {
	padding: 32px;
	background: var(--exab-card-bg);
	border: 1px solid var(--exab-border);
	border-radius: var(--exab-radius-lg);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.exab-contactpage h2 {
	margin: 0 0 16px;
	font-size: 22px;
	line-height: 30px;
	font-weight: 600;
	color: var(--exab-text-display);
}

.exab-contactpage__info h2:not(:first-child) {
	margin-top: 32px;
}

.exab-contactpage__who {
	margin: 0 0 16px;
	color: var(--exab-text-paragraph);
}

.exab-infolist {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.exab-infolist li {
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--exab-text-paragraph);
}

.exab-infolist small {
	display: block;
	color: var(--exab-text-secondary);
	font-size: 13px;
}

.exab-infolist a {
	color: var(--exab-text);
	font-weight: 500;
	text-decoration: none;
	word-break: break-word;
}

.exab-infolist a:hover {
	color: var(--exab-green);
}

.exab-infolist__ico {
	flex: 0 0 48px;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--exab-success-bg);
	color: var(--exab-green);
}

.exab-field {
	display: block;
	margin-bottom: 20px;
}

.exab-field span {
	display: block;
	margin-bottom: 6px;
	font-weight: 500;
	color: var(--exab-text-display);
}

.exab-field input,
.exab-field textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--exab-border);
	border-radius: var(--exab-radius-md);
	font: inherit;
	background: #fff;
	color: var(--exab-text);
	transition: border-color 0.15s, box-shadow 0.15s;
}

.exab-field textarea {
	min-height: 160px;
	resize: vertical;
}

.exab-field input:focus,
.exab-field textarea:focus {
	outline: 0;
	border-color: var(--exab-green);
	box-shadow: 0 0 0 3px rgba(27, 131, 84, 0.18);
}

.exab-contactpage .exab-btn {
	height: 48px;
	padding: 0 32px;
	border-radius: var(--exab-radius-md);
}

.exab-alert {
	margin-bottom: 20px;
	padding: 12px 16px;
	border-radius: var(--exab-radius-md);
	border: 1px solid;
}

.exab-alert--ok {
	background: var(--exab-success-bg);
	border-color: var(--exab-success-border);
	color: var(--exab-success-text);
}

.exab-alert--err {
	background: #fef3f2;
	border-color: #fecdca;
	color: #b42318;
}

@media (max-width: 1100px) {
	.exab-contactpage__inner {
		grid-template-columns: 1fr;
	}

	.exab-pagehead {
		padding: 32px var(--exab-section-x);
	}
}

.exab-pagehead p {
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	color: inherit;
}

.exab-contactpage__who {
	font-size: 15px;
	font-weight: 400;
}

.exab-contactpage__who strong {
	font-size: 18px;
	line-height: 26px;
	font-weight: 600;
	color: var(--exab-text-display);
}

/* ---------- About page ---------- */

.exab-aboutpage {
	padding: 56px var(--exab-section-x) 72px;
	background: var(--exab-neutral-100);
}

.exab-aboutpage__inner {
	display: grid;
	grid-template-columns: 4fr 8fr;
	gap: 24px;
	max-width: 1280px;
	margin-inline: auto;
	align-items: start;
}

.exab-aboutpage__inner:not(:has(.exab-aboutpage__cover)) {
	grid-template-columns: 1fr;
}

.exab-aboutpage__cover {
	margin: 0;
	overflow: hidden;
	border-radius: var(--exab-radius-lg);
	border: 1px solid var(--exab-border);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.exab-aboutpage__cover img {
	display: block;
	width: 100%;
	height: auto;
}

.exab-aboutpage__card {
	padding: 32px;
	background: var(--exab-card-bg);
	border: 1px solid var(--exab-border);
	border-radius: var(--exab-radius-lg);
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.exab-aboutpage__card h2 {
	margin: 0 0 16px;
	font-size: 28px;
	line-height: 36px;
	font-weight: 600;
	color: var(--exab-text-display);
}

.exab-prose {
	font-size: 16px;
	line-height: 28px;
	color: var(--exab-text-paragraph);
}

.exab-prose p {
	margin: 0 0 16px;
}

.exab-aboutpage__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--exab-border);
	list-style: none;
}

.exab-aboutpage__links a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid var(--exab-border);
	border-radius: 999px;
	color: var(--exab-text);
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.exab-aboutpage__links a:hover {
	background: var(--exab-success-bg);
	border-color: var(--exab-green);
	color: var(--exab-green);
}

@media (max-width: 1100px) {
	.exab-aboutpage__inner {
		grid-template-columns: 1fr;
	}
}

.exab-prose p,
.exab-prose li {
	color: var(--exab-text-paragraph);
	font-size: 16px;
	line-height: 28px;
	font-weight: 400;
}

/* ---------- Editorial team ---------- */

.exab-aboutpage__inner--single {
	grid-template-columns: 1fr;
}

.exab-aboutpage .exab-team .exab-prose p {
	margin: 32px 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--exab-success-border);
	font-size: 20px;
	line-height: 28px;
	font-weight: 600;
	color: var(--exab-green);
}

.exab-aboutpage .exab-team .exab-prose p strong {
	font-weight: 600;
	color: inherit;
}

.exab-aboutpage .exab-team .exab-prose p:first-child {
	margin-top: 0;
}

.exab-team .exab-prose ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.exab-team .exab-prose li {
	padding: 14px 16px;
	background: var(--exab-neutral-100);
	border: 1px solid var(--exab-border);
	border-radius: var(--exab-radius-md);
	font-weight: 500;
	color: var(--exab-text-display);
}

.exab-team .exab-prose li em {
	display: block;
	font-style: normal;
	font-weight: 400;
	font-size: 13px;
	color: var(--exab-text-secondary);
}

@media (max-width: 700px) {
	.exab-stamp {
		height: auto;
		min-height: 32px;
		padding: 6px 16px;
	}

	.exab-stamp__content {
		flex-wrap: wrap;
		gap: 4px 10px;
	}
}

.exab-prose ul,
.exab-prose ol {
	margin: 0 0 16px;
	padding-inline-start: 24px;
}

.exab-prose ul {
	list-style: disc;
}

.exab-prose ol {
	list-style: decimal;
}

.exab-footer .exab-footer__legalinfo p {
	margin: 0;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
}

.exab-footer .exab-footer__legalinfo p.exab-footer__rights {
	font-weight: 600;
}

/* ---------- Footer link readability ---------- */

.exab-footer a,
.exab-footer a:visited {
	color: #fff;
	text-decoration: none;
}

.exab-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
	gap: 12px;
}

.exab-footer__links a {
	display: inline-block;
	color: rgba(255, 255, 255, 0.92);
	font-size: 15px;
	line-height: 24px;
}

.exab-footer__links a:hover,
.exab-footer__links a:focus-visible,
.exab-footer__legallinks a:hover,
.exab-footer__legallinks a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.exab-footer__legallinks {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	gap: 8px 24px;
	text-decoration: none;
}

.exab-footer__legallinks a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.exab-footer__legallinks li,
.exab-footer__links li {
	margin: 0;
}

@media (max-width: 600px) {
	.exab-footer {
		padding: 0 16px;
	}

	.exab-footer__inner {
		gap: 24px;
	}

	.exab-footer__nav {
		padding-bottom: 16px;
	}

	.exab-footer__logos {
		flex: 0 0 auto;
		flex-wrap: wrap;
	}
}

/* ---------- Article page ---------- */

.page_article .article-head1,
p.article-head1 {
	display: block !important;
	line-height: 1.6 !important;
	font-size: clamp(22px, 2.4vw, 32px) !important;
	text-align: start !important;
	padding: 8px 20px 12px !important;
	margin: 0 !important;
	overflow-wrap: anywhere;
	word-break: normal;
	max-width: 100%;
	box-sizing: border-box;
}

/* title / breadcrumb banner */
.pattern {
	box-sizing: border-box;
}

.pattern > .col:first-child a {
	display: block !important;
	line-height: 1.7;
	font-size: clamp(20px, 2.2vw, 28px) !important;
	overflow-wrap: anywhere;
	padding-top: 24px;
	padding-inline: 24px !important;
	text-align: start;
}

.pattern > .col:first-child a br {
	display: none;
}

.pattern .div-m {
	flex-wrap: wrap;
	row-gap: 6px;
	line-height: 1.7;
	padding-bottom: 28px !important;
	padding-inline: 24px !important;
}

.pattern .div-m a span {
	line-height: 1.7;
}

@media (max-width: 768px) {
	.pattern .div-m {
		padding-top: 4px !important;
		padding-bottom: 20px !important;
	}
}

/* citations list */
.csl-container {
	width: 100%;
	padding: 0 24px 24px;
	box-sizing: border-box;
	text-align: start;
}

.csl-container .csl-list {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	margin: 0 0 16px;
}

.csl-container .csl-style-link {
	display: flex !important;
	flex-direction: row !important;
	align-items: center;
	justify-content: flex-start !important;
	gap: 10px;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid var(--exab-border, #d2d6db);
	border-radius: 8px;
	color: var(--exab-text-display, #1f2a37);
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}

.csl-container .csl-style-link:hover,
.csl-container .csl-style-link:focus-visible {
	background: var(--exab-success-bg, #ecfdf3);
	border-color: var(--exab-green, #1b8354);
}

.csl-container .csl-style-title {
	flex: 1 1 auto;
	font-size: 15px;
	font-weight: 500;
	text-align: start;
}

.csl-container .csl-icon {
	order: -1;
	display: inline-flex;
	flex: 0 0 auto;
}

.csl-container .btn-outline2 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--exab-green, #1b8354);
	border-radius: 8px;
	color: var(--exab-green, #1b8354);
	font-weight: 600;
	text-decoration: none;
	box-sizing: border-box;
}

.csl-container .btn-outline2:hover {
	background: var(--exab-green, #1b8354);
	color: #fff;
}

.csl-container .csl-download-text {
	font-size: 15px;
	color: inherit;
}

/* Ask the Paper card inside the article column */
.ojs-ai-ask-paper-card {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 8px 0 24px;
	width: calc(100% - 24px);
	margin-inline: 12px;
	text-align: start;
}

[dir="rtl"] .ojs-ai-ask-paper-card {
	direction: rtl;
}

@media (max-width: 768px) {
	.csl-container {
		padding: 0 16px 20px;
	}
}
