/* ==========================================================================
   İslâmi Davet — main stylesheet
   Built from assets/css/src/*.css (see dev/scripts/build-assets.sh).
   01 base · 02 header · 03 cards · 04 home · 05 article · 06 pages · 07 footer
   ========================================================================== */

/* ---------- Fonts (self-hosted, Turkish-tailored subsets; OFL) ---------- */

@font-face {
	font-family: "Newsreader";
	src: url("../fonts/newsreader-tr.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0020-007E, U+00A0-00FF, U+0100-0101, U+011E-011F, U+012A-012B, U+0130-0131, U+0152-0153, U+015E-015F, U+016A-016B, U+018F, U+0259, U+02BE-02BF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+20BA, U+2122, U+2190-2193, U+2197, U+2212;
}
@font-face {
	font-family: "Newsreader";
	src: url("../fonts/newsreader-italic-tr.woff2") format("woff2");
	font-weight: 400 700;
	font-style: italic;
	font-display: swap;
	unicode-range: U+0020-007E, U+00A0-00FF, U+0100-0101, U+011E-011F, U+012A-012B, U+0130-0131, U+0152-0153, U+015E-015F, U+016A-016B, U+018F, U+0259, U+02BE-02BF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+20BA, U+2122, U+2190-2193, U+2197, U+2212;
}
@font-face {
	font-family: "Newsreader";
	src: url("../fonts/newsreader-ext.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0102-011D, U+0120-0129, U+012C-012F, U+0132-0151, U+0154-015D, U+0160-0169, U+016C-018E, U+0190-024F, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+1E00-1EFF, U+2020-2021, U+20A0-20AB, U+20AD-20B9, U+20BB-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-tr.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0020-007E, U+00A0-00FF, U+0100-0101, U+011E-011F, U+012A-012B, U+0130-0131, U+0152-0153, U+015E-015F, U+016A-016B, U+018F, U+0259, U+02BE-02BF, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2032-2033, U+2039-203A, U+20AC, U+20BA, U+2122, U+2190-2193, U+2197, U+2212;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-ext.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0102-011D, U+0120-0129, U+012C-012F, U+0132-0151, U+0154-015D, U+0160-0169, U+016C-018E, U+0190-024F, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+1E00-1EFF, U+2020-2021, U+20A0-20AB, U+20AD-20B9, U+20BB-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Amiri UI";
	src: url("../fonts/amiri-ui.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0621-0656, U+0640, U+0670, U+06DE;
}
@font-face {
	font-family: "Amiri";
	src: url("../fonts/amiri-arabic.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* ---------- Design tokens ---------- */

:root {
	/* Light (default) */
	--paper: #f8f5ef;
	--surface: #ffffff;
	--surface-2: #f1ece3;
	--surface-3: #e8e0d3;
	--sand: #f3ebdd;
	--ink: #1b1814;
	--ink-2: #4a433b;
	--ink-3: #6b6359;
	--line: #e3dcd0;
	--line-2: #d2c8b8;
	--accent: #a3191f;
	--brand: #a3191f;
	--brand-2: #861318;
	--brand-ink: #ffffff;
	--brand-soft: #f7e6e3;
	--emerald: #0b6b4f;
	--emerald-soft: #e2efe8;
	--gold: #85611e;
	--gold-2: #c9a55c;
	--night: #12181f;
	--night-2: #1a222c;
	--on-night: #f0ebe3;
	--on-night-2: #aeb6bf;
	--focus: #a3191f;
	--pattern-ink: rgb(27 24 20 / 0.055);
	--shadow-1: 0 1px 2px rgb(27 24 20 / 0.05), 0 4px 14px rgb(27 24 20 / 0.05);
	--shadow-2: 0 18px 50px rgb(27 24 20 / 0.16), 0 2px 6px rgb(27 24 20 / 0.06);

	/* Type */
	--font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-arabic: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", "Times New Roman", serif;
	/* Decorative Arabic (slogans, ayah card, ornaments): 42 KB subset, full Amiri as fallback. */
	--font-arabic-ui: "Amiri UI", "Amiri", "Noto Naskh Arabic", "Traditional Arabic", serif;
	--fs-xl: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem);
	--fs-2xl: clamp(1.5rem, 1.15rem + 1.45vw, 2.2rem);
	--fs-3xl: clamp(1.95rem, 1.3rem + 2.6vw, 3.3rem);
	--fs-hero: clamp(1.4rem, 0.95rem + 1.8vw, 2.25rem); /* manşet title: 22 px on phones, 36 px on desktop */

	/* Layout */
	--container: 1280px;
	--gutter: 16px;
	--gap: 1.5rem;
	--radius-s: 6px;
	--radius: 10px;
	--radius-l: 16px;
	--topbar-h: 0px;
	--masthead-h: 0px;
	--navbar-h: 56px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	/* Compatibility with TieLabs plugins (video playlists) that read the old theme's variables. */
	--brand-color: var(--brand);
	--bright-color: #ffffff;

	color-scheme: light;
}

@media (min-width: 768px) {
	:root {
		--gutter: 24px;
		--gap: 1.75rem;
	}
}

@media (min-width: 1024px) {
	:root {
		--topbar-h: 38px;
		--masthead-h: 124px;
		--navbar-h: 54px;
	}
}

@media (min-width: 1280px) {
	:root {
		--gutter: 32px;
		--gap: 2rem;
	}
}

/* Dark: explicit choice, or system preference unless the reader picked light. */
:root[data-theme="dark"] {
	--paper: #0f1114;
	--surface: #161a1f;
	--surface-2: #1d2228;
	--surface-3: #262c33;
	--sand: #15171a;
	--ink: #ece6dc;
	--ink-2: #c2baae;
	--ink-3: #9a9286;
	--line: #262b31;
	--line-2: #353b43;
	--accent: #f0716a;
	--brand: #b3262c;
	--brand-2: #c8333a;
	--brand-soft: #2a1718;
	--emerald: #4cc39b;
	--emerald-soft: #11261f;
	--gold: #d6b36a;
	--gold-2: #8c7442;
	--night: #0a0d10;
	--night-2: #12161b;
	--focus: #f0716a;
	--pattern-ink: rgb(236 230 220 / 0.045);
	--shadow-1: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 14px rgb(0 0 0 / 0.25);
	--shadow-2: 0 18px 50px rgb(0 0 0 / 0.55), 0 2px 6px rgb(0 0 0 / 0.35);
	color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #0f1114;
		--surface: #161a1f;
		--surface-2: #1d2228;
		--surface-3: #262c33;
		--sand: #15171a;
		--ink: #ece6dc;
		--ink-2: #c2baae;
		--ink-3: #9a9286;
		--line: #262b31;
		--line-2: #353b43;
		--accent: #f0716a;
		--brand: #b3262c;
		--brand-2: #c8333a;
		--brand-soft: #2a1718;
		--emerald: #4cc39b;
		--emerald-soft: #11261f;
		--gold: #d6b36a;
		--gold-2: #8c7442;
		--night: #0a0d10;
		--night-2: #12161b;
		--focus: #f0716a;
		--pattern-ink: rgb(236 230 220 / 0.045);
		--shadow-1: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 14px rgb(0 0 0 / 0.25);
		--shadow-2: 0 18px 50px rgb(0 0 0 / 0.55), 0 2px 6px rgb(0 0 0 / 0.35);
		color-scheme: dark;
	}
}

/* Islamic geometric lattice (8-point stars), tinted by --pattern-ink. */
:root {
	--pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23000' stroke-width='1'%3E%3Crect x='20' y='20' width='24' height='24'/%3E%3Crect x='20' y='20' width='24' height='24' transform='rotate(45 32 32)'/%3E%3Cpath d='M0 32h15M49 32h15M32 0v15M32 49v15M0 0l12 12M64 0 52 12M0 64l12-12M64 64 52 52'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--navbar-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-synthesis-weight: none;
}

body.is-locked {
	overflow: hidden;
}

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

img {
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

a {
	color: inherit;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
	color: var(--ink);
	margin: 0 0 0.5em;
}

p {
	margin: 0 0 1em;
}

ul[class],
ol[class] {
	list-style: none;
	margin: 0;
	padding: 0;
}

button {
	cursor: pointer;
}

::selection {
	background: color-mix(in srgb, var(--brand) 24%, transparent);
}

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

[hidden] {
	display: none !important;
}

/* ---------- Layout primitives ---------- */

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow-x: clip;
}

.site-main {
	flex: 1;
	outline: none;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--text {
	--container: 760px;
}

.container--wide {
	--container: 1100px;
}

.grid {
	display: grid;
	gap: var(--gap);
	grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
}

@media (min-width: 600px) {
	.grid--3,
	.grid--4 {
		--cols: 2;
	}
}

@media (min-width: 1024px) {
	.grid--3 {
		--cols: 3;
	}

	.grid--4 {
		--cols: 4;
	}
}

/* ---------- Utilities ---------- */

.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	right: 1rem;
	top: -200px;
	z-index: 300;
	padding: 0.75rem 1.1rem;
	border-radius: var(--radius);
	background: var(--ink);
	color: var(--paper);
	font-weight: 600;
}

.skip-link:focus {
	top: 1rem;
}

.icon-sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.icon {
	width: 1em;
	height: 1em;
	flex: none;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	font: 700 0.72rem/1.2 var(--font-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.eyebrow::before {
	content: "";
	width: 1.25rem;
	height: 2px;
	background: var(--accent);
}

.eyebrow--light {
	color: rgb(255 255 255 / 0.8);
}

.eyebrow--light::before {
	background: #e9cf8e;
}

.kicker {
	position: relative;
	z-index: 2;
	align-self: flex-start;
	display: inline-block;
	font: 700 0.7rem/1.25 var(--font-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}

a.kicker:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.live-dot {
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: currentColor;
	flex: none;
}

@media (prefers-reduced-motion: no-preference) {
	.live-dot {
		animation: idv-pulse 1.8s ease-out infinite;
	}
}

@keyframes idv-pulse {
	0% {
		box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent);
	}
	100% {
		box-shadow: 0 0 0 7px transparent;
	}
}

.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	transition: background-color 0.2s, color 0.2s;
	flex: none;
}

.icon-btn:hover {
	background: var(--surface-2);
	color: var(--accent);
}

.icon-btn .icon {
	width: 1.3rem;
	height: 1.3rem;
}

.icon-btn--sm {
	width: 2rem;
	height: 2rem;
}

.icon-btn--sm .icon {
	width: 1rem;
	height: 1rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.78rem 1.3rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font: 600 0.9rem/1.1 var(--font-sans);
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

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

.btn .icon {
	width: 1.05rem;
	height: 1.05rem;
}

.btn--primary {
	background: var(--brand);
	color: var(--brand-ink);
}

.btn--primary:hover {
	background: var(--brand-2);
}

.btn--ghost {
	border-color: var(--line-2);
	color: var(--ink);
	background: transparent;
}

.btn--ghost:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.chips--center {
	justify-content: center;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.85rem;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	background: transparent;
	font: 500 0.8125rem/1.2 var(--font-sans);
	color: var(--ink-2);
	white-space: nowrap;
	transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.chip .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.chip:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.chip.is-current,
.chip--solid {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.chip--solid:hover {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

/* Pattern layer: an absolutely positioned pseudo-element masked with the lattice and tinted by
   --pattern-ink, so it adapts to light/dark mode and to night bands automatically. */
.band::before,
.site-footer::before,
.archive-head::before,
.about-hero::before,
.app-card::before,
.ph::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: var(--pattern-ink);
	-webkit-mask: var(--pattern) 0 0 / 64px 64px repeat;
	mask: var(--pattern) 0 0 / 64px 64px repeat;
}

/* Placeholder for posts without images. */
.ph {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background-color: var(--surface-2);
	color: var(--line-2);
}

.ph__mark {
	width: 28%;
	max-width: 64px;
	--emblem-inner: var(--surface-2);
}

/* Bands: full-width tinted sections that re-theme their content through tokens. */
.band {
	position: relative;
	isolation: isolate;
}

.band::before {
	-webkit-mask: var(--pattern) 0 0 / 64px 64px repeat, linear-gradient(#000, transparent 80%);
	-webkit-mask-composite: source-in;
	mask: var(--pattern) 0 0 / 64px 64px repeat, linear-gradient(#000, transparent 80%);
	mask-composite: intersect;
}

.band--night {
	--ink: var(--on-night);
	--ink-2: #c9d0d7;
	--ink-3: var(--on-night-2);
	--line: rgb(255 255 255 / 0.1);
	--line-2: rgb(255 255 255 / 0.2);
	--accent: #f28b85;
	--surface: rgb(255 255 255 / 0.05);
	--surface-2: rgb(255 255 255 / 0.08);
	--paper: var(--night);
	--focus: #f28b85;
	--pattern-ink: rgb(255 255 255 / 0.05);
	background-color: var(--night);
	color: var(--ink);
}

.band--sand {
	--paper: var(--sand);
	background-color: var(--sand);
}

/* Reveal-on-scroll (only after main.js marks the document ready, so content never hides
   without JS). */
@media (prefers-reduced-motion: no-preference) {
	.reveal-ready [data-reveal] {
		opacity: 0;
		transform: translateY(16px);
		transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
	}

	.reveal-ready [data-reveal].is-in {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

.theme-anim,
.theme-anim *,
.theme-anim *::before,
.theme-anim *::after {
	transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, fill 0.35s ease !important;
}

@keyframes idv-fade {
	from {
		opacity: 0;
	}
}

@keyframes idv-slide-down {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}
}

@keyframes idv-slide-in {
	from {
		transform: translateX(100%);
	}
}

@keyframes idv-spin {
	to {
		transform: rotate(360deg);
	}
}
/* ==========================================================================
   02 · Header: top bar, masthead, sticky navigation, ticker, search, drawer
   ========================================================================== */

/* The whole header is sticky with a negative offset equal to the top bar + masthead height,
   so those scroll away and only the navigation bar stays pinned — no layout shift. */
.site-header {
	position: sticky;
	top: calc(-1 * (var(--topbar-h) + var(--masthead-h)));
	z-index: 50;
	background: var(--paper);
}

/* ---------- Top bar ---------- */

.topbar {
	display: none;
}

@media (min-width: 1024px) {
	.topbar {
		display: block;
		height: var(--topbar-h);
		border-bottom: 1px solid var(--line);
		font-size: 0.78rem;
	}
}

.topbar__inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	height: 100%;
}

.dateline {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	color: var(--ink-2);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.dateline .icon {
	width: 0.95rem;
	height: 0.95rem;
	color: var(--accent);
}

.dateline__sep {
	color: var(--line-2);
}

[data-hijri] {
	color: var(--gold);
	font-weight: 500;
}

.topbar__nav {
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(to left, transparent, #000 16px, #000 calc(100% - 24px), transparent);
	mask-image: linear-gradient(to left, transparent, #000 16px, #000 calc(100% - 24px), transparent);
}

.topbar__nav::-webkit-scrollbar {
	display: none;
}

.topbar__nav .menu {
	display: flex;
	justify-content: flex-end;
	gap: 1.1rem;
	width: max-content;
	min-width: 100%;
	padding-inline: 16px 24px;
	white-space: nowrap;
}

.topbar__nav a {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: var(--ink-2);
	font-weight: 500;
	transition: color 0.2s;
}

.topbar__nav a:hover,
.topbar__nav a[aria-current] {
	color: var(--accent);
}

.topbar__nav .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.social {
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

.social__link {
	display: grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	color: var(--ink-2);
	transition: background-color 0.2s, color 0.2s;
}

.social__link .icon {
	width: 1rem;
	height: 1rem;
}

.social__link:hover {
	background: var(--surface-2);
	color: var(--accent);
}

/* ---------- Masthead ---------- */

.masthead {
	display: none;
}

@media (min-width: 1024px) {
	.masthead {
		display: block;
		height: var(--masthead-h);
	}
}

.masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	height: 100%;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--ink);
	min-width: 0;
}

.brand__mark {
	width: 2.9rem;
	height: 2.9rem;
	color: var(--brand);
	flex: none;
	--emblem-inner: var(--paper);
	transition: transform 0.6s var(--ease);
}

.brand:hover .brand__mark {
	transform: rotate(45deg);
}

.brand__text {
	display: grid;
	gap: 0.4rem;
	min-width: 0;
}

.brand__name {
	font-family: var(--font-serif);
	font-weight: 700;
	font-size: 2rem;
	line-height: 0.95;
	letter-spacing: -0.02em;
	white-space: nowrap;
}

.brand__tagline {
	font: 600 0.64rem/1 var(--font-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-3);
	white-space: nowrap;
}

.brand--bar {
	gap: 0.55rem;
}

.brand--bar .brand__mark {
	width: 2rem;
	height: 2rem;
}

.brand--bar .brand__name {
	font-size: 1.4rem;
}

.brand--image img {
	max-height: 72px;
	width: auto;
}

.navbar .brand--image img,
.drawer .brand--image img {
	max-height: 36px;
}

.masthead__ayah {
	margin: 0;
	text-align: left;
	min-width: 0;
}

.masthead__ar {
	margin: 0;
	font-family: var(--font-arabic-ui);
	font-weight: 400;
	font-size: 1.6rem;
	line-height: 1.55;
	color: var(--accent);
}

.masthead__ayah figcaption {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.15rem 0.5rem;
	font: 400 0.9rem/1.3 var(--font-serif);
	color: var(--ink-2);
}

.masthead__ayah cite {
	font: 600 0.62rem/1.6 var(--font-sans);
	font-style: normal;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold);
}

@media (max-width: 1180px) {
	.masthead__ayah figcaption span {
		display: none;
	}
}

/* ---------- Navigation bar ---------- */

.navbar {
	position: relative;
	height: var(--navbar-h);
	border-bottom: 1px solid var(--line);
	background: color-mix(in srgb, var(--paper) 94%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	transition: box-shadow 0.25s;
}

@media (min-width: 1024px) {
	.navbar {
		border-top: 1px solid var(--ink);
	}
}

.site-header.is-stuck .navbar {
	box-shadow: 0 8px 24px rgb(0 0 0 / 0.07);
}

.navbar__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	height: 100%;
}

.navbar .brand--bar {
	margin-inline: auto;
}

.navbar__actions {
	display: flex;
	align-items: center;
	gap: 0.15rem;
}

@media (min-width: 1024px) {
	.navbar__menu {
		margin-right: -0.6rem;
	}

	.navbar .brand--bar {
		display: none;
		margin: 0 0 0 0.5rem;
	}

	.site-header.is-stuck .navbar .brand--bar {
		display: inline-flex;
		animation: idv-fade 0.3s;
	}

	.site-header.is-stuck .navbar .brand__name {
		font-size: 1.2rem;
	}

	.navbar__actions {
		margin-right: auto;
	}
}

/* Theme toggle icon swap. */
.theme-toggle__sun {
	display: none;
}

:root[data-theme="dark"] .theme-toggle__sun {
	display: block;
}

:root[data-theme="dark"] .theme-toggle__moon {
	display: none;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .theme-toggle__sun {
		display: block;
	}

	:root:not([data-theme="light"]) .theme-toggle__moon {
		display: none;
	}
}

/* ---------- Primary menu (desktop) ---------- */

.primary-nav {
	display: none;
}

@media (min-width: 1024px) {
	.primary-nav {
		display: block;
		flex: 1;
		min-width: 0;
		height: 100%;
	}
}

.primary-nav > .menu {
	display: flex;
	align-items: stretch;
	height: 100%;
	flex-wrap: nowrap;
}

.primary-nav .menu > li {
	position: relative;
	display: flex;
	align-items: center;
	flex: none;
}

.primary-nav .menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.35rem;
	height: 100%;
	padding: 0 0.7rem;
	font: 600 0.875rem/1 var(--font-sans);
	color: var(--ink);
	white-space: nowrap;
	transition: color 0.2s;
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.primary-nav .menu > li > a {
		padding-inline: 0.5rem;
		font-size: 0.83rem;
	}
}

.primary-nav .menu > li > a::after {
	content: "";
	position: absolute;
	right: 0.7rem;
	left: 0.7rem;
	bottom: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--brand);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.25s var(--ease);
}

.primary-nav .menu > li:hover > a::after,
.primary-nav .menu > li.is-open > a::after,
.primary-nav .menu > li.current-menu-item > a::after,
.primary-nav .menu > li.current-menu-ancestor > a::after,
.primary-nav .menu > li.current-menu-parent > a::after {
	transform: scaleX(1);
}

.primary-nav .menu > li:hover > a {
	color: var(--accent);
}

.primary-nav .menu > li.has-children > a {
	padding-left: 0.2rem;
}

.primary-nav .menu > li.has-children > a::after {
	left: 0;
}

/* Home link and social links: hidden/condensed on the desktop bar (still in the drawer). */
.primary-nav .menu > li.menu-item--home {
	display: none;
}

.primary-nav .menu-item--social > a {
	padding-inline: 0.42rem;
	color: var(--ink-2);
}

.primary-nav .menu-item--social > a::after {
	display: none;
}

.primary-nav .menu-item--social .icon {
	width: 1.05rem;
	height: 1.05rem;
}

.primary-nav .menu > li:not(.menu-item--social) + .menu-item--social {
	margin-right: auto;
	padding-right: 0.4rem;
	border-right: 1px solid var(--line);
}

@media (max-width: 1279px) {
	.primary-nav .menu > li.menu-item--social {
		display: none;
	}
}

.submenu-toggle {
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 2rem;
	margin-left: 0.35rem;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--ink-3);
}

.submenu-toggle .icon {
	width: 0.9rem;
	height: 0.9rem;
	transition: transform 0.2s;
}

.submenu-toggle[aria-expanded="true"] .icon {
	transform: rotate(180deg);
}

.primary-nav .sub-menu--d0 {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 20;
	min-width: 240px;
	padding: 0.6rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 0;
	border-radius: 0 0 var(--radius-l) var(--radius-l);
	box-shadow: var(--shadow-2);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s, transform 0.18s, visibility 0s linear 0.18s;
}

.primary-nav .menu > li:hover > .sub-menu--d0,
.primary-nav .menu > li.is-open > .sub-menu--d0 {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.primary-nav .sub-menu a {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 0.7rem;
	border-radius: 8px;
	font: 500 0.875rem/1.35 var(--font-sans);
	color: var(--ink-2);
	transition: background-color 0.15s, color 0.15s;
}

.primary-nav .sub-menu a:hover,
.primary-nav .sub-menu a[aria-current] {
	background: var(--surface-2);
	color: var(--accent);
}

.primary-nav .sub-menu--d1 {
	margin: 0 0.7rem 0.35rem 0;
	padding-right: 0.5rem;
	border-right: 1px solid var(--line);
}

.primary-nav .sub-menu--d1 a {
	padding-block: 0.35rem;
	font-size: 0.84rem;
}

/* ---------- Mega panels: big submenus open full width under the bar ---------- */
.primary-nav .menu > li.is-mega {
	position: static;
}

.primary-nav .menu > li.is-mega > .sub-menu--d0 {
	right: var(--gutter);
	left: var(--gutter);
	display: grid;
	align-items: start;
	gap: 0.15rem 1.75rem;
	padding: 1rem 1.5rem 1.35rem;
}

.primary-nav .menu > li.mega--list > .sub-menu--d0 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.primary-nav .menu > li.mega--groups > .sub-menu--d0 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	row-gap: 0.75rem;
}

.primary-nav .menu > li.mega--people > .sub-menu--d0 {
	grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr));
	gap: 0.5rem 1rem;
}

/* Header row: section name + "Tümünü gör". */
.primary-nav .sub-menu__head {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.4rem;
	padding: 0 0.7rem 0.8rem;
	border-bottom: 1px solid var(--line);
}

.primary-nav .sub-menu__title {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font: 700 0.7rem/1.2 var(--font-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.primary-nav .sub-menu__title::before {
	content: "";
	width: 1.1rem;
	height: 2px;
	background: var(--brand);
}

.primary-nav .sub-menu .sub-menu__all {
	gap: 0.35rem;
	padding: 0.3rem 0.6rem;
	font-weight: 600;
	font-size: 0.8rem;
	color: var(--accent);
}

.primary-nav .sub-menu__all .icon {
	width: 0.9rem;
	height: 0.9rem;
	transition: transform 0.2s;
}

.primary-nav .sub-menu__all:hover .icon {
	transform: translateX(-2px);
}

/* Sub-menus as columns; the plain links together under "Diğer başlıklar". */
.primary-nav .mega-rest__list a {
	padding-block: 0.35rem;
	font-size: 0.84rem;
}

.primary-nav .menu > li.mega--groups > .sub-menu--d0 > li.has-children > a,
.primary-nav .mega-rest__title {
	display: block;
	margin-bottom: 0.3rem;
	padding: 0.45rem 0.7rem 0.55rem;
	border-bottom: 1px solid var(--line);
	border-radius: 8px 8px 0 0;
	font: 700 0.86rem/1.3 var(--font-sans);
	color: var(--ink);
}

.primary-nav .mega-rest__title {
	color: var(--ink-3);
}

.primary-nav .menu > li.mega--groups .sub-menu--d1,
.primary-nav .mega-rest__list {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Long lists (six or more) run in two columns over two grid columns. */
.primary-nav .menu > li.mega--groups > .sub-menu--d0 > li:has(> .sub-menu--d1 > li:nth-child(6)),
.primary-nav .mega-rest:has(> .mega-rest__list > li:nth-child(6)) {
	grid-column: span 2;
}

.primary-nav .menu > li.mega--groups .sub-menu--d1:has(> li:nth-child(6)),
.primary-nav .mega-rest__list:has(> li:nth-child(6)) {
	columns: 2;
	column-gap: 1rem;
}

.primary-nav .menu > li.mega--groups .sub-menu--d1 > li,
.primary-nav .mega-rest__list > li {
	break-inside: avoid;
}

/* Örnek Şahsiyetler: arched portraits. The panel is out of the layout while closed, so the
   portraits only load when it opens. */
.primary-nav .menu > li.mega--people > .sub-menu--d0 {
	display: none;
}

.primary-nav .menu > li.mega--people:hover > .sub-menu--d0,
.primary-nav .menu > li.mega--people.is-open > .sub-menu--d0 {
	display: grid;
}

@starting-style {
	.primary-nav .menu > li.mega--people:hover > .sub-menu--d0,
	.primary-nav .menu > li.mega--people.is-open > .sub-menu--d0 {
		opacity: 0;
		transform: translateY(6px);
	}
}

.primary-nav .menu > li.mega--people .nav-person {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 0.35rem;
	text-align: center;
}

.primary-nav .menu > li.mega--people .nav-person > a {
	flex-direction: column;
	gap: 0.7rem;
	width: 100%;
	padding: 0.8rem 0.5rem 0.6rem;
	font: 600 0.98rem/1.25 var(--font-serif);
	color: var(--ink);
}

.nav-person__img {
	width: 64px;
	height: 80px;
	border-radius: 999px 999px 10px 10px;
	outline: 1px solid var(--gold);
	outline-offset: 3px;
	background: var(--surface-2);
	object-fit: cover;
	object-position: center 20%;
	transition: transform 0.3s var(--ease);
}

.nav-person > a:hover .nav-person__img {
	transform: translateY(-2px);
}

.nav-person__img--initial {
	display: grid;
	place-items: center;
	font: 600 1.6rem/1 var(--font-serif);
	color: var(--brand);
}

.primary-nav .menu > li.mega--people .nav-person .sub-menu--d1 {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.3rem;
	margin: 0;
	padding: 0;
	border: 0;
}

.primary-nav .menu > li.mega--people .nav-person .sub-menu--d1 a {
	padding: 0.2rem 0.7rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 0.75rem;
}

/* Priority+ overflow menu ("Diğer"), built by main.js when items don't fit. */
.primary-nav .menu-item--more {
	position: relative;
}

.primary-nav .menu-item--more > .sub-menu--d0 {
	right: auto;
	left: 0;
}

.primary-nav .menu-item--more > button.more-toggle .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.primary-nav .menu-item--more > button.more-toggle {
	width: auto;
	margin: 0;
	border-radius: 0;
	display: flex;
	align-items: center;
	gap: 0.3rem;
	height: 100%;
	padding: 0 0.7rem;
	border: 0;
	background: none;
	font: 600 0.875rem/1 var(--font-sans);
	color: var(--ink);
}

.primary-nav .menu-item--more .sub-menu .submenu-toggle {
	display: none;
}

.primary-nav .menu-item--more .sub-menu__head,
.primary-nav .menu-item--more .mega-rest__title,
.primary-nav .menu-item--more .nav-person__img {
	display: none;
}

.primary-nav .menu-item--more .mega-rest,
.primary-nav .menu-item--more .mega-rest__list {
	display: contents;
}

.primary-nav .menu-item--more .sub-menu .sub-menu {
	position: static;
	opacity: 1;
	/* inherit (not visible): nested lists must stay hidden/non-interactive while the "More" panel is closed,
	   otherwise this invisible tree catches the pointer and opens the dropdown. */
	visibility: inherit;
	transform: none;
	min-width: 0;
	margin: 0 0.7rem 0.35rem 0;
	padding: 0 0.5rem 0 0;
	border: 0;
	border-right: 1px solid var(--line);
	box-shadow: none;
	background: none;
	columns: auto;
}

/* ---------- Breaking news ticker ---------- */

.ticker {
	border-bottom: 1px solid var(--line);
	background: var(--surface);
}

.ticker__inner {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	height: 2.75rem;
}

.ticker__label {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex: none;
	margin: 0;
	padding: 0.38rem 0.65rem;
	border-radius: 4px;
	background: var(--brand);
	color: #fff;
	font: 700 0.68rem/1 var(--font-sans);
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.ticker__viewport {
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(to left, transparent, #000 1.5rem, #000 calc(100% - 3rem), transparent);
	mask-image: linear-gradient(to left, transparent, #000 1.5rem, #000 calc(100% - 3rem), transparent);
}

.ticker__viewport::-webkit-scrollbar {
	display: none;
}

.ticker__track {
	display: flex;
	width: max-content;
}

.ticker__list {
	display: flex;
	gap: 2.25rem;
	width: max-content;
	padding-inline: 1.5rem 2.25rem;
}

.ticker__item {
	display: flex;
	align-items: baseline;
	gap: 0.55rem;
	white-space: nowrap;
	font-size: 0.875rem;
}

.ticker__item time {
	font-weight: 700;
	font-size: 0.75rem;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.ticker__item a {
	display: inline-block;
	padding-block: 0.2rem;
	font-weight: 500;
	color: var(--ink);
	transition: color 0.2s;
}

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

.ticker.is-animated .ticker__viewport {
	overflow: hidden;
}

.ticker.is-animated .ticker__track {
	animation: idv-ticker var(--ticker-duration, 80s) linear infinite;
}

.ticker.is-animated:hover .ticker__track,
.ticker.is-animated:focus-within .ticker__track,
.ticker.is-paused .ticker__track {
	animation-play-state: paused;
}

.ticker__toggle,
.ticker__label {
	position: relative;
	z-index: 1;
}

.ticker__toggle {
	width: 2.25rem;
	height: 2.25rem;
	margin-right: 0.35rem;
}

.ticker__toggle .is-play,
.ticker.is-paused .ticker__toggle .is-pause {
	display: none;
}

.ticker.is-paused .ticker__toggle .is-play {
	display: block;
}

@keyframes idv-ticker {
	to {
		transform: translateX(50%);
	}
}

/* ---------- Search overlay ---------- */

.search-panel {
	position: fixed;
	inset: 0;
	z-index: 120;
}

.search-panel__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(10 8 6 / 0.5);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	animation: idv-fade 0.2s;
}

.search-panel__box {
	position: relative;
	padding-block: 1.1rem 2rem;
	background: var(--paper);
	box-shadow: var(--shadow-2);
	animation: idv-slide-down 0.28s var(--ease);
}

.search-panel__box .container {
	max-width: calc(860px + 2 * var(--gutter));
}

.search-panel__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.8rem;
}

.search-panel .search-form {
	padding: 0.4rem 1.2rem 0.4rem 0.4rem;
}

.search-panel .search-form__input {
	height: 3.2rem;
	font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.35rem);
}

.search-panel__topics {
	margin-top: 1.25rem;
}

.search-panel__label {
	margin: 0 0 0.6rem;
	font-size: 0.8rem;
	color: var(--ink-3);
}

/* ---------- Search form ---------- */

.search-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.3rem 1rem 0.3rem 0.3rem;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	background: var(--surface);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.search-form:focus-within {
	border-color: var(--accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.search-form__icon {
	width: 1.15rem;
	height: 1.15rem;
	color: var(--ink-3);
}

.search-form__input {
	flex: 1;
	min-width: 0;
	height: 2.6rem;
	border: 0;
	background: transparent;
	font: 400 1rem var(--font-sans);
	color: var(--ink);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.search-form__input:focus-visible {
	outline: none;
}

.search-form__input::placeholder {
	color: var(--ink-3);
}

.search-form__btn {
	flex: none;
	height: 2.5rem;
	padding: 0 1.25rem;
	border: 0;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font: 600 0.9rem var(--font-sans);
	transition: background-color 0.2s;
}

.search-form__btn:hover {
	background: var(--brand-2);
}

/* ---------- Mobile drawer ---------- */

.drawer {
	position: fixed;
	inset: 0;
	z-index: 130;
}

.drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(10 8 6 / 0.5);
	animation: idv-fade 0.2s;
}

.drawer__panel {
	position: absolute;
	inset: 0 0 0 auto;
	display: flex;
	flex-direction: column;
	width: min(88vw, 410px);
	background: var(--paper);
	box-shadow: var(--shadow-2);
	animation: idv-slide-in 0.3s var(--ease);
}

.drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	height: var(--navbar-h);
	padding-inline: var(--gutter) calc(var(--gutter) - 0.5rem);
	border-bottom: 1px solid var(--line);
}

.drawer__body {
	flex: 1;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 1rem var(--gutter) 2rem;
}

.drawer__nav {
	margin-top: 0.75rem;
}

.drawer-menu > li,
.drawer-menu .sub-menu > li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.drawer-menu > li {
	border-bottom: 1px solid var(--line);
}

.drawer-menu a {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 3rem;
	padding-block: 0.4rem;
	font: 600 1.08rem/1.3 var(--font-serif);
	color: var(--ink);
}

.drawer-menu a[aria-current] {
	color: var(--accent);
}

.drawer-menu .icon {
	width: 1.05rem;
	height: 1.05rem;
	color: var(--accent);
}

.drawer-menu .submenu-toggle {
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	border-radius: 50%;
}

.drawer-menu .submenu-toggle:hover {
	background: var(--surface-2);
}

.drawer-menu .sub-menu {
	display: none;
	width: 100%;
	padding: 0 0.9rem 0.6rem 0;
	border-right: 2px solid var(--line);
	margin-right: 0.2rem;
}

.drawer-menu li.is-open > .sub-menu {
	display: block;
	animation: idv-fade 0.2s;
}

.drawer-menu .sub-menu a {
	min-height: 2.5rem;
	font: 500 0.95rem/1.3 var(--font-sans);
	color: var(--ink-2);
}

.drawer__section {
	margin-top: 1.75rem;
}

.drawer__heading {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 0.7rem;
	font: 700 0.72rem/1.2 var(--font-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.drawer-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.4rem;
}

.drawer-links a {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 0.7rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	font-size: 0.875rem;
	font-weight: 500;
	transition: border-color 0.2s, color 0.2s;
}

.drawer-links a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.drawer-links .icon {
	width: 1rem;
	height: 1rem;
	color: var(--accent);
}

.drawer-links--inline {
	display: flex;
	flex-wrap: wrap;
}

.drawer__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem var(--gutter);
	border-top: 1px solid var(--line);
	font-size: 0.75rem;
}

.drawer__foot .dateline {
	white-space: normal;
	flex-wrap: wrap;
}

.drawer__heading .icon {
	width: 1rem;
	height: 1rem;
	color: var(--accent);
}

.drawer__section--lang {
	margin-top: 1.25rem;
}

.drawer__foot-end {
	display: flex;
	align-items: center;
	gap: 0.2rem;
}
/* ==========================================================================
   03 · Cards and section headers
   ========================================================================== */

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	min-width: 0;
}

.card__media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--surface-2);
}

.card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
	transition: transform 0.7s var(--ease), opacity 0.3s;
}

@media (hover: hover) {
	.card:hover .card__media img {
		transform: scale(1.045);
	}
}

.card__body {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	min-width: 0;
}

.card__title {
	/* Clamped titles hide their overflow, which would also cut marks above the first line (the dot
	   of "İ", "Ö", "Ü", "Ğ"): a little top padding gives them room, the negative margin keeps the
	   text in place. */
	margin: -0.15em 0 0;
	padding-top: 0.15em;
	font-family: var(--font-serif);
	font-size: 1.13rem;
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.005em;
	/* Not "balance" (set on all headings): titles are clamped, and balancing the full text squeezes
	   them into short lines. "wrap" is the fallback where "pretty" isn't supported (Firefox, older
	   Safari), which would otherwise keep the inherited "balance". */
	text-wrap: wrap;
	text-wrap: pretty;
	color: var(--ink);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
}

/* One link per card, stretched over the whole card. */
.card__link {
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	transition: background-size 0.35s var(--ease), color 0.2s;
}

.card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: var(--radius);
}

.card:hover .card__link {
	color: var(--accent);
	background-size: 100% 1px;
}

.card__link:focus-visible {
	outline: none;
}

.card__link:focus-visible::after {
	outline: 3px solid var(--focus);
	outline-offset: 4px;
}

.card__excerpt {
	margin: 0;
	color: var(--ink-2);
	font-size: 0.9375rem;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.card__meta {
	margin: 0;
	font-size: 0.78rem;
	color: var(--ink-3);
	font-variant-numeric: tabular-nums;
}

.card mark,
.listing-lead mark {
	background: color-mix(in srgb, var(--gold-2) 35%, transparent);
	color: inherit;
	padding: 0 0.1em;
	border-radius: 3px;
}

/* Play badge for video posts. */
.card__play {
	position: absolute;
	right: 0.7rem;
	bottom: 0.7rem;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 50%;
	background: rgb(163 25 31 / 0.92);
	color: #fff;
	box-shadow: 0 6px 18px rgb(0 0 0 / 0.3);
	transition: transform 0.3s var(--ease);
}

.card__play .icon {
	width: 0.95rem;
	height: 0.95rem;
	margin-right: 2px;
}

.card:hover .card__play {
	transform: scale(1.08);
}

/* Lead. */
.card--lead {
	gap: 1rem;
}

.card--lead .card__media {
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-l);
}

.card--lead .card__title {
	font-size: var(--fs-2xl);
	line-height: 1.15;
	letter-spacing: -0.015em;
	-webkit-line-clamp: 5;
	line-clamp: 5;
}

.card--lead .card__excerpt {
	font-size: 1.02rem;
}

/* Compact: small thumbnail beside the headline. */
.card--compact {
	display: grid;
	grid-template-columns: var(--thumb, 112px) minmax(0, 1fr);
	gap: 0.9rem;
	align-items: start;
}

.card--compact .card__media {
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-s);
}

.card--compact .card__title {
	font-size: 1rem;
	line-height: 1.32;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

.card--compact .card__body {
	gap: 0.35rem;
}

.card--compact .card__play {
	width: 1.8rem;
	height: 1.8rem;
	right: 0.4rem;
	bottom: 0.4rem;
}

.card--compact .card__play .icon {
	width: 0.75rem;
	height: 0.75rem;
}

/* List (archives). */
.card--list {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
}

.card--list .card__media {
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-s);
}

.card--list .card__title {
	font-size: 1.05rem;
}

.card--list .card__excerpt {
	display: none;
}

@media (min-width: 768px) {
	.card--list {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 1.5rem;
	}

	.card--list .card__media {
		aspect-ratio: 16 / 9;
		border-radius: var(--radius);
	}

	.card--list .card__title {
		font-size: 1.32rem;
		line-height: 1.22;
	}

	.card--list .card__excerpt {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
}

/* Overlay: text over the image (mosaic lead, video lead). */
.card--overlay {
	isolation: isolate;
	justify-content: flex-end;
	min-height: 22rem;
	border-radius: var(--radius-l);
	overflow: hidden;
	color: #fff;
	background: var(--night);
}

.card--overlay .card__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	aspect-ratio: auto;
	border-radius: 0;
}

.card--overlay .card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(8 7 6 / 0.92) 0%, rgb(8 7 6 / 0.55) 38%, rgb(8 7 6 / 0.05) 70%);
}

.card--overlay .card__body {
	padding: clamp(1.1rem, 2.5vw, 1.75rem);
	gap: 0.6rem;
}

.card--overlay .kicker {
	padding: 0.32rem 0.55rem;
	border-radius: 4px;
	background: var(--brand);
	color: #fff;
}

.card--overlay .card__title {
	font-size: var(--fs-2xl);
	line-height: 1.14;
	color: #fff;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	text-shadow: 0 1px 14px rgb(0 0 0 / 0.25);
}

.card--overlay:hover .card__link {
	color: #fff;
}

.card--overlay .card__meta {
	color: rgb(255 255 255 / 0.75);
}

.card--overlay .card__play {
	right: 50%;
	top: 42%;
	bottom: auto;
	width: 4.25rem;
	height: 4.25rem;
	transform: translate(-50%, -50%);
}

.card--overlay:hover .card__play {
	transform: translate(-50%, -50%) scale(1.08);
}

.card--overlay .card__play .icon {
	width: 1.5rem;
	height: 1.5rem;
}

/* Square / portrait tiles (galleries). */
.card--square .card__media {
	aspect-ratio: 1;
}

.card--portrait .card__media {
	aspect-ratio: 3 / 4;
}

.card--square .card__title,
.card--portrait .card__title {
	font-size: 0.98rem;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

/* Text-only list item, optionally numbered. */
.card--text {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.3rem;
}

.card--text:has(.card__num) {
	grid-template-columns: 1.6rem minmax(0, 1fr);
	column-gap: 0.75rem;
}

.card__num {
	grid-row: span 2;
	font: 600 1.55rem/1 var(--font-serif);
	color: var(--accent);
	font-variant-numeric: lining-nums;
}

.card--text .card__title {
	font-size: 1rem;
	line-height: 1.35;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

.card--text .card__body {
	gap: 0.25rem;
}

/* On phones, cards after the first in a grid become compact rows (faster scanning). */
@media (max-width: 599px) {
	.grid > .card:not(:first-child),
	.mosaic__grid > .card,
	.video-grid__list > .card,
	.lead-list__mid > .card {
		display: grid;
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 0.9rem;
		align-items: start;
		padding-top: 1rem;
		border-top: 1px solid var(--line);
	}

	.grid > .card:not(:first-child) .card__media,
	.mosaic__grid > .card .card__media,
	.video-grid__list > .card .card__media,
	.lead-list__mid > .card .card__media {
		aspect-ratio: 16 / 9;
		border-radius: var(--radius-s);
	}

	.grid > .card:not(:first-child) .card__title,
	.mosaic__grid > .card .card__title,
	.video-grid__list > .card .card__title,
	.lead-list__mid > .card .card__title {
		font-size: 1rem;
		-webkit-line-clamp: 3;
		line-clamp: 3;
	}

	.grid > .card:not(:first-child) .card__excerpt,
	.mosaic__grid > .card .card__excerpt,
	.lead-list__mid > .card .card__excerpt {
		display: none;
	}

	.grid > .card:not(:first-child) .card__play,
	.video-grid__list > .card .card__play {
		width: 1.8rem;
		height: 1.8rem;
		right: 0.4rem;
		bottom: 0.4rem;
	}

	.grid {
		gap: 1rem;
	}
}

/* ---------- Section header ---------- */

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
	margin-bottom: 1.5rem;
	padding-top: 0.85rem;
	border-top: 2px solid var(--ink);
}

.section-head__main {
	margin-left: auto;
	min-width: 0;
}

.section-head__kicker {
	margin: 0 0 0.3rem;
	font: 700 0.68rem/1.2 var(--font-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.section-head__title {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	font-size: var(--fs-xl);
	letter-spacing: -0.015em;
}

.section-head__title a:hover {
	color: var(--accent);
}

.section-head__mark {
	width: 1.05rem;
	height: 1.05rem;
	color: var(--accent);
	flex: none;
	--emblem-inner: var(--paper);
}

.section-head__more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font: 600 0.8125rem/1 var(--font-sans);
	color: var(--ink-2);
	white-space: nowrap;
	transition: color 0.2s;
}

.section-head__more .icon {
	width: 1rem;
	height: 1rem;
	transition: transform 0.25s var(--ease);
}

.section-head__more:hover {
	color: var(--accent);
}

.section-head__more:hover .icon {
	transform: translateX(-3px);
}

.section-head .chips {
	order: 3;
	width: 100%;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
	-webkit-mask-image: linear-gradient(to left, #000 85%, transparent);
	mask-image: linear-gradient(to left, #000 85%, transparent);
}

.section-head .chips::-webkit-scrollbar {
	display: none;
}

@media (min-width: 1024px) {
	.section-head .chips {
		order: 0;
		width: auto;
		flex-wrap: wrap;
		-webkit-mask-image: none;
		mask-image: none;
	}
}

.section-head--center {
	justify-content: center;
	text-align: center;
	border-top: 0;
	padding-top: 0;
}

.section-head--center .section-head__main {
	margin: 0;
	display: grid;
	justify-items: center;
}

.section-head--center .section-head__title {
	font-size: var(--fs-2xl);
}

/* Images shown whole (wide graphics with text, squares, portraits) on a blurred copy of
   themselves; idv_image() decides from the image's shape. */
img.img-fit {
	position: relative;
	object-fit: contain !important;
	object-position: center !important;
}

img.img-fit__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(18px) saturate(1.15);
	opacity: 0.85;
	transform: scale(1.2) !important;
}
/* ==========================================================================
   04 · Homepage: manşet, sections, network tabs, ayah, app promo
   ========================================================================== */

.home-section {
	padding-block: clamp(1.75rem, 3.5vw, 3rem);
}

.band.home-section {
	padding-block: clamp(2.5rem, 5vw, 4.5rem);
	margin-block: clamp(0.75rem, 2vw, 1.5rem);
}

/* ---------- Hero / manşet ---------- */

.hero {
	padding-top: clamp(1rem, 2.5vw, 1.75rem);
}

.hero__grid {
	display: grid;
	gap: 1.75rem;
}

@media (min-width: 1024px) {
	.hero__grid {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		gap: 2rem;
		align-items: stretch;
	}
}

.manset {
	position: relative;
	min-width: 0;
}

.manset__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	border-radius: var(--radius-l);
	background: var(--night);
}

.manset__track::-webkit-scrollbar {
	display: none;
}

.manset__slide {
	position: relative;
	isolation: isolate;
	flex: 0 0 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 4 / 3.3;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	overflow: hidden;
	color: #fff;
}

@media (min-width: 600px) {
	.manset__slide {
		aspect-ratio: 16 / 9;
	}
}

.manset__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.manset__media img,
.manset__media .ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}

.manset__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(8 7 6 / 0.94) 0%, rgb(8 7 6 / 0.62) 34%, rgb(8 7 6 / 0.08) 66%, transparent 80%);
}

.manset__body {
	display: grid;
	gap: 0.6rem;
	padding: clamp(1.1rem, 3vw, 2.25rem);
	padding-left: clamp(1.1rem, 6vw, 4rem);
}

.manset__body .kicker {
	justify-self: start;
	padding: 0.34rem 0.6rem;
	border-radius: 4px;
	background: var(--brand);
	color: #fff;
}

.manset__title {
	/* Room for the dot of "İ" and other marks above the first line (see .card__title). */
	margin: -0.15em 0 0;
	padding-top: 0.15em;
	font-size: var(--fs-hero);
	line-height: 1.12;
	letter-spacing: -0.018em;
	text-wrap: wrap; /* clamped: no "balance", see .card__title */
	text-wrap: pretty;
	color: #fff;
	text-shadow: 0 1px 16px rgb(0 0 0 / 0.3);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
}

.manset__title .card__link::after {
	border-radius: 0;
}

.manset__slide:hover .card__link {
	background-size: 100% 2px;
}

.manset__meta {
	margin: 0;
	font-size: 0.8rem;
	color: rgb(255 255 255 / 0.78);
}

.manset__controls {
	/* The numbered pager and the scroll track run left-to-right (1 -> 10), so the arrows must too:
	   previous (<) on the left, next (>) on the right, even on right-to-left pages. */
	direction: ltr;
	display: flex;
	align-items: center;
	gap: 0.15rem;
	margin-top: 0.5rem;
}

.manset__arrow,
.manset__toggle {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	flex: none;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--ink-2);
	transition: background-color 0.2s, color 0.2s;
}

.manset__arrow:hover,
.manset__toggle:hover {
	background: var(--surface-2);
	color: var(--accent);
}

.manset__arrow .icon,
.manset__toggle .icon {
	width: 1.15rem;
	height: 1.15rem;
}

.manset__toggle .is-play,
.manset.is-paused .manset__toggle .is-pause {
	display: none;
}

.manset.is-paused .manset__toggle .is-play {
	display: block;
}

.manset__pager {
	display: flex;
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.manset__pager::-webkit-scrollbar {
	display: none;
}

.manset__pager li {
	flex: 1 0 auto;
}

.manset__pager button {
	position: relative;
	width: 100%;
	min-width: 2.3rem;
	height: 2.4rem;
	padding: 0 0.2rem;
	border: 0;
	border-top: 3px solid var(--line);
	background: none;
	font: 600 0.85rem/1 var(--font-sans);
	color: var(--ink-3);
	font-variant-numeric: tabular-nums;
	transition: color 0.2s, border-color 0.2s;
}

.manset__pager button {
	cursor: pointer;
}

.manset__pager button:hover,
.manset__pager button:focus-visible {
	color: var(--brand);
	border-top-color: var(--brand);
	background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.manset__pager button[aria-current="true"] {
	color: var(--ink);
	font-weight: 800;
}

.manset__pager button[aria-current="true"]::before {
	content: "";
	position: absolute;
	top: -3px;
	right: 0;
	left: 0;
	height: 3px;
	background: var(--brand);
	transform-origin: right;
}

.manset.is-autoplay:not(.is-paused):not(.is-paused-temp) .manset__pager button[aria-current="true"]::before {
	animation: idv-progress var(--manset-delay, 7s) linear forwards;
}

@keyframes idv-progress {
	from {
		transform: scaleX(0);
	}
}

/* Side picks next to the manşet. */
.hero__side {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-width: 0;
}

.hero__picks {
	display: grid;
	gap: 1rem;
}

.hero__picks .card + .card {
	padding-top: 1rem;
	border-top: 1px solid var(--line);
}

@media (min-width: 600px) and (max-width: 1023px) {
	.hero__picks {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.hero__picks .card {
		display: flex;
		flex-direction: column;
	}

	.hero__picks .card + .card {
		padding-top: 0;
		border-top: 0;
	}

	.hero__picks .card__media {
		aspect-ratio: 16 / 9;
	}
}

@media (min-width: 1024px) {
	.hero__side {
		--thumb: 104px;
	}
}

.hero__quick {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.6rem;
	margin-top: auto;
}

.quick-link {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
	padding: 0.85rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	font: 600 0.86rem/1.2 var(--font-sans);
	transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.quick-link:hover {
	border-color: var(--accent);
	color: var(--accent);
	transform: translateY(-1px);
}

.quick-link .icon {
	width: 1.05rem;
	height: 1.05rem;
	color: var(--accent);
}

.quick-link span:not(.quick-link__badge) {
	min-width: 0;
	line-height: 1.25;
}

@media (max-width: 479px) {
	.quick-link {
		padding: 0.75rem;
		font-size: 0.82rem;
	}

	.quick-link .quick-link__arrow {
		display: none;
	}
}

.quick-link__badge {
	margin-right: auto;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font-size: 0.72rem;
	font-variant-numeric: tabular-nums;
}

.quick-link__arrow {
	margin-right: auto;
}

/* ---------- Lead + list ---------- */

.lead-list {
	display: grid;
	gap: var(--gap);
}

.lead-list__mid,
.lead-list__list {
	display: grid;
	gap: var(--gap);
	align-content: start;
}

.lead-list__list > .card + .card {
	padding-top: 1rem;
	border-top: 1px solid var(--line);
}

.lead-list__list {
	gap: 1rem;
}

@media (min-width: 768px) {
	.lead-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lead-list__lead {
		grid-column: 1 / -1;
	}

	.lead-list__mid {
		grid-template-columns: 1fr 1fr;
		grid-column: 1 / -1;
	}

	.lead-list__list {
		grid-column: 1 / -1;
		grid-template-columns: 1fr 1fr;
	}

	.lead-list__list > .card + .card {
		padding-top: 0;
		border-top: 0;
	}
}

@media (min-width: 1100px) {
	.lead-list {
		grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
	}

	.lead-list__lead,
	.lead-list__mid,
	.lead-list__list {
		grid-column: auto;
	}

	.lead-list__mid,
	.lead-list__list {
		grid-template-columns: 1fr;
	}

	.lead-list__list > .card + .card {
		padding-top: 1rem;
		border-top: 1px solid var(--line);
	}
}

/* ---------- Mosaic ---------- */

.mosaic {
	display: grid;
	gap: var(--gap);
}

.mosaic__grid {
	display: grid;
	gap: var(--gap);
}

@media (min-width: 600px) {
	.mosaic__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.mosaic {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	}

	.mosaic__lead .card--overlay {
		height: 100%;
	}

	.mosaic__grid .card__title {
		font-size: 1.05rem;
	}
}

/* ---------- Personalities (arched portraits) ---------- */

.people {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.25rem 1.25rem;
}

@media (min-width: 768px) {
	.people {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2.5rem 2rem;
	}
}

@media (min-width: 1200px) {
	.people {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 1.75rem;
	}
}

.person {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.person__portrait {
	display: block;
	width: min(100%, 210px);
	margin: 6px auto 1rem;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 50% 50% 12px 12px / 36% 36% 12px 12px;
	background: var(--surface-2);
	outline: 1px solid var(--gold-2);
	outline-offset: 5px;
	transition: outline-offset 0.35s var(--ease);
}

.person__portrait img,
.person__portrait .ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
	transition: transform 0.7s var(--ease);
}

.person:hover .person__portrait {
	outline-offset: 2px;
}

.person:hover .person__portrait img {
	transform: scale(1.05);
}

.person__name {
	margin: 0 0 0.85rem;
	font-size: 1.15rem;
	text-align: center;
}

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

.person__posts > li {
	padding-block: 0.7rem;
	border-top: 1px solid var(--line-2);
}

.person__posts .card__title {
	display: block;
	overflow: visible;
	-webkit-line-clamp: unset;
	line-clamp: none;
	font-size: 0.95rem;
}

@supports (grid-template-rows: subgrid) {
	.person {
		display: grid;
		grid-row: span var(--rows, 4);
		grid-template-rows: subgrid;
		row-gap: 0;
	}

	.person__posts {
		display: grid;
		grid-row: span var(--posts, 2);
		grid-template-rows: subgrid;
		row-gap: 0;
	}
}

/* ---------- Category columns ---------- */

.columns {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(80%, 300px);
	gap: var(--gap);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding-bottom: 0.5rem;
}

.column {
	scroll-snap-align: start;
	min-width: 0;
}

@media (min-width: 1024px) {
	.columns {
		grid-auto-flow: row;
		grid-template-columns: repeat(var(--count, 5), minmax(0, 1fr));
		overflow: visible;
	}

	.columns--3 {
		--count: 3;
	}

	.columns--4 {
		--count: 4;
	}

	.columns--6 {
		--count: 6;
	}
}

.column__title {
	margin: 0 0 1rem;
	padding-bottom: 0.55rem;
	border-bottom: 2px solid var(--accent);
	font-size: 1.1rem;
}

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

.column__list {
	margin-top: 0.4rem;
}

.column__list > li {
	padding-block: 0.75rem;
	border-top: 1px solid var(--line);
}

.column .card--standard .card__title {
	font-size: 1.02rem;
}

/* ---------- Trio ---------- */

.trio {
	display: grid;
	gap: 2.25rem;
}

@media (min-width: 900px) {
	.trio {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--gap);
	}
}

.trio__col {
	min-width: 0;
	padding-top: 0.85rem;
	border-top: 2px solid var(--ink);
}

.trio__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1.1rem;
	font-size: var(--fs-xl);
}

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

/* ---------- Gallery rail ---------- */

.rail {
	position: relative;
}

.rail__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(64%, 240px);
	gap: 1.1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-bottom: 0.25rem;
}

.rail__track::-webkit-scrollbar {
	display: none;
}

@media (min-width: 768px) {
	.rail__track {
		grid-auto-columns: calc((100% - 3 * 1.25rem) / 4);
		gap: 1.25rem;
	}
}

@media (min-width: 1200px) {
	.rail__track {
		grid-auto-columns: calc((100% - 4 * 1.25rem) / 5);
	}
}

.rail__item {
	scroll-snap-align: start;
	min-width: 0;
}

.rail__btn {
	position: absolute;
	top: calc(50% - 2.5rem);
	z-index: 3;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
	color: var(--ink);
	box-shadow: var(--shadow-1);
	transition: opacity 0.2s, transform 0.2s;
}

.rail__btn:hover {
	color: var(--accent);
	transform: scale(1.06);
}

.rail__btn:disabled {
	opacity: 0;
	pointer-events: none;
}

.rail__btn--prev {
	right: -0.9rem;
}

.rail__btn--next {
	left: -0.9rem;
}

.rail__btn .icon {
	width: 1.2rem;
	height: 1.2rem;
}

/* ---------- Special dossiers ---------- */

.topics {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(46%, 220px);
	gap: 0.9rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.topics::-webkit-scrollbar {
	display: none;
}

@media (min-width: 1024px) {
	.topics {
		grid-auto-flow: row;
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
		gap: 1.1rem;
		overflow: visible;
	}
}

.topic {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius-l);
	background: var(--night);
	color: #fff;
	scroll-snap-align: start;
}

.topic__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.topic__media img,
.topic__media .ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}

.topic__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(122 18 23 / 0.92) 0%, rgb(20 10 8 / 0.55) 45%, rgb(20 10 8 / 0.05) 75%);
}

.topic:hover .topic__media img {
	transform: scale(1.06);
}

.topic__body {
	padding: 1rem;
}

.topic__title {
	margin: 0;
	font-size: 1.12rem;
	line-height: 1.2;
	color: #fff;
}

.topic__title .card__link::after {
	border-radius: var(--radius-l);
}

.topic:hover .card__link {
	color: #fff;
}

.topic__meta {
	margin: 0.3rem 0 0;
	font: 600 0.68rem/1.2 var(--font-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.75);
}

/* ---------- Network tabs ---------- */

.network {
	background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--surface-2) 70%, transparent) 30%, transparent);
}

.tabs {
	display: flex;
	gap: 0.5rem;
	margin: 0 auto 1.75rem;
	padding-bottom: 2px;
	overflow-x: auto;
	scrollbar-width: none;
	width: fit-content;
	max-width: 100%;
}

.tabs::-webkit-scrollbar {
	display: none;
}

.tab {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex: none;
	padding: 0.65rem 1.05rem;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	background: var(--surface);
	font: 600 0.875rem/1 var(--font-sans);
	color: var(--ink-2);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.tab .icon {
	width: 1.05rem;
	height: 1.05rem;
	color: var(--accent);
}

.tab:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.tab[aria-selected="true"] {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--paper);
}

.tab[aria-selected="true"] .icon {
	color: inherit;
}

/* Homepage "Sitelerimiz": each site's latest content in one row of three. */
.net-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gap);
}

/* Tasarım: 2:1 quote graphics, shown uncropped. */
.net-grid--wide .card__media {
	aspect-ratio: 700 / 342;
}

.net-grid .card__title {
	font-size: 1rem;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

.net-grid--list {
	column-gap: 2rem;
	row-gap: 0;
}

.net-grid--list .net-item {
	padding-top: 1rem;
	border-top: 1px solid var(--line);
}

.net-grid--list .card {
	padding-right: 2.1rem;
}

.net-grid--list .card::before {
	content: "۞";
	position: absolute;
	right: 0;
	top: 0.1rem;
	font: 400 1.25rem/1 var(--font-arabic-ui);
	color: var(--gold);
}

.net-grid--list .card__title {
	font-size: 1.05rem;
}

/* Phones: each site stays one row; swipe for the next item (it peeks in from the right). */
@media (max-width: 599px) {
	.net-grid {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 82%;
		gap: 1rem;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.net-grid::-webkit-scrollbar {
		display: none;
	}

	.net-grid > li {
		scroll-snap-align: start;
	}
}

/* ---------- Ayah band ---------- */

.ayah-band {
	padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.ayah {
	position: relative;
	isolation: isolate;
	max-width: 900px;
	margin: 0 auto;
	padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3.25rem) clamp(1.75rem, 4vw, 2.75rem);
	border: 1px solid var(--gold-2);
	border-radius: var(--radius-l);
	background: var(--surface);
	text-align: center;
}

.ayah::before,
.ayah::after {
	content: "";
	position: absolute;
	inset: 7px;
	border-radius: calc(var(--radius-l) - 5px);
	pointer-events: none;
}

.ayah::before {
	border: 1px solid color-mix(in srgb, var(--gold-2) 45%, transparent);
}

.ayah::after {
	z-index: -1;
	background: var(--pattern-ink);
	-webkit-mask: var(--pattern) center / 56px 56px repeat;
	mask: var(--pattern) center / 56px 56px repeat;
}

.ayah__mark {
	position: absolute;
	top: 0;
	right: 50%;
	width: 2.6rem;
	height: 2.6rem;
	padding: 0 0.6rem;
	box-sizing: content-box;
	transform: translate(-50%, -50%);
	background: var(--paper);
	color: var(--gold-2);
	--emblem-inner: var(--paper);
}

.ayah__quote {
	margin: 0;
}

.ayah__ar {
	margin: 0 0 1rem;
	font-family: var(--font-arabic-ui);
	font-weight: 400;
	font-size: clamp(1.65rem, 1.1rem + 2.3vw, 2.7rem);
	line-height: 2;
	color: var(--ink);
}

.ayah__tr {
	margin: 0 auto;
	max-width: 46ch;
	font: 400 clamp(1.12rem, 1rem + 0.6vw, 1.45rem)/1.5 var(--font-serif);
	color: var(--ink-2);
}

.ayah__ref {
	margin-top: 1.4rem;
	font: 700 0.7rem/1.2 var(--font-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold);
}

/* ---------- App promo ---------- */

.app-card {
	position: relative;
	isolation: isolate;
	display: grid;
	gap: 1.5rem;
	padding: clamp(1.5rem, 4vw, 3rem);
	overflow: hidden;
	border-radius: var(--radius-l);
	background: linear-gradient(135deg, #0a523d 0%, #0e7255 52%, #0a4535 100%);
	color: #eef5f1;
	--pattern-ink: rgb(255 255 255 / 0.07);
}

@media (min-width: 768px) {
	.app-card {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
		align-items: center;
		gap: 2.5rem;
	}
}

.app-card__art {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 170px;
}

.app-card__calligraphy {
	position: relative;
	z-index: 1;
	font-family: var(--font-arabic-ui);
	font-weight: 400;
	font-size: clamp(2.6rem, 1.8rem + 3.4vw, 4.6rem);
	line-height: 1.5;
	color: #f1dca4;
	text-shadow: 0 4px 30px rgb(0 0 0 / 0.25);
}

.app-card__mark {
	position: absolute;
	width: min(260px, 70%);
	height: auto;
	aspect-ratio: 1;
	color: rgb(255 255 255 / 0.07);
	--emblem-inner: transparent;
}

@media (prefers-reduced-motion: no-preference) {
	.app-card__mark {
		animation: idv-spin 90s linear infinite;
	}
}

.app-card__title {
	margin: 0.6rem 0 0.6rem;
	font-size: var(--fs-2xl);
	color: #fff;
}

.app-card__text {
	margin: 0 0 1.5rem;
	max-width: 52ch;
	color: rgb(238 245 241 / 0.86);
	font-size: 1.02rem;
}

.app-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.store-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.6rem 0.95rem 0.6rem 1.15rem;
	border: 1px solid rgb(255 255 255 / 0.18);
	border-radius: 12px;
	background: #07100d;
	color: #fff;
	font: 600 1.02rem/1.05 var(--font-sans);
	transition: transform 0.2s, background-color 0.2s;
}

.store-btn:hover {
	transform: translateY(-2px);
	background: #000;
}

.store-btn .icon {
	width: 1.6rem;
	height: 1.6rem;
}

.store-btn small {
	display: block;
	margin-bottom: 0.15rem;
	font-size: 0.62rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.8;
}
/* ==========================================================================
   05 · Article: header, tools, prose, footer, rail
   ========================================================================== */

.progress {
	position: fixed;
	inset: 0 0 auto;
	z-index: 140;
	height: 3px;
	pointer-events: none;
}

.progress span {
	display: block;
	height: 100%;
	background: var(--brand);
	transform: scaleX(var(--progress, 0));
	transform-origin: right;
}

.article__layout {
	display: grid;
	gap: 2.5rem;
	padding-top: clamp(1rem, 2.5vw, 1.75rem);
}

@media (min-width: 1100px) {
	.article__layout {
		grid-template-columns: minmax(0, 760px) 320px;
		justify-content: space-between;
		gap: 3rem;
	}
}

.article__main {
	min-width: 0;
}

.article__header {
	display: grid;
	gap: 0.95rem;
	margin-bottom: 1.6rem;
}

.article__title {
	margin: 0;
	font-size: var(--fs-3xl);
	font-weight: 650;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.article__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 1.2rem;
	padding-block: 0.9rem;
	border-block: 1px solid var(--line);
	font-size: 0.84rem;
	color: var(--ink-3);
}

.byline__item {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.byline__item .icon {
	width: 0.95rem;
	height: 0.95rem;
	color: var(--accent);
}

.byline__updated {
	color: var(--ink-3);
	font-style: italic;
}

.article__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin-bottom: 1.6rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--line);
}

/* Share. */
.share {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.share__label {
	font: 700 0.68rem/1 var(--font-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
}

@media (max-width: 480px) {
	.article__tools .share__label {
		display: none;
	}
}

.share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.share__btn {
	display: grid;
	place-items: center;
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	border: 1px solid var(--line-2);
	border-radius: 50%;
	background: var(--surface);
	color: var(--ink-2);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.share__btn .icon {
	width: 1.05rem;
	height: 1.05rem;
}

.share__btn:hover {
	border-color: transparent;
	background: var(--brand);
	color: #fff;
	transform: translateY(-1px);
}

.share__btn--whatsapp:hover {
	background: #1faf54;
}

.share__btn--x:hover {
	background: #000;
}

.share__btn--telegram:hover {
	background: #229ed9;
}

.share__btn--facebook:hover {
	background: #1877f2;
}

.share__btn.is-copied {
	border-color: transparent;
	background: var(--emerald);
	color: #fff;
}

/* Reader tools. */
.reader-tools {
	display: flex;
	gap: 0.35rem;
}

/* Phones: share and reader tools always sit on separate lines, so buttons revealed by JS
   (native share, "Haberi dinle") never re-wrap the row and shift the page. */
@media (max-width: 599px) {
	.article__tools .share,
	.reader-tools {
		flex-basis: 100%;
	}
}

.tool-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-width: 2.35rem;
	height: 2.35rem;
	padding: 0 0.65rem;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	background: var(--surface);
	font: 700 0.8rem/1 var(--font-sans);
	color: var(--ink-2);
	transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.tool-btn:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.tool-btn .icon {
	width: 1rem;
	height: 1rem;
}

.tool-btn[aria-pressed="true"] {
	border-color: transparent;
	background: var(--brand);
	color: #fff;
}

.tool-btn:disabled {
	opacity: 0.4;
	pointer-events: none;
}

/* Featured image / video. */
.article__figure {
	margin: 0 0 1rem;
}

.article__figure img {
	width: 100%;
	max-height: 80vh;
	object-fit: contain;
	border-radius: var(--radius-l);
	background: var(--surface-2);
}

.article__figure figcaption,
.page-figure figcaption {
	margin-top: 0.6rem;
	padding-right: 0.75rem;
	border-right: 2px solid var(--line-2);
	font-size: 0.82rem;
	color: var(--ink-3);
}

.article__video {
	margin: 0 0 1rem;
}

.article__video iframe,
.article__video video {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--radius-l);
	background: #000;
}

/* ---------- Prose ---------- */

.prose {
	font-family: var(--font-serif);
	font-size: calc(clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem) * var(--prose-scale, 1));
	line-height: 1.75;
	color: var(--ink);
	overflow-wrap: break-word;
}

.prose > * {
	margin-block: 0 1.15em;
}

.prose > :last-child {
	margin-bottom: 0;
}

.prose p {
	text-wrap: pretty;
}

.prose a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: text-decoration-thickness 0.15s;
}

.prose a:hover {
	text-decoration-thickness: 2px;
}

.prose h2,
.prose h3,
.prose h4 {
	margin: 1.8em 0 0.6em;
	line-height: 1.22;
}

.prose h2 {
	font-size: 1.5em;
}

.prose h3 {
	font-size: 1.25em;
}

.prose h4 {
	font-size: 1.08em;
}

.prose strong,
.prose b {
	font-weight: 700;
}

.prose ul,
.prose ol {
	margin: 0 0 1.15em;
	padding-right: 1.35em;
	list-style: disc;
}

.prose ol {
	list-style: decimal;
}

.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
	margin-bottom: 0;
}

.prose li {
	margin-block: 0.35em;
}

.prose li::marker {
	color: var(--accent);
}

.prose blockquote {
	margin: 1.75em 0;
	padding: 0.2em 1.25em 0.2em 0;
	border-right: 3px solid var(--gold-2);
	font-style: italic;
	color: var(--ink-2);
}

.prose blockquote cite {
	display: block;
	margin-top: 0.75em;
	font: normal 600 0.72rem/1.3 var(--font-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gold);
}

.prose img {
	height: auto;
	border-radius: var(--radius);
}

.prose figure {
	margin: 1.75em 0;
}

.prose figcaption,
.prose .wp-caption-text,
.prose .wp-element-caption {
	margin-top: 0.55rem;
	font-family: var(--font-sans);
	font-size: 0.8rem;
	line-height: 1.5;
	color: var(--ink-3);
	text-align: right;
}

.prose video {
	width: 100%;
	height: auto;
	max-height: 80vh;
	border-radius: var(--radius);
	background: #000;
}

.prose .wp-video,
.prose .wp-block-video,
.prose .wp-audio-shortcode {
	width: 100% !important;
	max-width: 100%;
}

.prose > p > iframe,
.prose > iframe,
.prose .wp-block-embed__wrapper > iframe:not([style*="position"]) {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--radius);
}

.prose hr,
.prose .wp-block-separator {
	height: 1px;
	margin: 2.5em auto;
	border: 0;
	background: var(--line-2);
}

/* "Süslü ayraç": gold rule with a Rub el Hizb ornament in the middle. */
.prose .wp-block-separator.is-style-suslu,
.prose hr.is-style-suslu {
	position: relative;
	height: 1.6em;
	max-width: none;
	overflow: visible;
	border: 0;
	background: linear-gradient(to left, transparent, var(--gold-2) 38%, transparent 45%, transparent 55%, var(--gold-2) 62%, transparent) center / 100% 1px no-repeat;
	opacity: 1;
}

.prose .is-style-suslu::before {
	content: "۞";
	position: absolute;
	right: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font: 400 1.35em/1 var(--font-arabic-ui);
	color: var(--gold-2);
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-sans);
	font-size: 0.9rem;
	line-height: 1.5;
}

.prose th,
.prose td {
	padding: 0.65rem 0.6rem;
	border-bottom: 1px solid var(--line);
	text-align: right;
	vertical-align: top;
}

.prose thead th {
	border-bottom: 2px solid var(--ink);
}

.prose .alignleft {
	float: right;
	max-width: 50%;
	margin: 0.3em 0 1em 1.5em;
}

.prose .alignright {
	float: left;
	max-width: 50%;
	margin: 0.3em 1.5em 1em 0;
}

.prose .aligncenter {
	display: block;
	margin-inline: auto;
}

.prose::after {
	content: "";
	display: table;
	clear: both;
}

.prose .wp-block-pullquote {
	margin: 2em 0;
	padding: 1.5em 0;
	border-block: 2px solid var(--ink);
	font-size: 1.3em;
	text-align: center;
}

.prose .wp-block-pullquote blockquote {
	border: 0;
	padding: 0;
	margin: 0;
	color: var(--ink);
}

/* Arabic (auto-detected in old content, or the "Arapça metin" paragraph style). */
.prose [lang="ar"],
.prose .is-style-arapca {
	font-family: var(--font-arabic);
	font-weight: 400;
	font-style: normal;
	font-size: 1.45em;
	line-height: 2.05;
	text-align: left;
	direction: rtl;
	font-synthesis: none;
}

/* "Ayet / Hadis" quote style. */
.prose .wp-block-quote.is-style-ayet,
.prose blockquote.is-style-ayet {
	position: relative;
	margin: 2.25em 0;
	padding: 1.9em clamp(1.1em, 4vw, 2em) 1.5em;
	border: 1px solid var(--gold-2);
	border-radius: var(--radius-l);
	background: var(--surface);
	font-style: normal;
	text-align: center;
	color: var(--ink);
}

.prose .is-style-ayet::before {
	content: "۞";
	position: absolute;
	top: 0;
	right: 50%;
	padding: 0 0.45em;
	transform: translate(-50%, -55%);
	background: var(--paper);
	font: 400 1.5em/1 var(--font-arabic-ui);
	color: var(--gold-2);
}

.prose .is-style-ayet [lang="ar"],
.prose .is-style-ayet .is-style-arapca {
	text-align: center;
	font-size: 1.65em;
	margin-bottom: 0.4em;
}

.prose .is-style-ayet p:not([lang="ar"]):not(.is-style-arapca) {
	font-style: italic;
	color: var(--ink-2);
}

/* "Bilgi kutusu" group style. */
.prose .is-style-bilgi-kutusu,
.prose .legacy-box {
	padding: 1.2em 1.4em;
	border-right: 4px solid var(--emerald);
	border-radius: var(--radius);
	background: var(--emerald-soft);
	font-family: var(--font-sans);
	font-size: 0.92em;
	line-height: 1.65;
}

.prose .is-style-bilgi-kutusu > :first-child {
	margin-top: 0;
}

.prose .is-style-bilgi-kutusu > :last-child {
	margin-bottom: 0;
}

.prose .is-style-bilgi-kutusu h2,
.prose .is-style-bilgi-kutusu h3,
.prose .is-style-bilgi-kutusu h4 {
	margin: 0 0 0.4em;
	font-size: 1.08em;
	color: var(--emerald);
}

.prose .news-source {
	padding-top: 0.75rem;
	border-top: 1px solid var(--line);
	font-family: var(--font-sans);
	font-size: 0.85rem;
	color: var(--ink-3);
}

/* Legacy Jannah shortcodes (degraded). */
.prose .legacy-col {
	margin-bottom: 1em;
}

.prose .legacy-highlight {
	background: color-mix(in srgb, var(--gold-2) 30%, transparent);
	color: inherit;
}

.prose .legacy-dropcap {
	float: right;
	margin: 0.08em 0 0 0.12em;
	font-size: 3.2em;
	line-height: 0.8;
	color: var(--accent);
}

.prose .legacy-toggle {
	padding: 0.8em 1em;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}

.prose .legacy-toggle summary {
	cursor: pointer;
	font-weight: 600;
}

/* YouTube click-to-load facade. */
.yt-facade {
	position: relative;
	margin: 1.75em 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius);
	background: #000;
}

.yt-facade__btn {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
}

.yt-facade__btn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.88;
	border-radius: 0;
	transition: opacity 0.3s, transform 0.6s var(--ease);
}

.yt-facade__btn:hover img {
	opacity: 1;
	transform: scale(1.02);
}

.yt-facade__play {
	position: absolute;
	inset: 0;
	width: 72px;
	height: 50px;
	margin: auto;
	border-radius: 14px;
	background: #e1251b;
	box-shadow: 0 8px 30px rgb(0 0 0 / 0.35);
	transition: transform 0.2s;
}

.yt-facade__play::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 17px 10px 0;
	border-color: transparent #fff transparent transparent;
	transform: translateX(-2px);
}

.yt-facade__btn:hover .yt-facade__play {
	transform: scale(1.08);
}

.yt-facade iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Multi-page posts. */
.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin-top: 2rem;
	font-family: var(--font-sans);
	font-size: 0.9rem;
}

.page-links a,
.page-links > .post-page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.3rem;
	height: 2.3rem;
	border: 1px solid var(--line-2);
	border-radius: 8px;
	text-decoration: none;
}

.page-links .current {
	background: var(--ink);
	color: var(--paper);
}

/* ---------- Article footer ---------- */

.article__footer {
	display: grid;
	gap: 1.5rem;
	margin-top: 2.25rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.cta {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 0.9rem 1rem;
	padding: 1.1rem 1.25rem;
	border: 1px solid color-mix(in srgb, #229ed9 30%, var(--line));
	border-radius: var(--radius-l);
	background: linear-gradient(135deg, color-mix(in srgb, #229ed9 11%, var(--surface)), var(--surface));
}

.cta__icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: #229ed9;
	color: #fff;
}

.cta__icon .icon {
	width: 1.3rem;
	height: 1.3rem;
}

.cta__text {
	margin: 0;
	font-weight: 500;
	line-height: 1.45;
}

.cta .btn {
	grid-column: 1 / -1;
	justify-self: start;
}

@media (min-width: 640px) {
	.cta {
		grid-template-columns: auto minmax(0, 1fr) auto;
	}

	.cta .btn {
		grid-column: auto;
	}
}

.post-nav {
	display: grid;
	gap: 0.9rem;
}

@media (min-width: 640px) {
	.post-nav {
		grid-template-columns: 1fr 1fr;
	}
}

.post-nav__link {
	display: grid;
	gap: 0.4rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color 0.2s, transform 0.2s;
}

.post-nav__link:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}

.post-nav__link--next {
	text-align: left;
}

.post-nav__label {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	font: 700 0.68rem/1 var(--font-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.post-nav__link--next .post-nav__label {
	justify-content: flex-end;
}

.post-nav__label .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.post-nav__title {
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

/* ---------- Comments ---------- */

.comments {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.comments__title {
	font-size: var(--fs-xl);
}

.comment-list,
.comment-list .children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment-list .children {
	padding-right: clamp(1rem, 4vw, 2.5rem);
}

.comment-body {
	padding: 1rem 0;
	border-bottom: 1px solid var(--line);
	font-size: 0.95rem;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 600;
}

.comment-author img {
	border-radius: 50%;
}

.comment-metadata {
	font-size: 0.78rem;
	color: var(--ink-3);
}

.comment-respond {
	margin-top: 1.5rem;
}

.comment-form label {
	display: block;
	font-weight: 600;
	font-size: 0.85rem;
	margin-bottom: 0.3rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: var(--surface);
}

/* ---------- Rail ---------- */

.article__rail,
.listing-rail {
	display: none;
	min-width: 0;
}

@media (min-width: 1100px) {
	.article__rail,
	.listing-rail {
		display: block;
	}
}

.rail-sticky {
	position: sticky;
	top: calc(var(--navbar-h) + 1.25rem);
	display: grid;
	gap: 1.5rem;
}

.rail-box,
.widget {
	padding: 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface);
}

.rail-box__title,
.widget__title {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0 0 0.6rem;
	font: 700 0.74rem/1.2 var(--font-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
}

.rail-box__title .live-dot {
	color: var(--brand);
}

.rail-list > li {
	padding-block: 0.85rem;
}

.rail-list > li + li {
	border-top: 1px solid var(--line);
}

.rail-box__more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 0.4rem;
	font: 600 0.82rem/1 var(--font-sans);
	color: var(--accent);
}

.rail-box__more .icon {
	width: 0.95rem;
	height: 0.95rem;
}

.related {
	border-top: 1px solid var(--line);
	margin-top: clamp(1.5rem, 4vw, 3rem);
}

.related + .related {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}
/* ==========================================================================
   06 · Archives, search, daily timeline, pages, 404, about, contact, forms
   ========================================================================== */

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
	font-size: 0.8rem;
	color: var(--ink-3);
	min-width: 0;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs li {
	display: flex;
	align-items: center;
	min-width: 0;
	max-width: 100%;
}

.breadcrumbs li + li::before {
	content: "/";
	margin-left: 0.5rem;
	color: var(--line-2);
}

.breadcrumbs a {
	color: var(--ink-2);
	text-decoration: underline;
	text-decoration-color: var(--line-2);
	text-underline-offset: 3px;
	transition: color 0.2s, text-decoration-color 0.2s;
}

.breadcrumbs a:hover {
	text-decoration-color: currentColor;
}

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

.breadcrumbs [aria-current] {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 42ch;
}

.breadcrumbs--rm p {
	margin: 0;
}

.breadcrumbs--rm a {
	color: var(--ink-2);
	text-decoration: underline;
	text-decoration-color: var(--line-2);
	text-underline-offset: 3px;
}

.breadcrumbs--rm a:hover {
	color: var(--accent);
	text-decoration-color: currentColor;
}

.breadcrumbs--rm .separator {
	margin-inline: 0.4rem;
	color: var(--line-2);
}

/* ---------- Archive header ---------- */

.archive-head {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(1.25rem, 3vw, 1.75rem) clamp(1.75rem, 4vw, 2.5rem);
	border-bottom: 1px solid var(--line);
	background: var(--surface);
}

.archive-head::before {
	-webkit-mask: var(--pattern) 0 0 / 64px 64px repeat, linear-gradient(to right, #000, transparent 70%);
	-webkit-mask-composite: source-in;
	mask: var(--pattern) 0 0 / 64px 64px repeat, linear-gradient(to right, #000, transparent 70%);
	mask-composite: intersect;
}

.archive-head__inner {
	display: grid;
	gap: 0.75rem;
}

.archive-head__title {
	margin: 0;
	font-size: var(--fs-3xl);
	letter-spacing: -0.02em;
}

.archive-head__desc {
	max-width: 68ch;
	color: var(--ink-2);
	font-size: 1.02rem;
}

.archive-head__desc p {
	margin: 0;
}

.archive-head__meta,
.archive-head__date {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	font-size: 0.86rem;
	color: var(--ink-3);
	font-variant-numeric: tabular-nums;
}

.archive-head__date {
	color: var(--ink-2);
	font-weight: 500;
}

.archive-head__date .icon {
	width: 1rem;
	height: 1rem;
	color: var(--accent);
}

.archive-head__chips {
	margin-top: 0.35rem;
}

.archive-head__watermark {
	position: absolute;
	left: -70px;
	top: 50%;
	z-index: -1;
	width: 340px;
	height: 340px;
	transform: translateY(-50%) rotate(12deg);
	color: var(--accent);
	opacity: 0.06;
	--emblem-inner: transparent;
	pointer-events: none;
}

.archive-head--search .search-form {
	max-width: 680px;
	margin-top: 0.4rem;
}

.day-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.4rem;
}

/* ---------- Listing ---------- */

.listing-layout {
	display: grid;
	gap: 2.5rem;
	padding-block: clamp(1.5rem, 3vw, 2.25rem) clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 1100px) {
	.listing-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 3.5rem;
	}
}

.listing-main {
	min-width: 0;
}

.listing-lead {
	margin-bottom: 1.25rem;
	padding-bottom: 1.75rem;
	border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
	.listing-lead .card--lead {
		display: grid;
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
		align-items: center;
		gap: 2rem;
	}
}

.listing-list > .card {
	padding-block: 1.25rem;
	border-bottom: 1px solid var(--line);
}

.listing-list > .card:first-child {
	padding-top: 0.25rem;
}

/* Archives (no rail): the list uses the full width, two stories side by side. */
@media (min-width: 1100px) {
	.listing-layout.listing-layout--wide {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (min-width: 1024px) {
	.listing-list--2col {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 2.5rem;
	}

	.listing-list--2col > .card {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 1.25rem;
	}

	.listing-list--2col > .card:nth-child(2) {
		padding-top: 0.25rem;
	}

	.listing-list--2col .card__title {
		font-size: 1.2rem;
	}
}

.pagination {
	margin-top: 2.5rem;
}

.pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none; /* no bullets or browser indent beside the page buttons */
}

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.65rem;
	height: 2.65rem;
	padding: 0 0.65rem;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: var(--surface);
	font: 600 0.9rem/1 var(--font-sans);
	color: var(--ink-2);
	font-variant-numeric: tabular-nums;
	transition: border-color 0.2s, color 0.2s;
}

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

.pagination .page-numbers.current {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
}

.pagination .page-numbers.dots {
	border: 0;
	background: none;
	min-width: 1.5rem;
}

.pagination .icon {
	width: 1rem;
	height: 1rem;
}

/* Phones: the whole row (‹ 1 … 9 10 11 … 26 ›) fits on one line. */
@media (max-width: 480px) {
	.pagination ul {
		gap: 0.25rem;
	}

	.pagination .page-numbers {
		min-width: 2.2rem;
		height: 2.4rem;
		padding: 0 0.4rem;
		font-size: 0.85rem;
	}

	.pagination .page-numbers.dots {
		min-width: 0.9rem;
		padding: 0;
	}
}

.empty-state {
	display: grid;
	justify-items: center;
	gap: 0.9rem;
	padding: clamp(2rem, 6vw, 3.5rem) 1rem;
	text-align: center;
	color: var(--ink-2);
}

.empty-state__mark {
	width: 3rem;
	height: 3rem;
	color: var(--gold-2);
	--emblem-inner: var(--paper);
}

.empty-state__title {
	margin: 0;
	font-size: var(--fs-xl);
}

.empty-state p {
	margin: 0;
	max-width: 52ch;
}

.empty-state .search-form {
	max-width: 520px;
}

/* ---------- Daily timeline (Günün Haberleri / Dünden Kalanlar) ---------- */

.day-intro {
	margin-bottom: 1.5rem;
}

.timeline {
	position: relative;
}

.timeline::before {
	content: "";
	position: absolute;
	top: 0.6rem;
	bottom: 0.6rem;
	right: 3.55rem;
	width: 1px;
	background: var(--line-2);
}

.timeline__item {
	position: relative;
	display: grid;
	grid-template-columns: 2.8rem minmax(0, 1fr);
	gap: 1.6rem;
	padding-block: 0.9rem;
}

.timeline__item::before {
	content: "";
	position: absolute;
	top: 1.35rem;
	right: calc(3.55rem - 5px);
	width: 11px;
	height: 11px;
	border: 2px solid var(--accent);
	border-radius: 50%;
	background: var(--paper);
}

.timeline__time {
	padding-top: 0.2rem;
	font: 700 0.88rem/1.2 var(--font-sans);
	text-align: left;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}

.timeline .card--compact {
	--thumb: 96px;
}

@media (min-width: 768px) {
	.timeline .card--compact {
		--thumb: 136px;
	}

	.timeline .card--compact .card__title {
		font-size: 1.1rem;
	}
}

/* ---------- Generic page ---------- */

.page-head {
	display: grid;
	gap: 0.85rem;
	padding-block: clamp(1.25rem, 3vw, 2rem) 1.25rem;
}

.page-head__title {
	margin: 0;
	font-size: var(--fs-3xl);
	letter-spacing: -0.02em;
}

.page-head__lead {
	margin: 0;
	max-width: 62ch;
	font: 400 clamp(1.1rem, 1rem + 0.5vw, 1.35rem)/1.5 var(--font-serif);
	color: var(--ink-2);
}

.page-figure {
	margin-block: 0 2rem;
}

.page-figure img {
	width: 100%;
	max-height: 70vh;
	object-fit: cover;
	border-radius: var(--radius-l);
}

.prose--page {
	padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.prose--page .alignwide {
	margin-inline: clamp(-8rem, -8vw, 0rem);
}

/* ---------- 404 ---------- */

.error-page {
	padding-block: clamp(2.5rem, 7vw, 5rem) 1rem;
	text-align: center;
}

.error-page__inner {
	display: grid;
	justify-items: center;
	gap: 1.1rem;
}

.error-page__code {
	display: flex;
	align-items: center;
	gap: 0.06em;
	margin: 0;
	font: 600 clamp(5rem, 3rem + 10vw, 9.5rem)/1 var(--font-serif);
	letter-spacing: -0.04em;
	color: var(--ink);
}

.error-page__mark {
	width: 0.8em;
	height: 0.8em;
	color: var(--brand);
	--emblem-inner: var(--paper);
}

@media (prefers-reduced-motion: no-preference) {
	.error-page__mark {
		animation: idv-spin 40s linear infinite;
	}
}

.error-page__title {
	margin: 0;
	font-size: var(--fs-2xl);
}

.error-page__text {
	margin: 0;
	max-width: 54ch;
	color: var(--ink-2);
}

.error-page .search-form {
	max-width: 560px;
}

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

.about-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2.5rem, 7vw, 5rem);
	border-bottom: 1px solid var(--line);
	background: var(--sand);
	--paper: var(--sand);
}

.about-hero__inner {
	display: grid;
	gap: 1rem;
}

.about-hero__title {
	margin: 0;
	font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
}

.about-hero__lead {
	margin: 0;
	max-width: 36ch;
	font: 400 clamp(1.2rem, 1rem + 0.9vw, 1.7rem)/1.4 var(--font-serif);
	color: var(--ink-2);
}

.about-hero__mark {
	position: absolute;
	left: -90px;
	bottom: -110px;
	z-index: -1;
	width: 440px;
	height: 440px;
	color: var(--brand);
	opacity: 0.08;
	--emblem-inner: transparent;
}

@media (prefers-reduced-motion: no-preference) {
	.about-hero__mark {
		animation: idv-spin 140s linear infinite;
	}
}

.about-body {
	display: grid;
	gap: 2.5rem;
	padding-block: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 1024px) {
	.about-body {
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 4rem;
		align-items: start;
	}
}

.about-facts dl {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--line);
}

.fact {
	padding: 1.25rem;
	background: var(--surface);
}

.fact dt {
	font: 700 0.7rem/1.3 var(--font-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.fact dd {
	margin: 0.4rem 0 0;
	font: 600 clamp(1.45rem, 1.2rem + 1vw, 2rem)/1.1 var(--font-serif);
	color: var(--ink);
	font-variant-numeric: lining-nums tabular-nums;
}

.follow__inner {
	display: grid;
	justify-items: center;
	gap: 1.25rem;
	text-align: center;
}

.follow__title {
	margin: 0;
	font-size: var(--fs-2xl);
}

.follow__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.follow__link {
	display: grid;
	justify-items: center;
	gap: 0.2rem;
	min-width: 150px;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface);
	transition: border-color 0.2s, transform 0.2s;
}

.follow__link:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}

.follow__link .icon {
	width: 1.6rem;
	height: 1.6rem;
	margin-bottom: 0.3rem;
	color: var(--accent);
}

.follow__link span {
	font-weight: 600;
}

.follow__link small {
	color: var(--ink-3);
}

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

.contact-layout {
	display: grid;
	gap: 2.5rem;
	padding-block: 0.5rem clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 1024px) {
	.contact-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
		gap: 3.5rem;
		align-items: start;
	}
}

.contact-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.contact-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 0.9rem;
	align-items: center;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface);
	transition: border-color 0.2s, transform 0.2s;
}

.contact-card:hover {
	border-color: var(--accent);
	transform: translateY(-2px);
}

.contact-card__icon {
	grid-row: span 2;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	background: var(--brand-soft);
	color: var(--accent);
}

.contact-card__icon .icon {
	width: 1.3rem;
	height: 1.3rem;
}

.contact-card__icon--telegram {
	background: #229ed9;
	color: #fff;
}

.contact-card__icon--x {
	background: #000;
	color: #fff;
}

.contact-card__icon--instagram {
	background: linear-gradient(45deg, #f9a12e, #e1306c 50%, #833ab4);
	color: #fff;
}

.contact-card__icon--facebook {
	background: #1877f2;
	color: #fff;
}

.contact-card__icon--youtube {
	background: #e1251b;
	color: #fff;
}

.contact-card__icon--whatsapp {
	background: #1faf54;
	color: #fff;
}

.contact-card__label {
	font: 700 0.68rem/1.3 var(--font-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.contact-card__value {
	font-weight: 600;
	color: var(--ink);
	overflow-wrap: anywhere;
}

.contact-form-wrap {
	padding: clamp(1.25rem, 3vw, 2.25rem);
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface);
	box-shadow: var(--shadow-1);
}

.contact-form-wrap__title {
	margin: 0 0 0.4rem;
	font-size: var(--fs-xl);
}

.contact-form-wrap__text {
	margin: 0 0 1.5rem;
	color: var(--ink-2);
}

/* ---------- Forms ---------- */

.field {
	display: grid;
	gap: 0.4rem;
	margin: 0 0 1rem;
}

.field label {
	font: 600 0.86rem/1.3 var(--font-sans);
	color: var(--ink);
}

.req {
	color: var(--accent);
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
	width: 100%;
	padding: 0.78rem 0.9rem;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: var(--paper);
	font: 400 1rem/1.4 var(--font-sans);
	color: var(--ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus-visible,
.field textarea:focus-visible {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent);
}

.field textarea {
	min-height: 9rem;
	resize: vertical;
}

.field-row {
	display: grid;
	column-gap: 1rem;
}

@media (min-width: 640px) {
	.field-row {
		grid-template-columns: 1fr 1fr;
	}
}

.field--check {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

.field--check input {
	flex: none;
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.15rem 0 0;
	accent-color: var(--brand);
}

.field--check label {
	font-weight: 400;
	font-size: 0.86rem;
	color: var(--ink-2);
}

.form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin: 1.25rem 0 0;
}

.form-note {
	font-size: 0.78rem;
	color: var(--ink-3);
}

.hp {
	position: absolute !important;
	right: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.notice {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin-bottom: 1.25rem;
	padding: 0.9rem 1rem;
	border: 1px solid;
	border-radius: var(--radius);
	font-size: 0.92rem;
}

.notice p {
	margin: 0;
}

.notice .icon {
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.1rem;
}

.notice--success {
	border-color: color-mix(in srgb, var(--emerald) 35%, transparent);
	background: var(--emerald-soft);
	color: var(--emerald);
}

.notice--error {
	border-color: color-mix(in srgb, var(--accent) 35%, transparent);
	background: var(--brand-soft);
	color: var(--accent);
}
/* ==========================================================================
   07 · Footer, ad slots, widgets, print
   ========================================================================== */

.site-footer {
	position: relative;
	isolation: isolate;
	margin-top: clamp(2rem, 5vw, 4rem);
	background: var(--night);
	color: var(--on-night-2);
	--ink: var(--on-night);
	--ink-2: var(--on-night-2);
	--ink-3: #8e98a3;
	--line: rgb(255 255 255 / 0.1);
	--line-2: rgb(255 255 255 / 0.18);
	--accent: #f28b85;
	--focus: #f28b85;
	--surface: rgb(255 255 255 / 0.05);
	--surface-2: rgb(255 255 255 / 0.08);
	--paper: var(--night);
	--pattern-ink: rgb(255 255 255 / 0.035);
}

.site-footer::before {
	-webkit-mask: var(--pattern) 0 0 / 64px 64px repeat, linear-gradient(#000, transparent 70%);
	-webkit-mask-composite: source-in;
	mask: var(--pattern) 0 0 / 64px 64px repeat, linear-gradient(#000, transparent 70%);
	mask-composite: intersect;
}

.site-footer::after {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(to left, var(--brand), #c9a55c 50%, #0b6b4f);
}

.footer__top {
	display: grid;
	gap: 2.25rem;
	padding-block: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 640px) {
	.footer__top {
		grid-template-columns: 1fr 1fr;
	}

	.footer__brand {
		grid-column: 1 / -1;
	}
}

@media (min-width: 1024px) {
	.footer__top {
		grid-template-columns: minmax(0, 1.55fr) repeat(3, minmax(0, 1fr));
		gap: 3rem;
	}

	.footer__brand {
		grid-column: auto;
	}
}

.footer__brand {
	display: grid;
	gap: 1.1rem;
	align-content: start;
}

.brand--footer .brand__name {
	color: #fff;
}

.brand--footer .brand__mark {
	color: #e2554f;
	--emblem-inner: var(--night);
}

.brand--footer .brand__tagline {
	color: var(--on-night-2);
}

.footer__about {
	margin: 0;
	max-width: 48ch;
	font-size: 0.92rem;
	line-height: 1.65;
}

.footer__ayah {
	margin: 0;
	padding: 0.95rem 1.1rem;
	border: 1px solid rgb(201 165 92 / 0.3);
	border-radius: var(--radius);
	max-width: 48ch;
}

.footer__ayah p {
	margin: 0;
	font: 400 1.45rem/1.6 var(--font-arabic-ui);
	color: #e9cf8e;
}

.footer__ayah figcaption {
	font: 400 0.88rem/1.45 var(--font-serif);
	color: var(--on-night);
}

.footer__ayah cite {
	display: block;
	margin-top: 0.25rem;
	font: normal 600 0.62rem/1.3 var(--font-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #c9a55c;
}

.social--footer .social__link {
	width: 2.4rem;
	height: 2.4rem;
	background: rgb(255 255 255 / 0.06);
	color: var(--on-night);
}

.social--footer .social__link:hover {
	background: var(--brand);
	color: #fff;
}

.footer__title {
	margin: 0 0 1rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid var(--line);
	font: 700 0.72rem/1.2 var(--font-sans);
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #fff;
}

.footer__col > nav + nav .footer__title {
	margin-top: 1.9rem;
}

.footer-links {
	display: grid;
	gap: 0.6rem;
	font-size: 0.9rem;
}

.footer-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--on-night-2);
	transition: color 0.2s;
}

.footer-links a:hover {
	color: #fff;
}

.footer-links .icon {
	width: 0.95rem;
	height: 0.95rem;
}

.footer-links--inline {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.1rem;
}

.footer__bottom {
	border-top: 1px solid var(--line);
	font-size: 0.82rem;
}

.footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	padding-block: 1.15rem;
}

.footer__bottom p {
	margin: 0;
}

.footer__today {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.footer__today .live-dot {
	color: #4cc39b;
}

.footer__today a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.to-top {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	color: var(--on-night);
}

.to-top .icon {
	width: 1rem;
	height: 1rem;
	transition: transform 0.2s;
}

.to-top:hover .icon {
	transform: translateY(-3px);
}

/* ---------- Ads and widgets ---------- */

.ad-slot {
	padding-block: 1rem;
	text-align: center;
}

.ad-slot .widget {
	padding: 0;
	border: 0;
	background: none;
}

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

.widget li {
	padding-block: 0.45rem;
	border-top: 1px solid var(--line);
}

.widget li:first-child {
	border-top: 0;
}

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

.widget img {
	border-radius: var(--radius);
}

/* ---------- Print ---------- */

@media print {
	.site-header,
	.ticker,
	.search-panel,
	.drawer,
	.progress,
	.article__rail,
	.listing-rail,
	.article__tools,
	.share,
	.cta,
	.post-nav,
	.related,
	.site-footer,
	.ad-slot,
	.yt-facade {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

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

	.article__layout {
		display: block;
	}

	.prose {
		font-size: 12pt;
		line-height: 1.6;
	}

	.prose a[href^="http"]::after {
		content: " (" attr(href) ")";
		font-size: 0.8em;
		color: #555;
		word-break: break-all;
	}

	.article__figure img {
		max-height: 10cm;
	}
}
/* ==========================================================================
   08 · Dropdowns, language switcher, "Sitelerimiz" directory, video band
   ========================================================================== */

/* ---------- Dropdown (details/summary — works without JS) ---------- */

.dropdown {
	position: relative;
}

.dropdown > summary {
	list-style: none;
	cursor: pointer;
	user-select: none;
}

.dropdown > summary::-webkit-details-marker {
	display: none;
}

.dropdown__chevron {
	width: 0.85rem;
	height: 0.85rem;
	transition: transform 0.2s;
}

.dropdown[open] .dropdown__chevron {
	transform: rotate(180deg);
}

.dropdown__panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 70;
	min-width: 280px;
	padding: 0.75rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface);
	box-shadow: var(--shadow-2);
	color: var(--ink);
	animation: idv-slide-down 0.22s var(--ease);
}

/* Mega panel spanning the container (top bar "Sitelerimiz"). */
.dropdown--mega {
	position: static;
}

.dropdown--mega > .dropdown__panel {
	top: 100%;
	right: var(--gutter);
	left: var(--gutter);
	display: grid;
	gap: 1.5rem 2.5rem;
	padding: 1.5rem;
	font-size: 0.9rem;
}

@media (min-width: 1024px) {
	.dropdown--mega > .dropdown__panel {
		grid-template-columns: 250px minmax(0, 1fr);
	}
}

/* ---------- Top bar additions ---------- */

.topbar {
	position: relative;
	z-index: 4;
}

.topbar__inner {
	position: relative;
}

.topbar__today {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--accent);
	font-weight: 600;
	white-space: nowrap;
	transition: background-color 0.2s;
}

.topbar__today:hover {
	background: color-mix(in srgb, var(--brand) 18%, transparent);
}

.topbar__nav {
	flex: 0 1 auto;
}

.topbar__end {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-right: auto;
}

.topbar__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	height: 1.85rem;
	padding: 0 0.7rem;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	font-weight: 600;
	color: var(--ink);
	transition: border-color 0.2s, color 0.2s;
}

.topbar__btn .icon {
	width: 0.95rem;
	height: 0.95rem;
	color: var(--accent);
}

.topbar__btn:hover,
.dropdown[open] > .topbar__btn {
	border-color: var(--accent);
	color: var(--accent);
}

.sites-panel__intro {
	display: grid;
	align-content: start;
	gap: 0.75rem;
}

.sites-panel__lead {
	margin: 0;
	font: 400 1.12rem/1.45 var(--font-serif);
	color: var(--ink-2);
}

.sites-panel__more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-weight: 600;
	color: var(--accent);
}

.sites-panel__more .icon {
	width: 1rem;
	height: 1rem;
}

/* ---------- Language switcher ---------- */

.lang-switch__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	height: 2.5rem;
	padding: 0 0.85rem;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	background: var(--surface);
	font: 700 0.84rem/1 var(--font-sans);
	color: var(--ink);
	transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.lang-switch__toggle > .icon:first-child {
	width: 1.15rem;
	height: 1.15rem;
	color: var(--accent);
}

.lang-switch__code {
	letter-spacing: 0.05em;
}

.lang-switch__label {
	display: none;
}

.lang-switch__toggle:hover,
.lang-switch[open] > .lang-switch__toggle {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}

/* Masthead (desktop): larger, with the full language name. */
.lang-switch--masthead .lang-switch__toggle {
	height: 2.85rem;
	padding: 0 1.15rem;
	font-size: 0.95rem;
	font-weight: 600;
}

.lang-switch--masthead .lang-switch__code {
	display: none;
}

.lang-switch--masthead .lang-switch__label {
	display: inline;
}

.lang-panel {
	width: 310px;
	padding: 0.6rem;
}

.lang-panel__title {
	margin: 0.3rem 0.55rem 0.55rem;
	font: 700 0.7rem/1.2 var(--font-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.lang-panel__list {
	display: grid;
	gap: 0.15rem;
}

.lang-option {
	display: grid;
	grid-template-columns: 2.4rem minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0.55rem;
	border-radius: 10px;
	color: var(--ink);
	transition: background-color 0.15s;
}

a.lang-option:hover {
	background: var(--surface-2);
}

.lang-option__code {
	display: grid;
	place-items: center;
	width: 2.4rem;
	height: 2.4rem;
	border-radius: 9px;
	background: var(--surface-2);
	font: 800 0.74rem/1 var(--font-sans);
	letter-spacing: 0.05em;
	color: var(--ink-2);
}

.lang-option.is-current .lang-option__code {
	background: var(--brand);
	color: #fff;
}

.lang-option__text {
	display: grid;
	min-width: 0;
}

.lang-option__name {
	font-weight: 600;
	line-height: 1.3;
}

.lang-option__desc {
	font-size: 0.76rem;
	color: var(--ink-3);
}

.lang-option__check,
.lang-option__arrow {
	width: 1rem;
	height: 1rem;
	color: var(--ink-3);
}

.lang-option.is-current .lang-option__check {
	color: var(--accent);
}

a.lang-option:hover .lang-option__arrow {
	color: var(--accent);
}

/* Navigation bar: always on phones/tablets, on desktop only once the masthead has scrolled away. */
.navbar__actions {
	gap: 0.3rem;
}

@media (min-width: 1024px) {
	.navbar .lang-switch {
		display: none;
	}

	.site-header.is-stuck .navbar .lang-switch {
		display: block;
	}
}

@media (max-width: 599px) {
	.navbar .lang-switch__toggle {
		height: 2.3rem;
		padding: 0 0.55rem;
		gap: 0.3rem;
	}

	.navbar .lang-switch .dropdown__chevron,
	.navbar .theme-toggle {
		display: none;
	}

	.navbar .lang-switch > .dropdown__panel {
		position: fixed;
		top: calc(var(--navbar-h) + 6px);
		right: 12px;
		left: 12px;
		width: auto;
	}
}

/* Pill lists (drawer, footer). */
.lang-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.lang-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.3rem 0.3rem 0.3rem 0.8rem;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	background: var(--surface);
	font: 500 0.86rem/1.2 var(--font-sans);
	color: var(--ink);
	transition: border-color 0.2s, color 0.2s;
}

a.lang-pill:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.lang-pill__code {
	display: grid;
	place-items: center;
	min-width: 1.75rem;
	height: 1.75rem;
	padding: 0 0.3rem;
	border-radius: 999px;
	background: var(--surface-2);
	font: 800 0.64rem/1 var(--font-sans);
	letter-spacing: 0.05em;
	color: var(--ink-2);
}

.lang-pill.is-current {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
}

.lang-pill.is-current .lang-pill__code {
	background: var(--brand);
	color: #fff;
}

/* ---------- Classic logo ---------- */

.brand--classic {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	flex: 0 1 auto;
}

.brand--classic img {
	display: block;
	width: auto;
	max-width: 100%;
}

.brand--masthead .brand__banner {
	height: auto;
	max-height: 104px;
}

.brand--masthead .brand__mark-img {
	display: none;
	height: 84px;
}

.brand--bar .brand__mark-img {
	height: 34px;
}

.brand--drawer .brand__mark-img {
	height: 38px;
}

.brand--footer .brand__mark-img {
	height: 52px;
}

:root[data-theme="dark"] .brand--masthead .brand__banner {
	display: none;
}

:root[data-theme="dark"] .brand--masthead .brand__mark-img {
	display: block;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .brand--masthead .brand__banner {
		display: none;
	}

	:root:not([data-theme="light"]) .brand--masthead .brand__mark-img {
		display: block;
	}
}

.masthead__end {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex: none;
}

/* ---------- "Sitelerimiz" directory ---------- */

.sites {
	display: grid;
	gap: 1.6rem;
}

.sites__heading {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 0.75rem;
	font: 700 0.7rem/1.2 var(--font-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.sites__heading::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--line);
}

.sites__list {
	display: grid;
	gap: 0.6rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}

.site-tile {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.8rem;
	height: 100%;
	padding: 0.7rem 0.7rem 0.7rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	background: var(--surface);
	color: var(--ink);
	transition: border-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.site-tile:hover {
	border-color: color-mix(in srgb, var(--site, var(--accent)) 55%, var(--line));
	box-shadow: var(--shadow-1);
	transform: translateY(-2px);
}

.site-badge {
	display: grid;
	place-items: center;
	flex: none;
	width: 2.65rem;
	height: 2.65rem;
	border-radius: 12px;
	background: color-mix(in srgb, var(--site, var(--accent)) 13%, var(--surface));
	color: var(--site, var(--accent));
}

.site-badge .icon {
	width: 1.3rem;
	height: 1.3rem;
}

.site-badge--code {
	background: var(--surface-2);
	color: var(--ink-2);
	font: 800 0.76rem/1 var(--font-sans);
	letter-spacing: 0.06em;
}

:root[data-theme="dark"] .site-badge:not(.site-badge--code) {
	background: color-mix(in srgb, var(--site, var(--accent)) 24%, var(--surface));
	color: color-mix(in srgb, var(--site, var(--accent)) 45%, #fff);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .site-badge:not(.site-badge--code) {
		background: color-mix(in srgb, var(--site, var(--accent)) 24%, var(--surface));
		color: color-mix(in srgb, var(--site, var(--accent)) 45%, #fff);
	}
}

.site-tile__text {
	display: grid;
	gap: 0.12rem;
	min-width: 0;
}

.site-tile__name {
	font-weight: 650;
	font-size: 0.95rem;
	line-height: 1.25;
}

.site-tile__desc {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	font-size: 0.78rem;
	line-height: 1.35;
	color: var(--ink-3);
}

.site-tile__arrow {
	width: 1rem;
	height: 1rem;
	color: var(--ink-3);
	transition: transform 0.2s, color 0.2s;
}

.site-tile:hover .site-tile__arrow {
	color: var(--site, var(--accent));
	transform: translate(2px, -2px);
}

/* Variants. */
.sites--panel .site-tile {
	background: var(--paper);
}

@media (min-width: 1100px) {
	.sites--panel {
		grid-template-columns: minmax(0, 3fr) minmax(0, 1.05fr);
		align-items: start;
	}

	/* Main group (content sites) on the left with the apps below it; related sites on the right. */
	.sites--panel > .sites__group:first-child,
	.sites--panel > .sites__group--apps {
		grid-column: 1;
	}

	.sites--panel > .sites__group--partners {
		grid-column: 2;
		grid-row: span 2;
	}

	.sites--panel > .sites__group .sites__list {
		grid-template-columns: 1fr;
	}

	.sites--panel > .sites__group:first-child .sites__list,
	.sites--panel > .sites__group--apps .sites__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.sites--drawer {
	gap: 1.1rem;
}

.sites--drawer .sites__list {
	grid-template-columns: 1fr 1fr;
	gap: 0.4rem;
}

.sites--drawer .site-tile {
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.55rem;
	padding: 0.45rem 0.45rem 0.45rem 0.55rem;
	border-radius: var(--radius);
}

.sites--drawer .site-badge {
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 9px;
}

.sites--drawer .site-badge .icon {
	width: 1.05rem;
	height: 1.05rem;
}

.sites--drawer .site-tile__name {
	font-size: 0.86rem;
}

.sites--drawer .site-tile__arrow {
	display: none;
}

@media (min-width: 1024px) {
	.sites--band {
		grid-template-columns: minmax(0, 3fr) minmax(0, 1.05fr);
		gap: 1.6rem 2rem;
		align-items: start;
	}

	/* Same arrangement as the header panel: content sites with the apps below, related sites
	   on the right. */
	.sites--band > .sites__group:first-child,
	.sites--band > .sites__group--apps {
		grid-column: 1;
	}

	.sites--band > .sites__group--partners {
		grid-column: 2;
		grid-row: span 2;
	}

	.sites--band > .sites__group .sites__list {
		grid-template-columns: 1fr;
	}

	.sites--band > .sites__group:first-child .sites__list,
	.sites--band > .sites__group--apps .sites__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.sites--band .site-tile {
	border-color: rgb(255 255 255 / 0.09);
	background: rgb(255 255 255 / 0.035);
}

.sites--band .site-tile:hover {
	background: rgb(255 255 255 / 0.07);
	border-color: rgb(255 255 255 / 0.22);
}

.sites--band .site-badge:not(.site-badge--code) {
	background: color-mix(in srgb, var(--site, var(--accent)) 30%, transparent);
	color: color-mix(in srgb, var(--site, var(--accent)) 40%, #fff);
}

.sites--band .site-tile__name {
	color: #fff;
}

.footer__sites {
	padding-bottom: clamp(2rem, 5vw, 3rem);
}

.footer__title--sites {
	margin-bottom: 1.25rem;
}

/* ---------- Homepage: Sitelerimiz (one row per site, stacked) ---------- */

.sites-home .section-head {
	margin-bottom: 1.75rem;
}

.site-rows {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* lets the phone swipe rows shrink to the screen */
	gap: 1.25rem;
}

.site-row {
	min-width: 0;
	padding: clamp(1rem, 2.5vw, 1.5rem);
	border: 1px solid var(--line);
	border-top: 3px solid var(--site, var(--accent));
	border-radius: var(--radius-l);
	background: var(--surface);
	scroll-margin-top: 5rem; /* old "?a=" tab links land here, below the sticky bar */
}

.site-row__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem 0.9rem;
	margin-bottom: 1.15rem;
}

.site-row__titles {
	display: grid;
	gap: 0.15rem;
	min-width: 0;
}

.site-row__name {
	margin: 0;
	font: 600 1.2rem/1.2 var(--font-serif);
}

.site-row__desc {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.35;
	color: var(--ink-3);
}

@media (max-width: 599px) {
	.site-row__head {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.site-row__more {
		grid-column: 1 / -1;
		justify-self: start;
	}
}

/* ---------- Video band (player + playlist) ---------- */

.section-head--video .tabs {
	margin: 0 auto 0 0;
}

@media (max-width: 767px) {
	.section-head--video .tabs {
		order: 3;
		margin: 0;
	}
}

.tabs--segmented {
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgb(255 255 255 / 0.05);
}

.tabs--segmented .tab {
	padding: 0.5rem 1rem;
	border: 0;
	background: transparent;
	color: var(--ink-2);
}

.tabs--segmented .tab .icon {
	color: inherit;
}

.tabs--segmented .tab:hover {
	color: var(--ink);
}

.tabs--segmented .tab[aria-selected="true"] {
	background: var(--brand);
	color: #fff;
}

.video-panel {
	display: grid;
	gap: var(--gap);
}

@media (min-width: 1024px) {
	.video-panel {
		grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
		align-items: start;
	}

	/* The playlist (about 20 videos) is exactly as tall as the featured video and scrolls:
	   size containment keeps it from stretching the row. */
	.video-panel__list {
		display: flex;
		flex-direction: column;
		align-self: stretch;
		contain: size;
	}

	.video-panel__list .video-list {
		flex: 1;
		min-height: 0;
		overflow-y: auto;
		padding: 0 0 2.25rem 0.35rem;
		scrollbar-width: thin;
		scrollbar-color: var(--line-2) transparent;
		-webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 2.75rem), transparent);
		mask-image: linear-gradient(to bottom, #000 calc(100% - 2.75rem), transparent);
	}

	.video-panel__list .video-list::-webkit-scrollbar {
		width: 6px;
	}

	.video-panel__list .video-list::-webkit-scrollbar-thumb {
		border-radius: 3px;
		background: var(--line-2);
	}

	.video-panel__more {
		flex: none;
	}
}

.vcard {
	position: relative;
	min-width: 0;
}

.vcard__media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--radius-l);
	background: #000;
}

.vcard__media img,
.vcard__media .ph {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}

@media (hover: hover) {
	.vcard:hover .vcard__media img {
		transform: scale(1.04);
	}
}

.vcard--feature .vcard__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgb(8 7 6 / 0.45), transparent 45%);
	pointer-events: none;
}

.vcard__play {
	position: absolute;
	right: 50%;
	top: 50%;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 4.6rem;
	height: 4.6rem;
	border-radius: 50%;
	background: rgb(163 25 31 / 0.94);
	color: #fff;
	box-shadow: 0 12px 34px rgb(0 0 0 / 0.4);
	transform: translate(-50%, -50%);
	transition: transform 0.3s var(--ease);
}

.vcard__play::before {
	content: "";
	position: absolute;
	inset: -9px;
	border: 2px solid rgb(255 255 255 / 0.35);
	border-radius: 50%;
}

.vcard__play .icon {
	width: 1.6rem;
	height: 1.6rem;
	margin-right: 3px;
}

.vcard:hover .vcard__play {
	transform: translate(-50%, -50%) scale(1.07);
}

.vcard__play--sm {
	width: 2.2rem;
	height: 2.2rem;
}

.vcard__play--sm::before {
	display: none;
}

.vcard__play--sm .icon {
	width: 0.85rem;
	height: 0.85rem;
	margin-right: 2px;
}

.vcard__body {
	display: grid;
	gap: 0.45rem;
	min-width: 0;
}

.vcard--feature .vcard__body {
	padding-top: 1rem;
}

.vcard__title {
	/* Room for the dot of "İ" and other marks above the first line (see .card__title). */
	margin: -0.15em 0 0;
	padding-top: 0.15em;
	font-family: var(--font-serif);
	font-weight: 600;
	line-height: 1.22;
	text-wrap: wrap; /* fallback for "pretty", see .card__title */
	text-wrap: pretty;
	color: var(--ink);
}

.vcard--feature .vcard__title {
	font-size: var(--fs-2xl);
	line-height: 1.15;
}

.vcard__meta {
	margin: 0;
	font-size: 0.78rem;
	color: var(--ink-3);
}

.vcard .card__link::after {
	border-radius: var(--radius-l);
}

.vcard:hover .card__link {
	color: var(--accent);
	background-size: 100% 1px;
}

.video-panel__list {
	display: grid;
	gap: 0.6rem;
	align-content: start;
	min-width: 0;
}

.video-panel__label {
	margin: 0;
	font: 700 0.7rem/1.2 var(--font-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-3);
}

.video-panel__count {
	display: inline-grid;
	place-items: center;
	min-width: 1.7rem;
	height: 1.3rem;
	margin-right: 0.35rem;
	padding: 0 0.45rem;
	border-radius: 999px;
	background: var(--surface-2);
	color: var(--ink-2);
	font-size: 0.68rem;
	letter-spacing: 0;
	vertical-align: 0.05em;
}

.video-list {
	display: grid;
	gap: 0.35rem;
}

.vcard--row {
	display: grid;
	grid-template-columns: 9.5rem minmax(0, 1fr);
	align-items: start;
	gap: 0.9rem;
	padding: 0.5rem;
	border-radius: var(--radius);
	transition: background-color 0.2s;
}

.vcard--row:hover {
	background: var(--surface-2);
}

.vcard--row .vcard__media {
	border-radius: 8px;
}

.vcard--row .vcard__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	font-size: 0.98rem;
	line-height: 1.3;
}

.vcard--row .card__link::after {
	border-radius: var(--radius);
}

.video-panel__more {
	justify-self: start;
	margin-top: 0.4rem;
}

/* Player: the whole image is the play button; the video replaces it in place. */
.vcard__hit {
	position: absolute;
	inset: 0;
	z-index: 2;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	border-radius: inherit;
	background: none;
	cursor: pointer;
}

.vcard__hit:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: -3px;
}

.vcard__hit:hover .vcard__play {
	transform: translate(-50%, -50%) scale(1.07);
}

.vcard__player {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	border: 0;
	background: #000;
}

.vcard--feature.is-playing .vcard__hit,
.vcard--feature.is-playing .vcard__media::after {
	display: none;
}

/* ---------- The theme's video player (video files) ---------- */
.vplayer {
	overflow: hidden;
	color: #fff;
}

.vplayer__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
}

.vplayer__big {
	position: absolute;
	right: 50%;
	top: 50%;
	z-index: 2;
	display: none;
	place-items: center;
	width: 4.6rem;
	height: 4.6rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgb(163 25 31 / 0.94);
	color: #fff;
	box-shadow: 0 12px 34px rgb(0 0 0 / 0.4);
	cursor: pointer;
	transform: translate(-50%, -50%);
	transition: transform 0.2s var(--ease);
}

.vplayer__big:hover {
	transform: translate(-50%, -50%) scale(1.07);
}

.vplayer[data-state="paused"] .vplayer__big,
.vplayer[data-state="ended"] .vplayer__big {
	display: grid;
}

.vplayer__big .icon {
	width: 1.6rem;
	height: 1.6rem;
}

.vplayer__big .icon--play {
	margin-right: 3px;
}

.vplayer__spinner {
	position: absolute;
	right: 50%;
	top: 50%;
	z-index: 2;
	display: none;
	width: 2.75rem;
	height: 2.75rem;
	margin: -1.375rem -1.375rem 0 0;
	border: 3px solid rgb(255 255 255 / 0.25);
	border-top-color: #fff;
	border-radius: 50%;
	pointer-events: none;
	animation: vplayer-spin 0.8s linear infinite;
}

.vplayer[data-state="loading"] .vplayer__spinner,
.vplayer.is-waiting:not([data-state="paused"]) .vplayer__spinner {
	display: block;
}

@keyframes vplayer-spin {
	to {
		transform: rotate(360deg);
	}
}

.vplayer__unmute {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.5rem;
	padding: 0 0.75rem 0 0.9rem;
	border: 0;
	border-radius: 999px;
	background: rgb(0 0 0 / 0.7);
	color: #fff;
	font: 600 0.85rem/1 var(--font-sans);
	cursor: pointer;
}

.vplayer__unmute[hidden] {
	display: none;
}

.vplayer__unmute .icon {
	width: 1.1rem;
	height: 1.1rem;
}

.vplayer__bar {
	position: absolute;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 0.15rem;
	padding: 2rem 0.5rem 0.4rem;
	background: linear-gradient(to top, rgb(0 0 0 / 0.78), rgb(0 0 0 / 0.35) 60%, transparent);
	transition: opacity 0.25s;
}

/* With a mouse the bar hides while playing and comes back on movement; touch screens keep it. */
@media (hover: hover) and (pointer: fine) {
	.vplayer[data-state="playing"]:not(.is-awake) .vplayer__bar {
		opacity: 0;
	}

	.vplayer[data-state="playing"]:not(.is-awake) {
		cursor: none;
	}
}

.vplayer__btn {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s;
}

.vplayer__btn:hover {
	background: rgb(255 255 255 / 0.15);
}

.vplayer__btn .icon {
	width: 1.3rem;
	height: 1.3rem;
}

.vplayer button:focus-visible,
.vplayer__seek:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Icon swaps (play/pause, sound, full screen, replay). */
.vplayer .icon--pause,
.vplayer .icon--replay,
.vplayer .icon--compress,
.vplayer__bar [data-v="mute"] .icon--volume-off,
.vplayer[data-state="playing"] .vplayer__bar [data-v="toggle"] .icon--play,
.vplayer[data-state="ended"] .vplayer__big .icon--play,
.vplayer.is-muted .vplayer__bar [data-v="mute"] .icon--volume,
.vplayer.is-full [data-v="full"] .icon--expand {
	display: none;
}

.vplayer[data-state="playing"] .vplayer__bar [data-v="toggle"] .icon--pause,
.vplayer[data-state="ended"] .vplayer__big .icon--replay,
.vplayer.is-muted .vplayer__bar [data-v="mute"] .icon--volume-off,
.vplayer.is-full [data-v="full"] .icon--compress {
	display: block;
}

.vplayer__time {
	flex: none;
	padding: 0 0.35rem;
	font: 600 0.78rem/1 var(--font-sans);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.vplayer__seek {
	--p: 0%;
	flex: 1;
	min-width: 3rem;
	height: 1.75rem;
	margin: 0 0.4rem;
	background: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.vplayer__seek::-webkit-slider-runnable-track {
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(to left, var(--accent) var(--p), rgb(255 255 255 / 0.35) var(--p));
}

.vplayer__seek::-webkit-slider-thumb {
	width: 14px;
	height: 14px;
	margin-top: -5px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	-webkit-appearance: none;
	appearance: none;
}

.vplayer__seek::-moz-range-track {
	height: 4px;
	border-radius: 2px;
	background: rgb(255 255 255 / 0.35);
}

.vplayer__seek::-moz-range-progress {
	height: 4px;
	border-radius: 2px;
	background: var(--accent);
}

.vplayer__seek::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 0;
	border-radius: 50%;
	background: #fff;
}

.vplayer.is-full {
	border-radius: 0;
}

@media (max-width: 420px) {
	.vplayer__btn {
		width: 2.3rem;
		height: 2.3rem;
	}

	.vplayer__time {
		font-size: 0.72rem;
	}
}

.video-panel__feature {
	scroll-margin-top: 4.5rem; /* below the sticky bar when a playlist item scrolls it into view */
}

/* Playlist: the playing item. */
.vcard__now {
	position: absolute;
	right: 0.4rem;
	bottom: 0.4rem;
	z-index: 1;
	display: none;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	background: var(--brand);
	color: #fff;
	font: 700 0.62rem/1.3 var(--font-sans);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.vcard--row.is-current {
	background: var(--surface-2);
}

.vcard--row.is-playing .vcard__now {
	display: block;
}

/* Play/pause that stays visible (phones hide the native controls after a few seconds): under the
   video, and as the badge of the playlist item that is playing. */
.vcard__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem 1rem;
}

.vcard__toggle {
	position: relative;
	z-index: 2; /* above the card's stretched link */
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 2.75rem;
	padding: 0 0.85rem 0 1.05rem;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font: 600 0.88rem/1 var(--font-sans);
	cursor: pointer;
	transition: border-color 0.2s;
}

.vcard__toggle[hidden] {
	display: none;
}

.vcard__toggle:hover {
	border-color: var(--accent);
}

.vcard__toggle .icon {
	width: 1rem;
	height: 1rem;
	color: var(--accent);
}

.vcard__toggle .icon--play,
.vcard__toggle.is-playing .icon--play,
.vcard__toggle:not(.is-playing) .icon--pause,
.vcard__play .icon--pause,
.vcard--row.is-playing .vcard__play .icon--play {
	display: none;
}

.vcard__toggle:not(.is-playing) .icon--play,
.vcard--row.is-playing .vcard__play .icon--pause {
	display: block;
}

.vcard__play .icon--pause {
	margin-right: 0;
}

.video-panel__all {
	justify-content: center;
}

/* Phones and tablets: a vertical list (thumbnail + title), the first items with a "Tüm videolar"
   button, instead of a sideways strip that hides most videos. */
@media (max-width: 1023px) {
	.video-list {
		gap: 0.35rem;
	}

	.vcard--row {
		grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
		gap: 0.75rem;
		padding: 0.4rem;
	}

	.vcard--row .vcard__title {
		font-size: 0.95rem;
	}

	.video-list.is-collapsed > li:nth-child(n + 5) {
		display: none;
	}
}

@media (min-width: 600px) and (max-width: 1023px) {
	.video-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.video-list.is-collapsed > li:nth-child(n + 5) {
		display: list-item;
	}

	.video-list.is-collapsed > li:nth-child(n + 7) {
		display: none;
	}
}

@media (min-width: 1024px) {
	.video-panel__all {
		display: none !important;
	}
}

/* Phones: the source tabs share the full width (bigger tap targets). */
@media (max-width: 767px) {
	.section-head--video .tabs {
		width: 100%;
	}

	.section-head--video .tabs .tab {
		flex: 1 1 0;
		justify-content: center;
		min-height: 2.75rem;
	}
}

/* ---------- Manşet pager with up to 20 numbers ---------- */

@media (min-width: 1024px) {
	.manset__pager button {
		min-width: 1.8rem;
		font-size: 0.8rem;
	}
}

/* Right-to-left names (اردو, العربية, فارسی) stay aligned with the rest of the list. */
.site-tile__name[dir="rtl"],
.lang-option__name[dir="rtl"] {
	text-align: right;
}

/* Homepage / About directory: small groups side by side. */
@media (min-width: 900px) {
	.sites--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.6rem 2rem;
	}

	.sites--grid .sites__group--content,
	.sites--grid .sites__group--languages,
	.sites--grid .sites__group:only-child {
		grid-column: 1 / -1;
	}
}

/* Wide screens: the related sites (three) and the app share a row, tiles as wide as above. */
@media (min-width: 1200px) {
	.sites--grid {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}
}

/* ==========================================================================
   09 · Azərbaycanca edition: no masthead banner, always-visible logo, menu polish,
   "Güncel Haberler", category tabs, "Son Yazılar"
   ========================================================================== */

/* ---------- Header without the banner ---------- */
@media (min-width: 1024px) {
	/* Masthead (image banner + language switcher) is back: --masthead-h keeps the 124px default. */
	.navbar {
		border-top: 3px solid var(--accent);
	}

	.navbar .brand__mark-img {
		height: 2.35rem;
		width: auto;
	}
}

.topbar__spacer {
	flex: 1;
}

/* ---------- Main menu ---------- */
@media (min-width: 1024px) {
	.primary-nav .menu > li > a {
		font-weight: 600;
		letter-spacing: 0.01em;
	}

	.primary-nav .menu > li.mega--groups > .sub-menu--d0 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* The last, non-mega dropdown opens towards the left so it never leaves the screen. */
	.primary-nav .menu > li:last-child:not(.is-mega) > .sub-menu--d0 {
		right: auto;
		left: 0;
	}

	.primary-nav .menu > li > a:not([href]) {
		cursor: default;
	}
}

.fa-random .icon {
	width: 1.15rem;
	height: 1.15rem;
}

/* ---------- Meta line ---------- */
.fa-meta__views {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.fa-meta__views .icon {
	width: 0.9rem;
	height: 0.9rem;
}

.fa-more {
	display: inline-block;
	margin-top: 0.35rem;
	font: 600 0.82rem/1.3 var(--font-sans);
	color: var(--accent);
}

.fa-more:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Slider + "Güncel Haberler" ---------- */
.fa-popular {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	min-width: 0;
}

.fa-popular__list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.fa-popular__item {
	/* Containing block for the stretched .card__link::after; without it the link overlay covers the whole page. */
	position: relative;
	display: grid;
	grid-template-columns: 2rem minmax(0, 1fr);
	gap: 0.75rem;
	padding: 0.8rem 0;
	border-bottom: 1px solid var(--line);
}

.fa-popular__num {
	font: 700 1.5rem/1 var(--font-serif, Georgia, serif);
	color: var(--accent);
	opacity: 0.85;
	font-variant-numeric: tabular-nums;
}

.fa-popular__title {
	margin: 0 0 0.25rem;
	font: 600 0.98rem/1.35 var(--font-serif, Georgia, serif);
}

.fa-popular__title a:hover {
	color: var(--accent);
}

/* ---------- Category tabs ---------- */
.fa-tabs__box {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	overflow: hidden;
}

.fa-tabs__bar {
	display: none;
	gap: 0;
	overflow-x: auto;
	scrollbar-width: none;
	border-bottom: 1px solid var(--line);
	background: var(--surface-2);
}

.fa-tabs__bar::-webkit-scrollbar {
	display: none;
}

.js .fa-tabs__bar {
	display: flex;
}

.fa-tabs__tab {
	flex: 0 0 auto;
	padding: 0.95rem 1.3rem;
	border: 0;
	border-bottom: 3px solid transparent;
	background: none;
	color: var(--ink-2);
	font: 700 0.84rem/1.2 var(--font-sans);
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.fa-tabs__tab:hover {
	color: var(--accent);
}

.fa-tabs__tab[aria-selected="true"] {
	background: var(--surface);
	border-bottom-color: var(--accent);
	color: var(--accent);
}

.fa-tabs__pane {
	padding: 1.25rem;
}

.fa-tabs__pane + .fa-tabs__pane {
	border-top: 1px solid var(--line);
}

.js .fa-tabs__pane:not(.is-active) {
	display: none;
}

.js .fa-tabs__pane + .fa-tabs__pane {
	border-top: 0;
}

.js .fa-tabs__heading {
	display: none;
}

.fa-tabs__heading {
	margin: 0 0 1rem;
	font: 700 1rem/1.2 var(--font-sans);
}

.fa-tabs__heading a:hover {
	color: var(--accent);
}

.fa-tabs__grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 860px) {
	.fa-tabs__grid {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
		gap: 2rem;
	}
}

.fa-tabs__list {
	display: grid;
	align-content: start;
	gap: 0;
}

.fa-tabs__list .card {
	padding-block: 0.7rem;
	border-bottom: 1px solid var(--line);
}

.fa-tabs__list .card:first-child {
	padding-top: 0;
}

.fa-tabs__list .card:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.fa-empty {
	margin: 0;
	padding: 1.5rem 0;
	color: var(--ink-3);
}

/* ---------- Son Yazılar ---------- */
.fa-latest__list {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--line);
}

.fa-post {
	display: grid;
	gap: 0.9rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--line);
}

@media (min-width: 640px) {
	.fa-post {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 1.5rem;
	}
}

.fa-post__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--surface-2);
}

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

.fa-post__body {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
}

.fa-post__title {
	margin: 0;
	font: 700 1.3rem/1.3 var(--font-serif, Georgia, serif);
}

.fa-post__title a:hover {
	color: var(--accent);
}

.fa-post__excerpt {
	margin: 0;
	color: var(--ink-2);
}

/* ---------- Regional columns ---------- */
.fa-regions__grid {
	display: grid;
	gap: 1.75rem;
}

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

@media (min-width: 1100px) {
	.fa-regions__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 2rem;
	}
}

.fa-region {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	min-width: 0;
}

.fa-region__title {
	margin: 0;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--accent);
	font: 700 0.95rem/1.2 var(--font-sans);
	letter-spacing: 0.03em;
}

.fa-region__title a:hover {
	color: var(--accent);
}

.fa-region__list {
	display: grid;
	gap: 0;
}

.fa-region__list .card {
	padding-block: 0.65rem;
	border-top: 1px solid var(--line);
}
:root {
	--font-sans: "Vazirmatn", "Vazir", "IRANSans", Tahoma, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
	--font-serif: "Vazirmatn", "Vazir", "IRANSans", Tahoma, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}
body {
	font-family: var(--font-sans);
	line-height: 1.85;
	letter-spacing: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-sans);
	letter-spacing: 0;
	line-height: 1.55;
}
/* Scroll-snap tracks driven by scrollLeft in main.js stay left-to-right; their content is RTL. */
[data-track],
[data-rail-track],
.manset__pager {
	direction: ltr;
}
[data-track] > *,
[data-rail-track] > *,
.manset__pager > * {
	direction: rtl;
}
.entry-content, .article__body {
	text-align: start;
}

/* The banner artwork is meant for a light background: keep it (on white) in dark mode too. */
:root[data-theme="dark"] .brand--masthead .brand__banner {
	display: block;
	background: #fff;
	border-radius: var(--radius-s);
}

:root[data-theme="dark"] .brand--masthead .brand__mark-img {
	display: none;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .brand--masthead .brand__banner {
		display: block;
		background: #fff;
		border-radius: var(--radius-s);
	}

	:root:not([data-theme="light"]) .brand--masthead .brand__mark-img {
		display: none;
	}
}
