/* ==========================================================================
   İslami Davet — ortak tasarım sistemi (Kur'an teması ile aynı) + Tasarım bileşenleri (11. bölüm)
   Mobil öncelikli · açık/karanlık · erişilebilir · animasyonsuz (yalnızca kısa geçişler)
   ========================================================================== */

/* ---------- 1. Tasarım belirteçleri ---------- */
:root {
	--bg: #f8f8fb;
	--bg-tint: #eff0f6;
	--surface: #ffffff;
	--surface-2: #f4f5fa;
	--ink: #161a2b;
	--ink-2: #383d52;
	--muted: #60657a;
	--line: #e2e4ee;
	--line-strong: #cdd0de;
	--primary: #3341a0;
	--primary-ink: #ffffff;
	--primary-soft: #e8eaf8;
	--primary-strong: #262f7c;
	--accent: #a87f32;
	--accent-soft: #f5ecd9;
	--focus: #c28a1d;
	--danger: #a23b2a;
	--page-paper: #fffdf6;
	--shadow-sm: 0 1px 2px rgb(22 26 43 / 6%);
	--shadow: 0 1px 2px rgb(22 26 43 / 5%), 0 8px 24px -12px rgb(22 26 43 / 14%);
	--shadow-lg: 0 24px 60px -24px rgb(22 26 43 / 28%);

	--font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
	--font-arabic: "Amiri Quran", "KFGQPC Uthmanic Script HAFS", "Scheherazade New", "Traditional Arabic", serif;

	--step--1: clamp(0.83rem, 0.8rem + 0.1vw, 0.88rem);
	--step-0: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
	--step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.3rem);
	--step-2: clamp(1.35rem, 1.2rem + 0.7vw, 1.7rem);
	--step-3: clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem);
	--step-4: clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
	--section: clamp(3rem, 2rem + 4vw, 6rem);
	--container: 1200px;
	--narrow: 760px;
	--header-h: 64px;
	--tabbar-h: 64px;
	--ease: cubic-bezier(.2, .7, .2, 1);

	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0e1018;
		--bg-tint: #131624;
		--surface: #161a28;
		--surface-2: #1c2132;
		--ink: #eceef6;
		--ink-2: #c9cddc;
		--muted: #979cb2;
		--line: #272c3e;
		--line-strong: #363c52;
		--primary: #95a2ff;
		--primary-ink: #0b1035;
		--primary-soft: #1f2547;
		--primary-strong: #bcc4ff;
		--accent: #d9b56b;
		--accent-soft: #2a2416;
		--focus: #e7c071;
		--page-paper: #f3eedf;
		--shadow-sm: none;
		--shadow: 0 1px 0 rgb(255 255 255 / 3%) inset, 0 10px 30px -18px rgb(0 0 0 / 70%);
		--shadow-lg: 0 30px 60px -20px rgb(0 0 0 / 70%);
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--bg: #0e1018;
	--bg-tint: #131624;
	--surface: #161a28;
	--surface-2: #1c2132;
	--ink: #eceef6;
	--ink-2: #c9cddc;
	--muted: #979cb2;
	--line: #272c3e;
	--line-strong: #363c52;
	--primary: #95a2ff;
	--primary-ink: #0b1035;
	--primary-soft: #1f2547;
	--primary-strong: #bcc4ff;
	--accent: #d9b56b;
	--accent-soft: #2a2416;
	--focus: #e7c071;
	--page-paper: #f3eedf;
	--shadow-sm: none;
	--shadow: 0 1px 0 rgb(255 255 255 / 3%) inset, 0 10px 30px -18px rgb(0 0 0 / 70%);
	--shadow-lg: 0 30px 60px -20px rgb(0 0 0 / 70%);
	color-scheme: dark;
}

/* ---------- 2. Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: var(--step-0);
	line-height: 1.65;
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
@media (min-width: 960px) { body { padding-bottom: 0; } }
img, video, iframe, svg { max-width: 100%; }
img, video { height: auto; display: block; }
:where(figure) { margin: 0 0 1.5em; }
.wp-video { max-width: 100%; }
.wp-video video, video.wp-video-shortcode { width: 100%; height: auto; background: #000; border-radius: var(--radius); }
audio.wp-audio-shortcode { width: 100%; }
/* Gömülü YouTube/Vimeo videoları çekirdek blok stilleri yüklenmese de 16:9 kalır. */
.prose iframe[src*="youtube"], .prose iframe[src*="vimeo"], .wp-block-embed iframe[src*="youtube"], .wp-block-embed iframe[src*="vimeo"] { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--primary-strong); }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 .5em; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--ink); }
[hidden] { display: none !important; }
.arabic { font-family: var(--font-arabic); font-feature-settings: normal; letter-spacing: 0; line-height: 2; }
.muted { color: var(--muted); }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: var(--bg); padding: .75rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.icon { flex: none; display: inline-block; vertical-align: middle; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0s !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- 3. Düzen ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }
.section { padding-block: var(--section); }
.section--flush { padding-block: 0 var(--section); }
.section--tint { background: var(--bg-tint); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem); }
.section-title { font-size: var(--step-3); margin: 0; }
.subsection-title { font-size: var(--step-2); margin: 2.5rem 0 1rem; }
.eyebrow { font-family: var(--font-sans); font-size: var(--step--1); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 .5rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.link-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: var(--step--1); text-decoration: none; white-space: nowrap; }
.lead-text { font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; }

/* ---------- 4. Bileşenler: düğmeler, çipler, alanlar ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 44px; padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid transparent;
	font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
	transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.btn--primary { background: var(--primary); color: var(--primary-ink); }
.btn--primary:hover { background: var(--primary-strong); color: var(--primary-ink); }
.btn--ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--sm { min-height: 38px; padding: .45rem .9rem; font-size: .875rem; }
.btn--lg { min-height: 52px; padding: .8rem 1.4rem; font-size: 1rem; }
.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
	border: 1px solid transparent; background: transparent; color: var(--ink-2);
	transition: background-color .15s var(--ease), color .15s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn[aria-pressed="true"], .icon-btn.is-active { color: var(--primary); background: var(--primary-soft); }

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chip {
	display: inline-flex; align-items: center; gap: .4rem; min-height: 38px; padding: .4rem .9rem;
	border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
	font-size: .9rem; font-weight: 500; text-decoration: none; white-space: nowrap;
	transition: border-color .15s var(--ease), color .15s var(--ease), background-color .15s var(--ease);
}
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active, .chip[aria-current] { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.chip__count { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip.is-active .chip__count { color: inherit; opacity: .8; }
.chip-scroll { margin: 0 calc(var(--gutter) * -1) 1.5rem; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.chip-scroll::-webkit-scrollbar { display: none; }
.chip-scroll .chip-row { flex-wrap: nowrap; }
@media (min-width: 960px) { .chip-scroll .chip-row { flex-wrap: wrap; } }

.segmented { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.segmented button {
	display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: .3rem .8rem; border: 0;
	border-radius: 999px; background: transparent; color: var(--muted); font-size: .85rem; font-weight: 600; white-space: nowrap;
}
.segmented button:hover { color: var(--ink); }
.segmented button.is-active, .segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.segmented--sm button { min-height: 32px; padding: .2rem .6rem; }

.select { display: inline-flex; flex-direction: column; gap: .2rem; min-width: 0; }
.select__label { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-left: .2rem; }
.select select, .select input {
	min-height: 44px; padding: .5rem 2.2rem .5rem .85rem; border-radius: var(--radius-sm);
	border: 1px solid var(--line-strong); background-color: var(--surface); color: var(--ink); width: 100%;
	appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235f6b65' stroke-width='1.8' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right .7rem center;
}
.select input { padding-right: .85rem; background-image: none; font-variant-numeric: tabular-nums; }
.select--sm select, .select--sm input { width: 5.5rem; }
.select--lg select { min-height: 54px; font-size: 1.05rem; }

.field { display: flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); padding: .5rem 0; }
.field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

.search-form { display: flex; align-items: center; gap: .5rem; padding: .35rem .35rem .35rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); max-width: 560px; color: var(--muted); }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); min-height: 40px; }
.search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }

/* ---------- 5. Üst bilgi ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid transparent; transition: border-color .2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
.site-header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { flex: none; }
.brand__link { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand__mark { color: var(--primary); display: inline-grid; }
.brand__mark svg { width: 34px; height: 34px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-serif); font-weight: 650; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand__tag { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.custom-logo { max-height: 44px; width: auto; }

.primary-nav { display: none; margin-inline: auto; }
@media (min-width: 960px) { .primary-nav { display: block; } .menu-btn { display: none; } }
.nav-menu { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; display: flex; align-items: center; }
.nav-menu > li > a { display: block; padding: .55rem .8rem; border-radius: 999px; color: var(--ink-2); font-weight: 550; font-size: .95rem; text-decoration: none; }
.nav-menu > li > a:hover, .nav-menu > .current-menu-item > a, .nav-menu > .current-menu-ancestor > a { color: var(--ink); background: var(--surface-2); }
.submenu-toggle { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -.4rem; border: 0; background: none; color: var(--muted); border-radius: 999px; }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-menu .sub-menu {
	position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; list-style: none; margin: 0; padding: .5rem;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
	display: none; z-index: 60;
}
.nav-menu li.is-open > .sub-menu { display: block; }
@media (hover: hover) and (min-width: 960px) {
	.nav-menu > li:hover > .sub-menu { display: block; }
	.nav-menu > li:hover > .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
}
.nav-menu .sub-menu a { display: flex; gap: .75rem; align-items: flex-start; padding: .65rem .75rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav-menu .sub-menu a:hover { background: var(--surface-2); }
.nav-menu .sub-menu strong { display: block; font-weight: 600; }
.nav-menu .sub-menu small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.sub-menu__icon { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--primary-soft); color: var(--primary); }
.nav-menu .sub-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; }

.header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
@media (min-width: 960px) { .header-actions { margin-left: 0; } }
.header-cta { display: none; margin-left: .35rem; }
@media (min-width: 720px) { .header-cta { display: inline-flex; } }
.theme-icon--sun { display: none; }
[data-theme-toggle][aria-pressed="true"] .theme-icon--sun { display: inline; }
[data-theme-toggle][aria-pressed="true"] .theme-icon--moon { display: none; }

/* Arama penceresi */
.search-dialog { width: min(680px, calc(100% - 2rem)); max-height: min(80vh, 640px); margin: 10vh auto auto; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.search-dialog::backdrop { background: rgb(10 12 24 / 55%); backdrop-filter: blur(3px); }
.search-dialog__inner { padding: .75rem; }
.search-dialog__form { display: flex; align-items: center; gap: .6rem; padding: .35rem .5rem .35rem 1rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.search-dialog__form input { flex: 1; min-width: 0; min-height: 52px; border: 0; outline: 0; background: transparent; font-size: 1.15rem; color: var(--ink); }
.search-dialog__suggest { padding: 1rem; }
.quick-results__list { list-style: none; margin: .5rem 0 0; padding: 0; }
.quick-results__list a { display: grid; grid-template-columns: 2.25rem 1fr auto; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.quick-results__list a:hover, .quick-results__list a:focus-visible { background: var(--surface-2); }
.quick-results__no { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .85rem; }
.quick-results__ar { font-size: 1.4rem; color: var(--ink-2); line-height: 1.4; }

/* Çekmece */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__backdrop { position: absolute; inset: 0; background: rgb(10 12 24 / 50%); }
.drawer__panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 92vw); background: var(--bg); overflow-y: auto; padding: 1rem var(--gutter) 2rem; box-shadow: var(--shadow-lg); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drawer__nav { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.drawer__nav .nav-menu { flex-direction: column; align-items: stretch; }
.drawer__nav .nav-menu > li { flex-wrap: wrap; }
.drawer__nav .nav-menu > li > a { flex: 1; }
.drawer__nav .sub-menu { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 .5rem; min-width: 0; background: transparent; }
html.has-drawer { overflow: hidden; }

/* Mobil sekme çubuğu */
.tabbar {
	position: fixed; inset: auto 0 0; z-index: 40; background: color-mix(in srgb, var(--surface) 92%, transparent);
	backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
	padding-bottom: env(safe-area-inset-bottom);
}
.tabbar ul { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; margin: 0; padding: 0; }
.tabbar a, .tabbar button {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%;
	height: var(--tabbar-h); border: 0; background: none; color: var(--muted); font-size: .7rem; font-weight: 600; text-decoration: none;
}
.tabbar a[aria-current] { color: var(--primary); }
@media (min-width: 960px) { .tabbar { display: none; } }
.reader-focus .tabbar, .reader-focus .site-header { display: none; }

/* ---------- 6. İçerik haritası ve sayfa başlığı ---------- */
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .separator { margin-inline: .35rem; color: var(--line-strong); }
.page-hero { padding: clamp(1.5rem, 1rem + 2vw, 3rem) 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.page-hero__title { font-size: var(--step-4); margin: 0; max-width: 22ch; }
.page-hero__lead { margin-top: .9rem; font-size: var(--step-1); color: var(--ink-2); max-width: 62ch; }
.page-hero__lead p:last-child { margin-bottom: 0; }
.page-hero__meta { margin: .75rem 0 0; color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.page-hero__search { margin-top: 1.5rem; }
.page-hero--compact { padding-bottom: 1rem; }
.page-hero--compact .page-hero__title { font-size: var(--step-3); }
@media (max-width: 559px) { .page-hero--compact .page-hero__lead { display: none; } .page-hero--compact { padding-top: 1rem; } .page-hero--compact .breadcrumbs { margin-bottom: .5rem; } }

/* ---------- 7. Ana sayfa ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(2rem, 1rem + 5vw, 5.5rem) 0 clamp(2.5rem, 1.5rem + 4vw, 5rem); border-bottom: 1px solid var(--line); }
.hero__pattern {
	position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23a87f32' stroke-opacity='.16' stroke-width='1'%3E%3Crect x='24' y='24' width='40' height='40'/%3E%3Crect x='24' y='24' width='40' height='40' transform='rotate(45 44 44)'/%3E%3Ccircle cx='44' cy='44' r='9'/%3E%3C/g%3E%3C/svg%3E");
	mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero__grid { position: relative; display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.25fr 1fr; } }
.hero__title { font-size: var(--step-4); font-weight: 600; max-width: 16ch; margin-bottom: 1rem; }
.hero__lead { font-size: var(--step-1); color: var(--ink-2); max-width: 52ch; margin-bottom: 1.75rem; }
.hero__finder { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; padding: .9rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 600px; }
.hero__finder .select { flex: 1 1 240px; }
.hero__finder .btn { flex: 1 1 auto; }
@media (min-width: 560px) { .hero__finder .btn { flex: 0 0 auto; } }
.hero__continue { margin-top: 1rem; max-width: 600px; }
.hero__continue a { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border-radius: var(--radius); background: var(--primary-soft); color: var(--ink); text-decoration: none; }
.hero__continue a > .icon:last-child { margin-left: auto; color: var(--primary); }
.hero__continue small { display: block; color: var(--muted); }
.hero__continue-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--primary); color: var(--primary-ink); flex: none; }
.hero__card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.hero__ayah { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem); color: var(--ink); margin: 0 0 1rem; line-height: 2.1; }
.hero__ayah-tr { font-family: var(--font-serif); font-style: italic; font-size: var(--step-1); color: var(--ink-2); margin-bottom: 1.75rem; }
.hero__quick { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.hero__quick .chip-row { justify-content: center; }

/* Bölüm kutucukları */
.area-grid { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.area-grid--compact { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.area-tile__link {
	position: relative; display: flex; gap: 1rem; align-items: flex-start; height: 100%; padding: 1.25rem;
	border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
	transition: border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease);
}
.area-tile__link:hover { border-color: var(--primary); box-shadow: var(--shadow); color: var(--ink); }
.area-tile__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
.area-tile--oku .area-tile__icon, .area-tile--dinle .area-tile__icon, .area-tile--izle .area-tile__icon { background: var(--primary); color: var(--primary-ink); }
.area-tile--cocuklar .area-tile__icon, .area-tile--tecvid .area-tile__icon { background: var(--accent-soft); color: var(--accent); }
.area-tile__text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.area-tile__title { font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; line-height: 1.25; }
.area-tile__desc { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.area-tile__count { display: inline-block; margin-top: .45rem; padding: .1rem .55rem; border-radius: 999px; background: var(--surface-2); font-size: .72rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; align-self: flex-start; }
.area-grid--compact .area-tile__link { padding: .75rem; gap: .6rem; align-items: center; }
.area-grid--compact .area-tile__icon { width: 36px; height: 36px; border-radius: 10px; }
.area-grid--compact .area-tile__icon svg { width: 20px; height: 20px; }
.area-grid--compact .area-tile__title { font-family: var(--font-sans); font-size: .88rem; font-weight: 600; }
/* Mobilde ana bölümler iki sütunlu, kısa bir uygulama ızgarası olur. */
@media (max-width: 599px) {
	.area-grid--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
	.area-grid--tiles .area-tile__link { flex-direction: column; gap: .65rem; padding: .95rem; }
	.area-grid--tiles .area-tile__icon { width: 42px; height: 42px; border-radius: 12px; }
	.area-grid--tiles .area-tile__title { font-size: 1.02rem; }
	.area-grid--tiles .area-tile__desc { display: none; }
	.area-grid--tiles .area-tile__count { margin-top: .2rem; }
}

/* Sure kartları ve fihrist */
.surah-index__tools { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.surah-index__tools .field { flex: 1 1 280px; max-width: 460px; }
.surah-grid { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.surah-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.surah-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.surah-card__main { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: 1rem 1rem .85rem; color: var(--ink); text-decoration: none; }
.surah-card__no {
	display: grid; place-items: center; width: 44px; height: 44px; font-weight: 700; font-size: .9rem; color: var(--primary); font-variant-numeric: tabular-nums;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%230e5a45' stroke-opacity='.35' stroke-width='3'%3E%3Crect x='18' y='18' width='64' height='64' rx='4'/%3E%3Crect x='18' y='18' width='64' height='64' rx='4' transform='rotate(45 50 50)'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
.surah-card__names { display: flex; flex-direction: column; min-width: 0; }
.surah-card__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; }
.surah-card__meta { font-size: .8rem; color: var(--muted); }
.surah-card__ar { font-size: 1.6rem; line-height: 1.5; color: var(--ink-2); }
.surah-card__actions { display: flex; flex-wrap: wrap; gap: .25rem; padding: .5rem .75rem .75rem; border-top: 1px dashed var(--line); margin-top: auto; }
.surah-card__actions a { padding: .25rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 600; text-decoration: none; color: var(--ink-2); background: var(--surface-2); }
.surah-card__actions a:first-child { background: var(--primary-soft); color: var(--primary); }
.surah-card__actions a:hover { color: var(--primary); }
.surah-index__empty { padding: 2rem; text-align: center; color: var(--muted); }

/* Cüz ızgarası */
.juz-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; list-style: none; margin: 0; padding: 0; }
.juz-cell { display: flex; flex-direction: column; align-items: center; gap: .05rem; padding: .85rem .5rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.juz-cell:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--ink); }
.juz-cell__n { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.juz-cell__label { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.juz-cell__page { font-size: .72rem; color: var(--muted); }

.set-grid { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.set-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .85rem; align-items: center; height: 100%; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.set-card:hover { border-color: var(--primary); color: var(--ink); }
.set-card__icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.set-card__title { font-weight: 600; line-height: 1.3; }
.set-card__meta { font-size: .82rem; color: var(--muted); }

/* Hafızlar */
.reciter-grid { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.reciter-card { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; padding: .85rem 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.reciter-card:hover { border-color: var(--primary); color: var(--ink); }
.reciter-card__avatar { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-family: var(--font-serif); font-weight: 650; font-size: 1.1rem; }
.reciter-card__name { font-weight: 600; line-height: 1.3; }
.reciter-card__meta { font-size: .8rem; color: var(--muted); }
.listen-grid { display: grid; gap: .75rem; list-style: none; margin: 0 0 2rem; padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.listen-card { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.listen-card:hover { border-color: var(--primary); color: var(--ink); }
.listen-card .reciter-card__avatar { grid-row: auto; flex: none; }
.listen-card__text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.listen-card__name { font-weight: 600; line-height: 1.3; }
.listen-card__meta { font-size: .8rem; color: var(--muted); }
.listen-card__play { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--primary); color: var(--primary-ink); flex: none; }

/* Kartlar */
.card-grid { display: grid; gap: clamp(1rem, .75rem + 1vw, 1.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
/* Ana sayfa, mobil: listeler kısa tutulur; tamamı "Tümünü gör" bağlantısında. */
@media (max-width: 559px) {
	.home-surahs .surah-grid > li:nth-child(n+7) { display: none; }
	.home-reciters .reciter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home-videos .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
	.home-videos .card-grid > :nth-child(n+5) { display: none; }
	.home-videos .card__kicker { display: none; }
}
.gallery-grid, .card-grid--gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.gallery-grid .card__media, .card-grid--gallery .card__media { aspect-ratio: 1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--primary); background: radial-gradient(circle at 30% 20%, var(--primary-soft), var(--surface-2) 70%); }
.card__placeholder .arabic { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); line-height: 1.4; color: var(--primary); }
.card__placeholder svg { width: 44px; height: 44px; opacity: .55; }
.card__badge { position: absolute; left: .75rem; bottom: .75rem; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: rgb(10 20 16 / 72%); color: #fff; }
.card__body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.15rem; }
.card__kicker { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.card__title { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; line-height: 1.4; margin: 0; letter-spacing: 0; }
.card__link { color: var(--ink); text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__link:hover { color: var(--primary); }
.card__excerpt { margin: 0; color: var(--muted); font-size: .9rem; }

/* Satır listeleri */
.row-list { list-style: none; margin: 0; padding: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.row-item + .row-item { border-top: 1px solid var(--line); }
.row-item__link { display: flex; align-items: center; gap: .85rem; min-height: 56px; padding: .7rem 1rem; color: var(--ink); text-decoration: none; }
.row-item__link:hover { background: var(--surface-2); color: var(--primary); }
.row-item__link > .icon { margin-left: auto; color: var(--muted); }
.row-item__num { display: grid; place-items: center; min-width: 2.25rem; height: 2.25rem; padding: 0 .4rem; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums; }
.row-item__title { font-weight: 500; line-height: 1.4; }
.row-item__meta { margin-left: auto; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.row-item__meta + .icon { margin-left: 0; }
@media (min-width: 720px) {
	.row-list--cols { columns: 2; column-gap: 0; }
	.row-list--cols .row-item { break-inside: avoid; border-top: 0; border-bottom: 1px solid var(--line); }
}
.index-block { margin-bottom: 2.5rem; }
.index-list { display: grid; gap: .35rem; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.index-list a { display: flex; gap: .6rem; align-items: center; padding: .5rem .65rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: .92rem; line-height: 1.35; }
.index-list a:hover { background: var(--surface); color: var(--primary); box-shadow: inset 0 0 0 1px var(--line); }
.index-list__n { min-width: 2rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }

.az-bar ul { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.az-bar a { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; text-decoration: none; }
.az-bar a:hover { border-color: var(--primary); color: var(--primary); }
.az-bar a.is-active { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.az-bar a.is-empty { opacity: .45; }

/* Dersler */
.course { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; counter-reset: c; }
.course__step a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.course__step a:hover { border-color: var(--primary); color: var(--ink); }
.course__step a > .icon { margin-left: auto; color: var(--muted); }
.course__n { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 999px; background: var(--primary); color: var(--primary-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.course__t { font-weight: 600; }

/* Paneller, öne çıkanlar */
.split { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.panel { padding: 1.25rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.panel__head { display: flex; align-items: center; gap: .85rem; margin-bottom: 1rem; }
.panel__title { font-size: var(--step-2); margin: 0; }
.panel__title a { color: var(--ink); text-decoration: none; }
.panel .row-list { border: 0; border-radius: 0; background: transparent; }
.learn-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.feature-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; min-height: 220px; }
.feature-card:hover { border-color: var(--primary); color: var(--ink); }
.feature-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--primary-soft); color: var(--primary); margin-bottom: .5rem; }
.feature-card--cocuklar { background: linear-gradient(160deg, var(--accent-soft), var(--surface) 70%); }
.feature-card--cocuklar .feature-card__icon { background: var(--accent); color: #fff; }
.feature-card__title { font-family: var(--font-serif); font-size: var(--step-2); font-weight: 600; line-height: 1.2; }
.feature-card__desc { color: var(--muted); }
.feature-card__cta { margin-top: auto; display: inline-flex; gap: .35rem; align-items: center; font-weight: 600; color: var(--primary); }

.callout { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; margin-top: 2.5rem; padding: 1.25rem 1.5rem; border-radius: var(--radius-lg); background: var(--primary-soft); }
.callout > div { flex: 1 1 300px; }
.callout__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary); color: var(--primary-ink); }
.callout__title { font-size: var(--step-1); margin: 0 0 .25rem; }
.callout p { margin: 0; color: var(--ink-2); }

.empty-state { padding: clamp(2rem, 1.5rem + 3vw, 4rem) 1.5rem; margin-bottom: 2rem; text-align: center; border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); background: var(--surface); }
.empty-state__mark { color: var(--accent); display: inline-grid; margin-bottom: 1rem; }
.empty-state__title { font-size: var(--step-2); }
.empty-state p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.empty-state .chip-row { justify-content: center; margin-top: 1.25rem; }

.disclosure { margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.disclosure > summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.disclosure > summary::-webkit-details-marker { display: none; }
.disclosure > summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.disclosure[open] > summary::after { content: "−"; }
.disclosure > :not(summary) { padding: 0 1.25rem 1.25rem; }
.disclosure .row-list { padding: 0; }

.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.pagination .page-numbers.current { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.pagination a.page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.pagination .dots { border: 0; background: none; }

.social { display: flex; gap: .4rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.social a:hover { color: var(--primary); border-color: var(--primary); }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 90px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 70; padding: .6rem 1rem; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-lg); }
@media (min-width: 960px) { .toast { bottom: 110px; } }

/* ---------- 9. Tekil içerik ---------- */
.entry-header { padding: clamp(1.25rem, 1rem + 2vw, 2.5rem) 0 1.25rem; }
.entry-title { font-size: var(--step-4); max-width: 24ch; margin-bottom: 1rem; }
.entry--video .entry-title, .entry--mushaf .entry-title { font-size: var(--step-3); }
.entry-header__bar { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line); }
.entry-header__tools { display: flex; gap: .5rem; align-items: center; }
.post-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: .88rem; }
.post-meta li { display: inline-flex; align-items: center; gap: .35rem; }
.entry-thumb { margin: 0 0 2rem; }
.entry-thumb img { border-radius: var(--radius-lg); width: 100%; }

.media-layout { display: grid; gap: 2rem; padding-bottom: var(--section); }
@media (min-width: 1024px) { .media-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } .media-layout__side { position: sticky; top: calc(var(--header-h) + 1rem); } }
.media-stage video, .media-stage iframe, .media-stage .wp-video, .media-stage .wp-block-embed__wrapper { width: 100% !important; max-width: 100%; border-radius: var(--radius); background: #000; }
.media-stage iframe[src*="youtube"], .media-stage iframe[src*="vimeo"] { aspect-ratio: 16 / 9; height: auto; }
.media-stage .wp-video { margin-bottom: 1.5rem; }
.media-stage figure { margin: 0 0 1.5rem; }
.media-stage p:empty { display: none; }

.longform { display: grid; gap: 2rem; padding-bottom: var(--section); }
@media (min-width: 1100px) { .longform { grid-template-columns: 260px minmax(0, 1fr); } .longform__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto; } }
.longform__main { max-width: var(--narrow); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: .3rem 0 .3rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: .88rem; line-height: 1.4; text-decoration: none; }
.toc li a:hover { color: var(--primary); border-left-color: var(--primary); }
.toc .toc__h3 a { padding-left: 1.6rem; font-size: .84rem; }
@media (max-width: 1099px) { .toc { padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); } }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.prose { --prose-scale: 1; font-size: calc(var(--step-0) * var(--prose-scale, 1)); color: var(--ink-2); overflow-wrap: anywhere; }
.prose--reading { font-family: var(--font-serif); font-size: calc(1.15rem * var(--prose-scale, 1)); line-height: 1.85; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8em; }
.prose h4 { font-size: 1.05rem; margin-top: 1.5em; font-family: var(--font-sans); }
.prose img { border-radius: var(--radius-sm); }
.prose figure { margin-inline: 0; }
.prose blockquote { margin-inline: 0; padding: 1rem 1.25rem; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-serif); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92em; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .5rem .75rem; border: 1px solid var(--line); text-align: left; }
.prose [lang="ar"], .prose [dir="rtl"], .prose .arabic { font-family: var(--font-arabic); font-size: 1.45em; line-height: 2.1; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose .aligncenter { margin-inline: auto; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; }
.prose .wp-caption-text, .prose figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .5rem; }
.prose--wide img { margin-inline: auto; }

.surah-hero { display: grid; gap: 1rem; padding: 1.5rem; margin-bottom: 2rem; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--surface), var(--surface-2)); border: 1px solid var(--line); text-align: center; }
.surah-hero__ar { font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem); line-height: 1.6; color: var(--primary); }
.surah-hero__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; margin: 0; }
.surah-hero__facts div { display: flex; flex-direction: column; }
.surah-hero__facts dt { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.surah-hero__facts dd { margin: 0; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.surah-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.media-layout__side .surah-hero { padding: 1.25rem; }
.media-layout__side .surah-hero__ar { font-size: 2.2rem; }

.pager { display: grid; gap: .75rem; margin-top: 3rem; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager__link { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager__link:hover { border-color: var(--primary); color: var(--primary); }
.pager__link--next { text-align: right; grid-column: 2; }
@media (max-width: 639px) { .pager__link--next { grid-column: auto; } }
.pager__link .eyebrow { margin: 0; }

.tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; }
.tag-row a { padding: .3rem .75rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: .82rem; text-decoration: none; }
.tag-row a:hover { color: var(--primary); border-color: var(--primary); }
.related { margin-top: 2.5rem; padding-bottom: var(--section); }
.media-layout__side .related { margin-top: 1.5rem; padding-bottom: 0; }
.media-layout__side .subsection-title { font-size: var(--step-1); margin-top: 0; }
.page-own-content { padding-top: 0; }

/* Yorumlar */
.comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; padding: .65rem .85rem; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); }
.comment-form .submit { min-height: 44px; padding: .6rem 1.2rem; border-radius: 999px; border: 0; background: var(--primary); color: var(--primary-ink); font-weight: 600; }

/* Çocuk köşesi */
.kids__block { padding: 1.5rem 0 1rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
@media (max-width: 599px) {
	.kids .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
	.kids .card__body { padding: .7rem .8rem .85rem; }
	.kids .card__title { font-size: .9rem; }
}

/* ---------- 10. Alt bilgi ---------- */
.site-footer { margin-top: var(--section); padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0 2rem; background: var(--bg-tint); border-top: 1px solid var(--line); font-size: .95rem; }
.section--tint + .site-footer, .site-main > :last-child.section--tint { margin-top: 0; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.site-footer__about { grid-column: 1 / -1; }
@media (min-width: 860px) { .site-footer__about { grid-column: auto; } }
.site-footer__about p { color: var(--muted); margin-top: 1rem; max-width: 40ch; }
.site-footer__title { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer__col a { color: var(--ink-2); text-decoration: none; }
.site-footer__col a:hover { color: var(--primary); }
.site-footer__widgets { margin-top: 2rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__ayah { margin: 0; text-align: right; }
.site-footer__ayah p { margin: 0 0 .35rem; font-size: 1.5rem; color: var(--accent); line-height: 2; text-align: inherit; }
.site-footer__ayah figcaption { font-family: var(--font-serif); font-style: italic; font-size: .9rem; color: var(--muted); }
@media (max-width: 599px) { .site-footer__ayah { width: 100%; text-align: center; } }

/* WordPress çekirdek sınıfları */
.alignwide { max-width: 1100px; }
.alignfull { max-width: none; }
.sticky, .bypostauthor, .gallery-caption { }
.wp-block-image img { border-radius: var(--radius-sm); }
.widget { margin-bottom: 1.5rem; }
.widget-title { font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Yazdırma */
@media print {
	.site-header, .site-footer, .tabbar, .player, .reader__bar, .reader__turn, .entry-header__tools, .related, .toc, .read-progress { display: none !important; }
	body { background: #fff; color: #000; padding: 0; }
}

/* ==========================================================================
   11. Tasarım bileşenleri
   ========================================================================== */

/* ---------- 11.1 Karşılama: mevcut site görseli + arama ---------- */
.ds-hero { position: relative; overflow: hidden; padding: clamp(1rem, .6rem + 1.5vw, 2rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4.5rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-tint) 0, var(--bg) 70%); }
.ds-hero__pattern {
	position: absolute; inset: 0; pointer-events: none; opacity: .55;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23a87f32' stroke-opacity='.16' stroke-width='1'%3E%3Crect x='24' y='24' width='40' height='40'/%3E%3Crect x='24' y='24' width='40' height='40' transform='rotate(45 44 44)'/%3E%3Ccircle cx='44' cy='44' r='9'/%3E%3C/g%3E%3C/svg%3E");
	mask-image: radial-gradient(ellipse 90% 60% at 50% 100%, #000 15%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 100%, #000 15%, transparent 70%);
}
.ds-hero__stage { position: relative; }
/* Banner olduğu gibi gösterilir: kırpılmaz, esnetilmez, üzerine metin binmez. */
/* Zemin her zaman açık renk (saydam ya da koyu yazılı görseller karanlık modda da okunsun).
   Kendi genişliğinden (--banner-w) büyük gösterilmez, ortalanır. */
.ds-banner { position: relative; margin: 0 auto; max-width: calc(var(--banner-w, 9999px) + 12px); padding: 6px; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); outline: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 5px; }
.ds-banner__img, .ds-banner img { display: block; border-radius: calc(var(--radius) - 6px); width: 100%; height: auto; max-width: none; object-fit: contain; }
.ds-banner__link { display: block; }
.ds-banner__link:focus-visible { outline-offset: -4px; }
@media (max-width: 599px) {
	.ds-hero__stage { padding-inline: 0; }
	.ds-banner { padding: 0; border-radius: 0; outline: 0; box-shadow: none; border-block: 1px solid var(--line); }
	.ds-banner img { border-radius: 0; }
}
.ds-banner--missing { display: grid; background: var(--surface-2); gap: .35rem; place-items: center; min-height: 160px; padding: 1.5rem; text-align: center; color: var(--muted); border: 2px dashed var(--line-strong); box-shadow: none; outline: 0; }
.ds-hero--no-banner .ds-hero__panel { margin-top: 0; }
/* Banner kapalıyken: en yeni üç tasarım yelpaze gibi (görseller kırpılmaz). */
.ds-hero__showcase { position: relative; list-style: none; margin: 0; padding: 0; aspect-ratio: 700 / 420; max-width: 520px; width: 100%; justify-self: center; }
.ds-hero__showcase li { position: absolute; left: 50%; top: 50%; width: 78%; aspect-ratio: 700 / 342; transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.ds-hero__showcase a, .ds-hero__showcase img { display: block; width: 100%; height: 100%; }
.ds-hero__showcase img { object-fit: contain; border-radius: var(--radius); background: var(--surface-2); box-shadow: var(--shadow-lg); outline: 4px solid var(--surface); }
.ds-hero__showcase li:nth-child(1) { z-index: 3; }
.ds-hero__showcase li:nth-child(2) { z-index: 2; transform: translate(-62%, -78%) rotate(-6deg); }
.ds-hero__showcase li:nth-child(3) { z-index: 1; transform: translate(-38%, -22%) rotate(5deg); }
.ds-hero__showcase:hover li:nth-child(2) { transform: translate(-66%, -84%) rotate(-8deg); }
.ds-hero__showcase:hover li:nth-child(3) { transform: translate(-34%, -16%) rotate(7deg); }
@media (prefers-reduced-motion: reduce) { .ds-hero__showcase li { transition: none; } }
@media (min-width: 960px) {
	.ds-hero--no-banner .ds-hero__panel { grid-template-columns: 1.1fr 1fr; grid-template-areas: "search show" "intro show" "ayah ayah"; }
	.ds-hero--no-banner .ds-hero__search { grid-area: search; align-self: end; }
	.ds-hero--no-banner .ds-hero__intro { grid-area: intro; align-self: start; }
	.ds-hero--no-banner .ds-hero__showcase { grid-area: show; }
	.ds-hero--no-banner .ds-hero__ayah { grid-area: ayah; }
}
@media (max-width: 599px) { .ds-hero__showcase { display: none; } }

.ds-hero__panel {
	position: relative; display: grid; gap: clamp(1.25rem, 1rem + 1vw, 2rem); margin-top: clamp(1.25rem, .5rem + 2vw, 2rem);
	padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
@media (min-width: 960px) {
	/* Panel bannerın altında durur; bannerın hiçbir kısmını örtmez. */
	.ds-hero__panel { grid-template-columns: 1.15fr 1fr; align-items: center; column-gap: 3rem; }
	.ds-hero__ayah { grid-column: 1 / -1; }
}
.ds-hero__title { font-size: var(--step-3); margin: 0 0 .6rem; max-width: 24ch; }
.ds-hero__lead { color: var(--ink-2); margin: 0; max-width: 56ch; }
.ds-hero__search .search-form { max-width: none; min-height: 56px; box-shadow: var(--shadow-sm); }
.ds-hero__search .search-form input { font-size: 1.05rem; }
.ds-hero__quick { margin-top: .9rem; }
@media (max-width: 599px) { .ds-hero__quick { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1.25rem; padding-inline: 1.25rem; scrollbar-width: none; } .ds-hero__quick::-webkit-scrollbar { display: none; } }
.ds-hero__ayah { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .25rem 1.25rem; margin: 0; padding-top: 1.1rem; border-top: 1px dashed var(--line); text-align: center; }
.ds-hero__ayah p { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--ink); line-height: 1.8; }
.ds-hero__ayah figcaption { font-family: var(--font-serif); font-style: italic; color: var(--muted); }
.section-lead { color: var(--muted); margin: .4rem 0 0; max-width: 60ch; }


/* ---------- 11.2 Koleksiyon tonları ve çekmece kutucukları ---------- */
.area-tile--kaynak .area-tile__icon, .area-tile--alimler .area-tile__icon, .area-tile--yayin .area-tile__icon { background: var(--primary-soft); color: var(--primary); }
.area-tile--sahsiyet .area-tile__icon, .area-tile--gunler .area-tile__icon, .area-tile--guncel .area-tile__icon { background: var(--accent-soft); color: var(--accent); }
.area-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.area-grid--compact .area-tile__text { min-width: 0; }
.area-grid--compact .area-tile__title { overflow-wrap: anywhere; hyphens: auto; }
.section-lead { color: var(--muted); margin: .4rem 0 0; max-width: 60ch; }
.container--mid { max-width: calc(1000px + var(--gutter) * 2); }

/* Karşılama ek parçaları */
.ds-hero__panel > * { min-width: 0; }
.ds-hero__intro .ds-hero__stats { margin-top: 0; }
.ds-hero__stats { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; list-style: none; margin: 1.1rem 0 0; padding: 0; color: var(--muted); font-size: .92rem; }
.ds-hero__stats strong { font-family: var(--font-serif); font-size: 1.35rem; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: .15rem; }
.ds-hero__stats a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.header-random { display: none; }
.nav-menu > li > a { white-space: nowrap; }
.primary-nav { display: none !important; }
@media (min-width: 1180px) { .primary-nav { display: block !important; } .site-header .menu-btn { display: none; } }
@media (min-width: 960px) and (max-width: 1179px) { .site-header .menu-btn { display: inline-grid; } }
@media (min-width: 600px) { .header-random { display: inline-grid; } }

/* ---------- 11.3 Tasarım kartları ve galeri ---------- */
.ds-grid { display: grid; gap: clamp(.75rem, .5rem + 1vw, 1.25rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 1100px) { .ds-grid--feature { grid-template-columns: repeat(3, 1fr); } }
.ds-card { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease); }
.ds-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
@media (hover: hover) { .ds-card:hover { transform: translateY(-2px); } }
/* Görsel kırpılmaz: kutu, sitedeki tasarımların ortak oranında (700×342) ve görsel "contain". */
.ds-card__media { position: relative; aspect-ratio: 700 / 342; background: var(--surface-2); background-image: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); border-bottom: 1px solid var(--line); }
.ds-card__media img { width: 100%; height: 100%; object-fit: contain; }
.ds-card__ph { display: grid; place-items: center; width: 100%; height: 100%; color: color-mix(in srgb, var(--accent) 70%, transparent); background: radial-gradient(circle at 50% 40%, var(--accent-soft), var(--surface-2)); }
.ds-card__ph svg { width: 52px; height: 52px; }
.ds-card__zoom { position: absolute; z-index: 2; right: .55rem; bottom: .55rem; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 999px; background: rgb(14 17 34 / 72%); color: #fff; backdrop-filter: blur(4px); opacity: .92; transition: transform .15s var(--ease), background-color .15s var(--ease); }
.ds-card__zoom:hover { background: var(--primary); transform: scale(1.06); }
@media (hover: hover) { .ds-card__zoom { opacity: 0; } .ds-card:hover .ds-card__zoom, .ds-card__zoom:focus-visible { opacity: 1; } }
.ds-card__body { display: flex; flex-direction: column; gap: .3rem; padding: .85rem 1rem 1rem; flex: 1; }
.ds-card__kicker { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds-card__title { margin: 0; font-size: 1.04rem; line-height: 1.32; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ds-card__link { color: var(--ink); text-decoration: none; }
.ds-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ds-card__link:hover { color: var(--primary); }
.ds-card__link:focus-visible { outline: 0; }
.ds-card:has(.ds-card__link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.ds-card__excerpt { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ds-card__date { margin: auto 0 0; padding-top: .2rem; color: var(--muted); font-size: .8rem; font-variant-numeric: tabular-nums; }

/* Liste görünümü (arşiv) */
.ds-grid.is-list { grid-template-columns: 1fr; gap: .6rem; }
@media (min-width: 1000px) { .ds-grid.is-list { grid-template-columns: 1fr 1fr; } }
.ds-grid.is-list .ds-card { flex-direction: row; align-items: center; }
.ds-grid.is-list .ds-card__media { flex: 0 0 clamp(120px, 34%, 220px); border-bottom: 0; border-right: 1px solid var(--line); }
.ds-grid.is-list .ds-card__zoom { width: 28px; height: 28px; right: .25rem; bottom: .25rem; opacity: 1; }
.ds-grid.is-list .ds-card__zoom svg { width: 14px; height: 14px; }
.ds-grid.is-list .ds-card__body { padding: .7rem .9rem; }

/* ---------- 11.4 Raflar ---------- */
.section--rails { padding-top: calc(var(--section) * .6); }
.rail { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.rail__head { display: flex; align-items: end; gap: 1rem; }
.rail__head .section-head { flex: 1; margin-bottom: 1rem; }
.rail__head .section-title { font-size: var(--step-2); }
.rail__nav { display: none; gap: .25rem; margin-bottom: 1rem; }
@media (min-width: 960px) and (hover: hover) { .rail__nav { display: flex; } }
.rail__nav .icon-btn { border-color: var(--line); background: var(--surface); }
.rail__nav .icon-btn:disabled { opacity: .35; cursor: default; }
.rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 300px); gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter) 1rem; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.rail__track > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail__track { grid-auto-columns: calc((100% - 3 * .9rem - 2 * var(--gutter)) / 4); } }

/* ---------- 11.5 Koleksiyonlar ---------- */
.collections { display: grid; gap: clamp(.9rem, .6rem + 1vw, 1.4rem); list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.collection { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.collection:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.collection__cover { position: relative; aspect-ratio: 700 / 342; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.collection__cover img { width: 100%; height: 100%; object-fit: contain; }
.collection__body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.15rem 1.15rem; flex: 1; }
.collection__title { margin: 0; font-size: 1.3rem; }
.collection__title a { color: var(--ink); text-decoration: none; }
.collection__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.collection__title a:hover { color: var(--primary); }
.collection__desc { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.collection__count { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); font-variant-numeric: tabular-nums; }
.collection__links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: .5rem 0 0; padding: 0; }
.collection__links a { display: inline-flex; align-items: center; min-height: 32px; padding: .2rem .7rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); font-size: .82rem; font-weight: 500; text-decoration: none; }
.collection__links a:hover { border-color: var(--primary); color: var(--primary); }
.collection--sahsiyet .collection__count, .collection--gunler .collection__count, .collection--guncel .collection__count { color: var(--primary); }

/* ---------- 11.6 Şahsiyetler ---------- */
.section--portraits { padding-bottom: calc(var(--section) * .4); }
.portraits { display: grid; grid-auto-flow: column; grid-auto-columns: 132px; gap: .75rem; list-style: none; margin: 0 calc(var(--gutter) * -1); padding: .25rem var(--gutter) .75rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.portraits::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .portraits { grid-auto-flow: row; grid-template-columns: repeat(7, 1fr); margin: 0; padding: 0; overflow: visible; } }
.portrait { scroll-snap-align: start; }
.portrait a { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: 1rem .5rem; border-radius: var(--radius); text-align: center; color: var(--ink); text-decoration: none; transition: background-color .15s var(--ease); }
.portrait a:hover { background: var(--surface); }
.portrait__img { display: grid; place-items: center; width: 92px; height: 92px; margin-bottom: .35rem; border-radius: 999px; overflow: hidden; background: linear-gradient(145deg, var(--primary), var(--primary-strong)); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px color-mix(in srgb, var(--accent) 55%, transparent); }
.portrait__img img { width: 100%; height: 100%; object-fit: cover; }
.portrait__ini { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; color: var(--primary-ink); letter-spacing: .02em; }
.portrait:nth-child(even) .portrait__img { background: linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #000)); }
.portrait__name { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.portrait__count { color: var(--muted); font-size: .76rem; font-variant-numeric: tabular-nums; }

/* ---------- 11.7 Tekil tasarım: sahne, araçlar ---------- */
.entry--design .entry-header { padding-bottom: 1rem; }
.entry--design .entry-title { font-size: var(--step-3); max-width: 30ch; margin-bottom: .6rem; }
.stage { margin: 0 0 1rem; }
.stage__frame { position: relative; display: grid; place-items: center; padding: clamp(.5rem, .3rem + 1vw, 1.25rem); border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23a87f32' stroke-opacity='.12' stroke-width='1'%3E%3Crect x='24' y='24' width='40' height='40'/%3E%3Crect x='24' y='24' width='40' height='40' transform='rotate(45 44 44)'/%3E%3Ccircle cx='44' cy='44' r='9'/%3E%3C/g%3E%3C/svg%3E"); }
.stage__img { display: block; width: auto; max-width: 100%; max-height: min(78vh, 900px); height: auto; border-radius: calc(var(--radius) - 6px); box-shadow: var(--shadow-lg); background: #fff; }
.stage__zoom { position: absolute; top: .9rem; right: .9rem; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgb(14 17 34 / 70%); color: #fff; backdrop-filter: blur(4px); }
.stage__zoom:hover { background: var(--primary); }
.stage__caption { margin-top: .6rem; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 599px) {
	.entry--design .stage { margin-inline: calc(var(--gutter) * -1); }
	.stage__frame { border-radius: 0; border-inline: 0; padding: .5rem; }
	.stage__zoom { top: .6rem; right: .6rem; width: 40px; height: 40px; }
}
.stage-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 1.5rem; padding: .9rem 0 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.stage-tools__main { display: flex; flex-wrap: wrap; gap: .5rem; }
.stage-tools__share { display: flex; align-items: center; gap: .6rem; }
.stage-tools__label { font-size: .85rem; font-weight: 600; color: var(--muted); }
@media (max-width: 599px) { .stage-tools__main { width: 100%; } .stage-tools__main .btn--primary { flex: 1 1 100%; } .stage-tools__main .btn--ghost { flex: 1; } }
.share-row { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.share-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); transition: color .15s var(--ease), border-color .15s var(--ease), background-color .15s var(--ease); }
.share-btn:hover { color: var(--primary); border-color: var(--primary); }
.share-btn--whatsapp:hover { color: #128c4b; border-color: #128c4b; }
.share-btn.is-done { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.prose--design { --ar-scale: 1.5; margin-bottom: 1rem; }
.prose--design .ds-ar, .prose--design [lang="ar"] {
	font-family: var(--font-arabic); font-size: calc(1.15rem * var(--ar-scale) * var(--prose-scale, 1)); line-height: 2.2; color: var(--ink);
	text-align: right; padding: .8rem 1.1rem; margin-block: 1.25em; border-radius: var(--radius); background: var(--page-paper); border: 1px solid var(--line);
	font-feature-settings: normal; letter-spacing: 0;
}
:root[data-theme="dark"] .prose--design .ds-ar, :root[data-theme="dark"] .prose--design [lang="ar"] { background: var(--surface-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prose--design .ds-ar, :root:not([data-theme="light"]) .prose--design [lang="ar"] { background: var(--surface-2); } }
.prose--design .ds-ar .ds-ar, .prose--design [lang="ar"] [lang="ar"] { padding: 0; margin: 0; border: 0; background: none; font-size: inherit; }
.prose--design img { margin-inline: auto; height: auto; border-radius: var(--radius-sm); }
.prose--design blockquote { font-style: normal; }
/* Eski içerikteki satır içi renkler karanlık modda okunur kalır. */
:root[data-theme="dark"] .prose--design [style*="color"] { color: inherit !important; }
:root[data-theme="dark"] .prose--design [style*="background"] { background: transparent !important; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .prose--design [style*="color"] { color: inherit !important; }
	:root:not([data-theme="light"]) .prose--design [style*="background"] { background: transparent !important; }
}
.entry-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 1.25rem; }
.entry-footer__row .eyebrow { margin-bottom: .6rem; }
.entry-footer__tags summary { cursor: pointer; color: var(--muted); font-size: .9rem; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.entry-footer__tags .tag-row { margin-top: .5rem; list-style: none; padding: 0; }
.pager--thumbs { margin-top: .5rem; grid-template-columns: 1fr 1fr; }
.pager--thumbs .pager__link { flex-direction: row; align-items: center; gap: .85rem; padding: .6rem; }
.pager--thumbs .pager__link--next { justify-content: flex-end; }
.pager__thumb { flex: 0 0 96px; aspect-ratio: 700 / 342; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.pager__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pager__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.pager__text small { color: var(--muted); font-weight: 600; font-size: .75rem; }
.pager__text span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
@media (max-width: 599px) { .pager--thumbs { grid-template-columns: 1fr; } .pager--thumbs .pager__link--next { grid-column: auto; } .pager__thumb { flex-basis: 80px; } }

/* ---------- 11.8 Hızlı bakış penceresi ---------- */
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: #090b14; color: #fff; display: none; flex-direction: column; }
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgb(8 9 18 / 80%); }
html.has-lightbox { overflow: hidden; }
.lightbox__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: .75rem clamp(.75rem, .5rem + 1vw, 1.5rem); }
.lightbox__info { min-width: 0; flex: 1 1 260px; }
.lightbox__cat { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #e5c47e; }
.lightbox__title { margin: 0; color: #fff; font-size: clamp(1rem, .9rem + .5vw, 1.3rem); line-height: 1.3; }
.lightbox__actions { display: flex; align-items: center; gap: .4rem; }
.lightbox__actions .btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 35%); }
.lightbox__actions .btn--ghost:hover { border-color: #fff; color: #fff; }
.lightbox__actions .btn--primary { background: #95a2ff; color: #0b1035; }
.lightbox__actions .icon-btn { color: #fff; }
.lightbox__actions .icon-btn:hover { background: rgb(255 255 255 / 12%); color: #fff; }
.lightbox__stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; padding: 0 clamp(.5rem, .2rem + 4vw, 4.5rem) 1rem; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px -20px rgb(0 0 0 / 80%); background: #fff; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 12%); color: #fff; }
.lightbox__nav:hover { background: rgb(255 255 255 / 24%); }
.lightbox__nav--prev { left: .75rem; }
.lightbox__nav--next { right: .75rem; }
@media (max-width: 599px) { .lightbox__nav { top: auto; bottom: 1rem; transform: none; } .lightbox__stage { padding-bottom: 4.5rem; } .lightbox__actions .btn span { display: none; } .lightbox__actions .btn { padding-inline: .7rem; } }
.lightbox__count { margin: 0 0 .75rem; text-align: center; color: rgb(255 255 255 / 60%); font-size: .82rem; font-variant-numeric: tabular-nums; }

/* ---------- 11.9 Alt bilgi menüsü, 404 ---------- */
.site-footer__menu { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.footer-menu { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-menu a { color: var(--ink-2); text-decoration: none; font-size: .9rem; }
.footer-menu a:hover { color: var(--primary); }
.social { display: flex; gap: .4rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.social a:hover { color: var(--primary); border-color: var(--primary); }
.not-found__random { margin: 1rem 0 0; }

/* ---------- 11.10 Fihrist, kategori sayfası, arama ---------- */
/* ---------- Fihrist ---------- */
.cat-index__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: 1.25rem; }
.cat-index__tools .field { flex: 1 1 280px; max-width: 520px; background: var(--surface); }
.cat-index__meta { margin: 0; font-size: .88rem; font-variant-numeric: tabular-nums; }
.cat-index__cols { columns: 1; column-gap: 1.25rem; }
@media (min-width: 720px) { .cat-index__cols { columns: 2; } }
@media (min-width: 1100px) { .cat-index__cols { columns: 3; } }
.cat-index__group { break-inside: avoid; margin: 0 0 1.25rem; padding: 1rem 1rem .75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cat-index__title { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; margin: 0 0 .4rem; font-size: 1.1rem; }
.cat-index__title a { color: var(--ink); text-decoration: none; }
.cat-index__title a:hover { color: var(--primary); }
.cat-index ul, .side-tree ul { list-style: none; margin: 0; padding: 0; }
.cat-index ul ul, .side-tree ul ul { padding-left: .9rem; margin-left: .35rem; border-left: 1px solid var(--line); }
.cat-index li a, .side-tree li a { display: flex; justify-content: space-between; gap: .75rem; padding: .4rem .5rem; min-height: 40px; align-items: center; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: .93rem; line-height: 1.35; }
.cat-index li a:hover, .side-tree li a:hover { background: var(--surface-2); color: var(--primary); }
.cat-index li.is-match > a { background: var(--accent-soft); color: var(--ink); }
.cat-index__n { flex: none; font-size: .75rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-index__empty { padding: 1.5rem; text-align: center; color: var(--muted); }

/* ---------- Kategori sayfası ---------- */
.page-hero--archive .page-hero__lead { font-size: var(--step-0); color: var(--ink-2); }
.page-hero--archive .page-hero__lead p + p { margin-top: .75em; }
.archive-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .archive-layout--side { grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; } }
.archive-layout__main { min-width: 0; }
.archive-tools { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.archive-tools .chip-scroll { margin-bottom: 0; }
.archive-tools .search-form { max-width: none; }
.archive-layout__side { display: none; }
@media (min-width: 1024px) { .archive-layout__side { display: block; } .side-sticky { position: sticky; top: calc(var(--header-h) + 1rem); max-height: calc(100vh - var(--header-h) - 2rem); overflow-y: auto; } }
.side-tree { padding: 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.side-tree__title { margin: 0 0 .5rem; font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; }
.side-tree__title a { color: var(--ink); text-decoration: none; }
.side-tree a[aria-current] { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.chip-row li { display: flex; }

/* Arama sayfası */
.search-filter { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; margin-bottom: 1.5rem; }
.search-filter .search-form { flex: 1 1 300px; max-width: none; padding-right: 1rem; }
.search-filter .select { flex: 1 1 220px; max-width: 320px; }

/* Arama penceresi sonuçları */
.quick-results__head { margin: 1rem .75rem .25rem; }
.quick-results__list a { grid-template-columns: 2rem 1fr auto; }
.quick-results__icon { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; background: var(--primary-soft); color: var(--primary); }
.quick-results__meta { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.quick-results__status { margin: .75rem; font-size: .9rem; }
.quick-results__all { display: inline-flex; margin: .5rem .75rem 0; }

/* Çekmece */
.drawer__label { margin: 1.25rem 0 .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.drawer__more { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

.archive-layout { padding-bottom: var(--section); }
.archive-tools__row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.archive-tools__row .search-form { flex: 1 1 280px; }
.archive-tools__row .segmented { margin-left: auto; }

/* ---------- 11.11 İç sayfalarda banner şeridi ---------- */
.ds-strip { padding: .75rem 0; background: var(--bg-tint); }
.ds-banner--strip { max-width: calc(var(--banner-w, 9999px) + 8px); padding: 4px; border-radius: 12px; box-shadow: var(--shadow-sm); outline: 0; border: 1px solid var(--line); }
@media (max-width: 599px) {
	.ds-strip { padding: 0; }
	.ds-strip .container { padding-inline: 0; }
	.ds-banner--strip { padding: 0; border-radius: 0; border-inline: 0; border-top: 0; box-shadow: none; }
}
