/* ============================================================================
   assets/style.css — Hepyekbet Bağımsız Bilgilendirme ve Güvenlik Portalı
   WCAG AA kontrast uyumlu tasarım sistemi
   ============================================================================ */

:root {
  /* Hepyekbet Ana Kurumsal Kırmızı & Vurgu Tonları */
  --brand-primary: #E5252A;
  --brand-primary-hover: #C81E23;
  --brand-accent: #FF6B70;        /* Koyu zeminde WCAG AA uyumlu parlak mercan/kırmızı metin ve link vurgusu */
  --brand-glow: rgba(229, 37, 42, 0.28);

  /* Durum & Doğrulama Renkleri (WCAG AA) */
  --status-ok: #16A34A;
  --status-err: #EF4444;
  --status-warn: #FFB02E;

  /* Hepyekbet Orijinal Koyu Antrasit / Kömür Yüzey Katmanları */
  --bg: #11151C;                  /* Ana sayfa arka planı (Derin Kömür/Lacivert) */
  --bg-topbar: #0B0E13;           /* En üst 18+ bar ve ana header zemini */
  --surface: #1D2430;             /* Kart, tablo ve alt navigasyon bar yüzeyi */
  --surface-2: #262F3F;           /* Hover, aktif sekme, akordeon başlığı ve iç kutu yüzeyi */
  --border: #323D52;              /* Kart ve tablo kenarlıkları */

  /* Metin Kontrast Katmanları (WCAG AA) */
  --ink: #F8FAFC;                 /* Ana başlıklar ve birincil metin (Saf Beyaz) */
  --ink-soft: #D5DCE6;            /* Gövde metni ve liste öğeleri */
  --ink-muted: #B3BAC6;           /* İkincil açıklamalar, zaman damgası ve tablo alt notları */

  /* Boyut, Köşe ve Gölgeler */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Fira Code", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--brand-accent);
  text-decoration: underline;
  transition: color .15s ease;
}
a:hover { color: #FF9BA0; }
a:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: 3px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-primary);
  color: #fff;
  padding: 10px 18px;
  z-index: 9999;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ============================================================================
   TOPBAR (18+)
   ============================================================================ */
.topbar {
  background: var(--bg-topbar);
  border-bottom: 1px solid var(--border);
}
.topbar__inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar__badge {
  font-size: 20px;
  line-height: 1.3;
  flex-shrink: 0;
  margin-top: 2px;
}
.topbar__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--status-warn);
}

/* ============================================================================
   SITE HEADER / NAVIGATION
   ============================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 14, 19, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.site-header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.site-header__brand:hover { color: var(--ink); }
.site-header__logo { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; }
.site-header__logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.site-header__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.site-header__brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--brand-primary);
}
.site-header__brand-sub {
  font-size: 11px;
  color: var(--ink-muted);
  font-weight: 500;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav__item { position: relative; }
.primary-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-family: inherit;
}
.primary-nav__link:hover { color: var(--ink); background: var(--surface); }
.primary-nav__item.is-active .primary-nav__link,
.primary-nav__link[aria-current="page"] { color: var(--brand-primary); }
.caret { font-size: 11px; color: var(--ink-muted); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 8px 0 0;
  padding: 6px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 1001;
}
.dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown__link {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
}
.dropdown__link:hover { background: var(--surface-2); color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--brand-primary);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
/* ============================================================================
   TİPOGRAFİ, BAŞLIKLAR, LEAD, BYLINE
   ============================================================================ */
.page-main { padding-top: 28px; padding-bottom: 56px; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: 34px; }
h2 {
  font-size: 26px;
  margin-top: 2.2em;
  padding-top: 0.3em;
  border-top: 1px solid var(--border);
  scroll-margin-top: 90px;
}
h3 { font-size: 19px; margin-top: 1.6em; scroll-margin-top: 90px; }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); }
ul, ol { padding-left: 1.4em; margin: 0 0 1.1em; }
li { margin-bottom: 0.4em; }

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.4em;
}

/* Byline — Yazar & Denetmen Künye Kartı */
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 22px;
}
.byline__avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
}
.byline__body { flex: 1 1 260px; }
.byline__author {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}
.byline__author a { color: var(--ink); }
.byline__role {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--ink-muted);
}
.byline__meta {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--status-ok);
  font-weight: 600;
}
.byline__reviewers {
  flex: 1 1 220px;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
}
.byline__reviewers a { color: var(--ink-soft); }
.byline__reviewers-label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ============================================================================
   STATUS CARD (Canlı Sistem Durumu)
   ============================================================================ */
.status-card {
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.status-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.live-dot {
  position: relative;
  width: 16px;
  height: 16px;
  background: var(--status-ok);
  border-radius: 50%;
  flex-shrink: 0;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--status-ok);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(22, 163, 74, 0.16);
  color: #4ADE80;
  border: 1px solid rgba(22, 163, 74, 0.5);
}
.status-card__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
}
.status-card__item { min-width: 0; }
.status-card__label {
  display: block;
  font-size: 12px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.status-card__value {
  font-size: 15px;
  font-weight: 600;
  word-break: break-word;
}
.status-card__value--mono {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-soft);
}
.badge-highlight {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  background: var(--brand-glow);
  border: 1px solid var(--brand-primary);
  color: var(--brand-accent);
  font-weight: 700;
}
/* ============================================================================
   İÇİNDEKİLER (TOC)
   ============================================================================ */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 24px;
}
.toc__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 28px;
}
.toc__list li {
  margin-bottom: 6px;
  break-inside: avoid;
}
.toc__list a {
  color: var(--ink-soft);
  text-decoration: underline;
  font-size: 14px;
}
.toc__list a::before {
  content: "› ";
  color: var(--brand-primary);
  font-weight: 700;
}

/* ============================================================================
   ARTI & EKSİ MATRİSİ (.bp-cons)
   ============================================================================ */
.bp-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.bp-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.bp-col--pro { border-top: 4px solid var(--status-ok); }
.bp-col--con { border-top: 4px solid var(--status-err); }
.bp-col__title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
}
.bp-col--pro .bp-col__title { color: #4ADE80; }
.bp-col--con .bp-col__title { color: #F87171; }
.bp-col__list { list-style: none; margin: 0; padding: 0; }
.bp-col__list li {
  margin-bottom: 16px;
  padding-left: 22px;
  position: relative;
}
.bp-col--pro .bp-col__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--status-ok);
  font-weight: 800;
}
.bp-col--con .bp-col__list li::before {
  content: "!";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--status-err);
  font-weight: 800;
}
.bp-col__item-name { font-weight: 700; }
.bp-col__item-desc {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 2px;
  line-height: 1.55;
}
.bp-cons__src {
  display: block;
  font-size: 13px;
  margin-top: 4px;
  text-decoration: underline;
}
.bp-cons__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--brand-primary); color: #fff; }
.btn--primary:hover { background: var(--brand-primary-hover); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--brand-primary); color: var(--ink); }

/* CTA Hero Butonu (ana sayfa) */
.cta-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 18px 0 24px;
}
.btn--cta {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  box-shadow: 0 6px 20px rgba(229, 37, 42, 0.35);
}
.btn--cta:hover {
  background: linear-gradient(135deg, var(--brand-primary-hover), var(--brand-accent));
  color: #fff;
  transform: translateY(-1px);
}


/* ============================================================================
   ADRES GEÇMİŞİ (.history-card)
   ============================================================================ */
.history-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 24px;
}
.history-card__title {
  margin: 0 0 16px;
  font-size: 18px;
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.history-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.history-item__domain {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  flex: 0 1 auto;
}
.history-item__status {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.history-item__status--active {
  background: rgba(22, 163, 74, 0.16);
  color: #4ADE80;
  border: 1px solid rgba(22, 163, 74, 0.5);
}
.history-item__status--blocked {
  background: rgba(239, 68, 68, 0.16);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.5);
}
.history-item__status--ready {
  background: rgba(255, 176, 46, 0.16);
  color: var(--status-warn);
  border: 1px solid rgba(255, 176, 46, 0.5);
}
.history-card__note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-muted);
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}
.history-card__note code { font-size: 12px; }
/* ============================================================================
   TABLOLAR, KANIT GRID, CALLOUT, AKORDEON
   ============================================================================ */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--surface);
}
caption {
  caption-side: top;
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
thead th {
  background: var(--surface-2);
  color: var(--ink);
  text-align: left;
  padding: 11px 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border);
}
tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-soft);
  vertical-align: top;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(229, 37, 42, 0.08); }
td.mono, .mono { font-family: var(--mono); font-size: 13px; }
.tag-ok { color: #4ADE80; font-weight: 700; }
.tag-warn { color: var(--status-warn); font-weight: 700; }
.tag-err { color: #F87171; font-weight: 700; }

/* Kanıt Grid (.evidence-grid) */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 20px 0 24px;
}
.evidence-fig {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.evidence-fig__img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: var(--surface-2);
  color: var(--ink-muted);
  font-size: 13px;
  text-align: center;
  padding: 0;
  overflow: hidden;
  position: relative;
}
.evidence-fig__img img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}
.evidence-fig__img .evidence-placeholder {
  padding: 16px;
}
/* Görsel üzerinde doğrulama damgası (timestamp + SHA-256) */
.evidence-fig__stamp {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  color: #FFFFFF;
  background: rgba(11, 14, 19, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}
.evidence-fig__stamp .stamp-ok { color: #4ADE80; }
.evidence-fig figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--ink-muted);
  border-top: 1px solid var(--border);
}
.evidence-fig figcaption .fig-meta {
  display: block;
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
  word-break: break-all;
}

/* Callout / Uyarı kutuları */
.callout {
  padding: 14px 18px;
  border-left: 4px solid var(--brand-primary);
  background: var(--brand-glow);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 15px;
}
.callout--warn {
  border-left-color: var(--status-warn);
  background: rgba(255, 176, 46, 0.1);
}
.callout--danger {
  border-left-color: var(--status-err);
  background: rgba(239, 68, 68, 0.1);
}
.callout--ok {
  border-left-color: var(--status-ok);
  background: rgba(22, 163, 74, 0.1);
}
.callout__title {
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

/* Akordeon (<details class="acc">) */
details.acc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
details.acc summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::before {
  content: "+";
  font-weight: 800;
  color: var(--brand-primary);
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}
details.acc[open] summary::before { content: "−"; }
details.acc summary:hover { background: var(--surface-2); }
details.acc .acc__body {
  padding: 0 18px 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}
/* ============================================================================
   YAZAR KARTLARI (yazarlar sayfası)
   ============================================================================ */
.author-card {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  scroll-margin-top: 90px;
}
.author-card__avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 26px;
  flex-shrink: 0;
}
.author-card__body { flex: 1 1 280px; min-width: 0; }
.author-card__name { margin: 0 0 2px; font-size: 19px; }
.author-card__title { margin: 0 0 10px; font-size: 14px; color: var(--brand-primary); font-weight: 700; }
.author-card__bio { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  background: var(--surface-2);
  white-space: nowrap;
}
.social-link:hover { border-color: var(--brand-primary); color: var(--ink); }
.social-link svg { width: 16px; height: 16px; fill: currentColor; }

/* ============================================================================
   FORMLAR (İhbar formu)
   ============================================================================ */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--brand-primary);
  border-color: var(--brand-primary);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field .hint { font-size: 12px; color: var(--ink-muted); margin-top: 4px; }

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
  background: var(--bg-topbar);
  border-top: 1px solid var(--border);
  padding: 44px 0 28px;
  margin-top: 40px;
}
.footer-legal-18 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(229, 37, 42, 0.5);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  background: var(--brand-glow);
}
.footer-legal-18__badge {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 15px;
  color: var(--brand-accent);
  white-space: nowrap;
  margin-top: 1px;
}
.footer-legal-18__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 28px;
}
.footer-col__title {
  margin: 0 0 12px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.footer-col__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col__list li { margin-bottom: 8px; }
.footer-col__list a {
  color: var(--ink-muted);
  text-decoration: underline;
  font-size: 14px;
}
.footer-col__list a:hover { color: var(--brand-accent); }
.footer-disclaimer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.footer-disclaimer__title {
  font-weight: 800;
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--status-warn);
}
.footer-disclaimer p { font-size: 13px; color: var(--ink-muted); margin: 0; line-height: 1.7; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  font-size: 12px;
  color: var(--ink-muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
}
.footer-bottom a:hover { color: var(--brand-accent); }
/* ============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================ */
@media (max-width: 1024px) {
  h1 { font-size: 30px; }
  h2 { font-size: 23px; }
  .bp-cons { grid-template-columns: 1fr; }
  .status-card__grid { grid-template-columns: 1fr 1fr; }
  .toc__list { columns: 1; }
  .site-header__brand-name { font-size: 18px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .primary-nav.is-open { max-height: 80vh; overflow-y: auto; }
  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
  }
  .primary-nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 10px;
    font-size: 16px;
  }
  .dropdown {
    position: static;
    min-width: 0;
    margin: 0 0 4px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: var(--surface-2);
  }
  .dropdown.is-open { display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .status-card__grid { grid-template-columns: 1fr; }
  h1 { font-size: 26px; }
  h2 { font-size: 21px; }
  .lead { font-size: 16px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 15px; }
  h1 { font-size: 23px; }
  h2 { font-size: 19px; }
  h3 { font-size: 17px; }
  .byline { flex-direction: column; align-items: flex-start; }
  .byline__body { flex: 1 1 auto; width: 100%; min-width: 0; }
  .byline__reviewers { flex: 1 1 auto; width: 100%; min-width: 0; padding-top: 4px; border-top: 1px solid var(--border); }
  .byline__avatar { align-self: flex-start; }
  .history-item { flex-direction: column; align-items: flex-start; }
  .history-item__status { margin-left: 0; }
  .bp-cons__actions { flex-direction: column; }
  .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
  .footer-legal-18 { flex-direction: column; gap: 6px; }

  /* Yazar kartları — mobil dikey düzen */
  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 20px 16px;
  }
  .author-card__body { flex: 1 1 auto; width: 100%; min-width: 0; }
  .author-card__avatar { width: 64px; height: 64px; font-size: 22px; }
  .author-card__name { font-size: 17px; }
  .author-card__title { font-size: 13px; margin-bottom: 8px; }
  .author-card__bio { font-size: 14px; text-align: left; }
  .social-links { justify-content: center; }
  .social-link {
    flex: 1 1 30%;
    min-width: 100px;
    justify-content: center;
    padding: 8px 12px;
  }

  .site-header__brand-sub { display: none; }
}





