/* ==========================================================================
   Onvexiom — onvexiom.com
   Tek stil dosyası: tüm sayfalar bu dosyayı kullanır.

   Yön: gece maçı. Lacivert zemin, beyaz kireç çizgileri, skor tabelası rakamları.
   Palet: koyu lacivert #1a1a2e · beyaz #ffffff · açık gri #f5f5f5 · vurgu #e94560
   Yazı: Inter (arayüz ve metin) + Poppins (başlıklar ve rakamlar)
   Boşluklar 4 piksellik ızgaraya oturur.
   ========================================================================== */

:root {
  /* Açık zemin */
  --bg: #f5f5f5;
  --surface: #ffffff;
  --raised: #eceef3;
  --ink: #1a1a2e;
  --ink-2: #4a4e66;
  --ink-3: #686c84;
  --line: rgba(26, 26, 46, 0.1);
  --line-strong: rgba(26, 26, 46, 0.24);

  /* Koyu zemin */
  --night: #1a1a2e;
  --night-raised: #24263f;
  --on-night: #f1f2f6;
  --on-night-2: #aeb2c5;
  --line-night: rgba(255, 255, 255, 0.1);

  /* Vurgu: az ve yerinde */
  --accent: #e94560;      /* işaretler, koyu zemin üstü */
  --accent-fill: #d42f4d; /* beyaz metin taşıyan düğme (4,9:1) */
  --accent-ink: #c01f3e;  /* açık zemin üstünde bağlantı (6:1) */

  /* Branş yüzeyleri: yalnızca kapaklarda ve kategori noktalarında */
  --pitch: #17463b;
  --court: #5b3a26;
  --clay: #7a3b2c;
  --tarmac: #25262f;
  --arena: #1e3260;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fast: 160ms;
  --enter: 420ms;
  --header-h: 64px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Poppins", "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

svg { display: block; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 500; color: var(--ink); text-wrap: balance; }

p { margin: 0 0 16px; text-wrap: pretty; }

a { color: var(--accent-ink); text-decoration: none; transition: color var(--fast) var(--ease); }

time, .num { font-variant-numeric: tabular-nums; }

::selection { background: var(--ink); color: var(--surface); }

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

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container-narrow { width: min(720px, 100% - 48px); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 300;
  padding: 12px 16px;
  border-radius: var(--r);
  background: var(--surface);
  font-weight: 500;
  color: var(--ink);
  transition: top var(--fast) var(--ease);
}
.skip-link:focus { top: 8px; }

/* Okuma ilerlemesi (yazı sayfaları) */
.progress { position: fixed; top: 0; left: 0; z-index: 200; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn-accent { background: var(--accent-fill); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); color: #fff; }

.btn-quiet { border-color: var(--line-strong); background: var(--surface); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }

.btn-night { border-color: rgba(255, 255, 255, 0.24); background: transparent; color: var(--on-night); }
.btn-night:hover { border-color: var(--on-night); background: rgba(255, 255, 255, 0.06); color: #fff; }

.btn-sm { height: 44px; padding: 0 16px; font-size: 14px; }

/* ---------- Üst bilgi (sticky) ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--night); border-bottom: 1px solid var(--line-night); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 8px; height: 44px; font-family: var(--display); font-size: 18px; font-weight: 600; line-height: 1; color: #fff; }
.logo:hover { color: #fff; }
.logo-mark { width: 20px; height: 20px; color: var(--accent); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--on-night-2);
}
.site-nav a:hover { color: #fff; }
.site-nav a.active { color: #fff; }
.site-nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--accent); }

.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 44px; height: 44px; margin-right: -12px; padding: 0; border: 0; border-radius: var(--r); background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; transition: transform var(--fast) var(--ease), opacity var(--fast) var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Kapaklar: saha çizimi + skor tabelası rakamı ----------
   Fotoğrafı olan yazıda kapak <img>, olmayanda branşın saha çizimidir.
   Koyu geçiş, rakamın fotoğraf üzerinde okunmasını sağlar. */
.cover { position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: 16 / 10; background-color: var(--night); color: #fff; }
.cover:hover { color: #fff; }
.cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 14, 28, 0.86) 0%, rgba(14, 14, 28, 0.5) 40%, rgba(14, 14, 28, 0) 76%), linear-gradient(90deg, rgba(14, 14, 28, 0.28), rgba(14, 14, 28, 0) 60%); }
.cover-art,
.cover img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cover-art .l * { vector-effect: non-scaling-stroke; }

.cover-futbol { background-color: var(--pitch); }
.cover-basketbol { background-color: var(--court); }
.cover-tenis { background-color: var(--clay); }
.cover-motorsporlari { background-color: var(--tarmac); }
.cover-genel { background-color: var(--arena); }

.cover-info { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; flex-direction: column; }
.cover-kicker { font-size: 13px; font-weight: 500; line-height: 20px; color: rgba(255, 255, 255, 0.8); }
.cover-figure { margin: 4px 0; font-family: var(--display); font-size: 40px; font-weight: 500; line-height: 44px; letter-spacing: -0.02em; }
.cover-label { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, 0.88); }

/* ---------- Hero (ana sayfa): gece maçı sahnesi ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--night); color: var(--on-night); }
.hero-scene { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-scene .l * { vector-effect: non-scaling-stroke; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--night) 24%, rgba(26, 26, 46, 0) 64%); }

.hero-inner { padding: 104px 0 200px; }
.hero-text { max-width: 640px; }
.hero h1 { margin-bottom: 24px; font-size: 72px; line-height: 76px; letter-spacing: -0.03em; color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-text p { max-width: 544px; margin-bottom: 32px; font-size: 20px; line-height: 30px; color: var(--on-night-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sayfa açılışında tek seferlik giriş */
[data-enter] > * { animation: rise var(--enter) var(--ease) both; }
[data-enter] > *:nth-child(2) { animation-delay: 50ms; }
[data-enter] > *:nth-child(3) { animation-delay: 100ms; }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Öne çıkan yazı hero'nun alt kenarından yükselir */
.lead { position: relative; z-index: 1; margin-top: -120px; }
.lead + .section-head { margin-top: 64px; }

/* ---------- İç sayfa başlığı ---------- */
.page-head { padding: 64px 0 40px; }
.page-head h1 { margin-bottom: 12px; font-size: 40px; line-height: 48px; letter-spacing: -0.02em; }
.page-head p { max-width: 576px; margin: 0; font-size: 18px; line-height: 28px; color: var(--ink-2); }

/* ---------- Bölümler ---------- */
.section { padding: 64px 0 96px; }
.section-top { padding-top: 0; }

.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 24px; }
.section-head h2 { font-size: 28px; line-height: 36px; letter-spacing: -0.01em; }
.section-head p { margin: 0; font-size: 15px; color: var(--ink-3); }

/* ---------- Kartlar ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: border-color var(--fast) var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.card[hidden] { display: none; }

.card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 24px 16px; }

.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 8px; font-size: 13px; line-height: 20px; color: var(--ink-3); }

/* Kategori: sakin metin + branş rengi taşıyan küçük nokta */
.cat { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink-2); }
.cat::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--ink-3); }
a.cat:hover { color: var(--accent-ink); }
.cat-futbol::before { background: #2f8f6f; }
.cat-basketbol::before { background: #c9772f; }
.cat-tenis::before { background: #c8553d; }
.cat-motorsporlari::before { background: #5b5f73; }
.cat-genel::before { background: #3d63b8; }

.card h2,
.card h3 { margin-bottom: 8px; font-size: 18px; line-height: 26px; }
.card h2 a,
.card h3 a { color: var(--ink); }
.card:hover h2 a,
.card:hover h3 a { color: var(--accent-ink); }
.excerpt { margin-bottom: 16px; font-size: 15px; line-height: 24px; color: var(--ink-2); }

.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: auto 0 0; padding-top: 4px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--ink-3); }
.more { display: inline-flex; align-items: center; gap: 4px; height: 44px; font-weight: 500; white-space: nowrap; color: var(--ink); }
.more:hover { color: var(--accent-ink); }
.more span { transition: transform var(--fast) var(--ease); }
.more:hover span { transform: translateX(2px); }

/* Öne çıkan kart */
.card-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); }
.card-lead .cover { aspect-ratio: auto; min-height: 400px; }
.card-lead .cover-info { left: 40px; right: 40px; bottom: 32px; }
.card-lead .cover-kicker { font-size: 15px; line-height: 24px; }
.card-lead .cover-figure { font-size: 80px; line-height: 84px; letter-spacing: -0.03em; }
.card-lead .cover-label { font-size: 18px; line-height: 28px; }
.card-lead .card-body { justify-content: center; padding: 40px; }
.card-lead h2 { margin-bottom: 12px; font-size: 32px; line-height: 40px; letter-spacing: -0.02em; }
.card-lead .excerpt { margin-bottom: 24px; font-size: 17px; line-height: 28px; }
.card-lead .card-foot { margin-top: 0; }

/* ---------- Yazı sayfası ---------- */
.post { padding: 40px 0 64px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin-bottom: 24px; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.breadcrumb a { display: inline-flex; align-items: center; height: 32px; color: var(--ink-3); }
.breadcrumb a:hover { color: var(--ink); }

.post-header h1 { margin-bottom: 24px; font-size: 44px; line-height: 52px; letter-spacing: -0.02em; }

.byline { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.byline-text { display: flex; flex-direction: column; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.byline-text strong { font-size: 15px; font-weight: 500; color: var(--ink); }
.byline-text span { display: flex; flex-wrap: wrap; gap: 0 8px; }

.avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--raised); font-size: 13px; font-weight: 600; color: var(--ink); }
.avatar-lg { width: 64px; height: 64px; font-size: 18px; }

.cover-lg { aspect-ratio: 2 / 1; margin-bottom: 40px; border-radius: var(--r-lg); }
.cover-lg .cover-info { left: 32px; right: 32px; bottom: 24px; }
.cover-lg .cover-kicker { font-size: 15px; line-height: 24px; }
.cover-lg .cover-figure { font-size: 80px; line-height: 84px; letter-spacing: -0.03em; }
.cover-lg .cover-label { font-size: 17px; line-height: 28px; }

.post-content { font-size: 18px; line-height: 32px; color: #2a2c42; }
.post-content p { margin-bottom: 24px; }
.post-content > :last-child { margin-bottom: 0; }
.post-content .lead-text { font-size: 21px; line-height: 34px; color: var(--ink); }
.post-content h2 { margin: 48px 0 12px; font-size: 26px; line-height: 34px; letter-spacing: -0.01em; }
.post-content h3 { margin: 32px 0 8px; font-size: 19px; line-height: 28px; }
.post-content ul,
.post-content ol { margin: 0 0 24px; padding: 0; list-style: none; }
.post-content li { position: relative; margin-bottom: 8px; padding-left: 24px; }
.post-content ul > li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.post-content ol { counter-reset: sira; }
.post-content ol > li { counter-increment: sira; padding-left: 32px; }
.post-content ol > li::before { content: counter(sira); position: absolute; left: 0; top: 0; width: 24px; font-family: var(--display); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink-3); }
.post-content strong { font-weight: 600; color: var(--ink); }

.post-foot { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.foot-title { margin: 0 0 8px; font-size: 13px; line-height: 20px; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 4px 8px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: 14px; line-height: 20px; color: var(--ink-2); }

.share { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.share a,
.share button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.share a:hover,
.share button:hover { border-color: var(--ink); color: var(--ink); }
.share svg { width: 18px; height: 18px; }
.share button.is-done { border-color: var(--ink); background: var(--ink); color: #fff; }

.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.author-box h2 { font-size: 18px; line-height: 26px; }
.author-box .role { margin: 0 0 8px; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.author-box p { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-2); }

.back-link { display: inline-flex; align-items: center; gap: 8px; height: 44px; margin-top: 24px; font-size: 15px; font-weight: 500; }
.back-link span { transition: transform var(--fast) var(--ease); }
.back-link:hover span { transform: translateX(-2px); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.post-nav a,
.post-nav .post-nav-empty { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); font-family: var(--display); font-size: 16px; font-weight: 500; line-height: 24px; color: var(--ink); transition: border-color var(--fast) var(--ease); }
.post-nav a:hover { border-color: var(--line-strong); color: var(--accent-ink); }
.post-nav small { font-family: var(--font); font-size: 13px; font-weight: 400; line-height: 20px; color: var(--ink-3); }
.post-nav .next { align-items: flex-end; text-align: right; }
.post-nav .post-nav-empty { border-style: dashed; background: transparent; font-family: var(--font); font-size: 15px; font-weight: 400; color: var(--ink-3); }

/* İlgili yazılar: kart değil, sakin bir liste */
.related { padding: 64px 0 96px; border-top: 1px solid var(--line); background: var(--surface); }
.related h2 { margin-bottom: 8px; font-size: 24px; line-height: 32px; }
.story-list { margin: 0; padding: 0; list-style: none; }
.story-list li { border-bottom: 1px solid var(--line); }
.story-list li:last-child { border-bottom: 0; }
.story-list a { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; color: var(--ink); }
.story-list strong { font-family: var(--display); font-size: 18px; font-weight: 500; line-height: 26px; }
.story-list a:hover strong { color: var(--accent-ink); }
.story-list .meta { margin: 0; }

/* ---------- Düz metin sayfaları (hakkımızda, yasal) ---------- */
.prose { font-size: 17px; line-height: 30px; color: #2a2c42; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin-bottom: 20px; }
.prose h2 { margin: 40px 0 12px; font-size: 22px; line-height: 30px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 20px; padding: 0; list-style: none; }
.prose li { position: relative; margin-bottom: 8px; padding-left: 24px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose code { padding: 2px 6px; border-radius: var(--r-sm); background: var(--raised); font-size: 14px; }
.prose .updated { margin-bottom: 24px; font-size: 14px; line-height: 20px; color: var(--ink-3); }

.table-wrap { overflow-x: auto; margin: 0 0 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.prose table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; line-height: 24px; }
.prose th,
.prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-size: 13px; font-weight: 500; line-height: 20px; color: var(--ink-3); }
.prose tr:last-child td { border-bottom: 0; }

.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.duo { display: grid; gap: 24px; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.panel h2 { margin-bottom: 8px; font-size: 20px; line-height: 28px; }
.panel p { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-2); }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.team-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.team-card .avatar { margin-bottom: 16px; }
.team-card h3 { font-size: 18px; line-height: 26px; }
.team-card .role { margin-bottom: 12px; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.team-card p:last-child { margin: 0; font-size: 15px; line-height: 24px; color: var(--ink-2); }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.contact-info h2,
.form-card h2 { margin-bottom: 12px; font-size: 22px; line-height: 30px; }
.contact-info { padding-top: 32px; }
.contact-info > p { color: var(--ink-2); }

.contact-list { margin: 24px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.contact-list li { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--ink-3); }
.contact-list div { display: flex; flex-direction: column; font-size: 15px; line-height: 24px; }
.contact-list small { font-size: 13px; line-height: 20px; color: var(--ink-3); }

.form-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; line-height: 20px; }
.field input,
.field textarea { width: 100%; height: 48px; padding: 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); font: inherit; font-size: 16px; line-height: 24px; color: var(--ink); transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.field textarea { height: 160px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }
.field input:hover,
.field textarea:hover { border-color: var(--ink-3); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(26, 26, 46, 0.12); }
.form-note { margin: 16px 0 0; font-size: 14px; line-height: 20px; color: var(--ink-3); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--r); background: var(--raised); font-size: 15px; line-height: 24px; color: var(--ink); }
.form-status[hidden] { display: none; }

/* ---------- Sosyal medya ---------- */
.social { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-night); border-radius: var(--r); color: var(--on-night-2); transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease); }
.social a:hover { border-color: var(--on-night); color: #fff; }
.social svg { width: 18px; height: 18px; }
.social-light a { border-color: var(--line); background: var(--surface); color: var(--ink-2); }
.social-light a:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Kategoriler ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cat-card { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); cursor: pointer; transition: border-color var(--fast) var(--ease), background-color var(--fast) var(--ease); }
.cat-card:hover { border-color: var(--line-strong); color: var(--ink); }
.cat-card.is-active { border-color: var(--ink); background: var(--raised); }
.cat-card .cat { font-family: var(--display); font-size: 17px; line-height: 24px; color: var(--ink); }
.cat-count { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 8px; font-size: 14px; color: var(--ink-3); }
.cat-count b { font-family: var(--display); font-size: 32px; font-weight: 500; line-height: 32px; color: var(--ink); }
.cat-desc { font-size: 14px; line-height: 20px; color: var(--ink-2); }

.filter-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; min-height: 44px; margin: 48px 0 24px; }
.filter-bar p { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 30px; }
.filter-bar [hidden] { display: none; }

/* ---------- Arşiv ---------- */
.archive-month { display: flex; align-items: baseline; gap: 12px; margin: 48px 0 12px; font-size: 22px; line-height: 30px; }
.archive-month:first-child { margin-top: 0; }
.archive-month span { font-family: var(--font); font-size: 14px; font-weight: 400; line-height: 20px; color: var(--ink-3); }
.archive-table { width: 100%; overflow: hidden; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; border-radius: var(--r-lg); background: var(--surface); }
.archive-table th,
.archive-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.archive-table th { padding: 12px 20px; font-size: 13px; font-weight: 500; line-height: 20px; color: var(--ink-3); }
.archive-table tbody tr:last-child td { border-bottom: 0; }
.archive-table tbody tr { transition: background-color var(--fast) var(--ease); }
.archive-table tbody tr:hover { background: #fafafb; }
.archive-table td:first-child { width: 152px; white-space: nowrap; font-size: 14px; color: var(--ink-3); }
.archive-table .a-title { font-family: var(--display); font-weight: 500; color: var(--ink); }
.archive-table .a-title:hover { color: var(--accent-ink); }
.archive-table .cat { display: flex; font-size: 14px; }
.archive-table .a-author { white-space: nowrap; font-size: 14px; color: var(--ink-2); }

/* ---------- 404 ---------- */
.not-found { padding: 96px 0 128px; }
.not-found .code { margin: 0 0 16px; font-family: var(--display); font-size: 160px; font-weight: 500; line-height: 160px; letter-spacing: -0.03em; color: var(--ink); }
.not-found h1 { margin-bottom: 12px; font-size: 32px; line-height: 40px; letter-spacing: -0.01em; }
.not-found p { max-width: 544px; margin-bottom: 32px; font-size: 18px; line-height: 28px; color: var(--ink-2); }
.not-found .hero-actions { margin: 0; }

/* ---------- Alt bilgi ---------- */
.site-footer { flex-shrink: 0; background: var(--night); font-size: 15px; line-height: 24px; color: var(--on-night-2); }
.footer-grid { display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 48px; padding: 64px 0 48px; }
.site-footer h3 { margin-bottom: 8px; font-family: var(--font); font-size: 14px; font-weight: 500; line-height: 20px; color: #fff; }
.footer-brand p { max-width: 352px; margin: 12px 0 0; }
.site-footer a { color: var(--on-night-2); }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; }
.footer-links,
.footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-links a,
.footer-contact li { display: flex; align-items: center; min-height: 36px; }
.footer-contact { margin-bottom: 12px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 24px; padding: 24px 0; border-top: 1px solid var(--line-night); font-size: 14px; line-height: 20px; }

/* ---------- Çerez uyarısı ---------- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 880px;
  margin-inline: auto;
  padding: 16px 16px 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  background: var(--night);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  font-size: 14px;
  line-height: 20px;
  color: var(--on-night-2);
  animation: rise var(--enter) var(--ease) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner .btn { flex: 0 0 auto; }

/* ---------- Duyarlı tasarım: tablet ---------- */
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { padding: 80px 0 184px; }
  .hero h1 { font-size: 56px; line-height: 60px; }
  .hero::after { background: linear-gradient(90deg, var(--night) 40%, rgba(26, 26, 46, 0) 92%); }
  .hero-text p { max-width: 480px; }
  .about-grid { gap: 40px; }
  .card-lead { grid-template-columns: 1fr 1fr; }
  .card-lead .cover { min-height: 360px; }
  .card-lead .cover-figure { font-size: 56px; line-height: 60px; }
  .card-lead .card-body { padding: 32px; }
  .card-lead h2 { font-size: 26px; line-height: 34px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
}

/* ---------- Duyarlı tasarım: mobil ---------- */
@media (max-width: 760px) {
  .container,
  .container-narrow { width: calc(100% - 40px); }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line-night);
    background: var(--night);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast);
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .site-nav a { height: 48px; padding: 0; border-bottom: 1px solid var(--line-night); font-size: 16px; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a.active::after { left: 0; right: auto; bottom: 8px; width: 24px; }

  .hero::after { background: linear-gradient(180deg, var(--night) 56%, rgba(26, 26, 46, 0.5) 100%); }
  .hero-inner { padding: 56px 0 152px; }
  .hero h1 { margin-bottom: 16px; font-size: 40px; line-height: 44px; letter-spacing: -0.02em; }
  .hero-text p { margin-bottom: 24px; font-size: 18px; line-height: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .lead { margin-top: -104px; }

  .page-head { padding: 40px 0 24px; }
  .page-head h1 { font-size: 32px; line-height: 40px; }
  .section { padding: 48px 0 64px; }
  .section-top { padding-top: 0; }

  .post-grid { grid-template-columns: 1fr; gap: 20px; }
  .card-lead { display: flex; }
  .card-lead .cover { aspect-ratio: 16 / 10; min-height: 0; }
  .card-lead .cover-info { left: 20px; right: 20px; bottom: 16px; }
  .card-lead .cover-kicker { font-size: 13px; line-height: 20px; }
  .card-lead .cover-figure { font-size: 48px; line-height: 52px; }
  .card-lead .cover-label { font-size: 15px; line-height: 24px; }
  .card-lead .card-body { padding: 20px 24px 16px; }
  .card-lead h2 { margin-bottom: 8px; font-size: 22px; line-height: 30px; }
  .card-lead .excerpt { margin-bottom: 16px; font-size: 15px; line-height: 24px; }

  .post { padding: 24px 0 48px; }
  .post-header h1 { margin-bottom: 20px; font-size: 30px; line-height: 38px; }
  .cover-lg { aspect-ratio: 4 / 3; margin-bottom: 32px; }
  .cover-lg .cover-info { left: 20px; right: 20px; bottom: 16px; }
  .cover-lg .cover-figure { font-size: 56px; line-height: 60px; }
  .cover-lg .cover-label { font-size: 15px; line-height: 24px; }
  .post-content { font-size: 17px; line-height: 30px; }
  .post-content .lead-text { font-size: 19px; line-height: 32px; }
  .post-content h2 { margin-top: 40px; font-size: 22px; line-height: 30px; }
  .related { padding: 48px 0 64px; }

  .about-grid,
  .team-grid,
  .contact-grid,
  .form-row,
  .post-nav { grid-template-columns: 1fr; }
  .about-grid { gap: 32px; }
  .contact-info { padding-top: 0; }
  .form-row { gap: 0; }
  .form-card { padding: 24px 20px; }
  .post-nav .next { align-items: flex-start; text-align: left; }
  .author-box { flex-direction: column; gap: 12px; }

  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat-card { padding: 16px; }
  .filter-bar { margin-top: 32px; }

  .not-found { padding: 56px 0 80px; }
  .not-found .code { font-size: 104px; line-height: 104px; }
  .not-found .hero-actions .btn { flex: 1 1 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* Arşiv tablosu mobilde satır listesine dönüşür */
  .archive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .archive-table,
  .archive-table tbody,
  .archive-table tr,
  .archive-table td { display: block; width: 100%; }
  .archive-table tr { padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .archive-table tbody tr:last-child { border-bottom: 0; }
  .archive-table td { padding: 0; border: 0; }
  .archive-table td:first-child { width: auto; margin-bottom: 4px; }
  .archive-table td:nth-child(3),
  .archive-table td:nth-child(4) { display: inline-block; width: auto; margin: 8px 16px 0 0; }

  .cookie-banner { flex-direction: column; align-items: stretch; gap: 12px; left: 8px; right: 8px; bottom: 8px; padding: 16px; }
}

/* ---------- Hareket azaltma tercihi ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
}

/* ---------- Yazdırma ---------- */
@media print {
  .site-header,
  .site-footer,
  .cookie-banner,
  .progress,
  .post-nav,
  .post-foot,
  .related,
  .back-link { display: none !important; }
  body { background: #fff; }
}
