/* ==========================================================================
   Beyyinât — tema
   ========================================================================== */

:root {
  --paper: #fbf9f4;
  --paper-2: #f4efe5;
  --card: #fffdf9;
  --ink: #1b1a17;
  --ink-2: #3a362f;
  --muted: #6d6557;
  --line: #e3dccd;
  --accent: #0f5c4a;
  --accent-2: #0a3f33;
  --gold: #a87c2f;
  --shadow: 0 1px 2px rgba(27, 26, 23, .04), 0 12px 32px -18px rgba(27, 26, 23, .25);
  --radius: 16px;
  --wrap: 1160px;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-ar: "Amiri", "Traditional Arabic", "Scheherazade New", serif;
}

[data-theme="dark"] {
  --paper: #14161a;
  --paper-2: #1b1e23;
  --card: #1a1d22;
  --ink: #eae4d8;
  --ink-2: #d4cdbe;
  --muted: #a49b8b;
  --line: #2e333a;
  --accent: #79d3b6;
  --accent-2: #a7e6d2;
  --gold: #d9b271;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 18px 40px -20px rgba(0, 0, 0, .8);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.75;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 .5em;
}

p { margin: 0 0 1.15em; }

::selection { background: rgba(15, 92, 74, .16); }
[data-theme="dark"] ::selection { background: rgba(121, 211, 182, .25); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- yardımcılar ---------- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  white-space: nowrap;
}

/* ---------- okuma çubuğu ---------- */

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  z-index: 70;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width .1s linear;
}

/* ---------- başlık ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  background: rgba(251, 249, 244, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

[data-theme="dark"] .site-header { background: rgba(20, 22, 26, .86); }

.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.01em;
}

.brand svg { width: 26px; height: 26px; color: var(--accent); }
.brand span small {
  display: block;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  margin-top: 3px;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper-2);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.icon-btn:hover { background: var(--paper-2); border-color: var(--muted); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .moon { display: none; }
[data-theme="dark"] .icon-btn .sun { display: none; }
[data-theme="dark"] .icon-btn .moon { display: block; }

/* ---------- hero ---------- */

.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 84px 24px 56px;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.4vw, 3.9rem);
  line-height: 1.08;
  max-width: 22ch;
  margin-bottom: .35em;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
[data-theme="dark"] .btn-primary { color: #0d1a16; }

.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: var(--paper-2); transform: translateY(-1px); }

.hero-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
  margin: 56px 0 0;
}

/* ---------- yazı listesi ---------- */

.section { padding: 8px 0 40px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: 1.35rem;
  margin: 0;
}

.post-card {
  display: grid;
  gap: 14px;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}

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

.post-card + .post-card { margin-top: 18px; }

.post-card h3 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin: 0;
}

.post-card p { margin: 0; color: var(--muted); max-width: 68ch; }

.post-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.post-card .more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.post-card .more svg { width: 15px; height: 15px; }

/* ---------- konu kartları ---------- */

.topic-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.topic-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease;
}

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

.topic-card h3 { font-size: 1.3rem; margin: 0; }
.topic-card p { margin: 0; color: var(--muted); font-size: 15px; }

.topic-card .topic-count {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.topic-card .more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.topic-card .more svg { width: 15px; height: 15px; }

/* ---------- arama ---------- */

[hidden] { display: none !important; }

.search-dialog {
  width: min(640px, calc(100vw - 32px));
  margin: 12vh auto auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45);
}

.search-dialog::backdrop { background: rgba(15, 20, 18, .5); backdrop-filter: blur(2px); }

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.search-box svg { width: 18px; height: 18px; color: var(--muted); flex: none; }

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 6px 0;
}

.search-box input:focus { outline: none; }

.search-close {
  flex: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 7px;
  font-size: 11px;
  letter-spacing: .04em;
  padding: 4px 7px;
  cursor: pointer;
}

.search-close:hover { color: var(--ink); border-color: var(--muted); }

.search-status { margin: 0; padding: 12px 18px 0; font-size: 13px; color: var(--muted); }

.search-results {
  list-style: none;
  margin: 0;
  padding: 8px 8px 14px;
  max-height: min(58vh, 440px);
  overflow-y: auto;
}

.search-results li a {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.search-results li a:hover,
.search-results li a.is-active { background: var(--paper-2); }

.search-results .r-title { font-weight: 600; color: var(--ink); }

.search-results .r-meta {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.search-results .r-dek { font-size: 13.5px; color: var(--muted); }


/* ---------- yazı düzeni ---------- */

.post-layout {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 24px 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
}

@media (min-width: 1020px) {
  .post-layout { grid-template-columns: 246px minmax(0, 1fr); gap: 56px; }
}

.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: .55; margin: 0 7px; }

.post-head { margin-bottom: 34px; }

.post-head h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.12;
  margin-bottom: .4em;
}

.post-head .dek {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 22px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 13.5px;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.post-meta .dot { opacity: .5; }

.post-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.post-actions .icon-btn { width: 34px; height: 34px; }
.post-actions .icon-btn svg { width: 15px; height: 15px; }

/* ---------- içindekiler ---------- */

.toc {
  align-self: start;
  font-size: 13.5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--card);
}

@media (min-width: 1020px) {
  .toc {
    position: sticky;
    top: 92px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
  }
}

.toc summary {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.toc summary::-webkit-details-marker { display: none; }

.toc summary::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.toc[open] summary::after {
  transform: rotate(225deg);
  margin-top: 3px;
}

@media (min-width: 1020px) {
  .toc summary { cursor: default; pointer-events: none; }
  .toc summary::after { display: none; }
}

.toc ol {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  border-left: 1px solid var(--line);
}

.toc a {
  display: block;
  padding: 6px 0 6px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.4;
  transition: color .15s ease, border-color .15s ease;
}

.toc a:hover { color: var(--ink); }

.toc a.is-active {
  color: var(--ink);
  border-left-color: var(--accent);
  font-weight: 500;
}

/* ---------- makale gövdesi ---------- */

.prose { max-width: 71ch; min-width: 0; }

.prose > * { scroll-margin-top: 96px; }

.prose h2,
.prose h3 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin: 2.4em 0 .55em;
  padding-top: .2em;
}

.prose h2:first-child,
.prose h3:first-child { margin-top: 0; }

.prose p { color: var(--ink-2); }

.prose li { margin-bottom: .5em; color: var(--ink-2); }

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

.prose ol, .prose ul { padding-left: 1.3em; margin: 0 0 1.2em; }

.prose strong { color: var(--ink); font-weight: 600; }

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

.prose hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.6em 0;
}

.dropcap::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 3.6em;
  line-height: .82;
  padding: .06em .12em 0 0;
  color: var(--accent);
  font-weight: 600;
}

/* Arapça metin */

.arabic {
  direction: rtl;
  text-align: right;
  font-family: var(--font-ar);
  font-size: 1.62rem;
  line-height: 2.05;
  color: var(--ink);
  background: var(--paper-2);
  border-inline-start: 3px solid var(--gold);
  border-radius: 10px;
  padding: 20px 24px;
  margin: 1.5em 0 1em;
}

.arabic + .translation {
  font-size: .95rem;
  color: var(--muted);
  margin-top: -.3em;
}

/* kutu / not */

.callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 20px 22px 6px;
  margin: 1.8em 0;
}

.callout.gold { border-left-color: var(--gold); }

.callout-title {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.callout p:last-child { margin-bottom: 1em; }

/* alıntı */

.quote {
  margin: 1.9em 0;
  padding: 2px 0 2px 22px;
  border-left: 2px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1.06rem;
  color: var(--ink);
}

.quote p { color: var(--ink); }
.quote cite {
  display: block;
  font-family: var(--font-ui);
  font-size: .82rem;
  font-style: normal;
  color: var(--muted);
  margin-top: -1em;
}

/* kaynak dipnotu */

.ref {
  font-size: .72em;
  vertical-align: super;
  line-height: 0;
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
}

/* kaynak kartları */

.sources {
  list-style: none;
  padding: 0;
  margin: 1.4em 0 0;
  display: grid;
  gap: 10px;
  counter-reset: src;
}

.sources li {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  transition: border-color .18s ease;
}

.sources li:hover,
.sources li:focus-within { border-color: var(--accent); }

.sources .src-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  padding: 14px 16px 2px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.45;
}

.sources .src-card:hover { color: var(--accent); }

.sources .n {
  grid-row: span 2;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold);
  padding-top: 1px;
}

.sources .src-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 4px 16px 12px 48px;
}

.sources .domain {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}

/* "aslına bak" — kaynağın asıl sayfasına giden tek dış bağlantı */

.src-orig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

/* başlık satırı: başlık + "aslına bak" */

.title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 22px;
}

.title-row h1 { margin-bottom: 0; }

.title-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding-top: .5em;
}

.title-actions .btn { text-decoration: none; }

/* soru–cevap */

.qa { margin: 2.2em 0; }

.qa > h2,
.qa > h3 {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--card);
  background: var(--accent);
  border-radius: 999px;
  padding: 9px 16px 8px;
  margin: 0 0 14px;
}

.qa-q > h2,
.qa-q > h3 { background: var(--gold); }

.qa-body {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px 4px;
}

.qa-q .qa-body {
  background: var(--paper-2);
  border: 0;
  border-inline-start: 3px solid var(--gold);
}

.qa-body > :last-child { margin-bottom: 1.1em; }

.src-orig:hover { border-color: var(--accent); color: var(--accent); background: var(--paper-2); }
.src-orig svg { width: 11px; height: 11px; }

/* asıl metin satırı + ilgili çeviriler */

.src-line {
  margin: 2.4em 0 0;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.related {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.related a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition: border-color .18s ease;
}

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

.related .domain {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
}

.src-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: -.4em 0 1.2em;
  padding-bottom: .8em;
  border-bottom: 1px solid var(--line);
}

.src-head .src-name {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* yazar / bilgi kutusu */

.author-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  margin: 2.4em 0 0;
}

.author-box .avatar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 19px;
}
[data-theme="dark"] .author-box .avatar { color: #0d1a16; }

.author-box p { font-size: 14px; color: var(--muted); margin: 0; }
.author-box strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 3px; }

/* alt gezinme */

.post-nav {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid var(--line);
}

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

.post-nav a {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .18s ease;
}
.post-nav a:hover { border-color: var(--accent); }
.post-nav .label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-nav strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; margin-top: 4px; }
.post-nav .next { text-align: right; }

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

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 48px 0 40px;
  margin-top: 40px;
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 24px;
  display: grid;
  gap: 28px;
}

@media (min-width: 800px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } }

.site-footer h2 {
  font-family: var(--font-ui);
  font-size: 11.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.site-footer p { font-size: 13.5px; color: var(--muted); max-width: 42ch; margin: 0 0 8px; }

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink-2); font-size: 14px; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  max-width: var(--wrap);
  margin: 32px auto 0;
  padding: 18px 24px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
}

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

.center-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 24px;
}
.center-page h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
.center-page p { color: var(--muted); max-width: 44ch; margin-inline: auto; }

/* ---------- küçük ekran ---------- */

@media (max-width: 720px) {
  .nav a:not(.nav-keep) { display: none; }
  .hero { padding: 56px 24px 36px; }
  .post-card { padding: 22px; }
  .post-layout { padding-top: 24px; gap: 28px; }
  .post-meta { font-size: 12.5px; }
  .post-actions { margin-left: 0; }
  .arabic { font-size: 1.35rem; padding: 16px 18px; }
  .search-dialog { margin-top: 6vh; }
}

@media (max-width: 420px) {
  .brand span small { display: none; }
  .nav a.nav-keep { display: none; }
  body { font-size: 16.5px; }
}

/* ---------- hareket azaltma ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---------- yazdırma ---------- */

@media print {
  .site-header, .toc, .post-actions, .post-nav, .site-footer, .progress, .skip-link { display: none !important; }
  body { background: #fff; color: #000; font-size: 11.5pt; }
  .post-layout { display: block; padding: 0; }
  .prose { max-width: none; }
  .prose h2 { page-break-after: avoid; }
  .arabic { background: transparent; border-inline-start: 2px solid #999; }
  a { color: #000; text-decoration: none; }
}
