/* ==========================================================================
   Radio Life 89.1 — tasarım token'ları ve bileşenler
   Kırmızı yalnızca canlı yayını ve "dinle" eylemini işaret eder.
   ========================================================================== */

/* Yazı tipleri kendi sunucumuzdan (değişken woff2: latin + latin-ext; ğ ş İ latin-ext'te) */
@font-face {
    font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url("../fonts/figtree-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Figtree"; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Unbounded"; font-style: normal; font-weight: 500 800; font-display: swap;
    src: url("../fonts/unbounded-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Unbounded"; font-style: normal; font-weight: 500 800; font-display: swap;
    src: url("../fonts/unbounded-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --ink: #16111C;
    --ink-2: #211A29;
    --ink-3: #322A3C;
    --on-ink: #F5F2F8;
    --on-ink-2: #BDB4C8;
    --on-ink-3: #8E859A;

    /* Açık tema "gündüz": sıcak kâğıt zemini, canlı kırmızı. */
    --bg: #F6F2EC;
    --surface: #FFFFFF;
    --line: #EAE3D8;
    --line-2: #DAD0C4;
    --text: #1F1922;
    --muted: #6B6068;

    --red: #E4032E;
    --red-hover: #C70027;
    --red-text: #B4001F;

    /* Hero/başlık bandı — açık temada aydınlık ivory, koyu temada gece.
       Parıltı (glow) kapalı: iki token da kapalı durur, gerekirse buradan
       tek satırla geri açılır. */
    --hero-bg: #FBF4EA;
    --hero-ink: #241B2B;
    --hero-ink-2: #6E6272;
    --hero-ink-3: #D9CDCE;
    --hero-line: #ECE0D3;
    --hero-raise: rgba(36, 27, 43, .05);
    --hero-glow: transparent;
    --glow-red: none;

    --display: "Unbounded", "Arial Black", system-ui, sans-serif;
    --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --r-s: 6px;
    --r-m: 12px;
    --r-l: 22px;
    --header-h: 68px;
    --dock-h: 72px;

    color-scheme: light;
}

/*
 * Koyu tema. Üç durum: açık seçim (data-theme=light) her zaman kazanır,
 * sistem "koyu" iken seçim yoksa media sorgusu devreye girer, koyu seçim
 * her koşulda koyuyu zorlar. "Ink" bantlar (başlık/hero/altbilgi/oynatıcı)
 * sayfadan daha koyu kalır ki bölüm çıpaları korunsun; kırmızı koyu zemin
 * için yalnızca tonlanır, parlatılmaz.
 */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --ink: #0C0910; --ink-2: #16111C; --ink-3: #2A2334;
        --on-ink: #F3EEF8; --on-ink-2: #B6ADC6; --on-ink-3: #8A8098;
        --bg: #120D18; --surface: #1C1626; --line: #2B2338; --line-2: #3A3149;
        --text: #EFEAF4; --muted: #A79EB4;
        --red: #FF2A4E; --red-hover: #FF5570; --red-text: #FF8497;
        --hero-bg: #0E0814; --hero-ink: #F5F0FA; --hero-ink-2: #B4AAC6;
        --hero-ink-3: #3C2F48; --hero-line: #2A2038; --hero-raise: rgba(255,255,255,.05);
        --hero-glow: transparent; --glow-red: none;
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --ink: #0C0910; --ink-2: #16111C; --ink-3: #2A2334;
    --on-ink: #F3EEF8; --on-ink-2: #B6ADC6; --on-ink-3: #8A8098;
    --bg: #120D18; --surface: #1C1626; --line: #2B2338; --line-2: #3A3149;
    --text: #EFEAF4; --muted: #A79EB4;
    --red: #FF2A4E; --red-hover: #FF5570; --red-text: #FF8497;
    --hero-bg: #0E0814; --hero-ink: #F5F0FA; --hero-ink-2: #B4AAC6;
    --hero-ink-3: #3C2F48; --hero-line: #2A2038; --hero-raise: rgba(255,255,255,.05);
    --hero-glow: transparent; --glow-red: none;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 12px);
    scroll-padding-bottom: calc(var(--dock-h) + 12px);
}

body {
    margin: 0;
    padding-bottom: var(--dock-h);
    background: var(--bg);
    color: var(--text);
    font: 400 17px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
[x-cloak] { display: none !important; }

.shell { width: min(1240px, 100% - 40px); margin-inline: auto; }

.skip {
    position: absolute; left: 12px; top: -80px; z-index: 100;
    background: var(--surface); color: var(--text);
    padding: 10px 16px; border-radius: var(--r-s); font-weight: 700;
}
.skip:focus { top: 12px; }

.preview-strip {
    background: #FFE7A3; color: #463600;
    font-size: 13px; font-weight: 600; text-align: center; padding: 6px 16px;
}

/* ---------- Önizleme / taslak şeridi ---------- */
/* Yapışkan değil: üst bar zaten top:0'a yapışıyor, ikisi üst üste binmesin. */
.preview-bar {
    position: relative; z-index: 41;
    background: var(--ink); color: var(--on-ink);
    border-bottom: 2px solid var(--red);
}
.preview-bar-in { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 9px 0; }
.preview-bar .pv-tag {
    background: var(--red); color: #fff; border-radius: 999px;
    padding: 3px 11px; font: 700 11.5px/1.5 var(--sans);
    letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.preview-bar .pv-note { flex: 1 1 auto; font-size: 13.5px; color: var(--on-ink-2); min-width: 0; }
.preview-bar .pv-state {
    font: 700 12px/1 var(--sans);
    border: 1px solid var(--on-ink-3); color: var(--on-ink-2);
    border-radius: 999px; padding: 5px 10px; white-space: nowrap;
}
.preview-bar .pv-state.on { border-color: var(--red); color: #fff; }
.preview-bar .pv-close {
    background: transparent; border: 1px solid var(--on-ink-3); color: var(--on-ink-2);
    border-radius: var(--r-s); padding: 5px 11px; font: 600 13px var(--sans);
}
.preview-bar .pv-close:hover { color: var(--on-ink); border-color: var(--on-ink); }
html:not(.is-framed) .preview-bar .pv-close { display: none; }
.preview-bar .pv-list {
    list-style: none; margin: 0; padding: 0 0 10px;
    display: grid; gap: 4px; font-size: 13px;
}
.preview-bar .pv-list li { padding-left: 16px; position: relative; color: var(--on-ink-2); }
.preview-bar .pv-list li::before { content: "•"; position: absolute; left: 2px; }
.preview-bar .pv-list li.warn { color: #FFC7CF; }
.preview-bar .pv-list li.warn::before { content: "!"; font-weight: 800; color: var(--red); }
.pv-empty { color: var(--muted); font-style: italic; }

/* ---------- Tally lambası ---------- */
.tally {
    display: inline-block; flex-shrink: 0;
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--on-ink-3);
}
.tally.on { background: var(--red); animation: tally 2s ease-out infinite; }
@keyframes tally {
    0% { box-shadow: 0 0 0 0 rgba(228, 3, 46, .55); }
    70% { box-shadow: 0 0 0 8px rgba(228, 3, 46, 0); }
    100% { box-shadow: 0 0 0 0 rgba(228, 3, 46, 0); }
}

/* ---------- Üst bar ---------- */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: var(--ink); color: var(--on-ink);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.hdr { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-mark { font: 700 22px/1 var(--display); letter-spacing: -.02em; color: var(--on-ink); }
.brand-mark span { color: var(--red); }
.brand-freq {
    font: 600 12px/1 var(--display); color: var(--on-ink-2);
    padding: 5px 7px; border: 1px solid var(--ink-3); border-radius: 4px;
}

.nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
    display: block; padding: 8px 12px; border-radius: var(--r-s);
    font-weight: 600; font-size: 15px; color: var(--on-ink-2); text-decoration: none;
}
.nav-list a:hover { color: var(--on-ink); background: var(--ink-2); }
.nav-list a[aria-current="page"] { color: var(--on-ink); background: var(--ink-3); }

.btn-live {
    display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
    background: var(--red); color: #fff; border: 0; border-radius: 999px;
    padding: 10px 18px 10px 14px; font-weight: 700; font-size: 15px;
}
.btn-live:hover { background: var(--red-hover); }
.btn-live { box-shadow: var(--glow-red); }
.btn-live .tally.on { background: #fff; animation: none; }

.theme-btn {
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 42px; height: 42px; border-radius: var(--r-s);
    background: var(--ink-2); border: 1px solid var(--ink-3); color: var(--on-ink-2);
}
.theme-btn:hover { color: var(--on-ink); border-color: var(--on-ink-3); }
.theme-btn svg { width: 19px; height: 19px; }

.menu-btn {
    display: none; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: var(--r-s);
    background: var(--ink-2); border: 1px solid var(--ink-3); color: var(--on-ink);
}

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    border: 1px solid transparent; border-radius: 999px;
    padding: 12px 20px; font-weight: 700; font-size: 15px; text-decoration: none;
}
.btn-ink { background: var(--text); color: var(--bg); }
.btn-ink:hover { opacity: .88; }
.btn-line { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--text); }
.btn-red { background: var(--red); color: #fff; border: 0; }
.btn-red:hover { background: var(--red-hover); }

/* ---------- Şimdi yayında ---------- */
.hero {
    position: relative; background: var(--hero-bg); color: var(--hero-ink);
    padding-top: 56px; overflow: hidden; border-bottom: 1px solid var(--hero-line);
}
/* Hero'nun arkasındaki parıltı katmanı. Şu an kapalı (--hero-glow saydam);
   katman yerinde duruyor ki token açıldığında geri gelsin. */
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 90% at 82% 8%, var(--hero-glow), transparent 62%);
}
.hero > .shell { position: relative; }
.hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 48px; align-items: center;
}

.onair {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.onair .range { margin-left: 4px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--hero-ink-2); }
.onair-light { color: var(--red-text); margin-bottom: 12px; }

.hero-title {
    margin: 18px 0 14px;
    font: 700 clamp(2.3rem, 5vw, 4.2rem)/1.04 var(--display);
    letter-spacing: -.025em; text-wrap: balance;
}
.hero-host { display: flex; align-items: center; gap: 10px; font-size: 19px; color: var(--hero-ink-2); }
.hero-host a { color: var(--hero-ink); font-weight: 700; text-decoration-color: var(--red); text-underline-offset: 4px; }
.host-avatar { display: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

.progress {
    max-width: 520px; height: 5px; margin: 30px 0 8px;
    background: var(--hero-ink-3); border-radius: 3px; overflow: hidden;
}
.progress span { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--red); box-shadow: var(--glow-red); }
.progress-labels {
    max-width: 520px; display: flex; justify-content: space-between;
    font-size: 13px; color: var(--hero-ink-2); font-variant-numeric: tabular-nums;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 30px; }
.btn-play {
    display: inline-flex; align-items: center; gap: 14px;
    background: var(--red); color: #fff; border: 0; border-radius: 999px;
    padding: 10px 26px 10px 10px; font: 700 17px/1 var(--sans); box-shadow: var(--glow-red);
}
.btn-play:hover { background: var(--red-hover); }
.btn-play .disc {
    display: grid; place-items: center; width: 44px; height: 44px;
    border-radius: 50%; background: #fff; color: var(--red);
}
.btn-play .disc svg { transform: translateX(1px); }
.listeners { font-size: 15px; color: var(--hero-ink-2); }
.listeners b { color: var(--hero-ink); font-variant-numeric: tabular-nums; }

.song {
    display: grid; gap: 2px; max-width: 560px;
    margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--hero-line);
}
.song-label { font-size: 13px; font-weight: 600; color: var(--red-text); letter-spacing: .04em; text-transform: uppercase; }
.song-title { font-size: 18px; font-weight: 700; }
.song-artist { font-size: 15px; color: var(--hero-ink-2); }

.hero-visual { display: grid; place-items: center end; min-height: 360px; }
.hero-portrait {
    position: relative; margin: 0 14px 14px 0;
    width: min(100%, 400px); aspect-ratio: 4 / 5;
    border-radius: var(--r-l); overflow: hidden; background: var(--hero-raise);
    box-shadow: 14px 14px 0 var(--red), var(--glow-red);
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait figcaption {
    position: absolute; left: 14px; bottom: 14px;
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(22, 17, 28, .82); color: var(--on-ink);
    padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
}

.hero-freq { display: grid; justify-items: end; gap: 16px; text-align: right; }
.hero-freq .num {
    font: 800 clamp(6rem, 14vw, 12rem)/.8 var(--display);
    letter-spacing: -.06em; color: var(--hero-ink);
}
.hero-freq i { font-style: normal; color: var(--red); text-shadow: var(--glow-red); }
.hero-freq .sub {
    font: 600 13px/1 var(--display); color: var(--hero-ink-2);
    letter-spacing: .06em; text-transform: uppercase;
}

.next-row {
    display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
    margin-top: 48px; padding: 20px 0; border-top: 1px solid var(--hero-line);
}
.next-label {
    font: 600 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--hero-ink-2);
}
.next-list {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.next-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: baseline; }
.next-list time { font: 600 15px/1.2 var(--display); font-variant-numeric: tabular-nums; }
.next-title { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.next-host { grid-column: 2; font-size: 14px; color: var(--hero-ink-2); }

/* Frekans skalası: 87,5–108 MHz, ibre 89.1'de */
.dial { position: relative; height: 46px; margin-top: 8px; }
.dial .scale {
    position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
    background: repeating-linear-gradient(90deg, var(--hero-ink-3) 0 1px, transparent 1px calc(100% / 41));
}
.dial .lbl {
    position: absolute; bottom: 20px; transform: translateX(-50%);
    font: 600 11px/1 var(--display); color: var(--hero-ink-2);
}
.dial .needle { position: absolute; left: 7.8%; bottom: 0; width: 2px; height: 34px; background: var(--red); box-shadow: var(--glow-red); }
.dial .needle::after {
    content: "89.1"; position: absolute; left: 8px; top: -1px;
    font: 700 11px/1 var(--display); color: var(--red);
}

/* ---------- Bölümler ---------- */
.band { padding: 64px 0; border-top: 1px solid var(--line); }
.band-first { border-top: 0; }

.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
    margin-bottom: 28px;
}
.section-head h2 {
    font: 700 clamp(1.45rem, 2.6vw, 2rem)/1.15 var(--display);
    letter-spacing: -.02em; text-wrap: balance;
}
.section-head a { flex-shrink: 0; font-weight: 700; font-size: 15px; color: var(--red-text); text-decoration: none; }
.section-head a:hover { text-decoration: underline; }

/* Bugünün akışı */
.rail {
    position: relative; list-style: none; margin: 0; padding: 0 0 14px;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
    border-top: 2px solid var(--line-2);
}
.rail-item {
    position: relative; display: grid; gap: 4px; align-content: start; min-width: 0;
    padding: 18px 20px 4px 0; scroll-snap-align: start;
}
.rail-item::before {
    content: ""; position: absolute; top: -7px; left: 0;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--line-2);
}
.rail-item time { font: 600 15px/1 var(--display); color: var(--muted); font-variant-numeric: tabular-nums; }
.rail-item strong { font-size: 17px; line-height: 1.3; }
.rail-item span { font-size: 14px; color: var(--muted); }
.rail-item.is-past { opacity: .5; }
.rail-item.is-now::before { background: var(--red); border-color: var(--red); }
.rail-item.is-now time { color: var(--red-text); }

.now-pill {
    justify-self: start; display: inline-block; margin-top: 6px;
    background: var(--red); color: #fff !important;
    font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}

/* Programcı kartları */
.hosts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 20px; }
.hosts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.host-card { display: grid; gap: 12px; align-content: start; text-decoration: none; }
.host-card .ph {
    position: relative; aspect-ratio: 4 / 5; overflow: hidden;
    border-radius: var(--r-m); background: var(--line);
    display: grid; place-items: center;
}
.host-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.host-card:hover .ph img { transform: scale(1.04); }
.initials { font: 700 40px/1 var(--display); color: var(--muted); }
.badge-live {
    position: absolute; left: 10px; top: 10px;
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--ink); color: var(--on-ink);
    padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.host-card-text { display: grid; gap: 2px; }
.host-card h3 { font-size: 17px; line-height: 1.25; }
.host-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.host-card p { font-size: 14px; color: var(--muted); line-height: 1.4; }
.host-card .air { color: var(--text); font-weight: 600; font-size: 13px; }

/* Haberler */
.news { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 36px; }
.news-lead a { display: grid; gap: 12px; text-decoration: none; }
.img { aspect-ratio: 16 / 10; border-radius: var(--r-m); overflow: hidden; background: var(--line); }
.img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a:hover .img img { transform: scale(1.03); }
.news-lead h3 { font: 700 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.news-lead p { color: var(--muted); }
.news-lead a:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.cat { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a {
    display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 16px; align-items: center;
    padding: 14px 0; text-decoration: none;
}
.news-list li:first-child a { padding-top: 0; }
.news-list .img { aspect-ratio: 4 / 3; border-radius: var(--r-s); }
.news-list h3 { font-size: 16px; line-height: 1.35; margin-top: 2px; }
.news-list a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.post-card a { display: grid; gap: 10px; text-decoration: none; }
.post-card h3 { font-size: 18px; line-height: 1.35; text-wrap: balance; }
.post-card a:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

.pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 48px; }
.pager-pages { display: flex; align-items: center; gap: 6px; }
.pager-num {
    display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px;
    border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none;
    font-variant-numeric: tabular-nums; color: var(--muted);
}
.pager-num:hover { color: var(--text); background: var(--surface); }
.pager-num.is-current { background: var(--ink); color: var(--on-ink); }
.pager-gap { color: var(--muted); }

.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.search { display: flex; width: min(100%, 380px); }
.search input {
    flex: 1; min-width: 0; height: 46px; padding: 0 16px;
    border: 1px solid var(--hero-line); border-right: 0; border-radius: 999px 0 0 999px;
    background: var(--hero-raise); color: var(--hero-ink); font: 500 16px var(--sans);
}
.search input::placeholder { color: var(--hero-ink-2); }
.search input:focus-visible { outline-offset: 0; }
.search button {
    height: 46px; padding: 0 20px; border: 0; border-radius: 0 999px 999px 0;
    background: var(--red); color: #fff; font-weight: 700;
}
.search button:hover { background: var(--red-hover); }
.empty { font-size: 18px; color: var(--muted); max-width: 60ch; }
.pager-btn {
    padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px;
    background: var(--surface); font-weight: 700; font-size: 15px; text-decoration: none;
}
.pager-btn:hover { border-color: var(--text); }
.pager-btn.is-disabled { color: var(--muted); opacity: .5; }
.pager-info { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* İstek hattı */
.request { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0; }
.request-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.request h2 { font: 700 clamp(1.35rem, 2.4vw, 1.85rem)/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 8px; }
.request p { color: var(--muted); max-width: 54ch; }
.request-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nereden dinlenir */
.where {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden;
}
.where li { background: var(--surface); }
.where li, .where a { display: grid; gap: 4px; align-content: start; padding: 20px; text-decoration: none; }
.where li:has(a) { padding: 0; }
.where b { font: 700 15px/1.25 var(--display); letter-spacing: -.01em; }
.where span { font-size: 14px; color: var(--muted); }
.where a:hover b { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- İç sayfa başlığı ---------- */
.page-head {
    position: relative; background: var(--hero-bg); color: var(--hero-ink);
    padding: 44px 0 48px; border-bottom: 1px solid var(--hero-line); overflow: hidden;
}
.page-head::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(55% 120% at 88% 0%, var(--hero-glow), transparent 60%);
}
.page-head > .shell { position: relative; }
.page-head-slim { padding: 18px 0; }
.page-head h1 {
    margin-top: 10px; font: 700 clamp(2rem, 4.4vw, 3.2rem)/1.05 var(--display);
    letter-spacing: -.025em; text-wrap: balance;
}
.page-head p:not(.crumbs) { margin-top: 12px; max-width: 60ch; font-size: 18px; color: var(--hero-ink-2); }
.crumbs { font-size: 14px; color: var(--hero-ink-2); }
.crumbs a { color: var(--hero-ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--hero-ink); text-decoration: underline; }
.crumbs-light { color: var(--muted); }
.crumbs-light a { color: var(--muted); }
.crumbs-light a:hover { color: var(--text); }

/* Yayın akışı */
.sched-wrap { padding-bottom: 64px; }
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 20px 0; border-bottom: 1px solid var(--line); }
.day-tabs a {
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--surface); color: var(--muted); font-weight: 700; font-size: 15px; text-decoration: none;
}
.day-tabs a:hover { color: var(--text); border-color: var(--line-2); }
.day-tabs a[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: var(--glow-red); }
.day-tabs .today { font-size: 12px; font-weight: 600; color: var(--red-text); }
.day-tabs a[aria-current="page"] .today { color: rgba(255,255,255,.85); }

.sched { list-style: none; margin: 0; padding: 0; }
.sched li {
    display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 24px; align-items: center;
    padding: 20px 0; border-bottom: 1px solid var(--line);
}
.sched time { font: 600 17px/1.2 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.sched .prog { display: flex; align-items: center; gap: 16px; min-width: 0; }
.sched .avatar {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
    display: grid; place-items: center; background: var(--line);
    font: 700 16px/1 var(--display); color: var(--muted);
}
.sched .avatar img { width: 100%; height: 100%; object-fit: cover; }
.sched .avatar-music { background: var(--surface); border: 1px solid var(--line); }
.sched strong { display: block; font-size: 18px; line-height: 1.3; }
.sched .who { font-size: 15px; color: var(--muted); }
.sched .who a { color: var(--muted); }
.sched .who a:hover { color: var(--text); }
.sched li.is-now time { color: var(--red-text); }
.sched li.is-past { opacity: .55; }
.sched li.sched-empty { display: block; padding: 28px 0; color: var(--muted); font-style: italic; }
.note { margin-top: 24px; font-size: 14px; color: var(--muted); max-width: 70ch; }

/* Programcı sayfası */
.profile { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 56px; padding: 56px 0 64px; }
.profile-ph {
    align-self: start; aspect-ratio: 4 / 5; border-radius: var(--r-l); overflow: hidden;
    background: var(--line); display: grid; place-items: center;
    box-shadow: 14px 14px 0 var(--red); margin: 0 14px 14px 0;
}
.profile-ph img { width: 100%; height: 100%; object-fit: cover; }
.profile-ph .initials { font-size: 72px; }
.profile-body h1 {
    font: 700 clamp(2rem, 4.2vw, 3.2rem)/1.05 var(--display); letter-spacing: -.025em; margin-bottom: 24px;
}
.profile-program { padding: 14px 0; border-top: 1px solid var(--line); }
.profile-program:last-of-type { border-bottom: 1px solid var(--line); }
.profile-title { font-size: 20px; font-weight: 700; }
.profile-air { font-size: 16px; color: var(--muted); }
.bio { margin-top: 24px; max-width: 58ch; font-size: 18px; white-space: pre-line; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Haber detay */
.article { max-width: 780px; padding: 44px 0 64px; }
.article .cat { display: block; margin-top: 24px; }
.article h1 {
    margin: 10px 0 28px; font: 700 clamp(1.8rem, 3.6vw, 2.6rem)/1.14 var(--display);
    letter-spacing: -.02em; text-wrap: balance;
}
.article .img { aspect-ratio: 16 / 9; margin: 0 0 32px; }
.article .body p { margin-bottom: 1.1em; font-size: 18px; line-height: 1.75; }

/* Canlı izle */
.live-frame { aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: #000; }
.live-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.live-empty {
    display: grid; place-items: center; text-align: center; padding: 32px;
    background: var(--ink); color: var(--on-ink-2);
}
.live-empty > div { display: grid; justify-items: center; gap: 14px; max-width: 46ch; }
.live-empty-title { font: 700 clamp(1.3rem, 2.6vw, 1.9rem)/1.2 var(--display); color: var(--on-ink); letter-spacing: -.02em; }

/* Hakkımızda */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.facts div { padding-top: 16px; border-top: 3px solid var(--ink); }
.facts dt { font: 800 clamp(2.2rem, 5vw, 3.6rem)/1 var(--display); letter-spacing: -.04em; }
.facts dd { margin: 8px 0 0; color: var(--muted); font-weight: 600; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; }
.prose { display: grid; gap: 16px; max-width: 62ch; font-size: 18px; }
.prose h2, .small-head { font: 700 1.4rem/1.2 var(--display); letter-spacing: -.02em; }
.small-head { margin-bottom: 12px; }
.staff { margin: 0; }
.staff div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.staff dt { font-size: 14px; color: var(--muted); }
.staff dd { margin: 2px 0 0; font-size: 18px; font-weight: 700; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; padding: 56px 0 64px; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-list li { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { font-size: 14px; font-weight: 600; color: var(--muted); }
.contact-list .v { font-size: 19px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a.v:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-list .v-plain { font-weight: 600; }
.map { min-height: 320px; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: var(--line); margin-top: 20px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }

/* İletişim formu */
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; align-self: start; }
.contact-form h2 { font: 700 clamp(1.3rem, 2.4vw, 1.7rem)/1.15 var(--display); letter-spacing: -.02em; }
.form-lede { color: var(--muted); margin: 8px 0 20px; }
.form-ok { background: #E3F4EB; color: #157F4A; font-weight: 600; padding: 12px 16px; border-radius: var(--r-m); margin-bottom: 18px; }
.seg { display: inline-flex; background: var(--sunk); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.seg label { padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; }
.seg label.on { background: var(--red); color: #fff; }
.f { display: grid; gap: 6px; margin-bottom: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f label { font-weight: 600; font-size: 14px; }
.f label .opt { color: var(--muted); font-weight: 400; }
.f input, .f textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--r-s); font: 400 16px var(--sans); color: var(--text); background: var(--surface); }
.f textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(228,3,46,.12); }
.f.err input, .f.err textarea { border-color: var(--red); }
.f-err { color: var(--red-text); font-size: 13px; font-weight: 600; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.form-note a { color: var(--red-text); font-weight: 600; }
@media (max-width: 520px) { .f-row { grid-template-columns: 1fr; } }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-2); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 36px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand p { font-size: 15px; max-width: 34ch; }
.site-footer h2 {
    margin-bottom: 14px; color: var(--on-ink);
    font: 600 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.site-footer a { color: var(--on-ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--on-ink); text-decoration: underline; }
.foot-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--ink-3);
    font-size: 13px; color: var(--on-ink-3);
}
.foot-bottom .kredi a { color: var(--on-ink-2); font-weight: 600; text-decoration: none; }
.foot-bottom .kredi a:hover { color: var(--on-ink); text-decoration: underline; }

/* ---------- Oynatıcı ---------- */
.dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: var(--dock-h);
    background: var(--ink-2); color: var(--on-ink); border-top: 1px solid var(--ink-3);
    padding-bottom: env(safe-area-inset-bottom);
}
.dock-in { display: flex; align-items: center; gap: 16px; height: 100%; }
.dock-play {
    flex-shrink: 0; display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 50%; border: 0;
    background: var(--red); color: #fff; box-shadow: var(--glow-red);
}
.dock-play:hover { background: var(--red-hover); }
.dock-play svg:first-child { transform: translateX(1px); }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.dock-meta { flex: 1; min-width: 0; display: grid; gap: 1px; }
.dock-top { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--on-ink-2); }
.dock-top b { color: var(--on-ink); white-space: nowrap; }
.dock-program { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-program:not(:empty)::before { content: "·"; margin-right: 8px; color: var(--on-ink-3); }
.dock-song { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock-song .artist { font-weight: 500; color: var(--on-ink-2); }
.dock-error { font-size: 13px; color: #FF8FA1; }

.dock-right { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--on-ink-2); }
.listen-count b { color: var(--on-ink); font-variant-numeric: tabular-nums; }
.icon-btn { background: none; border: 0; padding: 6px; border-radius: var(--r-s); color: var(--on-ink-2); }
.icon-btn:hover { color: var(--on-ink); }
.dock-right input[type="range"] { width: 96px; accent-color: var(--red); }

/* ---------- Duyarlı düzen ---------- */
@media (max-width: 1100px) {
    .hosts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .where { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
    .menu-btn { display: inline-flex; }
    .nav { flex: 0; }
    .hdr { justify-content: space-between; gap: 12px; }
    .brand { margin-right: auto; }
    .nav-list {
        display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
        flex-direction: column; gap: 2px; padding: 10px 20px 20px;
        background: var(--ink); border-bottom: 1px solid var(--ink-3);
    }
    .nav-list.is-open { display: flex; }
    .nav-list a { font-size: 18px; padding: 12px; }

    .hero-grid, .news, .about-grid, .contact-grid, .profile { grid-template-columns: 1fr; }
    .hero-visual { place-items: start; min-height: 0; }
    .hero-freq { justify-items: start; text-align: left; }
    .post-grid, .hosts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-ph { max-width: 340px; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .hero { padding-top: 32px; }
    .hero-visual { display: none; }
    .host-avatar { display: block; }
    .next-row { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
    .next-list { grid-template-columns: 1fr; gap: 10px; }
    .dial .lbl:nth-of-type(even) { display: none; }
    .band { padding: 48px 0; }
    .hosts, .hosts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
    .request-grid { grid-template-columns: 1fr; }
    .where { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .where b { overflow-wrap: anywhere; }
    .next-list li:nth-child(n + 3) { display: none; }
    .section-head { flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
    .sched li { grid-template-columns: 1fr auto; gap: 8px 16px; }
    .sched time { grid-column: 1 / -1; }
    .facts { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .listen-count, .vol { display: none; }
    .btn-live { padding: 9px 14px; font-size: 14px; }
    .btn-live [x-text] { display: none; }
    .btn-live::after { content: "Dinle"; }
}

@media (max-width: 520px) {
    .post-grid { grid-template-columns: 1fr; }
    .news-list a { grid-template-columns: 96px minmax(0, 1fr); }
    .brand-freq { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
