/* ==========================================================================
   geloku · IronCMS Loom teması · v1.0.0
   İlke: okunabilirlik her şeyden önce gelir.
   Yazı tipi: Atkinson Hyperlegible Next (Braille Institute) — harf ayrımı en net
   sans; isteğe bağlı okuma yazı tipi: Literata. Fontlar self-hosted.
   ========================================================================== */

@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/AtkinsonHyperlegibleNext.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/AtkinsonHyperlegibleNext-Italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Literata"; src: url("../fonts/Literata.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Literata"; src: url("../fonts/Literata-Italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

/* ---------- 1. token'lar (customizer: --navy, --live) ---------- */
:root {
  --navy: #1B2A4A;
  --live: #E63946;
  --night: #111827;
  --gray: #8A93A3;

  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-classic: "Literata", Georgia, "Times New Roman", serif;
  --font-read: var(--font);

  /* gündüz */
  --bg: #FFFFFF;
  --bg-soft: #F6F5F1;
  --surface: #FFFFFF;
  --surface-2: #F1F3F6;
  --line: #E3E6EB;
  --line-strong: #CDD3DC;
  --text: #1A2233;
  --strong: #121B30;
  --muted: #4A5465;
  --faint: #636D7E;
  --link: var(--navy);
  --live-text: #C81E2C;
  --header-bg: rgba(255, 255, 255, .94);
  --logo-gel: var(--navy); --logo-oku: #8A93A3; --logo-dot: var(--live);
  --img-bg: #DCE1E8;
  --shadow: 0 1px 2px rgba(17, 24, 39, .06), 0 8px 24px rgba(17, 24, 39, .06);

  /* kategori tonları (metin rengi / zemin) — WCAG AA kontrastlı */
  --c-mercan: #C2410C;   --c-mercan-bg: #FFF0E8;
  --c-kirmizi: #C81E2C;  --c-kirmizi-bg: #FDECEE;
  --c-turkuaz: #0B6E77;  --c-turkuaz-bg: #E3F5F6;
  --c-kehribar: #8A5300; --c-kehribar-bg: #FFF4DC;
  --c-gul: #B0174F;      --c-gul-bg: #FDEAF1;
  --c-yesil: #13702F;    --c-yesil-bg: #E5F6EA;
  --c-mavi: #1D4ED8;     --c-mavi-bg: #E8EEFF;
  --c-gri: #4A5465;      --c-gri-bg: #EEF0F3;

  /* ölçüler */
  --wrap: 1440px;
  --gutter: clamp(16px, 3vw, 40px);
  --measure: 40rem;                 /* ~68 karakter: ideal satır uzunluğu */
  --read-size: 1.25rem;             /* 20px gövde */
  --read-scale: 1;
  --lh-read: 1.72;
  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-tema="light"]) {
    --bg: #0E1420; --bg-soft: #121A28; --surface: #162033; --surface-2: #1B2639; --line: #243047; --line-strong: #33415C;
    --text: #E2E6ED; --strong: #FFFFFF; --muted: #B3BBC8; --faint: #949DAD; --link: #FFFFFF; --live-text: #FF6B6B;
    --header-bg: rgba(14, 20, 32, .92); --logo-gel: #FFFFFF; --logo-oku: #B8C0CC; --logo-dot: #EF4444; --img-bg: #1E2940;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    --c-mercan: #FF9466; --c-mercan-bg: rgba(255,148,102,.14);
    --c-kirmizi: #FF6B6B; --c-kirmizi-bg: rgba(255,107,107,.14);
    --c-turkuaz: #4FD1D9; --c-turkuaz-bg: rgba(79,209,217,.13);
    --c-kehribar: #F6C453; --c-kehribar-bg: rgba(246,196,83,.13);
    --c-gul: #F78FB8; --c-gul-bg: rgba(247,143,184,.13);
    --c-yesil: #5EE08A; --c-yesil-bg: rgba(94,224,138,.12);
    --c-mavi: #8FB0FF; --c-mavi-bg: rgba(143,176,255,.14);
    --c-gri: #B3BBC8; --c-gri-bg: rgba(179,187,200,.12);
  }
}
:root[data-tema="dark"] {
  --bg: #0E1420; --bg-soft: #121A28; --surface: #162033; --surface-2: #1B2639; --line: #243047; --line-strong: #33415C;
  --text: #E2E6ED; --strong: #FFFFFF; --muted: #B3BBC8; --faint: #949DAD; --link: #FFFFFF; --live-text: #FF6B6B;
  --header-bg: rgba(14, 20, 32, .92); --logo-gel: #FFFFFF; --logo-oku: #B8C0CC; --logo-dot: #EF4444; --img-bg: #1E2940;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  --c-mercan: #FF9466; --c-mercan-bg: rgba(255,148,102,.14);
  --c-kirmizi: #FF6B6B; --c-kirmizi-bg: rgba(255,107,107,.14);
  --c-turkuaz: #4FD1D9; --c-turkuaz-bg: rgba(79,209,217,.13);
  --c-kehribar: #F6C453; --c-kehribar-bg: rgba(246,196,83,.13);
  --c-gul: #F78FB8; --c-gul-bg: rgba(247,143,184,.13);
  --c-yesil: #5EE08A; --c-yesil-bg: rgba(94,224,138,.12);
  --c-mavi: #8FB0FF; --c-mavi-bg: rgba(143,176,255,.14);
  --c-gri: #B3BBC8; --c-gri-bg: rgba(179,187,200,.12);
}

/* okur tercihleri (theme.js ile <html> üzerine yazılır) */
:root[data-font="klasik"] { --font-read: var(--font-classic); }
:root[data-boyut="1"] { --read-scale: .9; }
:root[data-boyut="3"] { --read-scale: 1.12; }
:root[data-boyut="4"] { --read-scale: 1.25; }

/* kategori tonu: .t-{ton} sınıfı --c / --c-bg verir */
.t-mercan   { --c: var(--c-mercan);   --c-bg: var(--c-mercan-bg); }
.t-kirmizi  { --c: var(--c-kirmizi);  --c-bg: var(--c-kirmizi-bg); }
.t-turkuaz  { --c: var(--c-turkuaz);  --c-bg: var(--c-turkuaz-bg); }
.t-kehribar { --c: var(--c-kehribar); --c-bg: var(--c-kehribar-bg); }
.t-gul      { --c: var(--c-gul);      --c-bg: var(--c-gul-bg); }
.t-yesil    { --c: var(--c-yesil);    --c-bg: var(--c-yesil-bg); }
.t-mavi     { --c: var(--c-mavi);     --c-bg: var(--c-mavi-bg); }
.t-gri      { --c: var(--c-gri);      --c-bg: var(--c-gri-bg); }

/* ---------- 2. temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-ligatures: common-ligatures; }
img, svg, video, audio { display: block; max-width: 100%; }
img { height: auto; background: var(--img-bg); }
a { color: inherit; text-decoration: none; }
a:hover .g-h, a:focus-visible .g-h { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--live); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.g-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.g-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--r-sm); font-weight: 700; }
.g-skip:focus { top: 12px; }
.g-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.g-ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
main { display: block; min-height: 60vh; }

/* ---------- 3. logo ---------- */
.g-logo { height: 40px; width: auto; }
.g-logo .lg-gel { fill: var(--logo-gel); } .g-logo .lg-oku { fill: var(--logo-oku); } .g-logo .lg-dot { fill: var(--logo-dot); }

/* ---------- 4. üst bar ---------- */
.g-topbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.g-topbar .g-wrap { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.g-topbar__date { font-weight: 600; }
.g-topbar nav { margin-left: auto; }
.g-topbar ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.g-topbar a:hover { color: var(--strong); text-decoration: underline; }

/* ---------- 5. header ---------- */
.g-header { position: sticky; top: 0; z-index: 40; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.g-header__bar { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.g-header__brand { display: flex; align-items: center; gap: 16px; }
.g-header__slogan { font-size: .8125rem; line-height: 1.15; font-weight: 700; color: var(--faint); border-left: 1.5px solid var(--line-strong); padding-left: 14px; max-width: 5.5em; }
.g-header__tools { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.g-iconbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-width: 44px; padding: 0 12px; border-radius: var(--r-pill); color: var(--strong); font-weight: 700; font-size: .9375rem; }
.g-iconbtn:hover { background: var(--surface-2); }
.g-iconbtn .g-ic { width: 20px; height: 20px; }
.g-theme-toggle .i-sun { display: none; }
:root[data-tema="dark"] .g-theme-toggle .i-sun { display: block; } :root[data-tema="dark"] .g-theme-toggle .i-moon { display: none; }
.g-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--navy); color: #fff; font-weight: 700; font-size: 1rem; border: 0; cursor: pointer; }
.g-btn:hover { filter: brightness(1.12); }
:root[data-tema="dark"] .g-btn { background: #FFFFFF; color: var(--night); }
.g-btn--ghost { background: transparent !important; color: var(--strong) !important; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.g-btn--live { background: var(--live) !important; color: #fff !important; }

/* kategori menüsü (render_component çıktısı: ul > li > a) */
.g-nav { border-top: 1px solid var(--line); }
.g-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.g-nav ul::-webkit-scrollbar { display: none; }
.g-nav li { flex: none; }
.g-nav a { position: relative; display: flex; align-items: center; height: 50px; padding: 0 14px; font-weight: 700; font-size: 1.0625rem; color: var(--strong); white-space: nowrap; }
.g-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--c, var(--navy)); transform: scaleX(0); transition: transform .2s; }
.g-nav a:hover::after, .g-nav [aria-current="page"]::after, .g-nav .active > a::after, .g-nav a.active::after { transform: scaleX(1); }
.g-nav ul ul { display: none; }
/* menü bağlantılarına kategori renkleri (adres sonuna göre) */
a[href$="/son-dakika"], a[href$="/son-dakika/"] { --c: var(--c-kirmizi); }
a[href$="/gundem"], a[href$="/gundem/"], a[href$="/siyaset"], a[href$="/siyaset/"] { --c: var(--c-mercan); }
a[href$="/dunya"], a[href$="/dunya/"], a[href$="/oyun"], a[href$="/oyun/"] { --c: var(--c-turkuaz); }
a[href$="/ekonomi"], a[href$="/ekonomi/"] { --c: var(--c-kehribar); }
a[href$="/kadin"], a[href$="/kadin/"] { --c: var(--c-gul); }
a[href$="/saglik"], a[href$="/saglik/"] { --c: var(--c-yesil); }
a[href$="/spor"], a[href$="/spor/"], a[href$="/teknoloji"], a[href$="/teknoloji/"] { --c: var(--c-mavi); }
.g-nav a[href$="/son-dakika"], .g-nav a[href$="/son-dakika/"] { color: var(--live-text); }
.g-nav a[href$="/son-dakika"]::before, .g-nav a[href$="/son-dakika/"]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); margin-right: 8px; animation: g-pulse 1.6s ease-in-out infinite; }

/* ---------- 6. son dakika bandı ---------- */
.g-ticker { background: var(--night); color: #fff; overflow: hidden; }
:root[data-tema="dark"] .g-ticker { background: #0A0F19; border-bottom: 1px solid var(--line); }
.g-ticker .g-wrap { display: flex; align-items: center; gap: 0; height: 48px; padding-right: 0; }
.g-ticker__label { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 14px 0 12px; border-radius: var(--r-pill); background: var(--live); color: #fff;
  font-weight: 800; font-size: .875rem; letter-spacing: .06em; margin-right: 16px; }
.g-ticker__label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: g-pulse 1.6s ease-in-out infinite; }
.g-ticker__viewport { position: relative; flex: 1; overflow: hidden; height: 100%; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 48px), transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 48px), transparent); }
.g-ticker__track { display: flex; align-items: center; gap: 0; height: 100%; width: max-content; list-style: none; margin: 0; padding: 0;
  animation: g-marquee var(--ticker-dur, 60s) linear infinite; }
.g-ticker:hover .g-ticker__track, .g-ticker:focus-within .g-ticker__track, .g-ticker.is-paused .g-ticker__track { animation-play-state: paused; }
.g-ticker__item { display: flex; align-items: center; gap: 12px; padding: 0 28px; font-size: 1.0625rem; font-weight: 600; white-space: nowrap; }
.g-ticker__item time { color: #FF8A8A; font-weight: 800; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.g-ticker__item a:hover { text-decoration: underline; text-underline-offset: 4px; }
.g-ticker__item + .g-ticker__item { border-left: 1px solid rgba(255,255,255,.18); }
.g-ticker__ctrl { flex: none; width: 48px; height: 48px; display: grid; place-items: center; color: #fff; border-left: 1px solid rgba(255,255,255,.12); }
.g-ticker__ctrl .i-play { display: none; } .g-ticker.is-paused .i-play { display: block; } .g-ticker.is-paused .i-pause { display: none; }
@keyframes g-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes g-pulse { 50% { opacity: .35; } }
/* hareket hassasiyeti: kayma yerine sırayla değişim (theme.js) */
.g-ticker.is-static .g-ticker__track { animation: none; width: auto; }
.g-ticker.is-static .g-ticker__item { display: none; border: 0; padding-left: 0; }
.g-ticker.is-static .g-ticker__item.is-on { display: flex; }

/* ---------- 7. tipografi bileşenleri ---------- */
.g-h { font-family: var(--font); font-weight: 800; color: var(--strong); letter-spacing: -.012em; line-height: 1.16; margin: 0; text-wrap: balance; }
.g-h--xl { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; }
.g-h--l  { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); line-height: 1.12; }
.g-h--m  { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.625rem); line-height: 1.2; }
.g-h--s  { font-size: 1.1875rem; line-height: 1.28; }
.g-h--xs { font-size: 1.0625rem; line-height: 1.32; font-weight: 700; }
.g-excerpt { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.55; }
.g-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .9375rem; color: var(--faint); font-weight: 600; }
.g-meta > * + *::before { content: "·"; margin-right: 10px; color: var(--line-strong); }
.g-meta--plain > * + *::before { content: none; }
.g-badge { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: var(--r-pill); background: var(--c-bg, var(--c-gri-bg)); color: var(--c, var(--c-gri));
  font-weight: 800; font-size: .8125rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.g-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.g-badge--solid { background: var(--c); color: #fff; }
:root[data-tema="dark"] .g-badge--solid { color: var(--night); }
.g-pick { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px 0 11px; border-radius: var(--r-pill); background: var(--navy); color: #fff; font-weight: 800; font-size: .875rem; white-space: nowrap; }
.g-pick::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF5A5F; }
:root[data-tema="dark"] .g-pick { background: #FFFFFF; color: var(--night); }
:root[data-tema="dark"] .g-pick::before { background: var(--live); }

/* bölüm başlığı */
.g-sechead { display: flex; align-items: flex-end; gap: 16px; margin: 0 0 22px; padding-bottom: 14px; border-bottom: 2px solid var(--strong); }
.g-sechead__title { display: flex; align-items: center; gap: 12px; margin: 0; font-size: clamp(1.375rem, 1.1rem + .9vw, 2rem); font-weight: 800; color: var(--strong); letter-spacing: -.01em; }
.g-sechead__title::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--live)); }
.g-sechead__more { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--muted); font-size: .9375rem; white-space: nowrap; }
.g-sechead__more:hover { color: var(--strong); }
.g-sechead[class*="t-"] { border-bottom-color: var(--c); }

/* ---------- 8. kartlar ---------- */
.g-card { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.g-card__media { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--img-bg); aspect-ratio: 16 / 10; }
.g-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-card:hover .g-card__media img { transform: scale(1.03); }
.g-card__media .g-pick { position: absolute; left: 12px; top: 12px; }
.g-card__body { display: flex; flex-direction: column; gap: 10px; }
.g-card--lead .g-card__media { aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
.g-card--row { flex-direction: row; gap: 16px; align-items: flex-start; }
.g-card--row .g-card__media { flex: none; width: 132px; aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.g-card--row .g-card__body { gap: 6px; }
.g-card--overlay .g-card__media { aspect-ratio: 4 / 5; }
.g-card--text { padding: 18px 0; border-top: 1px solid var(--line); }
.g-noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--faint); }
.g-noimg svg { width: 44px; height: 44px; opacity: .5; }

/* ---------- 9. ana sayfa ---------- */
.g-section { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.g-section + .g-section { padding-top: 0; }
.g-hero { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 40px); padding-top: clamp(24px, 3vw, 40px); }
.g-hero__lead .g-h { margin-top: 2px; }
.g-hero__lead .g-excerpt { font-size: 1.1875rem; max-width: 46rem; }
.g-hero__side { display: flex; flex-direction: column; gap: 0; }
.g-hero__side .g-card--row { padding: 16px 0; border-top: 1px solid var(--line); }
.g-hero__side .g-card--row:first-child { border-top: 0; padding-top: 0; }
.g-hero__side .g-card--row .g-card__media { width: 150px; }

.g-picks { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.g-picks__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; counter-reset: pick; }
.g-picks__item { display: flex; gap: 14px; padding: 6px 0; counter-increment: pick; }
.g-picks__item::before { content: counter(pick, decimal-leading-zero); font-weight: 800; font-size: 1.75rem; line-height: 1; color: var(--live-text); font-variant-numeric: tabular-nums; }
.g-picks__item .g-card__body { gap: 8px; }

.g-catgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px); }
.g-catblock__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.g-catblock__list { display: flex; flex-direction: column; }
.g-catblock__list .g-card--text:first-child { border-top: 0; padding-top: 0; }

.g-latest { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 3vw, 48px); }
.g-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; }
.g-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.g-sidebar { display: flex; flex-direction: column; gap: 32px; }
.g-sidebar .g-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 32px; }
.g-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.g-box__title { margin: 0 0 14px; font-size: 1.125rem; font-weight: 800; color: var(--strong); display: flex; align-items: center; gap: 10px; }
.g-box__title::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--live); }
.g-numlist { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.g-numlist li { counter-increment: n; display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.g-numlist li:first-child { border-top: 0; padding-top: 0; }
.g-numlist li::before { content: counter(n); flex: none; width: 28px; font-weight: 800; font-size: 1.375rem; line-height: 1.1; color: var(--line-strong); }

/* bülten çağrısı */
.g-newsletter { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.g-newsletter .g-h { color: #fff; }
.g-newsletter p { margin: 10px 0 0; color: #C7CEDA; font-size: 1.125rem; }
.g-newsletter .g-btn { background: #fff; color: var(--navy); }
.g-newsletter--acik { background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }
.g-newsletter--acik .g-h { color: var(--strong); } .g-newsletter--acik p { color: var(--muted); }
.g-newsletter--acik .g-btn { background: var(--navy); color: #fff; }
:root[data-tema="dark"] .g-newsletter { background: var(--surface-2); }

/* duyuru */
.g-notice { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r-md); background: var(--surface-2); font-weight: 700; color: var(--strong); }
.g-notice.is-live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: g-pulse 1.6s infinite; flex: none; }
.g-notice a { margin-left: auto; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

/* ---------- 10. arşiv / kategori / yazar ---------- */
.g-pagehead { padding: clamp(28px, 4vw, 56px) 0 clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--c-bg, var(--bg-soft)), transparent); }
.g-pagehead__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c, var(--faint)); margin-bottom: 10px; }
.g-pagehead__eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--live)); }
.g-pagehead .g-excerpt { margin-top: 12px; max-width: 48rem; font-size: 1.1875rem; }
.g-archive { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 3vw, 48px); padding: clamp(28px, 3vw, 44px) 0 64px; }
.g-archive__lead { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.g-list { display: flex; flex-direction: column; }
.g-list .g-card--row { padding: 22px 0; border-top: 1px solid var(--line); }
.g-list .g-card--row:first-child { border-top: 0; padding-top: 0; }
.g-list .g-card--row .g-card__media { width: 260px; aspect-ratio: 16 / 10; border-radius: var(--r-md); }
.g-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; }
.g-pager a, .g-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); font-weight: 700; color: var(--strong); }
.g-pager a:hover { background: var(--surface-2); }
.g-pager .is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.g-empty { padding: 48px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line-strong); border-radius: var(--r-lg); }

/* son dakika akışı (canlı zaman çizelgesi) */
.g-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.g-timeline::before { content: ""; position: absolute; left: 86px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.g-timeline li { display: grid; grid-template-columns: 70px 34px minmax(0, 1fr); gap: 0; padding: 0 0 30px; position: relative; }
.g-timeline time { font-weight: 800; color: var(--live-text); font-variant-numeric: tabular-nums; text-align: right; padding-top: 2px; font-size: .9375rem; }
.g-timeline li::after { content: ""; position: absolute; left: 81px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 3px solid var(--live); }
.g-timeline li:first-child::after { background: var(--live); box-shadow: 0 0 0 6px var(--c-kirmizi-bg); }
.g-timeline .g-card { grid-column: 3; }

/* yazar profili */
.g-author { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.g-avatar { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; background: var(--img-bg); flex: none; }
.g-avatar--initial { display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-size: 2.75rem; }
.g-author__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.g-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 1.5px solid var(--line-strong); font-weight: 700; font-size: .9375rem; color: var(--strong); }
.g-chip:hover { background: var(--surface-2); }
.g-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.g-tabs button { height: 50px; padding: 0 18px; font-weight: 800; font-size: 1.0625rem; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.g-tabs button[aria-selected="true"] { color: var(--strong); border-bottom-color: var(--live); }
.g-tabpanel[hidden] { display: none; }

/* yazarlar listesi */
.g-authors { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.g-authorcard { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.g-authorcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.g-authorcard .g-avatar { width: 84px; height: 84px; }
.g-authorcard .g-avatar--initial { font-size: 1.875rem; }
.g-authorcard__role { font-size: .9375rem; font-weight: 700; color: var(--faint); }
.g-authorcard__latest { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; font-size: .9375rem; color: var(--muted); }
.g-authorcard__latest strong { display: block; color: var(--strong); margin-top: 4px; font-size: 1.0625rem; line-height: 1.35; }

/* ---------- 11. haber sayfası ---------- */
.g-progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; background: var(--live); transform-origin: 0 50%; transform: scaleX(0); }
.g-article__head { padding: clamp(24px, 3vw, 44px) 0 0; }
.g-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .9375rem; font-weight: 600; color: var(--faint); }
.g-crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.g-crumbs a:hover { color: var(--strong); text-decoration: underline; }
.g-article__titlewrap { max-width: 62rem; }
.g-article__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.g-article__spot { margin: 18px 0 0; font-family: var(--font-read); font-size: calc(1.3125rem * var(--read-scale)); line-height: 1.5; color: var(--muted); font-weight: 500; max-width: 52rem; }
.g-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.g-byline__author { display: flex; align-items: center; gap: 12px; }
.g-byline__author .g-avatar { width: 48px; height: 48px; }
.g-byline__author .g-avatar--initial { font-size: 1.125rem; }
.g-byline__name { font-weight: 800; color: var(--strong); }
.g-byline__name a:hover { text-decoration: underline; }
.g-byline__dates { display: flex; flex-direction: column; gap: 2px; font-size: .9375rem; color: var(--faint); font-weight: 600; }
.g-byline__dates strong { color: var(--muted); }
.g-reader { margin-left: auto; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: var(--surface-2); }
.g-reader button { height: 38px; min-width: 40px; padding: 0 12px; border-radius: var(--r-pill); font-weight: 800; color: var(--muted); font-size: .9375rem; }
.g-reader button:hover { color: var(--strong); }
.g-reader button[aria-pressed="true"] { background: var(--surface); color: var(--strong); box-shadow: var(--shadow); }
.g-reader__sep { width: 1px; height: 22px; background: var(--line-strong); margin: 0 4px; }
.g-figure { margin: 32px 0 0; }
.g-figure img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16 / 9; max-height: min(68vh, 720px); object-fit: cover; }
.g-figure figcaption { margin-top: 10px; font-size: .9375rem; color: var(--faint); line-height: 1.5; }

.g-article__grid { display: grid; grid-template-columns: 64px minmax(0, var(--measure)) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); padding: 36px 0 64px; }
.g-share { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 10px; }
.g-share a, .g-share button { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--strong); }
.g-share a:hover, .g-share button:hover { background: var(--surface-2); }
.g-share .g-ic { width: 20px; height: 20px; }
.g-share__label { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); text-align: center; }
.g-rail { display: flex; flex-direction: column; gap: 28px; }
.g-rail .g-sticky { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 28px; }

.g-summary { margin: 0 0 32px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.g-summary__title { margin: 0 0 10px; font-size: .9375rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--strong); display: flex; align-items: center; gap: 10px; }
.g-summary__title::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--live); }
.g-summary p { margin: 0; font-size: calc(1.125rem * var(--read-scale)); line-height: 1.6; color: var(--text); font-family: var(--font-read); }

/* okuma metni — en kritik blok */
.g-prose { font-family: var(--font-read); font-size: calc(var(--read-size) * var(--read-scale)); line-height: var(--lh-read); color: var(--text); overflow-wrap: break-word; hyphens: manual; }
.g-prose > * { margin: 0 0 1.1em; }
.g-prose h2, .g-prose h3, .g-prose h4 { font-family: var(--font); color: var(--strong); line-height: 1.22; letter-spacing: -.01em; margin: 1.8em 0 .55em; font-weight: 800; }
.g-prose h2 { font-size: 1.45em; } .g-prose h3 { font-size: 1.22em; } .g-prose h4 { font-size: 1.05em; }
.g-prose a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--live); }
.g-prose a:hover { text-decoration-thickness: 3px; }
.g-prose strong, .g-prose b { font-weight: 700; color: var(--strong); }
.g-prose ul, .g-prose ol { padding-left: 1.3em; } .g-prose li { margin: .35em 0; } .g-prose li::marker { color: var(--live); font-weight: 700; }
.g-prose blockquote { margin: 1.6em 0; padding: .2em 0 .2em 1.1em; border-left: 4px solid var(--live); font-style: italic; color: var(--strong); font-size: 1.1em; }
.g-prose blockquote cite, .g-prose blockquote footer { display: block; margin-top: .5em; font-style: normal; font-size: .8em; font-family: var(--font); font-weight: 700; color: var(--faint); }
.g-prose figure { margin: 1.8em 0; } .g-prose figure img, .g-prose img { border-radius: var(--r-md); }
.g-prose figcaption { margin-top: .6em; font-family: var(--font); font-size: .78em; color: var(--faint); line-height: 1.5; }
.g-prose table { width: 100%; border-collapse: collapse; font-family: var(--font); font-size: .85em; display: block; overflow-x: auto; }
.g-prose th, .g-prose td { padding: .6em .8em; border-bottom: 1px solid var(--line); text-align: left; }
.g-prose th { color: var(--strong); background: var(--surface-2); }
.g-prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.g-prose iframe, .g-prose video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-md); }
/* editörün içerikte kullanacağı kutular */
.g-prose .g-duzeltme, .g-correction { padding: 16px 20px; border-radius: var(--r-md); background: var(--c-kehribar-bg); border-left: 4px solid var(--c-kehribar); font-family: var(--font); font-size: .9em; color: var(--text); }
.g-prose .g-not { padding: 16px 20px; border-radius: var(--r-md); background: var(--surface-2); font-family: var(--font); font-size: .9em; }

.g-disclaimer { margin: 28px 0 0; padding: 16px 20px; border-radius: var(--r-md); background: var(--surface-2); font-size: 1rem; color: var(--muted); display: flex; gap: 12px; }
.g-disclaimer .g-ic { width: 20px; height: 20px; margin-top: 2px; color: var(--faint); }
.g-source { margin-top: 20px; font-size: 1rem; color: var(--muted); font-weight: 600; }
.g-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.g-tags a { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: var(--r-pill); background: var(--surface-2); font-weight: 700; font-size: .9375rem; color: var(--strong); }
.g-tags a::before { content: "#"; color: var(--faint); margin-right: 3px; }
.g-tags a:hover { background: var(--line); }
.g-article__foot { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.g-article__foot .g-chip .g-ic { width: 18px; height: 18px; }
.g-authorbox { margin-top: 36px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.g-authorbox .g-avatar { width: 80px; height: 80px; } .g-authorbox .g-avatar--initial { font-size: 1.75rem; }
.g-authorbox p { margin: 6px 0 0; color: var(--muted); }
.g-comments { margin-top: 48px; }
.g-related { border-top: 1px solid var(--line); background: var(--bg-soft); }

/* ---------- 12. podcast ---------- */
.g-podcast { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.g-podcast__cover { width: 100%; aspect-ratio: 1; border-radius: var(--r-lg); object-fit: cover; background: var(--navy); }
.g-podcast__platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.g-episodes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.g-episode { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.g-episode img, .g-episode__ph { width: 96px; height: 96px; border-radius: var(--r-md); object-fit: cover; background: var(--navy); }
.g-episode__ph { display: grid; place-items: center; }
.g-episode__ph::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 6px solid #fff; box-shadow: 0 0 0 0 transparent; }
.g-episode audio { width: 100%; height: 44px; margin-top: 12px; border-radius: var(--r-pill); }
:root[data-tema="dark"] .g-episode audio { color-scheme: dark; }

/* ---------- 13. sayfalar: künye, iletişim, kurumsal kimlik ---------- */
.g-page { padding-top: clamp(28px, 3vw, 44px); padding-bottom: 72px; }
.g-page--narrow .g-prose { max-width: var(--measure); }
.g-legal { display: grid; grid-template-columns: 260px minmax(0, var(--measure)); gap: clamp(24px, 4vw, 72px); }
.g-legal__nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.g-legal__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.g-legal__nav a { display: block; padding: 10px 14px; border-radius: var(--r-sm); font-weight: 700; color: var(--muted); }
.g-legal__nav a:hover, .g-legal__nav [aria-current="page"], .g-legal__nav .active > a { background: var(--surface-2); color: var(--strong); }
.g-kunye { width: 100%; max-width: 56rem; border-collapse: collapse; font-size: 1.0625rem; }
.g-kunye th, .g-kunye td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.g-kunye th { width: 40%; color: var(--faint); font-weight: 700; padding-right: 24px; }
.g-kunye td { color: var(--strong); font-weight: 700; }
.g-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
.g-contact__card { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.g-contact__card h3 { margin: 0 0 6px; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.g-contact__card a, .g-contact__card p { margin: 0; font-size: 1.125rem; font-weight: 800; color: var(--strong); word-break: break-word; }
.g-contact__card a:hover { text-decoration: underline; }
.g-brand { display: flex; flex-direction: column; gap: 48px; }
.g-brand__logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.g-brand__logo { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.g-brand__logo div { display: grid; place-items: center; padding: 40px 28px; min-height: 180px; }
.g-brand__logo img { background: none; max-height: 90px; width: auto; }
.g-brand__logo a { display: flex; justify-content: space-between; padding: 14px 18px; font-weight: 700; border-top: 1px solid var(--line); background: var(--surface); }
.g-brand__colors { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.g-swatch { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.g-swatch i { display: block; height: 96px; }
.g-swatch b { display: block; padding: 12px 14px 2px; color: var(--strong); }
.g-swatch code { display: block; padding: 0 14px 14px; color: var(--faint); font-size: .9375rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.g-brand__type { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.g-typecard { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.g-typecard .aa { font-size: 5rem; line-height: 1; font-weight: 800; color: var(--strong); }
.g-typecard .aa--classic { font-family: var(--font-classic); font-weight: 400; }
.g-dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.g-dodont ul { margin: 0; padding-left: 1.2em; line-height: 1.8; }

/* 404 / şifre */
.g-404 { padding-top: clamp(60px, 10vw, 140px); padding-bottom: clamp(60px, 10vw, 140px); text-align: center; }
.g-404__o { width: 140px; height: 140px; margin: 0 auto 28px; border-radius: 50%; border: 22px solid var(--logo-gel); position: relative; }
.g-404__o::after { content: ""; position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--live); animation: g-pulse 1.8s infinite; }
.g-form { display: flex; flex-direction: column; gap: 14px; max-width: 420px; margin: 28px auto 0; text-align: left; }
.g-input { height: 52px; padding: 0 18px; border-radius: var(--r-md); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 1.0625rem; }
.g-input:focus { outline: 3px solid var(--live); outline-offset: 1px; border-color: transparent; }
.g-error { color: var(--live-text); font-weight: 700; }

/* ---------- 14. arama paneli ---------- */
.g-search { position: fixed; inset: 0; z-index: 80; display: none; background: rgba(9, 13, 22, .72); backdrop-filter: blur(6px); }
.g-search.is-open { display: block; }
.g-search__panel { background: var(--bg); padding: 28px 0 36px; border-bottom: 1px solid var(--line); }
.g-search form { display: flex; gap: 12px; align-items: center; }
.g-search input { flex: 1; height: 64px; font-size: 1.5rem; font-weight: 700; padding: 0 22px; border-radius: var(--r-lg); border: 2px solid var(--line-strong); background: var(--surface); color: var(--strong); font-family: var(--font); }
.g-search input:focus { outline: none; border-color: var(--navy); }
:root[data-tema="dark"] .g-search input:focus { border-color: #fff; }
.g-search__hint { margin-top: 14px; color: var(--faint); font-weight: 600; }

/* ---------- 15. mobil menü çekmecesi ---------- */
.g-drawer { position: fixed; inset: 0; z-index: 70; display: none; }
.g-drawer.is-open { display: block; }
.g-drawer__shade { position: absolute; inset: 0; background: rgba(9, 13, 22, .6); }
.g-drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(400px, 92vw); background: var(--bg); overflow-y: auto; padding: 18px 22px 120px; display: flex; flex-direction: column; gap: 22px; }
.g-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.g-drawer ul { list-style: none; margin: 0; padding: 0; }
.g-drawer li a { display: flex; align-items: center; gap: 12px; padding: 14px 4px; font-size: 1.25rem; font-weight: 800; color: var(--strong); border-bottom: 1px solid var(--line); }
.g-drawer li a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--line-strong)); }
.g-drawer__group h3 { margin: 0 0 6px; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.g-drawer__group li a { font-size: 1.0625rem; font-weight: 700; }
.g-drawer__group li a::before { display: none; }

/* ---------- 16. footer ---------- */
.g-footer { background: var(--night); color: #C3CAD6; margin-top: 0; }
:root[data-tema="dark"] .g-footer { background: #0A0F19; border-top: 1px solid var(--line); }
.g-footer a { color: #E7EBF1; } .g-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.g-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding: 64px 0 44px; }
.g-footer .g-logo { height: 42px; --logo-gel: #fff; --logo-oku: #B8C0CC; --logo-dot: #EF4444; }
.g-footer .g-logo .lg-gel { fill: #fff; } .g-footer .g-logo .lg-oku { fill: #B8C0CC; } .g-footer .g-logo .lg-dot { fill: #EF4444; }
.g-footer__about p { margin: 16px 0 0; max-width: 30rem; line-height: 1.6; }
.g-footer h2 { margin: 0 0 14px; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: #8F99AA; }
.g-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 600; }
.g-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.g-footer__social a { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid #2E3A52; font-weight: 700; font-size: .9375rem; }
.g-footer__social a:hover { background: #1B2538; text-decoration: none; }
.g-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid #222D42; font-size: .9375rem; }
.g-footer__bottom ul { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
.g-footer__bottom .g-lang { margin-left: auto; display: flex; gap: 8px; }
.g-footer__bottom .g-lang a[aria-current="true"] { color: #fff; font-weight: 800; text-decoration: underline; }

/* ---------- 17. mobil alt sekme çubuğu (uygulama hissi) ---------- */
.g-tabbar { display: none; }

/* ---------- 18. responsive ---------- */
@media (max-width: 1280px) {
  .g-picks__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; }
  .g-picks__item:nth-child(n+4) { display: none; }
  .g-grid4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-article__grid { grid-template-columns: 56px minmax(0, var(--measure)) minmax(240px, 1fr); }
}
@media (max-width: 1100px) {
  .g-catgrid { grid-template-columns: 1fr; }
  .g-latest, .g-archive { grid-template-columns: 1fr; }
  .g-sidebar .g-sticky { position: static; }
  .g-article__grid { grid-template-columns: minmax(0, var(--measure)); justify-content: center; }
  .g-share { position: static; flex-direction: row; order: 2; flex-wrap: wrap; }
  .g-share__label { align-self: center; }
  .g-rail { order: 3; } .g-rail .g-sticky { position: static; }
  .g-footer__top { grid-template-columns: 1fr 1fr; }
  .g-legal { grid-template-columns: 1fr; } .g-legal__nav { position: static; }
  .g-legal__nav ul { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; --read-size: 1.1875rem; }
  .g-hero { grid-template-columns: 1fr; }
  .g-hero__side { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .g-hero__side .g-card--row:nth-child(2) { border-top: 0; padding-top: 0; }
  .g-grid4, .g-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-header__slogan, .g-topbar nav, .g-header__tools .g-hide-m { display: none; }
  .g-archive__lead { grid-template-columns: 1fr; }
  .g-podcast { grid-template-columns: 1fr; } .g-podcast__cover { max-width: 240px; }
  .g-newsletter { grid-template-columns: 1fr; }
  .g-reader { margin-left: 0; }
}
@media (max-width: 680px) {
  :root { --read-size: 1.1875rem; --lh-read: 1.7; }
  body { font-size: 1.0625rem; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .g-logo { height: 32px; }
  .g-nav a { height: 46px; font-size: 1rem; padding: 0 12px; }
  .g-ticker .g-wrap { height: 44px; }
  .g-ticker__label { font-size: .75rem; padding: 0 10px; margin-right: 10px; height: 28px; }
  .g-ticker__item { font-size: 1rem; padding: 0 18px; }
  .g-hero__side { grid-template-columns: 1fr; }
  .g-hero__side .g-card--row:nth-child(2) { border-top: 1px solid var(--line); padding-top: 16px; }
  .g-hero__side .g-card--row .g-card__media, .g-card--row .g-card__media { width: 112px; }
  .g-picks__grid { grid-template-columns: 1fr; }
  .g-picks__item:nth-child(n+4) { display: flex; }
  .g-catblock__inner { grid-template-columns: 1fr; }
  .g-grid4, .g-grid3 { grid-template-columns: 1fr; gap: 28px; }
  .g-list .g-card--row .g-card__media { width: 120px; aspect-ratio: 1; }
  .g-author { grid-template-columns: 1fr; } .g-avatar { width: 96px; height: 96px; }
  .g-timeline::before { left: 8px; } .g-timeline li { grid-template-columns: 34px minmax(0, 1fr); }
  .g-timeline li::after { left: 3px; } .g-timeline time { grid-column: 2; text-align: left; } .g-timeline .g-card { grid-column: 2; }
  .g-footer__top { grid-template-columns: 1fr; padding-top: 44px; }
  .g-dodont { grid-template-columns: 1fr; }
  .g-byline { gap: 12px; } .g-reader { width: 100%; justify-content: space-between; }
  .g-figure { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
  .g-figure img { border-radius: 0; } .g-figure figcaption { padding: 0 var(--gutter); }
  .g-kunye th, .g-kunye td { display: block; width: 100%; padding: 4px 0; border: 0; } .g-kunye tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .g-search input { height: 56px; font-size: 1.25rem; }
  .g-episode { grid-template-columns: 64px minmax(0, 1fr); padding: 14px; } .g-episode img, .g-episode__ph { width: 64px; height: 64px; }

  .g-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .g-tabbar a, .g-tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; font-size: .75rem; font-weight: 800; color: var(--muted); min-height: 52px; justify-content: center; }
  .g-tabbar .g-ic { width: 24px; height: 24px; }
  .g-tabbar [aria-current="page"] { color: var(--strong); }
  .g-tabbar .is-live { color: var(--live-text); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .g-topbar, .g-header, .g-ticker, .g-share, .g-rail, .g-footer, .g-tabbar, .g-reader, .g-related, .g-comments, .g-progress { display: none !important; }
  .g-article__grid { display: block; } .g-prose { font-size: 12pt; color: #000; }
}

/* ---------- 19. ekler ---------- */
.g-menu-btn { display: none; }
@media (max-width: 900px) { .g-menu-btn { display: inline-flex; } }
.g-timeline .g-card--text { border-top: 0; padding: 0; }
.g-numlist .g-h { display: inline; }
.g-share button.is-done, .g-chip.is-done { background: var(--c-yesil-bg); color: var(--c-yesil); border-color: var(--c-yesil); }
.g-reader button:disabled { opacity: .35; cursor: not-allowed; }
.g-reader .g-ic { width: 18px; height: 18px; }
.g-byline .g-meta .g-ic { width: 15px; height: 15px; }
.g-sechead__title a:hover { text-decoration: underline; text-underline-offset: 5px; }
.g-sechead__more .g-ic, .g-chip .g-ic { width: 16px; height: 16px; }
.g-brand__logo a .g-ic { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }

.g-ticker.is-static .g-ticker__viewport { mask-image: none; -webkit-mask-image: none; }
.g-picks .g-card--text { border-top: 0; padding: 0; }
.g-picks + .g-section { padding-top: clamp(32px, 4vw, 56px); }
.g-catgrid > .g-catblock:last-child:nth-child(odd) { grid-column: 1 / -1; }
.g-catgrid > .g-catblock:last-child:nth-child(odd) .g-catblock__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.g-sechead { flex-wrap: wrap; }
.g-sechead__title::before, .g-box__title::before, .g-summary__title::before, .g-pagehead__eyebrow::before { flex: none; }
@media (max-width: 680px) { .g-catgrid > .g-catblock:last-child:nth-child(odd) .g-catblock__inner { grid-template-columns: 1fr; } .g-sechead__more { margin-left: 0; } }

/* bülten sayfası (Bülten modülü) */
.g-form--bulten { margin: 24px 0 0; max-width: 520px; }
.g-bulten-onay { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; line-height: 1.5; color: var(--text); }
.g-bulten-onay input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.g-bulten-onay a { text-decoration: underline; text-underline-offset: 3px; }
.g-form--bulten .g-btn { align-self: flex-start; }

/* ---- arama sayfası ---- */
.g-searchpage { display: flex; gap: 12px; margin-top: 22px; max-width: 680px; }
.g-searchpage input { flex: 1; height: 52px; font-size: 1.125rem; padding: 0 18px; border-radius: var(--r-lg); border: 2px solid var(--line-strong); background: var(--surface); color: var(--strong); font-family: var(--font); }
.g-searchpage input:focus { outline: none; border-color: var(--navy); }

/* ---- IronCMS iletişim formu (render_slot('contact_form') — form core'dan gelir, tema yalnız biçimlendirir) ---- */
.ironcms-contact { margin-top: 32px; max-width: 640px; }
.ironcms-contact .field { margin-bottom: 18px; }
.ironcms-contact label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--strong); }
.ironcms-contact input[type=text], .ironcms-contact input[type=email], .ironcms-contact textarea { width: 100%; padding: 12px 14px; font-size: 1.0625rem; font-family: var(--font); color: var(--strong); background: var(--surface); border: 2px solid var(--line-strong); border-radius: var(--r-lg); }
.ironcms-contact input:focus, .ironcms-contact textarea:focus { outline: none; border-color: var(--navy); }
:root[data-tema="dark"] .ironcms-contact input:focus, :root[data-tema="dark"] .ironcms-contact textarea:focus { border-color: #fff; }
.ironcms-contact textarea { min-height: 170px; resize: vertical; }
.ironcms-contact .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.ironcms-contact .consent input { margin-top: 6px; width: 18px; height: 18px; }
.ironcms-contact button[type=submit] { height: 50px; padding: 0 26px; font-weight: 800; font-size: 1.0625rem; color: #fff; background: var(--navy); border: 0; border-radius: var(--r-lg); cursor: pointer; }
:root[data-tema="dark"] .ironcms-contact button[type=submit] { background: #fff; color: var(--navy); }
.ironcms-contact .form-alert { padding: 14px 16px; border-radius: var(--r-lg); margin-bottom: 20px; font-weight: 700; }
.ironcms-contact .form-alert.ok { background: #e6f4ea; color: #14632b; }
.ironcms-contact .form-alert.err { background: #fdecec; color: #a3201f; }
.ironcms-contact .hp-field { position: absolute; left: -9999px; top: -9999px; }
