/* ==========================================================================
   Voha Finans — editoryal tasarım dili
   Aydınlık mod: beyaz zemin, saf siyah tipografi, ince çizgiler (moda dergisi düzeni)
   Karanlık mod: #161616 zemin, beyaz serif başlıklar, bordo vurgu (iş dergisi düzeni)
   Başlıklar: Instrument Serif · Etiketler/menü: Jost (büyük harf, geniş aralık)
   ========================================================================== */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-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: "Jost";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jost-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/jost-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;
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f4f4f2;
  --text: #000000;
  --text-2: #2b2b2b;
  --muted: #6e6e6e;
  --border: #e4e4e4;
  --border-strong: #000000;
  --brand: #000000;
  --accent: #55152e;
  --accent-ink: #ffffff;
  --accent-text: #55152e;
  --link: #000000;
  --up: #0d7a44;
  --down: #b3261e;
  --flat: #6e6e6e;
  --up-bg: rgba(13, 122, 68, .08);
  --down-bg: rgba(179, 38, 30, .08);
  --neu-bg: rgba(110, 110, 110, .1);
  --ticker-bg: #000000;
  --ticker-text: #ffffff;
  --ticker-muted: #9a9a9a;
  --ticker-up: #39d37f;
  --ticker-down: #ff6e66;
  --pill-bg: #000000;
  --pill-text: #ffffff;
  --overlay: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.88) 100%);
  --shadow: 0 1px 2px rgba(0, 0, 0, .06);
  --radius: 0;
  --pill: 40px;
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-label: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  /* Eski adlar (yönetim paneli) */
  --font-serif: var(--font-display);
  --container: 1240px;
  --gutter: 16px;
  --cat-doviz-altin: #a86b16;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #161616;
  --surface: #1f1f1f;
  --surface-2: #262626;
  --text: #ffffff;
  --text-2: #d6d6d6;
  --muted: #9b9b9b;
  --border: #2f2f2f;
  --border-strong: #ffffff;
  --brand: #ffffff;
  --accent: #6b1d3b;
  --accent-ink: #ffffff;
  --accent-text: #e08aac;
  --link: #ffffff;
  --up: #43c47f;
  --down: #ff6b63;
  --flat: #9b9b9b;
  --up-bg: rgba(67, 196, 127, .12);
  --down-bg: rgba(255, 107, 99, .12);
  --neu-bg: rgba(155, 155, 155, .14);
  --ticker-bg: #0c0c0c;
  --pill-bg: #ffffff;
  --pill-text: #000000;
  --shadow: none;
  --cat-doviz-altin: #e0a94a;
  color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 .75em; }
button { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.main { padding-top: 28px; padding-bottom: 64px; min-height: 60vh; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 12px; }
.skip-link:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.empty { padding: 40px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); color: var(--muted); text-align: center; font-family: var(--font-display); font-size: 1.3rem; }

/* Etiket tipografisi — tüm küçük büyük-harfli metinlerin ortak dili */
.label, .byline, .nav__link, .kicker__cat, .section-title--label, .btn, .pill, .breaking__label,
.tick__label, .footer__title, .stat__label, .masthead__date {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 22px; border-radius: var(--pill); border: 1px solid transparent;
  font-size: .78rem; cursor: pointer; line-height: 1.2; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { color: var(--accent-ink); filter: brightness(1.15); }
.btn--outline { background: transparent; border-color: var(--text); color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--bg); }
.btn--ghost { background: transparent; color: var(--text-2); }
.btn--danger { background: var(--down); color: #fff; }
.btn--sm { padding: 6px 12px; font-size: .7rem; }
.btn--lg { padding: 15px 28px; font-size: .82rem; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer;
}
.icon-btn:hover { border-color: var(--text); }

/* ---------- Piyasa bandı ---------- */
.ticker {
  position: sticky; top: 0; z-index: 50;
  background: var(--ticker-bg); color: var(--ticker-text);
  font-size: .8rem;
}
.ticker__inner { overflow-x: auto; scrollbar-width: none; }
.ticker__inner::-webkit-scrollbar { display: none; }
.ticker__list { display: flex; justify-content: center; margin: 0 auto; padding: 0; list-style: none; white-space: nowrap; width: max-content; min-width: 100%; }
.tick { display: flex; align-items: baseline; gap: 8px; padding: 9px 18px; }
.tick + .tick { border-left: 1px solid rgba(255,255,255,.14); }
.tick__label { color: var(--ticker-muted); font-size: .68rem; letter-spacing: .16em; }
.tick__price { font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .01em; }
.tick__chg { font-variant-numeric: tabular-nums; font-size: .74rem; }
.tick.is-up .tick__chg { color: var(--ticker-up); }
.tick.is-up .tick__chg::before { content: "▲ "; font-size: .6rem; }
.tick.is-down .tick__chg { color: var(--ticker-down); }
.tick.is-down .tick__chg::before { content: "▼ "; font-size: .6rem; }
.tick.is-flat .tick__chg { color: var(--ticker-muted); }
.tick.flash { animation: tickflash 1s ease; }
@keyframes tickflash { from { background: rgba(255,255,255,.14); } to { background: transparent; } }
.tv-slot { border-top: 1px solid rgba(255,255,255,.08); min-height: 46px; }

/* ---------- Künye (masthead) ---------- */
.site-header { background: var(--bg); }
.masthead {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding-top: 22px; padding-bottom: 18px;
}
.masthead__left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.masthead__right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.masthead__date { font-size: .66rem; color: var(--muted); white-space: nowrap; }
.wordmark {
  font-family: var(--font-display); font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1;
  letter-spacing: -.035em; color: var(--brand); white-space: nowrap; text-align: center;
}
.wordmark:hover { text-decoration: none; color: var(--brand); }
.icon-moon { display: none; }
:root[data-theme="dark"] .icon-moon { display: block; }
:root[data-theme="dark"] .icon-sun { display: none; }
.nav-toggle { display: none; }

/* Eski logo bileşeni (yönetim paneli ve giriş sayfası) */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); flex-shrink: 0; }
.brand:hover { color: var(--brand); text-decoration: none; }
.brand__name { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.02em; }

.search { position: relative; display: flex; align-items: center; width: 100%; max-width: 240px; border-bottom: 1px solid var(--border); }
.search:focus-within { border-color: var(--text); }
.search__icon { color: var(--muted); flex-shrink: 0; }
.search__input {
  width: 100%; padding: 8px 4px 8px 10px; border: 0; background: transparent; color: var(--text);
  font: 500 .74rem/1.2 var(--font-label); letter-spacing: .14em; text-transform: uppercase;
}
.search__input::placeholder { color: var(--muted); }
.search__input:focus { outline: none; }
.search__results {
  position: absolute; top: calc(100% + 8px); left: 0; width: min(420px, 90vw); z-index: 60;
  background: var(--bg); border: 1px solid var(--text); box-shadow: 0 18px 40px rgba(0,0,0,.18);
  max-height: 70vh; overflow-y: auto;
}
.search__item { display: block; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.search__item:last-child { border-bottom: 0; }
.search__item:hover, .search__item.is-active { background: var(--surface-2); text-decoration: none; }
.search__item-title { display: block; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.2; }
.search__item-meta { display: block; margin-top: 4px; font: 500 .64rem/1.2 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.search__empty { padding: 14px 16px; color: var(--muted); font-size: .9rem; }
.search--page { max-width: 640px; margin: 24px auto 0; gap: 12px; border: 0; }
.search--page .search__input { border-bottom: 1px solid var(--text); font-size: .9rem; padding: 12px 4px; }

.nav { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; justify-content: center; gap: 4px 30px; overflow-x: auto; scrollbar-width: none; }
.nav__inner::-webkit-scrollbar { display: none; }
.nav__link { padding: 14px 0 12px; font-size: .74rem; color: var(--text); border-bottom: 2px solid transparent; white-space: nowrap; }
.nav__link:hover { text-decoration: none; border-bottom-color: var(--text); }
.nav__link.is-active { border-bottom-color: var(--text); }

/* ---------- Son dakika şeridi ---------- */
.breaking { border-bottom: 1px solid var(--border); }
.breaking__inner { display: flex; align-items: center; gap: 18px; overflow: hidden; }
.breaking__label {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font-size: .64rem; font-weight: 600;
  padding: 6px 14px; border-radius: var(--pill); margin: 10px 0;
}
.pulse { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.breaking__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.breaking__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.breaking__viewport:hover .breaking__track, .breaking__viewport:focus-within .breaking__track { animation-play-state: paused; }
.breaking__list { display: flex; margin: 0; padding: 0; list-style: none; }
.breaking__list li { padding: 0 40px 0 0; white-space: nowrap; font-family: var(--font-display); font-size: 1.12rem; }
.breaking__list time { font: 600 .68rem/1 var(--font-label); letter-spacing: .12em; color: var(--accent-text); margin-right: 8px; vertical-align: 2px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .breaking__track { animation: none; }
  .breaking__viewport { overflow-x: auto; }
  .pulse { animation: none; }
}

/* ---------- Medya & yer tutucu ---------- */
.media { display: block; position: relative; overflow: hidden; background: var(--surface-2); aspect-ratio: 3 / 2; }
.media__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.media:hover .media__img, .card:hover .media__img { transform: scale(1.03); }
.ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  --c: #2a2a2a;
  background: radial-gradient(120% 90% at 20% 10%, color-mix(in srgb, var(--c) 70%, #ffffff 8%) 0%, var(--c) 45%, #0e0e0e 100%);
  overflow: hidden;
}
.ph::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background:
    repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 64px);
}
.ph::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 22%; height: 34%;
  background: linear-gradient(168deg, transparent 49.4%, rgba(255,255,255,.55) 50%, transparent 50.8%);
  opacity: .45;
}
.ph__mark { position: relative; z-index: 1; color: rgba(255,255,255,.9); font: 400 clamp(1.4rem, 4vw, 3.2rem)/1 var(--font-display); letter-spacing: .02em; }
.ph--borsa { --c: #1e2a3a; }
.ph--doviz-altin { --c: #3a2f1c; }
.ph--ekonomi { --c: #1c3330; }
.ph--halka-arz { --c: #4a1328; }
.ph--kripto-global { --c: #2a2140; }

/* ---------- Üst etiket satırı (kicker) ---------- */
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 10px; }
.kicker__cat { font-size: .68rem; font-weight: 600; color: var(--text); }
.kicker__cat:hover { text-decoration: none; color: var(--accent-text); }
.pill { display: inline-block; font-size: .6rem; padding: 4px 10px; border-radius: var(--pill); line-height: 1.2; font-weight: 600; }
.pill--breaking { background: var(--accent); color: #fff; }
.sent { display: inline-flex; align-items: center; gap: 6px; font: 500 .64rem/1 var(--font-label); letter-spacing: .12em; text-transform: uppercase; }
.sent::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sent--pos { color: var(--up); }
.sent--neg { color: var(--down); }
.sent--neu { color: var(--flat); }
.sent-bg--pos { background: var(--up); }
.sent-bg--neg { background: var(--down); }
.sent-bg--neu { background: var(--flat); }

.byline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .64rem; color: var(--muted); margin: 0; }
.byline--center { justify-content: center; }

/* ---------- Manşet ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; margin-bottom: 48px; }
.hero__main { position: relative; overflow: hidden; background: #0e0e0e; }
.hero__media { aspect-ratio: 16 / 10; height: 100%; }
.hero__main::after { content: ""; position: absolute; inset: 0; background: var(--overlay); pointer-events: none; }
.hero__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 32px 36px; color: #fff; }
.hero__body .kicker__cat { color: #fff; }
.hero__body .sent { color: #fff; opacity: .85; }
.hero__body .byline { color: rgba(255,255,255,.75); }
.hero__title { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 12px; max-width: 18ch; }
.hero__title a:hover { text-decoration: none; opacity: .9; }
.hero__excerpt { color: rgba(255,255,255,.82); font-size: 1rem; max-width: 60ch; margin-bottom: 14px; }
.hero__side { display: flex; flex-direction: column; }
.mini { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: start; }
.mini:first-child { padding-top: 0; }
.mini:last-child { border-bottom: 0; }
.mini__media { aspect-ratio: 4 / 5; }
.mini__media .ph__mark { font-size: 1.2rem; }
.mini__title { font-size: 1.45rem; line-height: 1.1; margin-bottom: 10px; }

/* ---------- Ana yerleşim ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.section-title {
  font-size: 2rem; letter-spacing: -.02em; padding-top: 14px; margin-bottom: 28px;
  border-top: 1px solid var(--text); display: flex; align-items: center; gap: 10px;
}
.section-title::after { content: "›"; font-size: 1.6rem; line-height: 1; transform: translateY(-1px); }

.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 44px 28px; }
.feed--related { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card { display: flex; flex-direction: column; }
.card.is-new { animation: fadein .4s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }
.card__title { font-size: 1.6rem; line-height: 1.08; letter-spacing: -.015em; margin-bottom: 10px; }
.card__excerpt {
  color: var(--text-2); font-size: .92rem; line-height: 1.55; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.pager { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.load-more { min-width: 240px; }
.pager__links { display: flex; gap: 20px; align-items: center; font: 500 .7rem/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; }
.pager__info { color: var(--muted); }
.js .pager__links { display: none; }

/* ---------- Kenar çubuğu ---------- */
.sidebar { display: flex; flex-direction: column; gap: 40px; position: sticky; top: 60px; }
.panel { padding-top: 14px; border-top: 1px solid var(--text); }
.panel__title { font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 14px; }
.quotes { width: 100%; border-collapse: collapse; font-size: .88rem; }
.quotes th { text-align: left; font: 500 .66rem/1.2 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); padding: 9px 0; }
.quotes td { padding: 9px 0 9px 8px; }
.quotes tr + tr th, .quotes tr + tr td { border-top: 1px solid var(--border); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chg.is-up { color: var(--up); }
.chg.is-down { color: var(--down); }
.chg.is-flat { color: var(--flat); }
.mood { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.mood__text { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; color: var(--text); }
.mood__text strong { font-weight: 400; color: var(--accent-text); }
.hero__main .ph { place-items: start end; padding: 28px 36px; }
.mood__bar { display: flex; height: 4px; overflow: hidden; background: var(--surface-2); margin-top: 6px; }
.mood__seg { display: block; height: 100%; }
.mood__legend { display: flex; gap: 14px; margin: 10px 0 0; padding: 0; list-style: none; font: 500 .62rem/1 var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mood__legend li { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.toplist { margin: 0; padding: 0; list-style: none; counter-reset: top; }
.toplist li { counter-increment: top; display: grid; grid-template-columns: 34px 1fr; gap: 4px 10px; padding: 14px 0; border-top: 1px solid var(--border); }
.toplist li:first-child { border-top: 0; padding-top: 0; }
.toplist li::before { content: counter(top); grid-row: span 2; font: 400 2rem/1 var(--font-display); color: var(--accent-text); }
.toplist a { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.15; }
.toplist__meta { font: 500 .6rem/1.3 var(--font-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Kategori / arama başlığı ---------- */
.crumbs { font: 500 .66rem/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; text-align: center; }
.crumbs a { color: var(--text); }
.page-head { text-align: center; padding: 8px 0 32px; margin-bottom: 40px; border-bottom: 1px solid var(--border); }
.page-head__title { font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.03em; line-height: 1; }
.page-head__desc { color: var(--text-2); margin: 14px auto 0; max-width: 60ch; }

/* ---------- Haber detay ---------- */
.article__head { text-align: center; max-width: 880px; margin: 0 auto 32px; }
.article__head .kicker { justify-content: center; }
.article__title { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.025em; margin-bottom: 18px; }
.article__media { margin: 0 0 40px; }
.article__media:has(> .ph) { aspect-ratio: 3 / 1; }
.summary { max-width: 720px; margin: 0 auto 36px; }
.summary__label { display: inline-flex; align-items: center; gap: 8px; font: 600 .66rem/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.summary__text { font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 1.8rem); line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.highlights { max-width: 720px; margin: 0 auto 40px; padding: 22px 0 6px; border-top: 1px solid var(--text); border-bottom: 1px solid var(--border); }
.highlights__title { font: 600 .7rem/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.highlights__list { margin: 0; padding: 0; list-style: none; counter-reset: hl; }
.highlights__list li { counter-increment: hl; position: relative; padding: 16px 0 16px 56px; border-top: 1px solid var(--border); font-size: 1.02rem; }
.highlights__list li:first-child { border-top: 0; }
.highlights__list li::before {
  content: counter(hl, decimal-leading-zero); position: absolute; left: 0; top: 10px;
  font: 400 1.9rem/1 var(--font-display); color: var(--accent-text);
}
.source-cta { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.source-cta__note { margin: 16px auto 0; max-width: 56ch; font-size: .82rem; color: var(--muted); }
.related { margin-top: 8px; }

/* ---------- 404 / 500 ---------- */
.notfound { text-align: center; padding: 72px 0; }
.notfound__code { font: 400 7rem/1 var(--font-display); margin: 0; letter-spacing: -.04em; }
.notfound__title { font-size: 2.2rem; margin: 12px 0; }
.notfound .btn { margin: 6px; }
.debug { text-align: left; white-space: pre-wrap; background: var(--surface-2); padding: 12px; font-size: .8rem; }

/* ---------- Alt bilgi (her iki temada koyu) ---------- */
.site-footer { background: #111111; color: #ffffff; padding: 64px 0 32px; text-align: center; }
.wordmark--footer { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); display: inline-block; }
.wordmark--footer:hover { color: #fff; }
.site-footer__tagline { font: 500 .66rem/1.4 var(--font-label); letter-spacing: .18em; text-transform: uppercase; color: #9b9b9b; margin-top: 12px; }
.site-footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 36px 0; padding: 18px 0; border-top: 1px solid #2f2f2f; border-bottom: 1px solid #2f2f2f; }
.site-footer__nav a { font: 500 .7rem/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; }
.site-footer__legal { max-width: 68ch; margin: 0 auto 16px; font-size: .82rem; color: #a3a3a3; }
.site-footer__copy { font: 500 .62rem/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase; color: #6e6e6e; margin: 0; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1024px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
  .masthead__date { display: none; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero__media { aspect-ratio: 4 / 5; }
}
@media (max-width: 720px) {
  .masthead {
    grid-template-columns: auto 1fr auto; grid-template-areas: "toggle logo theme" "search search search";
    row-gap: 10px; padding-top: 14px; padding-bottom: 12px;
  }
  .masthead__left { display: contents; }
  .nav-toggle { grid-area: toggle; }
  .wordmark { grid-area: logo; font-size: 2.3rem; }
  .masthead__right { grid-area: theme; }
  .search { grid-area: search; max-width: none; display: none; }
  .site-header:has(.nav.is-open) .search { display: flex; }
  .nav-toggle { display: inline-grid; }
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav__inner { flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav__link { border-bottom: 1px solid var(--border); text-align: center; }
  .nav__link.is-active { border-bottom-color: var(--text); }
  .hero__body { padding: 22px 20px; }
  .hero__excerpt { display: none; }
  .mini { grid-template-columns: minmax(0, 1fr) 88px; }
  .feed { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .card__title { font-size: 1.75rem; }
  .btn--lg { width: 100%; }
}

/* ==========================================================================
   Yönetim paneli
   ========================================================================== */
.admin-body { background: var(--bg); }
.admin-top { background: var(--ticker-bg); color: var(--ticker-text); }
.admin-top__row { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.admin-top .brand, .admin-top .brand:hover { color: #fff; }
.admin-top .brand__name { font-size: 1.5rem; }
.admin-top .brand img { display: none; }
.admin-nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.admin-nav a, .admin-nav button:not(.icon-btn) {
  color: var(--ticker-muted); padding: 7px 12px; border-radius: var(--pill); background: none; border: 0; cursor: pointer;
  font: 500 .68rem/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase;
}
.admin-nav a:hover, .admin-nav button:not(.icon-btn):hover, .admin-nav a.is-active { color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }
.admin-nav .icon-btn { color: #fff; border-color: rgba(255,255,255,.25); }
.admin-main { padding-top: 32px; padding-bottom: 56px; }
.admin-title { font-size: 2.6rem; letter-spacing: -.02em; margin-bottom: 6px; }
.admin-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.admin-head__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 36px 32px; }
.admin-grid .panel__title { font-size: 1.7rem; }
.span-12 { grid-column: span 12; } .span-8 { grid-column: span 8; } .span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; }
@media (max-width: 960px) { .admin-grid > * { grid-column: span 12; } }

.flash { padding: 12px 16px; margin-bottom: 16px; border-left: 3px solid; font-weight: 500; font-size: .92rem; }
.flash--success { color: var(--up); background: var(--up-bg); }
.flash--error { color: var(--down); background: var(--down-bg); }
.flash--info { color: var(--text); background: var(--surface-2); }

.mode-switch { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--text); }
.mode-switch__opt { position: relative; }
.mode-switch__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mode-switch__opt label { display: block; padding: 20px 18px; cursor: pointer; height: 100%; transition: background .15s; }
.mode-switch__opt + .mode-switch__opt label { border-left: 1px solid var(--text); }
.mode-switch__name { display: block; font: 400 1.6rem/1.1 var(--font-display); letter-spacing: -.01em; }
.mode-switch__desc { display: block; font-size: .85rem; color: var(--muted); margin-top: 8px; }
.mode-switch__opt input:checked + label { background: var(--text); color: var(--bg); }
.mode-switch__opt input:checked + label .mode-switch__desc { color: color-mix(in srgb, var(--bg) 75%, transparent); }
.mode-switch__opt input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: -3px; }
.mode-actions { display: flex; justify-content: flex-end; margin-top: 12px; }
.js .mode-actions { display: none; }

.quota { margin-top: 4px; }
.quota__label { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; margin-bottom: 8px; }
.quota__bar { height: 6px; background: var(--surface-2); overflow: hidden; }
.quota__fill { height: 100%; background: var(--up); transition: width .3s; }
.quota__fill.is-warn { background: var(--cat-doviz-altin); }
.quota__fill.is-full { background: var(--down); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.stat { padding: 14px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat__label { font-size: .6rem; color: var(--muted); }
.stat__value { font: 400 1.35rem/1.2 var(--font-display); margin-top: 6px; word-break: break-word; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field__label { font: 600 .64rem/1.2 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.field__hint { font-size: .78rem; color: var(--muted); }
.input, .select {
  width: 100%; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--border); border-radius: 0;
  background: transparent; color: var(--text); font: inherit; font-size: .95rem;
}
.select { padding-right: 20px; }
.select option { background: var(--bg); color: var(--text); }
.input:focus, .select:focus { outline: none; border-bottom-color: var(--text); }
.input--sm { padding: 6px 2px; font-size: .9rem; }
.check { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

.kw-table { width: 100%; border-collapse: collapse; }
.kw-table th { text-align: left; font: 600 .62rem/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 8px 8px 0; }
.kw-table td { padding: 2px 8px 2px 0; }
.kw-table td:nth-child(2) { width: 100px; }
.kw-table td:last-child { width: 44px; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th, .table td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table th { font: 600 .6rem/1.2 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; border-bottom-color: var(--text); }
.table td.num, .table th.num { text-align: right; }
.table .err { color: var(--down); font-size: .8rem; max-width: 360px; }
.table code { font-family: var(--font-mono); font-size: .8rem; word-break: break-all; color: var(--text-2); }
.pill--success, .pill--on { background: var(--up-bg); color: var(--up); }
.pill--partial { background: color-mix(in srgb, var(--cat-doviz-altin) 16%, transparent); color: var(--cat-doviz-altin); }
.pill--error, .pill--off { background: var(--down-bg); color: var(--down); }
.pill--mode { background: var(--surface-2); color: var(--text-2); }
.inline-form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }

/* Haber listesi ve haber formu */
.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.tabs__link { padding: 10px 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font: 500 .7rem/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tabs__link:hover { text-decoration: none; color: var(--text); }
.tabs__link.is-active { color: var(--text); border-bottom-color: var(--text); }
.tabs__count { margin-left: auto; font-size: .82rem; color: var(--muted); }
.table--articles td { vertical-align: middle; }
.table__title { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.15; margin-right: 8px; }
.thumb-cell { width: 92px; }
.thumb { width: 80px; aspect-ratio: 3 / 2; }
.thumb .ph__mark { font-size: .8rem; }
.nowrap { white-space: nowrap; }
.pager--admin { margin-top: 24px; }
.pager--admin .pager__links { display: flex; }
.crumbs--left { text-align: left; margin-bottom: 8px; }

.article-form__main { display: flex; flex-direction: column; gap: 26px; }
.article-form__side { display: flex; flex-direction: column; gap: 32px; }
.article-form__side .panel { display: flex; flex-direction: column; gap: 14px; }
.article-form__side .panel__title { margin-bottom: 0; }
.input--title { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1.15 var(--font-display); letter-spacing: -.01em; padding: 8px 2px; }
.textarea { resize: vertical; line-height: 1.6; border: 1px solid var(--border); padding: 12px 14px; }
.textarea:focus { border-color: var(--text); }
.textarea--body { min-height: 360px; font-size: 1rem; }
.fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.fieldset legend { margin-bottom: 6px; padding: 0; }
.upload { display: flex; flex-direction: column; gap: 12px; }
.upload__preview { display: grid; place-items: center; border: 1px dashed var(--border); }
.upload__empty { font: 500 .66rem/1 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.upload__btn { cursor: pointer; align-self: flex-start; }
.upload__btn:focus-within { outline: 2px solid var(--text); outline-offset: 3px; }
.form-actions--stack { flex-direction: column; align-items: stretch; margin-top: 0; }
.field__hint.is-over { color: var(--down); }

/* Editör haberi metni (haber detay sayfası) */
.article-body { max-width: 720px; margin: 0 auto 48px; font-size: 1.12rem; line-height: 1.75; color: var(--text); }
.article-body p { margin: 0 0 1.25em; }
.article-body p:first-child::first-letter {
  float: left; font: 400 4.2em/.82 var(--font-display); margin: .06em .1em 0 0; color: var(--text);
}
.article__lead { max-width: 720px; margin: 0 auto 32px; font: 400 clamp(1.4rem, 2.4vw, 1.75rem)/1.3 var(--font-display); letter-spacing: -.01em; color: var(--text-2); }
.editor-sign { max-width: 720px; margin: -24px auto 48px; padding-top: 14px; border-top: 1px solid var(--border); }

.login { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login__card { width: 100%; max-width: 400px; padding: 36px 32px; border-top: 1px solid var(--text); }
.login__card .brand { margin-bottom: 22px; }
.login__card .brand img { display: none; }
.login__card .brand__name { font-size: 2.6rem; }
.login__card .field { margin-bottom: 18px; }
.login__card .btn { width: 100%; margin-top: 8px; }
