/* ══════════════════════════════════════════════════════════════
   Blog — ana stil dosyası

   Tasarım kararları:
   · Sistem fontları kullanılıyor. Harici font = ek DNS + indirme +
     CLS riski; Core Web Vitals'ta en kolay kazanç bunu yapmamak.
   · Tek dosya, @import yok: tek istek, Cloudflare'de uzun cache.
   · Açık/koyu tema prefers-color-scheme + data-theme override.
   ══════════════════════════════════════════════════════════════ */

:root {
  --bg: #ffffff;
  --bg-elev: #f7f8fa;
  --fg: #15181e;
  --fg-soft: #434b58;
  --muted: #697586;
  --line: #e3e7ed;
  --line-soft: #eef1f5;
  --accent: #1d4ed8;
  --accent-soft: #eaf0ff;
  --accent-fg: #ffffff;
  --warn: #b45309;
  --ok: #047857;
  --err: #be123c;

  --radius: 12px;
  --radius-sm: 8px;
  --wrap: 1140px;
  --wrap-narrow: 720px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px -12px rgba(16, 24, 40, .12);
}

html[data-theme="dark"],
html[data-theme="auto"] {
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    --bg: #0d1117;
    --bg-elev: #151b24;
    --fg: #e7eaf0;
    --fg-soft: #c3cad6;
    --muted: #93a0b2;
    --line: #232b37;
    --line-soft: #1b222c;
    --accent: #7da2ff;
    --accent-soft: #18243d;
    --accent-fg: #0b1020;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -14px rgba(0, 0, 0, .7);
  }
}

html[data-theme="dark"] {
  --bg: #0d1117;
  --bg-elev: #151b24;
  --fg: #e7eaf0;
  --fg-soft: #c3cad6;
  --muted: #93a0b2;
  --line: #232b37;
  --line-soft: #1b222c;
  --accent: #7da2ff;
  --accent-soft: #18243d;
  --accent-fg: #0b1020;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -14px rgba(0, 0, 0, .7);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16.5px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
        "Noto Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: var(--wrap-narrow); }

.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;
}

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

.dot { color: var(--muted); padding: 0 2px; }

/* ── Başlık / üst bar ───────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 62px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--accent); color: var(--accent-fg);
  font-size: 15px; font-weight: 800;
}
.brand-text { letter-spacing: -.01em; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 7px 11px; border-radius: var(--radius-sm);
  color: var(--fg-soft); font-size: 14.5px; font-weight: 500;
}
.nav-list a:hover { background: var(--bg-elev); color: var(--fg); text-decoration: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 9px 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--fg); border-radius: 2px; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.search-mini { position: relative; display: flex; }
.search-mini input {
  width: 160px; padding: 7px 34px 7px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-elev); color: var(--fg); font-size: 14px;
}
.search-mini input:focus { width: 210px; outline-offset: 0; }
.search-mini button {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--muted); cursor: pointer; padding: 5px;
  display: grid; place-items: center;
}

.theme-toggle {
  display: grid; place-items: center;
  width: 34px; height: 34px; padding: 0;
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--fg-soft); cursor: pointer;
}
html[data-theme="dark"] .icon-sun { display: block; }
html[data-theme="dark"] .icon-moon { display: none; }
html[data-theme="light"] .icon-sun { display: none; }
html[data-theme="light"] .icon-moon { display: block; }
html[data-theme="auto"] .icon-sun { display: none; }
html[data-theme="auto"] .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] .icon-sun { display: block; }
  html[data-theme="auto"] .icon-moon { display: none; }
}

/* ── Butonlar ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg-elev); color: var(--fg);
  font-size: 14.5px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-sm { padding: 6px 12px; font-size: 13.5px; }
.btn-danger { color: var(--err); border-color: color-mix(in srgb, var(--err) 35%, var(--line)); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ── Flash mesajları ───────────────────────────────────────── */
.flash-area { padding-top: 16px; }
.flash {
  padding: 11px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg-elev);
  font-size: 14.5px; margin-bottom: 10px;
}
.flash-success { border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); color: var(--ok); }
.flash-error { border-color: color-mix(in srgb, var(--err) 35%, var(--line)); color: var(--err); }
.flash-warning { border-color: color-mix(in srgb, var(--warn) 35%, var(--line)); color: var(--warn); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { padding: 54px 0 34px; border-bottom: 1px solid var(--line-soft); }
.hero-title {
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.12;
  letter-spacing: -.03em; margin: 0 0 12px;
}
.hero-text { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); margin: 0; max-width: 62ch; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.hero-tags a {
  display: inline-block; padding: 5px 12px; font-size: 13.5px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--fg-soft);
}
.hero-tags a:hover { background: var(--accent-soft); border-color: var(--accent); text-decoration: none; }

/* ── Bölüm başlıkları ──────────────────────────────────────── */
.section-title {
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin: 44px 0 18px;
}

/* ── Kart ızgarası ─────────────────────────────────────────── */
.card-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.card-grid-sm { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

.featured-grid {
  display: grid; gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
@media (min-width: 900px) {
  .featured-grid { grid-template-columns: 2fr 1fr 1fr; }
  .featured-grid .post-card-large { grid-row: span 1; }
}

.post-card { display: flex; flex-direction: column; min-width: 0; }
.card-media {
  display: block; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-elev); margin-bottom: 14px; aspect-ratio: 16 / 9;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.post-card:hover .card-media img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .card-media img { transition: none; } }

.card-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
  font-size: 13px; color: var(--muted); margin-bottom: 8px;
}
.chip {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12.5px; font-weight: 600;
}
.chip:hover { text-decoration: none; filter: brightness(.97); }
.chip-lg { font-size: 13.5px; padding: 5px 12px; margin-bottom: 14px; }

.card-title { font-size: 1.22rem; line-height: 1.35; margin: 0 0 8px; letter-spacing: -.015em; }
.card-title a { color: var(--fg); }
.card-title a:hover { color: var(--accent); text-decoration: none; }
.post-card-large .card-title { font-size: 1.6rem; }

.card-excerpt { color: var(--muted); font-size: 15px; margin: 0 0 14px; }

.card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 4px;
}
.card-author { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--fg-soft); }
.card-author:hover { text-decoration: none; color: var(--accent); }
.card-tags { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.card-tags a { color: var(--muted); }

/* ── Avatarlar ─────────────────────────────────────────────── */
.avatar { border-radius: 50%; object-fit: cover; background: var(--bg-elev); display: inline-block; }
.avatar-xs { width: 28px; height: 28px; }
.avatar-sm { width: 32px; height: 32px; }
.avatar-lg { width: 72px; height: 72px; }
.avatar-xl { width: 112px; height: 112px; }
.avatar-initials {
  display: grid; place-items: center; font-weight: 700; color: var(--accent);
  background: var(--accent-soft);
}
.avatar-sm.avatar-initials { font-size: 13px; }
.avatar-lg.avatar-initials { font-size: 24px; }
.avatar-xl.avatar-initials { font-size: 36px; }

/* ── Arşiv başlıkları ──────────────────────────────────────── */
.archive-header { padding: 40px 0 26px; }
.archive-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 8px;
}
.archive-title { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.15; letter-spacing: -.025em; margin: 0 0 10px; }
.archive-desc { color: var(--muted); max-width: 70ch; margin: 0 0 10px; }
.archive-count { font-size: 14px; color: var(--muted); margin: 0; }

.author-header { display: flex; gap: 24px; align-items: flex-start; padding: 40px 0 28px; flex-wrap: wrap; }
.author-job { color: var(--fg-soft); font-weight: 600; margin: 0 0 10px; }
.expertise-list { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 0 0 12px; }
.expertise-list li {
  font-size: 12.5px; padding: 3px 10px; border-radius: 999px;
  background: var(--bg-elev); border: 1px solid var(--line); color: var(--fg-soft);
}
.author-links, .author-box-links { display: flex; gap: 14px; list-style: none; padding: 0; margin: 0 0 12px; font-size: 14px; }

.author-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.author-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 24px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-elev); color: var(--fg);
}
.author-card:hover { text-decoration: none; border-color: var(--accent); }
.author-card-title, .author-card-count { font-size: 13px; color: var(--muted); }

/* ── Taksonomi ─────────────────────────────────────────────── */
.taxonomy-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin-bottom: 40px; }
.taxonomy-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-elev); color: var(--fg);
}
.taxonomy-card:hover { text-decoration: none; border-color: var(--accent); }
.taxonomy-dot { width: 10px; height: 10px; border-radius: 50%; }
.taxonomy-desc { font-size: 14px; color: var(--muted); }
.taxonomy-count { font-size: 12.5px; color: var(--accent); font-weight: 600; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0 0 44px; }
.tag-cloud a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--fg-soft); font-size: 14px;
}
.tag-cloud a:hover { background: var(--accent-soft); border-color: var(--accent); text-decoration: none; }
.tag-cloud span { font-size: 12px; color: var(--muted); }

/* ── Breadcrumbs ───────────────────────────────────────────── */
.breadcrumbs { font-size: 13.5px; color: var(--muted); padding: 22px 0 14px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs .sep { padding-left: 6px; opacity: .55; }

/* ── Yazı sayfası ──────────────────────────────────────────── */
.post-header { padding-bottom: 10px; }
.post-title {
  font-size: clamp(1.8rem, 4.5vw, 2.7rem); line-height: 1.15;
  letter-spacing: -.03em; margin: 0 0 16px;
}
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 14px; color: var(--muted); padding-bottom: 22px;
}
.post-meta-author { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-soft); font-weight: 600; }
.post-meta-author:hover { text-decoration: none; color: var(--accent); }
.post-updated { color: var(--ok); }

.post-cover { margin: 0 0 34px; }
.post-cover img {
  width: 100%; max-height: 520px; object-fit: cover;
  border-radius: 0;
}
@media (min-width: 760px) { .post-cover img { border-radius: var(--radius); } }
.post-cover figcaption, .post-figure figcaption {
  font-size: 13.5px; color: var(--muted); text-align: center; padding-top: 10px;
}
@media (min-width: 760px) {
  .post-cover { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding: 0 20px; }
}

.post-tldr {
  background: var(--accent-soft); border-left: 3px solid var(--accent);
  border-radius: var(--radius); padding: 16px 18px; margin: 0 0 30px;
}
.post-tldr-label {
  margin: 0 0 6px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
}
.post-tldr-text { margin: 0; font-size: 16.5px; color: var(--fg); }

/* ── İçerik tipografisi ────────────────────────────────────── */
.post-content { font-size: 17.5px; line-height: 1.78; color: var(--fg-soft); }
.post-content > *:first-child { margin-top: 0; }
.post-content h2, .post-content h3, .post-content h4 {
  color: var(--fg); letter-spacing: -.02em; scroll-margin-top: 80px; position: relative;
}
.post-content h2 { font-size: 1.55rem; line-height: 1.3; margin: 2.2em 0 .7em; }
.post-content h3 { font-size: 1.25rem; margin: 1.9em 0 .6em; }
.post-content h4 { font-size: 1.07rem; margin: 1.6em 0 .5em; }
.post-content p { margin: 0 0 1.25em; }
.post-content strong { color: var(--fg); font-weight: 650; }

.post-content ul, .post-content ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.post-content li { margin-bottom: .45em; }
.post-content li > ul, .post-content li > ol { margin: .5em 0 .2em; }

.heading-anchor {
  position: absolute; left: -.8em; opacity: 0;
  color: var(--muted); font-weight: 400; text-decoration: none;
  transition: opacity .15s ease;
}
h2:hover > .heading-anchor, h3:hover > .heading-anchor, h4:hover > .heading-anchor { opacity: .6; }
@media (max-width: 760px) { .heading-anchor { display: none; } }

.post-content blockquote {
  margin: 1.7em 0; padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent); color: var(--muted); font-style: italic;
}
.post-content blockquote p:last-child { margin-bottom: 0; }

.post-content pre, .code-block {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px;
  overflow-x: auto; margin: 0 0 1.5em;
  font-size: 14px; line-height: 1.6;
}
.post-content code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .89em;
}
.post-content :not(pre) > code {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 5px; padding: 2px 6px; color: var(--fg);
}
.code-block { position: relative; }
.code-block[data-lang]::before {
  content: attr(data-lang);
  position: absolute; top: 0; right: 0;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); background: var(--line-soft);
  padding: 3px 9px; border-bottom-left-radius: 7px;
}

.post-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }

.post-figure { margin: 1.8em 0; }
.post-figure img { border-radius: var(--radius); width: 100%; }

.table-wrap { overflow-x: auto; margin: 0 0 1.6em; border-radius: var(--radius); }
.post-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.post-content th, .post-content td { border: 1px solid var(--line); padding: 10px 13px; text-align: left; }
.post-content th { background: var(--bg-elev); color: var(--fg); font-weight: 650; }
.post-content tbody tr:nth-child(even) { background: color-mix(in srgb, var(--bg-elev) 55%, transparent); }

.post-content mark { background: color-mix(in srgb, var(--accent) 22%, transparent); color: var(--fg); padding: 1px 3px; }

.callout {
  border: 1px solid var(--line); border-left-width: 3px; border-left-color: var(--accent);
  border-radius: var(--radius); background: var(--bg-elev);
  padding: 14px 18px; margin: 1.7em 0;
}
.callout-title { margin: 0 0 6px; font-weight: 700; color: var(--fg); font-size: 15px; }
.callout p:last-child { margin-bottom: 0; }
.callout-uyari { border-left-color: var(--warn); }
.callout-ipucu { border-left-color: var(--ok); }
.callout-tehlike { border-left-color: var(--err); }

.toc {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-elev); padding: 16px 20px; margin: 0 0 2em;
}
.toc-title {
  margin: 0 0 10px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.toc ol { margin: 0; padding-left: 1.3em; font-size: 15px; }
.toc li { margin-bottom: .35em; }
.toc a { color: var(--fg-soft); }
.toc a.is-active { color: var(--accent); font-weight: 600; }

.embed { margin: 1.8em 0; }
.embed-youtube { position: relative; aspect-ratio: 16 / 9; }
.embed-youtube iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; border-radius: var(--radius);
}

/* ── SSS ───────────────────────────────────────────────────── */
.post-faq { margin: 3em 0; }
.post-faq h2 { font-size: 1.45rem; margin: 0 0 .8em; letter-spacing: -.02em; }
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; margin-bottom: 10px; background: var(--bg-elev);
}
.faq-item summary { font-weight: 650; cursor: pointer; color: var(--fg); }
.faq-item summary::marker { color: var(--accent); }
.faq-answer { color: var(--muted); font-size: 16px; }
.faq-answer p { margin: 10px 0 0; }

/* ── Etiketler / paylaşım / yazar kutusu ──────────────────── */
.post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 2.4em 0 1.6em; }
.post-tags-label { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.post-tags ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.post-tags a {
  font-size: 13.5px; padding: 4px 11px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--fg-soft);
}
.post-tags a:hover { border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.share-label { font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.share-link {
  font-size: 13.5px; padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-elev); color: var(--fg-soft);
  cursor: pointer; font-family: inherit;
}
.share-link:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.amp-hint { font-size: 13.5px; color: var(--muted); margin: 0 0 2em; }

.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-elev); padding: 22px; margin: 2.4em 0;
}
.author-box-label { margin: 0 0 4px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.author-box-name { margin: 0 0 8px; font-size: 1.1rem; font-weight: 700; }
.author-box-name a { color: var(--fg); }
.author-box-title { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.author-box-bio { margin: 0 0 10px; font-size: 15px; color: var(--muted); }
.author-box-expertise { font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.author-box-expertise span { font-weight: 700; color: var(--fg-soft); }

/* ── Önceki/sonraki ───────────────────────────────────────── */
.post-nav { display: grid; gap: 14px; margin: 2.4em 0; grid-template-columns: 1fr; }
@media (min-width: 680px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav-item {
  display: flex; flex-direction: column; gap: 5px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--fg); background: var(--bg-elev);
}
.post-nav-item:hover { text-decoration: none; border-color: var(--accent); }
.post-nav-item span { font-size: 12.5px; color: var(--muted); }
.post-nav-item strong { font-size: 15.5px; line-height: 1.4; font-weight: 600; }
.post-nav-next { text-align: right; align-items: flex-end; }

.related { margin: 3em 0 0; }

/* ── Yorumlar ─────────────────────────────────────────────── */
.comments { margin: 3.4em 0 4em; border-top: 1px solid var(--line); padding-top: 2em; }
.comments h2 { font-size: 1.45rem; margin: 0 0 1em; letter-spacing: -.02em; }
.comment-count { color: var(--muted); font-weight: 400; font-size: .85em; }
.comments-empty, .comments-closed { color: var(--muted); font-size: 15px; }

.comment { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.comment-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.comment-author { margin: 0; font-weight: 650; font-size: 15px; }
.comment-badge {
  font-size: 11px; padding: 2px 7px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-left: 6px;
}
.comment-date { font-size: 12.5px; color: var(--muted); }
.comment-body { font-size: 15.5px; color: var(--fg-soft); }
.comment-reply {
  background: none; border: 0; padding: 6px 0 0; cursor: pointer;
  color: var(--accent); font-size: 13px; font-family: inherit; font-weight: 600;
}
.comment-children { margin: 14px 0 0 24px; padding-left: 18px; border-left: 2px solid var(--line); }
.comment-child { padding: 14px 0; border: 0; }

.comment-form-wrap { margin-top: 2.4em; }
.comment-form-wrap h3 { font-size: 1.15rem; margin: 0 0 1em; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label { font-size: 13.5px; font-weight: 600; color: var(--fg-soft); }
.form-field input, .form-field textarea, .form-field select {
  padding: 10px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--fg); font: inherit; font-size: 15px; width: 100%;
}
.form-field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field-hint { font-size: 12.5px; color: var(--muted); }
.field-error { font-size: 12.5px; color: var(--err); }
.form-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.reply-notice {
  display: flex; align-items: center; gap: 10px;
  background: var(--accent-soft); color: var(--accent);
  padding: 8px 13px; border-radius: var(--radius-sm);
  font-size: 13.5px; margin-bottom: 14px;
}
.reply-notice button { background: none; border: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }

/* ── Arama ────────────────────────────────────────────────── */
.search-big { display: flex; gap: 10px; margin: 18px 0 14px; max-width: 540px; }
.search-big input {
  flex: 1; padding: 12px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg-elev); color: var(--fg); font: inherit;
}
.search-hint { color: var(--muted); font-size: 14px; margin: 0 0 12px; }

/* ── Sayfalama ────────────────────────────────────────────── */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  flex-wrap: wrap; margin: 46px 0 56px;
}
.page-list { display: flex; gap: 5px; list-style: none; margin: 0; padding: 0; }
.page-link {
  display: inline-grid; place-items: center; min-width: 38px; height: 38px;
  padding: 0 11px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--fg-soft); font-size: 14.5px; font-weight: 600; background: var(--bg-elev);
}
.page-link:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.page-link.is-current { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.page-gap { display: grid; place-items: center; min-width: 24px; color: var(--muted); }

.empty-state { color: var(--muted); padding: 30px 0 50px; font-size: 15.5px; }

/* ── Hata sayfası ─────────────────────────────────────────── */
.error-page { text-align: center; padding: 80px 20px 110px; }
.error-code { font-size: clamp(3.5rem, 12vw, 6rem); font-weight: 800; color: var(--accent); margin: 0; line-height: 1; letter-spacing: -.04em; }
.error-title { font-size: clamp(1.4rem, 4vw, 2rem); margin: 10px 0 12px; }
.error-message { color: var(--muted); margin: 0 0 26px; }
.error-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.error-hint { font-size: 14px; color: var(--muted); margin-top: 28px; }

/* ── Alt bar ──────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; background: var(--bg-elev); }
.footer-grid {
  display: grid; gap: 30px; padding: 44px 20px 30px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.footer-brand { font-weight: 700; margin: 0 0 8px; }
.footer-text { color: var(--muted); font-size: 14.5px; margin: 0; max-width: 34ch; }
.footer-title { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--fg-soft); font-size: 14.5px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap; border-top: 1px solid var(--line);
  padding: 18px 20px 28px; font-size: 13.5px; color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ── Mobil ────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute; top: 62px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; box-shadow: var(--shadow);
    display: none;
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 11px 6px; font-size: 16px; border-bottom: 1px solid var(--line-soft); }
  .search-mini input { width: 110px; }
  .search-mini input:focus { width: 150px; }
  .brand-text { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 520px) {
  .post-content { font-size: 16.5px; }
  .author-box { flex-direction: column; }
  .search-mini { display: none; }
}

@media print {
  .site-header, .site-footer, .share, .comments, .post-nav, .related, .amp-hint { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .post-content a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
