/* Farsçadan — site stili. Harici çerçeve yok. */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f2efe8;
  --text: #1b1b1f;
  --muted: #5a5a63;
  --border: #e2ddd2;
  --accent: #0f5f5c;          /* koyu turkuaz — 7:1 üzeri kontrast */
  --accent-ink: #ffffff;
  --accent-soft: #e3f0ee;
  --label-bg: #f4ead7;
  --label-ink: #6b4a10;
  --focus: #c2410c;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fa: "Vazirmatn", "Tahoma", "Noto Naskh Arabic", "Geeza Pro", serif;
  --radius: 10px;
  --gutter: 16px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121315;
    --surface: #1a1b1e;
    --surface-2: #222429;
    --text: #ececef;
    --muted: #a6a7ae;
    --border: #2e3036;
    --accent: #5cc8bf;
    --accent-ink: #0b1716;
    --accent-soft: #17302e;
    --label-bg: #3a2e18;
    --label-ink: #f1d39b;
    --focus: #fb923c;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.wide { max-width: 1100px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1100px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 10px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.wm-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font: 700 22px/1 var(--serif); }
.wm-text { font: 700 28px/1 var(--serif); letter-spacing: -0.01em; }
.tagline { margin: 0; color: var(--muted); font-size: 14px; }
.site-nav { border-top: 1px solid var(--border); }
.site-nav ul { max-width: 1100px; list-style: none; display: flex; gap: 4px; margin: 0 auto; padding-top: 0; padding-bottom: 0; overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.site-nav li { flex: 0 0 auto; }
.site-nav a { display: block; padding: 10px 10px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

main { padding: 24px 0 48px; min-height: 60vh; }

/* Chips */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; }
.chip { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); text-decoration: none; font-size: 13px; font-weight: 500; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Kicker, meta */
.kicker { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kicker a { color: var(--accent); text-decoration: none; }
.kicker .src { text-transform: none; letter-spacing: 0; font-weight: 500; }
.meta { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

/* Hero */
.hero { display: grid; gap: 16px; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.hero-media img, .hero-media .noimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.hero-title { font: 700 clamp(26px, 5vw, 40px)/1.15 var(--serif); margin: 0 0 10px; letter-spacing: -0.01em; }
.hero-title a, .card-title a { color: var(--text); text-decoration: none; }
.hero-title a:hover, .card-title a:hover { color: var(--accent); }
.dek { font-size: 18px; color: var(--muted); margin: 0; line-height: 1.5; }
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 28px; }
}

/* Grid & cards */
.section-title { font: 600 14px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--text); }
.grid { display: grid; gap: 28px 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { min-width: 0; }
.card-media img, .card-media .noimg { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; }
.noimg { display: grid; place-items: center; background: var(--surface-2); color: var(--border); font: 700 64px/1 var(--serif); }
.card-title { font: 600 20px/1.25 var(--serif); margin: 0 0 6px; }
.card-dek { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.empty { padding: 32px; background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); text-align: center; }

.page-head h1 { font: 700 34px/1.15 var(--serif); margin: 0 0 6px; }
.page-head { margin-bottom: 24px; }
.lead { font-size: 18px; color: var(--muted); }

/* Article */
.article-head { margin-bottom: 20px; }
.article-title { font: 700 clamp(28px, 6vw, 42px)/1.15 var(--serif); margin: 0 0 12px; letter-spacing: -0.01em; overflow-wrap: break-word; }
.byline { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.author { font-weight: 600; color: var(--text); }
.lead-figure { margin: 0 0 24px; }
.lead-figure img { width: 100%; border-radius: var(--radius); }
.lead-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.article-body, .prose { font-family: var(--serif); font-size: 19px; line-height: 1.7; overflow-wrap: break-word; }
.article-body h2, .prose h2 { font: 700 24px/1.3 var(--serif); margin: 32px 0 10px; }
.article-body h3, .prose h3 { font: 600 20px/1.3 var(--serif); margin: 24px 0 8px; }
.prose h1 { font: 700 clamp(30px, 6vw, 40px)/1.15 var(--serif); margin: 0 0 16px; }
.prose .lead, .prose .meta { font-family: var(--sans); }
blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent); color: var(--muted); font-style: italic; }
.article-body ul, .prose ul { padding-left: 1.3em; }
.article-body li, .prose li { margin: 4px 0; }

.source-box { margin: 32px 0 20px; padding: 18px 20px; background: var(--surface-2); border-radius: var(--radius); border: 1px solid var(--border); font-size: 15px; }
.source-box h2, .extra-sources h2 { font: 600 13px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.source-box p { margin: 6px 0; }
.source-name { font-size: 17px; }
.label { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--label-bg); color: var(--label-ink); font-size: 12px; font-weight: 600; vertical-align: 2px; }
.fa-title { font-family: var(--fa); font-size: 19px; line-height: 1.8; text-align: right; color: var(--text); }
.extra-sources { margin: 0 0 20px; font-size: 15px; }
.extra-sources ul { margin: 0; padding-left: 1.2em; }
.tags { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: 12px; padding: 3px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; color: var(--muted); }
.disclaimer { font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 14px; }
.related { margin-top: 40px; }

/* Forms */
.contact-form { font-family: var(--sans); font-size: 16px; }
.contact-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 10px 12px; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
}
.contact-form .hp { position: absolute; left: -9999px; }
.form-note { font-size: 13px; color: var(--muted); }
button { font: 600 15px/1 var(--sans); padding: 12px 20px; border: 0; border-radius: 8px; background: var(--accent); color: var(--accent-ink); cursor: pointer; }
button:hover { filter: brightness(1.08); }
.notice { font-family: var(--sans); padding: 16px 18px; background: var(--accent-soft); border-radius: var(--radius); }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: 28px 0; font-size: 14px; color: var(--muted); }
.site-footer .wrap { max-width: 1100px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0 0 12px; }
.footer-links a { color: var(--text); }
.site-footer p { margin: 4px 0; }

/* Cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; z-index: 20; display: flex; gap: 12px; align-items: center; padding: 12px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0,0,0,.15); font-size: 14px; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1; }
.cookie button { flex: 0 0 auto; padding: 10px 14px; }

/* Çerçeve karşılaştırma tablosu */
.tablo { overflow-x: auto; margin: 1.5rem 0; }
.tablo table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tablo th, .tablo td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--border); }
.tablo th { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.tablo td:first-child { white-space: nowrap; font-weight: 600; }
@media (max-width: 560px) { .tablo td:first-child { white-space: normal; } }
