/* =========================================================================
   Eurasia Navid — front-end stylesheet
   Mobile-first, RTL-native (logical properties only), zero dependencies.
   Colour, radius and type-scale custom properties are injected inline by
   inc/dynamic-css.php from the theme settings.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Static tokens
   ---------------------------------------------------------------------- */
:root {
	--e-space-1: 4px;
	--e-space-2: 8px;
	--e-space-3: 12px;
	--e-space-4: 16px;
	--e-space-5: 24px;
	--e-space-6: 32px;
	--e-space-7: 48px;
	--e-space-8: 64px;
	--e-space-9: 96px;

	--e-container: 1200px;
	--e-container-pad: var(--e-space-4);

	--e-shadow-xs: 0 1px 2px rgba(16, 30, 54, .06);
	--e-shadow-sm: 0 2px 8px rgba(16, 30, 54, .06);
	--e-shadow-md: 0 8px 24px rgba(16, 30, 54, .08);
	--e-shadow-lg: 0 20px 48px rgba(16, 30, 54, .12);

	--e-ring: 0 0 0 3px rgba(var(--e-accent-rgb, 200, 146, 31), .45);

	--e-t-fast: 150ms;
	--e-t-base: 220ms;
	--e-ease: cubic-bezier(.4, 0, .2, 1);

	--e-header-h: 72px;

	/* Overridden inline; these keep the theme usable if that ever fails. */
	--e-primary: #0B2A4E;
	--e-primary-dark: #071C36;
	--e-primary-soft: #EDF1F6;
	--e-accent: #C8921F;
	--e-accent-hover: #AC7D1B;
	--e-accent-soft: #FBF3E2;
	--e-on-accent: #071C36;
	--e-on-primary: #FFFFFF;
	--e-ink: #16202E;
	--e-muted: #5B6B7F;
	--e-surface: #FFFFFF;
	--e-surface-alt: #F6F8FB;
	--e-border: #E3E8EF;
	--e-border-strong: #CFD6E0;
	--e-radius-sm: 8px;
	--e-radius-md: 12px;
	--e-radius-lg: 18px;
	--e-font-sans: system-ui, -apple-system, "Segoe UI", "IRANSans", "Vazirmatn", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
	--e-step--1: 14px;
	--e-step-0: 16px;
	--e-step-1: 20px;
	--e-step-2: 25px;
	--e-step-3: 31px;
	--e-step-4: 39px;
	--e-step-5: 49px;
	--e-logo-height: 56px;
}

@media (min-width: 768px) {
	:root {
		--e-container-pad: var(--e-space-6);
		--e-header-h: 84px;
	}
}

/* -------------------------------------------------------------------------
   2. Reset and base
   ---------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-block-start: calc(var(--e-header-h) + var(--e-space-4));
	/* Lets height/block-size animate to and from `auto` where supported. */
	interpolate-size: allow-keywords;
}

body.e-body {
	margin: 0;
	background: var(--e-surface);
	color: var(--e-ink);
	font-family: var(--e-font-sans);
	font-size: var(--e-step-0);
	line-height: 1.75;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img,
svg,
video,
canvas,
iframe {
	max-width: 100%;
	height: auto;
	display: block;
}

svg {
	flex: none;
}

a {
	color: var(--e-primary);
	text-decoration: none;
	transition: color var(--e-t-fast) var(--e-ease);
}

a:hover {
	color: var(--e-accent-hover);
}

p {
	margin: 0 0 var(--e-space-4);
}

p:last-child {
	margin-block-end: 0;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--e-space-4);
	font-weight: 700;
	line-height: 1.35;
	color: var(--e-primary-dark);
	letter-spacing: -.01em;
}

h1 { font-size: var(--e-step-4); }
h2 { font-size: var(--e-step-3); }
h3 { font-size: var(--e-step-2); }
h4 { font-size: var(--e-step-1); }
h5, h6 { font-size: var(--e-step-0); }

ul, ol {
	margin: 0 0 var(--e-space-4);
	padding-inline-start: 1.5em;
}

blockquote {
	margin: var(--e-space-5) 0;
	padding: var(--e-space-4) var(--e-space-5);
	border-inline-start: 4px solid var(--e-accent);
	background: var(--e-surface-alt);
	border-radius: var(--e-radius-sm);
	color: var(--e-muted);
}

code, kbd, pre, samp {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .9em;
	direction: ltr;
	unicode-bidi: embed;
}

pre {
	overflow-x: auto;
	padding: var(--e-space-4);
	background: var(--e-primary-dark);
	color: #E6EDF6;
	border-radius: var(--e-radius-md);
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-block-end: var(--e-space-5);
}

th, td {
	padding: var(--e-space-3);
	border: 1px solid var(--e-border);
	text-align: start;
}

th {
	background: var(--e-surface-alt);
	font-weight: 600;
}

hr {
	border: 0;
	border-block-start: 1px solid var(--e-border);
	margin: var(--e-space-7) 0;
}

/* Numerals stay legible in RTL text runs. */
.e-num {
	unicode-bidi: plaintext;
}

/* -------------------------------------------------------------------------
   3. Accessibility primitives
   ---------------------------------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.e-skip-link {
	position: absolute;
	inset-inline-start: var(--e-space-4);
	inset-block-start: -100px;
	z-index: 999;
	padding: var(--e-space-3) var(--e-space-5);
	background: var(--e-primary-dark);
	color: #fff;
	border-radius: 0 0 var(--e-radius-md) var(--e-radius-md);
	transition: inset-block-start var(--e-t-base) var(--e-ease);
}

.e-skip-link:focus {
	inset-block-start: 0;
	color: #fff;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--e-accent);
	outline-offset: 2px;
	border-radius: var(--e-radius-sm);
}

/* -------------------------------------------------------------------------
   4. Layout
   ---------------------------------------------------------------------- */
.e-container {
	width: 100%;
	max-width: var(--e-container);
	margin-inline: auto;
	padding-inline: var(--e-container-pad);
}

.e-container--narrow {
	max-width: 820px;
}

.e-section {
	padding-block: var(--e-space-7);
}

@media (min-width: 768px) {
	.e-section {
		padding-block: var(--e-space-9);
	}
}

.e-section--alt {
	background: var(--e-surface-alt);
}

.e-section--tight {
	padding-block: var(--e-space-6);
}

.e-grid {
	display: grid;
	gap: var(--e-space-5);
}

/* -------------------------------------------------------------------------
   5. Section headings
   ---------------------------------------------------------------------- */
.e-section-head {
	margin-block-end: var(--e-space-6);
}

.e-section-head--center {
	text-align: center;
}

.e-section-head__title {
	position: relative;
	margin-block-end: var(--e-space-3);
	padding-block-end: var(--e-space-3);
	font-size: var(--e-step-3);
}

.e-section-head__title::after {
	content: "";
	position: absolute;
	inset-block-end: 0;
	inset-inline-start: 0;
	inline-size: 56px;
	block-size: 3px;
	border-radius: 3px;
	background: var(--e-accent);
}

/* inset-inline:0 + margin-inline:auto centres without a direction-specific
   transform, so the rule stays correct in both RTL and LTR. */
.e-section-head--center .e-section-head__title::after {
	inset-inline: 0;
	margin-inline: auto;
}

.e-section-head__subtitle {
	margin: 0;
	color: var(--e-muted);
	font-size: var(--e-step-0);
	max-inline-size: 62ch;
}

.e-section-head--center .e-section-head__subtitle {
	margin-inline: auto;
}

.e-section-head--light .e-section-head__title {
	color: #fff;
}

.e-section-head--light .e-section-head__subtitle {
	color: rgba(255, 255, 255, .78);
}

/* -------------------------------------------------------------------------
   6. Buttons
   ---------------------------------------------------------------------- */
.e-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--e-space-2);
	min-block-size: 48px;
	padding: var(--e-space-3) var(--e-space-5);
	border: 1px solid transparent;
	border-radius: var(--e-radius-md);
	font: inherit;
	font-weight: 600;
	font-size: var(--e-step-0);
	line-height: 1.2;
	cursor: pointer;
	text-align: center;
	transition: background-color var(--e-t-base) var(--e-ease),
		border-color var(--e-t-base) var(--e-ease),
		color var(--e-t-base) var(--e-ease),
		transform var(--e-t-fast) var(--e-ease),
		box-shadow var(--e-t-base) var(--e-ease);
}

.e-btn:active {
	transform: translateY(1px);
}

.e-btn--accent {
	background: var(--e-accent);
	color: var(--e-on-accent);
	box-shadow: var(--e-shadow-sm);
}

.e-btn--accent:hover,
.e-btn--accent:focus-visible {
	background: var(--e-accent-hover);
	color: var(--e-on-accent);
	box-shadow: var(--e-shadow-md);
}

.e-btn--primary {
	background: var(--e-primary);
	color: var(--e-on-primary);
}

.e-btn--primary:hover,
.e-btn--primary:focus-visible {
	background: var(--e-primary-dark);
	color: var(--e-on-primary);
}

.e-btn--outline {
	background: transparent;
	border-color: var(--e-border-strong);
	color: var(--e-primary);
}

.e-btn--outline:hover,
.e-btn--outline:focus-visible {
	border-color: var(--e-accent);
	color: var(--e-accent-hover);
	background: var(--e-accent-soft);
}

.e-btn--ghost-light {
	background: transparent;
	border-color: rgba(255, 255, 255, .45);
	color: #fff;
}

.e-btn--ghost-light:hover,
.e-btn--ghost-light:focus-visible {
	background: rgba(255, 255, 255, .12);
	border-color: #fff;
	color: #fff;
}

.e-btn--block {
	inline-size: 100%;
}

.e-btn--sm {
	min-block-size: 40px;
	padding: var(--e-space-2) var(--e-space-4);
	font-size: var(--e-step--1, 14px);
}

/* Text link that behaves like a call to action. */
.e-link-more {
	display: inline-flex;
	align-items: center;
	gap: var(--e-space-2);
	font-weight: 600;
	font-size: 15px;
	color: var(--e-primary);
	min-block-size: 44px;
}

.e-link-more svg {
	transition: transform var(--e-t-base) var(--e-ease);
}

.e-link-more:hover svg {
	transform: translateX(-4px);
}

/* -------------------------------------------------------------------------
   7. Header
   ---------------------------------------------------------------------- */
.e-header {
	position: relative;
	z-index: 100;
	background: var(--e-surface);
	border-block-end: 1px solid var(--e-border);
}

.has-sticky-header .e-header {
	position: sticky;
	inset-block-start: 0;
}

.e-header.is-stuck {
	box-shadow: var(--e-shadow-md);
	border-block-end-color: transparent;
}

.e-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--e-space-4);
	min-block-size: var(--e-header-h);
}

.e-brand {
	display: inline-flex;
	align-items: center;
	gap: var(--e-space-3);
	flex: none;
	color: var(--e-primary-dark);
}

.e-brand__logo {
	block-size: var(--e-logo-height);
	inline-size: auto;
	max-inline-size: 220px;
	object-fit: contain;
}

.e-brand__text {
	font-size: var(--e-step-1);
	font-weight: 700;
	line-height: 1.2;
}

.e-brand__tagline {
	display: none;
	font-size: 13px;
	color: var(--e-muted);
}

@media (min-width: 1024px) {
	.e-brand__tagline {
		display: inline;
	}
}

.e-brand--light,
.e-brand--light .e-brand__text {
	color: #fff;
}

.e-brand--light .e-brand__tagline {
	color: rgba(255, 255, 255, .7);
}

/* Brand name between the logo and the menu button — mobile view only. */
.e-header__brand-name {
	order: 0;
	flex: 1 1 auto;
	min-inline-size: 0;
	text-align: center;
	font-size: var(--e-step-1);
	font-weight: 700;
	line-height: 1.2;
	color: var(--e-primary-dark);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.e-header__inner > .e-brand {
	order: 1;
}

/* Primary navigation */
.e-nav {
	display: none;
}

.e-nav__list {
	display: flex;
	align-items: center;
	gap: var(--e-space-1);
	margin: 0;
	padding: 0;
	list-style: none;
}

.e-nav__list a {
	display: flex;
	align-items: center;
	gap: var(--e-space-1);
	padding: var(--e-space-3) var(--e-space-3);
	border-radius: var(--e-radius-sm);
	color: var(--e-ink);
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	min-block-size: 44px;
}

.e-nav__list a:hover,
.e-nav__list a:focus-visible {
	color: var(--e-accent-hover);
	background: var(--e-accent-soft);
}

.e-nav__list .current-menu-item > a,
.e-nav__list .current_page_item > a,
.e-nav__list .current-menu-ancestor > a {
	color: var(--e-accent-hover);
	position: relative;
}

.e-nav__list .current-menu-item > a::after,
.e-nav__list .current_page_item > a::after,
.e-nav__list .current-menu-ancestor > a::after {
	content: "";
	position: absolute;
	inset-block-end: 2px;
	inset-inline: var(--e-space-3);
	block-size: 2px;
	border-radius: 2px;
	background: var(--e-accent);
}

/* Sub menus */
.e-nav__list li {
	position: relative;
}

.e-nav__list .sub-menu {
	position: absolute;
	inset-block-start: calc(100% + 6px);
	inset-inline-start: 0;
	z-index: 20;
	min-inline-size: 220px;
	margin: 0;
	padding: var(--e-space-2);
	list-style: none;
	background: var(--e-surface);
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius-md);
	box-shadow: var(--e-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity var(--e-t-base) var(--e-ease),
		transform var(--e-t-base) var(--e-ease),
		visibility var(--e-t-base);
}

.e-nav__list li:hover > .sub-menu,
.e-nav__list li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.e-nav__list .sub-menu .sub-menu {
	inset-block-start: calc(var(--e-space-2) * -1);
	inset-inline-start: 100%;
}

.e-nav__list .sub-menu a {
	inline-size: 100%;
	white-space: normal;
}

.e-header__actions {
	display: flex;
	align-items: center;
	gap: var(--e-space-2);
	flex: none;
	order: -1;
}

.e-header__cta {
	display: none;
}

.e-header__search-toggle,
.e-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 48px;
	block-size: 48px;
	padding: 0;
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius-md);
	background: var(--e-surface);
	color: var(--e-primary-dark);
	cursor: pointer;
	transition: background-color var(--e-t-fast) var(--e-ease), border-color var(--e-t-fast) var(--e-ease);
}

.e-header__search-toggle:hover,
.e-nav-toggle:hover {
	background: var(--e-surface-alt);
	border-color: var(--e-border-strong);
}

.e-nav-toggle__close {
	display: none;
}

.e-nav-toggle[aria-expanded="true"] .e-nav-toggle__open {
	display: none;
}

.e-nav-toggle[aria-expanded="true"] .e-nav-toggle__close {
	display: block;
}

@media (min-width: 1024px) {
	.e-nav {
		display: block;
		flex: 1 1 auto;
	}

	.e-nav__list {
		justify-content: center;
	}

	.e-nav-toggle {
		display: none;
	}

	.e-header__cta {
		display: inline-flex;
	}

	/* Brand name is a mobile-only element; restore the desktop brand order. */
	.e-header__brand-name {
		display: none;
	}

	.e-header__inner > .e-brand {
		order: 0;
	}
}

/* Mobile drawer */
.e-drawer {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	grid-template-columns: 1fr;
	pointer-events: none;
}

.e-drawer[hidden] {
	display: none;
}

.e-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 28, 54, .5);
	opacity: 0;
	transition: opacity var(--e-t-base) var(--e-ease);
	border: 0;
	padding: 0;
	cursor: pointer;
}

.e-drawer__panel {
	position: relative;
	z-index: 1;
	inline-size: min(88vw, 360px);
	margin-inline-end: auto;
	block-size: 100%;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--e-surface);
	padding: var(--e-space-5) var(--e-space-5) var(--e-space-8);
	transform: translateX(-100%);
	transition: transform var(--e-t-base) var(--e-ease);
	display: flex;
	flex-direction: column;
	gap: var(--e-space-5);
}

[dir="rtl"] .e-drawer__panel {
	transform: translateX(100%);
}

.e-drawer.is-open {
	pointer-events: auto;
}

.e-drawer.is-open .e-drawer__backdrop {
	opacity: 1;
}

.e-drawer.is-open .e-drawer__panel {
	transform: translateX(0);
}

.e-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--e-space-3);
	padding-block-end: var(--e-space-4);
	border-block-end: 1px solid var(--e-border);
}

.e-drawer__close {
	inline-size: 44px;
	block-size: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius-md);
	background: transparent;
	color: var(--e-ink);
	cursor: pointer;
}

.e-drawer__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.e-drawer__nav a {
	display: block;
	padding: var(--e-space-3) var(--e-space-2);
	border-block-end: 1px solid var(--e-border);
	color: var(--e-ink);
	font-weight: 500;
	min-block-size: 48px;
}

.e-drawer__nav .sub-menu a {
	padding-inline-start: var(--e-space-5);
	font-weight: 400;
	color: var(--e-muted);
}

.e-drawer__nav .current-menu-item > a {
	color: var(--e-accent-hover);
}

/* Header search sheet */
.e-header__search {
	border-block-start: 1px solid var(--e-border);
	background: var(--e-surface-alt);
	padding-block: var(--e-space-4);
}

.e-header__search[hidden] {
	display: none;
}

/* -------------------------------------------------------------------------
   8. Hero
   ---------------------------------------------------------------------- */
.e-hero {
	position: relative;
	background: var(--e-primary);
	color: #fff;
	overflow: hidden;
}

.e-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .10), transparent 55%),
		linear-gradient(180deg, var(--e-primary) 0%, var(--e-primary-dark) 100%);
	z-index: 0;
}

.e-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: var(--e-space-6);
	padding-block: var(--e-space-7);
	padding-bottom: var(--e-space-9);
}

.e-hero__content {
	max-inline-size: 640px;
}

.e-hero__eyebrow {
	display: block;
	margin-block-end: var(--e-space-3);
	font-size: var(--e-step-1);
	font-weight: 500;
	color: rgba(255, 255, 255, .88);
}

.e-hero__title {
	margin: 0 0 var(--e-space-4);
	font-size: var(--e-step-5);
	font-weight: 800;
	line-height: 1.25;
	color: #fff;
	text-wrap: balance;
}

.e-hero__title-accent {
	color: var(--e-accent);
}

.e-hero__subtitle {
	margin: 0 0 var(--e-space-6);
	font-size: var(--e-step-1);
	color: rgba(255, 255, 255, .82);
	font-weight: 400;
}

.e-hero__meta {
	display: grid;
	gap: var(--e-space-4);
	margin-block-end: var(--e-space-6);
	padding-block: var(--e-space-5);
	border-block: 1px solid rgba(255, 255, 255, .18);
}

@media (min-width: 560px) {
	.e-hero__meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--e-space-5);
	}
}

.e-hero__meta-item {
	display: flex;
	align-items: flex-start;
	gap: var(--e-space-3);
}

.e-hero__meta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 44px;
	block-size: 44px;
	flex: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: var(--e-accent);
}

.e-hero__meta-label {
	display: block;
	font-size: 14px;
	color: rgba(255, 255, 255, .68);
	margin-block-end: 2px;
}

.e-hero__meta-value {
	display: block;
	font-weight: 600;
	line-height: 1.5;
}

.e-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--e-space-3);
}

.e-hero__media {
	position: relative;
	border-radius: var(--e-radius-lg);
	overflow: hidden;
	box-shadow: var(--e-shadow-lg);
	aspect-ratio: 4 / 3;
	background: rgba(255, 255, 255, .06);
	order: -1;
}

.e-hero__media img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

/* Hero slider (Swiper). The slider fills the same media box the single image
   used, so switching to slides never changes the hero's footprint. */
.e-hero__slider {
	inline-size: 100%;
	block-size: 100%;
	--swiper-theme-color: var(--e-accent);
	--swiper-navigation-size: 20px;
	--swiper-pagination-bullet-inactive-color: #fff;
	--swiper-pagination-bullet-inactive-opacity: .5;
}

.e-hero__slider .swiper-slide {
	block-size: 100%;
}

.e-hero__slide-link {
	display: block;
	inline-size: 100%;
	block-size: 100%;
}

/* Arrows sit on a translucent navy chip so they stay legible over any slide. */
.e-hero__slider .swiper-button-prev,
.e-hero__slider .swiper-button-next {
	inline-size: 40px;
	block-size: 40px;
	border-radius: 50%;
	background: rgba(11, 42, 78, .45);
	color: #fff;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	transition: background .2s ease;
}

.e-hero__slider .swiper-button-prev:hover,
.e-hero__slider .swiper-button-next:hover {
	background: rgba(11, 42, 78, .7);
}

.e-hero__slider .swiper-button-prev::after,
.e-hero__slider .swiper-button-next::after {
	font-size: 16px;
	font-weight: 700;
}

.e-hero__slider .swiper-pagination-bullets {
	bottom: 12px;
}

@media (min-width: 1024px) {
	.e-hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		align-items: center;
		gap: var(--e-space-8);
		padding-block: var(--e-space-9);
		padding-block: var(--e-space-9);
	}

	/* Image bleeds toward the viewport edge, matching the reference layout. */
	.e-hero__media {
		aspect-ratio: 5 / 4;
	}
}

/* Countdown */
.e-countdown {
	display: flex;
	flex-wrap: wrap;
	gap: var(--e-space-3);
	margin-block-end: var(--e-space-6);
}

.e-countdown__unit {
	min-inline-size: 78px;
	padding: var(--e-space-3);
	text-align: center;
	background: rgba(255, 255, 255, .09);
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: var(--e-radius-md);
}

.e-countdown__value {
	display: block;
	font-size: var(--e-step-2);
	font-weight: 700;
	line-height: 1.2;
	color: var(--e-accent);
	font-variant-numeric: tabular-nums;
}

.e-countdown__label {
	display: block;
	font-size: 13px;
	color: rgba(255, 255, 255, .7);
}

.e-countdown__done {
	font-weight: 600;
	color: var(--e-accent);
}

/* -------------------------------------------------------------------------
   9. Downloads
   ---------------------------------------------------------------------- */
.e-downloads {
	position: relative;
	padding-block: var(--e-space-7);
}

/* Card overlaps the hero, as in the reference. */
.e-downloads--overlap {
	padding-block-start: 0;
	margin-block-start: calc(var(--e-space-7) * -1);
}

.e-downloads__card {
	background: var(--e-surface);
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius-lg);
	box-shadow: var(--e-shadow-lg);
	padding: var(--e-space-6) var(--e-space-5);
}

@media (min-width: 768px) {
	.e-header__actions {
		order: 0;
	}
	.e-hero__media {
		order: 0;
	}
	.e-downloads__card {
		padding: var(--e-space-7) var(--e-space-6);
	}
}

.e-downloads__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: var(--e-space-4);
}

.e-download {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--e-space-3);
	padding: var(--e-space-5) var(--e-space-3);
	text-align: center;
	background: var(--e-surface);
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius-md);
	transition: border-color var(--e-t-base) var(--e-ease),
		box-shadow var(--e-t-base) var(--e-ease),
		transform var(--e-t-base) var(--e-ease);
}

.e-download:hover {
	border-color: var(--e-accent);
	box-shadow: var(--e-shadow-md);
	transform: translateY(-3px);
}

.e-download__icon {
	color: var(--e-primary);
}

.e-download__label {
	font-weight: 600;
	font-size: 15px;
	color: var(--e-primary-dark);
	margin: 0;
	line-height: 1.5;
}

.e-download__btn {
	margin-block-start: auto;
}

.e-download--static {
	opacity: .75;
}

/* -------------------------------------------------------------------------
   10. About
   ---------------------------------------------------------------------- */
.e-about__inner {
	display: grid;
	gap: var(--e-space-6);
	align-items: center;
}

@media (min-width: 900px) {
	.e-about__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		gap: var(--e-space-8);
	}

	/* Media first in source order for mobile; visually at the inline end. */
	.e-about__media {
		order: -1;
	}
}

.e-about__media {
	border-radius: var(--e-radius-lg);
	overflow: hidden;
	box-shadow: var(--e-shadow-md);
	aspect-ratio: 4 / 3;
}

.e-about__media img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
}

.e-about__text {
	color: var(--e-muted);
}

.e-about__features {
	display: grid;
	gap: var(--e-space-5);
	margin-block-start: var(--e-space-6);
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.e-about__features {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--e-space-4);
	}
}

.e-about__feature {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: var(--e-space-3);
	font-size: 15px;
	font-weight: 500;
	color: var(--e-primary-dark);
	line-height: 1.6;
}

@media (min-width: 600px) {
	.e-about__feature {
		flex-direction: column;
		text-align: center;
		gap: var(--e-space-3);
	}
}

.e-about__feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 52px;
	block-size: 52px;
	flex: none;
	border-radius: var(--e-radius-md);
	background: var(--e-accent-soft);
	color: var(--e-accent-hover);
}

/* -------------------------------------------------------------------------
   11. Call-to-action banner
   ---------------------------------------------------------------------- */
.e-banner {
	padding-block: var(--e-space-6);
}

.e-banner__inner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	gap: var(--e-space-5);
	align-items: center;
	padding: var(--e-space-7) var(--e-space-5);
	border-radius: var(--e-radius-lg);
	background: linear-gradient(120deg, var(--e-primary-dark), var(--e-primary));
	color: #fff;
	text-align: center;
}

@media (min-width: 860px) {
	.e-banner__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		text-align: start;
		padding: var(--e-space-7) var(--e-space-8);
		gap: var(--e-space-7);
	}
}

.e-banner__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	object-fit: cover;
	inline-size: 100%;
	block-size: 100%;
	opacity: .28;
}

.e-banner__title {
	margin: 0 0 var(--e-space-3);
	color: #fff;
	font-size: var(--e-step-2);
}

.e-banner__text {
	margin: 0;
	color: rgba(255, 255, 255, .82);
	max-inline-size: 62ch;
}

/* -------------------------------------------------------------------------
   12. Product categories
   ---------------------------------------------------------------------- */
.e-categories__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: var(--e-space-4);
}

.e-category {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: var(--e-space-3);
	min-block-size: 148px;
	padding: var(--e-space-5) var(--e-space-3);
	text-align: center;
	background: var(--e-surface);
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius-md);
	color: var(--e-primary-dark);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.5;
	transition: border-color var(--e-t-base) var(--e-ease),
		box-shadow var(--e-t-base) var(--e-ease),
		transform var(--e-t-base) var(--e-ease),
		background-color var(--e-t-base) var(--e-ease);
}

a.e-category:hover,
a.e-category:focus-visible {
	border-color: var(--e-accent);
	background: var(--e-accent-soft);
	color: var(--e-primary-dark);
	box-shadow: var(--e-shadow-md);
	transform: translateY(-3px);
}

.e-category__icon {
	color: var(--e-primary);
	transition: color var(--e-t-base) var(--e-ease);
}

a.e-category:hover .e-category__icon {
	color: var(--e-accent-hover);
}

/* -------------------------------------------------------------------------
   13. News cards
   ---------------------------------------------------------------------- */
.e-news__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--e-space-5);
}

.e-card {
	display: flex;
	flex-direction: column;
	background: var(--e-surface);
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius-md);
	overflow: hidden;
	transition: border-color var(--e-t-base) var(--e-ease),
		box-shadow var(--e-t-base) var(--e-ease),
		transform var(--e-t-base) var(--e-ease);
}

.e-card:hover {
	border-color: var(--e-border-strong);
	box-shadow: var(--e-shadow-md);
	transform: translateY(-3px);
}

.e-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	background: var(--e-surface-alt);
	overflow: hidden;
}

.e-card__media img {
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	transition: transform 400ms var(--e-ease);
}

.e-card:hover .e-card__media img {
	transform: scale(1.04);
}

.e-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--e-space-3);
	flex: 1 1 auto;
	padding: var(--e-space-5);
}

.e-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--e-space-3);
	font-size: 13px;
	color: var(--e-muted);
}

.e-card__title {
	margin: 0;
	font-size: var(--e-step-1);
	line-height: 1.5;
}

.e-card__title a {
	color: var(--e-primary-dark);
}

.e-card__title a:hover {
	color: var(--e-accent-hover);
}

.e-card__excerpt {
	margin: 0;
	color: var(--e-muted);
	font-size: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.e-card__foot {
	margin-block-start: auto;
	padding-block-start: var(--e-space-2);
}

.e-news__more {
	display: flex;
	justify-content: center;
	margin-block-start: var(--e-space-6);
}

/* -------------------------------------------------------------------------
   14. FAQ accordion
   ---------------------------------------------------------------------- */
.e-faq__list {
	display: grid;
	gap: var(--e-space-3);
	max-inline-size: 900px;
	margin-inline: auto;
}

.e-faq__item {
	background: var(--e-surface);
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius-md);
	overflow: hidden;
	transition: border-color var(--e-t-base) var(--e-ease), box-shadow var(--e-t-base) var(--e-ease);
}

.e-faq__item[open] {
	border-color: var(--e-accent);
	box-shadow: var(--e-shadow-sm);
}

/* summary carries the disclosure semantics natively; only the default
   triangle marker is replaced. */
.e-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--e-space-4);
	min-block-size: 60px;
	padding: var(--e-space-4) var(--e-space-5);
	font-weight: 600;
	font-size: 16px;
	color: var(--e-primary-dark);
	text-align: start;
	cursor: pointer;
	list-style: none;
	transition: background-color var(--e-t-fast) var(--e-ease);
}

.e-faq__q::-webkit-details-marker {
	display: none;
}

.e-faq__q::marker {
	content: "";
}

.e-faq__q:hover {
	background: var(--e-surface-alt);
}

.e-faq__q-text {
	line-height: 1.7;
}

.e-faq__marker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 32px;
	block-size: 32px;
	flex: none;
	border-radius: 50%;
	background: var(--e-surface-alt);
	color: var(--e-primary);
	transition: transform var(--e-t-base) var(--e-ease),
		background-color var(--e-t-base) var(--e-ease),
		color var(--e-t-base) var(--e-ease);
}

.e-faq__item[open] .e-faq__marker {
	transform: rotate(45deg);
	background: var(--e-accent);
	color: var(--e-on-accent);
}

.e-faq__a {
	padding: var(--e-space-4) var(--e-space-5) var(--e-space-5);
	border-block-start: 1px solid var(--e-border);
	color: var(--e-muted);
}

/* Browsers that support ::details-content get a height transition; the rest
   simply open instantly, which is the correct fallback. */
@supports selector(::details-content) {
	.e-faq__item::details-content {
		block-size: 0;
		overflow: hidden;
		transition: block-size 280ms var(--e-ease), content-visibility 280ms allow-discrete;
		transition-behavior: allow-discrete;
	}

	.e-faq__item[open]::details-content {
		block-size: auto;
	}
}

/* -------------------------------------------------------------------------
   15. Quick contact section
   ---------------------------------------------------------------------- */
.e-quick-contact__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--e-space-4);
	margin-block-start: var(--e-space-6);
}

.e-quick-contact__item {
	display: flex;
	align-items: flex-start;
	gap: var(--e-space-3);
	padding: var(--e-space-5);
	background: var(--e-surface);
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius-md);
}

.e-quick-contact__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 44px;
	block-size: 44px;
	flex: none;
	border-radius: var(--e-radius-sm);
	background: var(--e-accent-soft);
	color: var(--e-accent-hover);
}

.e-quick-contact__label {
	display: block;
	font-size: 13px;
	color: var(--e-muted);
	margin-block-end: 2px;
}

.e-quick-contact__value {
	font-weight: 600;
	color: var(--e-primary-dark);
	line-height: 1.6;
	word-break: break-word;
}

/* -------------------------------------------------------------------------
   16. Footer
   ---------------------------------------------------------------------- */
.e-footer {
	background: var(--e-primary-dark);
	color: rgba(255, 255, 255, .78);
	font-size: 15px;
	margin-block-start: var(--e-space-8);
}

.e-template-home .e-footer {
	margin-block-start: 0;
}

.e-footer a {
	color: rgba(255, 255, 255, .78);
}

.e-footer a:hover,
.e-footer a:focus-visible {
	color: var(--e-accent);
}

/*
 * Flex, not a fixed-track grid: a disabled column must leave no empty slot.
 * Each column grows to share the row, so any 1–4 of them fill the width and the
 * gap of a removed column is never felt.
 */
.e-footer__main {
	display: flex;
	flex-direction: column;
	gap: var(--e-space-6);
	padding-block: var(--e-space-7);
}

.e-footer__col {
	min-inline-size: 0;
}

@media (min-width: 640px) {
	.e-footer__main {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.e-footer__col {
		flex: 1 1 240px;
	}

	.e-footer__about {
		flex: 1.6 1 300px;
	}
}

@media (min-width: 1024px) {
	.e-footer__main {
		flex-wrap: nowrap;
		gap: var(--e-space-7);
		padding-block: var(--e-space-8);
	}
}

.e-footer__title {
	margin: 0 0 var(--e-space-4);
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	position: relative;
	padding-block-end: var(--e-space-3);
}

.e-footer__title::after {
	content: "";
	position: absolute;
	inset-block-end: 0;
	inset-inline-start: 0;
	inline-size: 36px;
	block-size: 2px;
	border-radius: 2px;
	background: var(--e-accent);
}

.e-footer__about .e-brand {
	margin-block-end: var(--e-space-4);
}

.e-footer__about p {
	line-height: 1.9;
}

.e-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--e-space-3);
}

.e-footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: var(--e-space-3);
	line-height: 1.8;
}

.e-footer__contact-item svg {
	color: var(--e-accent);
	margin-block-start: 4px;
}

.e-footer__links a {
	display: inline-flex;
	align-items: center;
	gap: var(--e-space-2);
	min-block-size: 32px;
}

.e-footer__links a::before {
	content: "";
	inline-size: 5px;
	block-size: 5px;
	border-radius: 50%;
	background: var(--e-accent);
	flex: none;
	opacity: .7;
}

.e-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: var(--e-space-3);
}

.e-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	inline-size: 44px;
	block-size: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .14);
	color: #fff;
	transition: background-color var(--e-t-base) var(--e-ease),
		border-color var(--e-t-base) var(--e-ease),
		transform var(--e-t-base) var(--e-ease);
}

.e-footer__social:hover,
.e-footer__social:focus-visible {
	background: var(--e-accent);
	border-color: var(--e-accent);
	color: var(--e-on-accent);
	transform: translateY(-2px);
}

/* A network with no link is a static badge: shown, but not interactive. */
.e-footer__social--static {
	cursor: default;
}

.e-footer__social--static:hover {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .14);
	color: #fff;
	transform: none;
}

.e-footer__bottom {
	border-block-start: 1px solid rgba(255, 255, 255, .12);
}

.e-footer__bottom-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--e-space-3);
	padding-block: var(--e-space-5);
	text-align: center;
	font-size: 14px;
}

@media (min-width: 768px) {
	.e-footer__bottom-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		text-align: start;
	}
}

/* Copyright sits at the inline start (right in RTL); the HTML slot mirrors it. */
.e-footer__copyright {
	order: 1;
}

.e-footer__credit {
	order: 2;
	display: flex;
	align-items: center;
	gap: var(--e-space-3);
}

.e-footer__credit img {
	max-block-size: 48px;
	inline-size: auto;
}

.e-footer__bottom--swap .e-footer__copyright {
	order: 2;
}

.e-footer__bottom--swap .e-footer__credit {
	order: 1;
}

/* -------------------------------------------------------------------------
   17. Back to top
   ---------------------------------------------------------------------- */
.e-to-top {
	position: fixed;
	inset-block-end: var(--e-space-5);
	inset-inline-start: var(--e-space-5);
	z-index: 90;
	inline-size: 48px;
	block-size: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: var(--e-primary);
	color: #fff;
	cursor: pointer;
	box-shadow: var(--e-shadow-md);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity var(--e-t-base) var(--e-ease),
		transform var(--e-t-base) var(--e-ease),
		background-color var(--e-t-base) var(--e-ease);
}

.e-to-top[hidden] {
	display: none;
}

.e-to-top.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.e-to-top:hover {
	background: var(--e-accent);
	color: var(--e-on-accent);
}

/* -------------------------------------------------------------------------
   18. Editorial content (posts, pages, archives)
   ---------------------------------------------------------------------- */
.e-page-header {
	background: var(--e-surface-alt);
	border-block-end: 1px solid var(--e-border);
	padding-block: var(--e-space-7);
}

.e-page-header__title {
	margin: 0;
	font-size: var(--e-step-4);
}

.e-page-header__desc {
	margin-block-start: var(--e-space-3);
	color: var(--e-muted);
	max-inline-size: 70ch;
}

.e-breadcrumbs {
	padding-block: var(--e-space-3);
	border-block-end: 1px solid var(--e-border);
	font-size: 14px;
	color: var(--e-muted);
	background: var(--e-surface);
}

.e-breadcrumbs a {
	color: var(--e-muted);
}

.e-breadcrumbs a:hover {
	color: var(--e-accent-hover);
}

.e-breadcrumbs__sep {
	margin-inline: var(--e-space-2);
	opacity: .5;
}

.e-main {
	display: block;
}

.e-layout {
	display: grid;
	gap: var(--e-space-7);
	padding-block: var(--e-space-7);
}

@media (min-width: 1024px) {
	.e-layout:not(.no-sidebar) {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: var(--e-space-8);
	}
}

.no-sidebar .e-layout,
.e-layout--full {
	grid-template-columns: minmax(0, 1fr);
}

.e-entry__title {
	font-size: var(--e-step-3);
}

.e-entry__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--e-space-4);
	margin-block-end: var(--e-space-5);
	padding-block-end: var(--e-space-4);
	border-block-end: 1px solid var(--e-border);
	font-size: 14px;
	color: var(--e-muted);
}

.e-entry__meta-item {
	display: inline-flex;
	align-items: center;
	gap: var(--e-space-2);
}

.e-entry__thumb {
	margin-block-end: var(--e-space-6);
	border-radius: var(--e-radius-lg);
	overflow: hidden;
}

.e-entry__content > * {
	max-inline-size: 100%;
}

.e-entry__content h2,
.e-entry__content h3 {
	margin-block-start: var(--e-space-6);
}

.e-entry__content img {
	border-radius: var(--e-radius-md);
}

.e-entry__content figure {
	margin: var(--e-space-5) 0;
}

.e-entry__content .alignwide {
	inline-size: 100%;
}

.e-entry__footer {
	margin-block-start: var(--e-space-6);
	padding-block-start: var(--e-space-5);
	border-block-start: 1px solid var(--e-border);
}

.e-tags {
	display: flex;
	flex-wrap: wrap;
	gap: var(--e-space-2);
}

.e-tags a {
	display: inline-flex;
	align-items: center;
	padding: 6px var(--e-space-3);
	border: 1px solid var(--e-border);
	border-radius: 999px;
	font-size: 13px;
	color: var(--e-muted);
}

.e-tags a:hover {
	border-color: var(--e-accent);
	color: var(--e-accent-hover);
	background: var(--e-accent-soft);
}

.e-post-nav {
	display: grid;
	gap: var(--e-space-3);
	margin-block-start: var(--e-space-6);
}

@media (min-width: 640px) {
	.e-post-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.e-post-nav a {
	display: block;
	padding: var(--e-space-4);
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius-md);
	color: var(--e-primary-dark);
	font-weight: 600;
}

.e-post-nav a:hover {
	border-color: var(--e-accent);
	background: var(--e-accent-soft);
}

.e-post-nav small {
	display: block;
	font-weight: 400;
	color: var(--e-muted);
	margin-block-end: 4px;
}

/* Sidebar */
.e-sidebar {
	display: grid;
	gap: var(--e-space-5);
	align-content: start;
}

.e-widget {
	padding: var(--e-space-5);
	background: var(--e-surface-alt);
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius-md);
}

.e-widget__title {
	margin: 0 0 var(--e-space-4);
	font-size: 17px;
}

.e-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--e-space-2);
}

.e-widget li a {
	display: inline-block;
	padding-block: 6px;
	color: var(--e-ink);
}

.e-widget li a:hover {
	color: var(--e-accent-hover);
}

/* Search form */
.e-search-form {
	display: flex;
	gap: var(--e-space-2);
}

.e-search-form input[type="search"],
.e-input {
	inline-size: 100%;
	min-block-size: 48px;
	padding: var(--e-space-3) var(--e-space-4);
	border: 1px solid var(--e-border-strong);
	border-radius: var(--e-radius-md);
	background: var(--e-surface);
	color: var(--e-ink);
	font: inherit;
	font-size: 15px;
	transition: border-color var(--e-t-fast) var(--e-ease), box-shadow var(--e-t-fast) var(--e-ease);
}

.e-search-form input[type="search"]:focus,
.e-input:focus {
	outline: none;
	border-color: var(--e-accent);
	box-shadow: var(--e-ring);
}

/* Pagination */
.e-pagination {
	margin-block-start: var(--e-space-7);
}

.e-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--e-space-2);
}

.e-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-inline-size: 44px;
	min-block-size: 44px;
	padding-inline: var(--e-space-3);
	border: 1px solid var(--e-border);
	border-radius: var(--e-radius-sm);
	color: var(--e-ink);
	font-weight: 600;
	font-size: 15px;
}

.e-pagination .page-numbers:hover {
	border-color: var(--e-accent);
	background: var(--e-accent-soft);
	color: var(--e-accent-hover);
}

.e-pagination .page-numbers.current {
	background: var(--e-primary);
	border-color: var(--e-primary);
	color: #fff;
}

/* Comments */
.e-comments {
	margin-block-start: var(--e-space-8);
	padding-block-start: var(--e-space-6);
	border-block-start: 1px solid var(--e-border);
}

.e-comments .comment-list {
	list-style: none;
	margin: 0 0 var(--e-space-6);
	padding: 0;
	display: grid;
	gap: var(--e-space-5);
}

.e-comments .comment-list ol.children {
	list-style: none;
	margin-block-start: var(--e-space-4);
	padding-inline-start: var(--e-space-5);
	border-inline-start: 2px solid var(--e-border);
	display: grid;
	gap: var(--e-space-4);
}

.e-comments .comment-body {
	padding: var(--e-space-4);
	background: var(--e-surface-alt);
	border-radius: var(--e-radius-md);
}

.e-comments .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--e-space-2);
	margin-block-end: var(--e-space-3);
	font-size: 14px;
	color: var(--e-muted);
}

.e-comments .avatar {
	border-radius: 50%;
}

.e-comments textarea,
.e-comments input[type="text"],
.e-comments input[type="email"],
.e-comments input[type="url"] {
	inline-size: 100%;
	padding: var(--e-space-3) var(--e-space-4);
	border: 1px solid var(--e-border-strong);
	border-radius: var(--e-radius-md);
	font: inherit;
	font-size: 15px;
	background: var(--e-surface);
	color: var(--e-ink);
}

.e-comments .form-submit input[type="submit"] {
	min-block-size: 48px;
	padding: var(--e-space-3) var(--e-space-6);
	border: 0;
	border-radius: var(--e-radius-md);
	background: var(--e-accent);
	color: var(--e-on-accent);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

/* 404 and empty states */
.e-empty {
	text-align: center;
	padding-block: var(--e-space-9);
}

.e-empty__code {
	font-size: clamp(72px, 18vw, 160px);
	font-weight: 800;
	line-height: 1;
	color: var(--e-accent-soft);
	margin: 0;
}

.e-empty__title {
	margin-block: var(--e-space-4) var(--e-space-3);
}

.e-empty__text {
	color: var(--e-muted);
	max-inline-size: 52ch;
	margin-inline: auto;
	margin-block-end: var(--e-space-6);
}

.e-empty__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--e-space-3);
	justify-content: center;
}

/* Builder-driven pages should not inherit the theme's container padding. */
.e-builder-content .e-layout {
	padding-block: 0;
	gap: 0;
}

.e-builder-content .e-entry__content {
	max-inline-size: none;
}

/* -------------------------------------------------------------------------
   19. Motion
   ---------------------------------------------------------------------- */
[data-reveal] {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 380ms var(--e-ease), transform 380ms var(--e-ease);
	will-change: opacity, transform;
}

[data-reveal].is-revealed {
	opacity: 1;
	transform: none;
	will-change: auto;
}

/* Staggering is driven by an inline --i index set in the templates. */
[data-reveal] {
	transition-delay: calc(var(--i, 0) * 55ms);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
		scroll-behavior: auto !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}

	.e-faq__a {
		transition: none;
	}
}

/* -------------------------------------------------------------------------
   20. Print
   ---------------------------------------------------------------------- */
@media print {
	.e-header,
	.e-footer,
	.e-to-top,
	.e-drawer,
	.e-breadcrumbs,
	.e-pagination,
	.e-hero__actions {
		display: none !important;
	}

	body.e-body {
		color: #000;
		background: #fff;
		font-size: 12pt;
	}

	a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 9pt;
		color: #555;
	}
}
