/*!
 * Pistol Türkiye — ön yüz stilleri v3.1
 * Editoryal hibrit tasarım: açık okuma yüzeyleri, grafit cam başlık, vermilyon vurgu, gece modu.
 * Modern CSS: akışkan tipografi, container queries, :has(), kaydırmaya bağlı animasyonlar, sayfa geçişleri.
 */

/* ---------- Yazı tipleri (yerel, KVKK dostu) ---------- */
@font-face { font-family: "Big Shoulders"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/bigshoulders-700.woff) format("woff"); }
@font-face { font-family: "Work Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/worksans-400.woff) format("woff"); }
@font-face { font-family: "Work Sans"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/worksans-700.woff) format("woff"); }
@font-face { font-family: "Work Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/worksans-400i.woff) format("woff"); }
/* Yazı tipi yüklenene kadar düzen kaymasını azaltan metrik uyumlu yedek */
@font-face { font-family: "Work Sans Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Big Shoulders Fallback"; src: local("Arial Narrow"), local("Arial"); size-adjust: 82%; ascent-override: 105%; descent-override: 26%; }

/* ---------- Tasarım belirteçleri ---------- */
:root {
  --bg: #f4f3ef;
  --bg-2: #eceae4;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --surface-3: #efede7;
  --ink: #14161a;
  --ink-2: #353941;
  --muted: #666b74;
  --line: #e4e1d9;
  --line-2: #d4d0c6;
  --accent: #e4572e;
  --accent-2: #f08a3c;
  --accent-ink: #b63f1b;
  --accent-soft: #fcebe4;
  --graphite: #15171c;
  --graphite-2: #1c1f25;
  --graphite-3: #2a2e36;
  --on-graphite: #eeede9;
  --on-graphite-2: #a7acb5;
  --glass: rgba(20, 22, 27, .9);
  --olive: #56662f;
  --olive-soft: #eef1e4;
  --danger: #c0392b;
  --danger-soft: #fdecea;
  --success: #2f7d38;
  --success-soft: #e8f4e9;
  --warn: #9a5b00;
  --warn-soft: #fff4dd;
  --info: #1d5c96;
  --info-soft: #e7f0f9;
  --focus: #2b6ff3;
  --radius-sm: 8px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 20, .05), 0 1px 1px rgba(20, 20, 20, .03);
  --shadow: 0 2px 4px rgba(20, 20, 20, .04), 0 10px 28px -8px rgba(20, 20, 20, .14);
  --shadow-lg: 0 24px 60px -12px rgba(10, 10, 10, .32);
  --ring: 0 0 0 1px var(--line);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-display: "Big Shoulders", "Big Shoulders Fallback", "Arial Narrow", Impact, sans-serif;
  --font-sans: "Work Sans", "Work Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-sm: clamp(.8rem, .78rem + .1vw, .86rem);
  --fs-base: clamp(1rem, .97rem + .15vw, 1.06rem);
  --fs-lg: clamp(1.1rem, 1.02rem + .4vw, 1.3rem);
  --fs-xl: clamp(1.4rem, 1.15rem + 1.1vw, 1.95rem);
  --fs-2xl: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem);
  --fs-3xl: clamp(2.2rem, 1.35rem + 3.6vw, 3.9rem);
  --wrap: 1260px;
  --gutter: 16px;
  --header-h: 62px;
  --tabbar-h: 0px;
  color-scheme: light;
}
@media (min-width: 900px) { :root { --gutter: 28px; --header-h: 68px; } }
@media (max-width: 899px) { :root { --tabbar-h: calc(62px + env(safe-area-inset-bottom)); } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0f12; --bg-2: #121418; --surface: #16191f; --surface-2: #1b1f26; --surface-3: #232830;
    --ink: #eeede8; --ink-2: #c8c6c0; --muted: #959ca6; --line: #262a32; --line-2: #343943;
    --accent: #f06a41; --accent-2: #f79a52; --accent-ink: #ff8a64; --accent-soft: #2c1a13;
    --graphite: #0a0c0f; --graphite-2: #111318; --graphite-3: #22262d; --glass: rgba(10, 12, 15, .86);
    --olive: #a9bb73; --olive-soft: #1d2214;
    --danger: #ff6b5e; --danger-soft: #2c1513; --success: #6fcf7b; --success-soft: #122216;
    --warn: #f0b04a; --warn-soft: #2a2010; --info: #78b4ff; --info-soft: #111d2b;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 12px 30px -8px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0f12; --bg-2: #121418; --surface: #16191f; --surface-2: #1b1f26; --surface-3: #232830;
  --ink: #eeede8; --ink-2: #c8c6c0; --muted: #959ca6; --line: #262a32; --line-2: #343943;
  --accent: #f06a41; --accent-2: #f79a52; --accent-ink: #ff8a64; --accent-soft: #2c1a13;
  --graphite: #0a0c0f; --graphite-2: #111318; --graphite-3: #22262d; --glass: rgba(10, 12, 15, .86);
  --olive: #a9bb73; --olive-soft: #1d2214;
  --danger: #ff6b5e; --danger-soft: #2c1513; --success: #6fcf7b; --success-soft: #122216;
  --warn: #f0b04a; --warn-soft: #2a2010; --info: #78b4ff; --info-soft: #111d2b;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 2px 4px rgba(0, 0, 0, .3), 0 12px 30px -8px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* ---------- Sayfa geçişleri (View Transitions API) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
.masthead { view-transition-name: masthead; }
.tabbar { view-transition-name: tabbar; }

/* ---------- 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); scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--fs-base)/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip; padding-bottom: var(--tabbar-h);
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.i--fill { fill: currentColor; stroke: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only { 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 { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: var(--radius); font-weight: 700; }
.skip:focus { top: 8px; color: #fff; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Üst bar ---------- */
.topbar { background: var(--graphite-2); color: var(--on-graphite-2); font-size: .8rem; border-bottom: 1px solid var(--graphite-3); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 34px; }
.topbar__date { white-space: nowrap; display: none; }
@media (min-width: 900px) { .topbar__date { display: block; } }
.ticker { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; overflow: hidden; }
.ticker__label { flex: none; background: var(--accent); color: #fff; font: 700 .68rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.ticker__label--live { background: #d32f2f; }
.ticker__label--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 88%, transparent); }
.ticker__track { display: flex; gap: 40px; white-space: nowrap; width: max-content; animation: ticker 70s linear infinite; }
.ticker__track a { color: var(--on-graphite); }
.ticker__track a::before { content: "•"; color: var(--accent); margin-right: 10px; }
.ticker__track a:hover { color: #fff; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.topbar__social { display: none; gap: 2px; }
@media (min-width: 1100px) { .topbar__social { display: flex; } }
.topbar__social a { display: grid; place-items: center; width: 28px; height: 28px; color: var(--on-graphite-2); border-radius: 6px; }
.topbar__social a:hover { color: #fff; background: var(--graphite-3); }

/* ---------- Başlık (cam efektli, kaydırınca gizlenen) ---------- */
.masthead {
  position: sticky; top: 0; z-index: 60; color: var(--on-graphite);
  background: var(--graphite);
  transition: transform .35s var(--ease), box-shadow .25s, background-color .25s;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .masthead { background: var(--glass); -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px); }
}
.masthead.is-stuck { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.masthead.is-hidden { transform: translateY(-100%); }
.masthead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(228, 87, 46, .55), transparent); opacity: .7; }
.masthead__bar { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 34px; width: auto; }
@media (min-width: 640px) { .logo img { height: 40px; } }
.nav { display: none; margin-left: 16px; flex: 1; min-width: 0; gap: 2px; }
@media (min-width: 1100px) { .nav { display: flex; align-items: center; } }
.nav a { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--on-graphite); white-space: nowrap; transition: background .2s, color .2s; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: #fff; background: rgba(228, 87, 46, .22); box-shadow: inset 0 0 0 1px rgba(228, 87, 46, .45); }
.nav__tools { margin-left: 4px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff !important; box-shadow: 0 6px 18px -6px rgba(228, 87, 46, .7); }
.nav__tools:hover { filter: brightness(1.08); background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important; }
.nav__tools .i { color: #fff; }
.masthead__actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; color: var(--on-graphite); transition: background .2s, color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.icon-btn .i { width: 20px; height: 20px; }
.member-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #fff; font-weight: 700; font-size: .85rem; border: 1px solid rgba(255, 255, 255, .1); transition: background .2s; }
.member-btn:hover { background: var(--accent); color: #fff; }
.member-btn .avatar { width: 26px; height: 26px; font-size: .68rem; }
.member-btn > .i { margin-left: 3px; }
.member-btn__label { display: none; }
@media (min-width: 640px) { .member-btn__label { display: inline; } }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
}
.menu-btn { display: none; }
@media (min-width: 900px) and (max-width: 1099px) { .menu-btn { display: inline-grid; } }

.catnav { border-top: 1px solid rgba(255, 255, 255, .06); }
@media (min-width: 1100px) { .catnav { display: none; } }
.catnav__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 8px 0; list-style: none; scroll-snap-type: x proximity; }
.catnav__list::-webkit-scrollbar { display: none; }
.catnav__list li { scroll-snap-align: start; }
.catnav__list a { display: block; padding: 6px 12px; font-size: .82rem; font-weight: 700; white-space: nowrap; color: var(--on-graphite-2); border-radius: 999px; background: rgba(255, 255, 255, .05); }
.catnav__list a:hover { color: #fff; }
.catnav__list a[aria-current="page"] { color: #fff; background: var(--accent); }

/* ---------- Mobil alt gezinme çubuğu ---------- */
.tabbar { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); height: var(--tabbar-h); padding-bottom: env(safe-area-inset-bottom); background: var(--glass); color: var(--on-graphite-2); border-top: 1px solid rgba(255, 255, 255, .08); -webkit-backdrop-filter: saturate(170%) blur(16px); backdrop-filter: saturate(170%) blur(16px); }
@media (min-width: 900px) { .tabbar { display: none; } }
.tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: inherit; font: 700 .66rem/1 var(--font-sans); letter-spacing: .02em; position: relative; -webkit-tap-highlight-color: transparent; }
.tabbar .i { width: 22px; height: 22px; transition: transform .2s var(--ease); }
.tabbar a:active .i, .tabbar button:active .i { transform: scale(.88); }
.tabbar [aria-current="page"] { color: #fff; }
.tabbar [aria-current="page"]::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--accent); }
.tabbar [aria-current="page"] .i { color: var(--accent); }

/* Yukarı çık */
.to-top { position: fixed; z-index: 65; right: 16px; bottom: calc(var(--tabbar-h) + 16px); width: 46px; height: 46px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--graphite); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px) scale(.9); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); }

/* Mobil çekmece */
.drawer { position: fixed; inset: 0; z-index: 200; display: none; }
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade .2s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: var(--graphite); color: var(--on-graphite); overflow-y: auto; overscroll-behavior: contain; padding: 16px 20px calc(32px + env(safe-area-inset-bottom)); animation: slide .3s var(--ease); border-radius: var(--radius-xl) 0 0 var(--radius-xl); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer__group { border-top: 1px solid var(--graphite-3); padding: 12px 0; }
.drawer__title { font: 700 .7rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-graphite-2); margin: 4px 0 8px; }
.drawer a { display: flex; align-items: center; gap: 12px; padding: 10px 8px; margin: 0 -8px; border-radius: 10px; font-weight: 700; color: var(--on-graphite); }
.drawer a:hover { color: #fff; background: var(--graphite-3); }
.drawer .i { color: var(--accent); }

/* Arama katmanı */
.search-dialog { border: 0; padding: 0; background: transparent; width: min(720px, calc(100vw - 32px)); max-width: none; margin: 12vh auto 0; color: var(--ink); overflow: visible; }
.search-dialog[open] { animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.search-dialog::backdrop { background: rgba(10, 11, 14, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.search-dialog form { display: flex; background: var(--surface); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.search-dialog input { flex: 1; min-width: 0; border: 0; padding: 20px 22px; font-size: 1.15rem; background: transparent; outline: none; }
.search-dialog button { border: 0; background: var(--accent); color: #fff; padding: 0 24px; font-weight: 700; }
.search-dialog__hints { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.search-dialog__hints a { background: rgba(255, 255, 255, .14); color: #fff; padding: 7px 14px; border-radius: 999px; font-size: .85rem; border: 1px solid rgba(255, 255, 255, .12); }
.search-dialog__hints a:hover { background: var(--accent); }

/* ---------- Bölüm düzeni ---------- */
.main { padding: 20px 0 48px; min-height: 50vh; }
@media (min-width: 900px) { .main { padding-top: 28px; } }
.section { margin: 0 0 44px; }
.sec-head { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.sec-head h2, .sec-head h1 { font: 700 var(--fs-xl)/1 var(--font-display); text-transform: uppercase; letter-spacing: .025em; margin: 0; display: flex; align-items: center; gap: 10px; }
.sec-head h2::before, .sec-head h1::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); transform: rotate(45deg); }
.sec-head__line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.sec-head__more { font-size: .82rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--surface); box-shadow: var(--ring); transition: background .2s, color .2s; }
.sec-head__more:hover { background: var(--ink); color: var(--bg); }
.sec-head__more .i { transition: transform .2s var(--ease); }
.sec-head__more:hover .i { transform: translateX(3px); }
.sec-head--cat h2::before { background: var(--cat, var(--accent)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cat, var(--accent)) 18%, transparent); }

.layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; } }
.sidebar { display: grid; gap: 24px; align-content: start; }
@media (min-width: 1000px) { .sidebar__sticky { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 24px; } }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* Liste sayfalarında ilk haber öne çıkar */
@media (min-width: 640px) {
  .grid--feature > .card:first-child { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .grid--feature > .card:first-child { flex-direction: row; }
  .grid--feature > .card:first-child .card__media { width: 58%; aspect-ratio: 16 / 10; flex: none; }
  .grid--feature > .card:first-child .card__body { padding: 26px 28px; justify-content: center; }
  .grid--feature > .card:first-child .card__title { font-size: var(--fs-xl); -webkit-line-clamp: 4; }
  .grid--feature > .card:first-child .card__excerpt { -webkit-line-clamp: 4; font-size: 1rem; }
}
/* Mobilde yatay kaydırılabilir şerit */
@media (max-width: 899px) {
  .scroller { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 340px); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 14px; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 10px; scrollbar-width: none; }
  .scroller::-webkit-scrollbar { display: none; }
  .scroller > * { scroll-snap-align: start; }
}

/* Mobilde uzun listelerde 4. karttan sonrası kompakt yatay görünüm (daha hızlı tarama) */
@media (max-width: 639px) {
  .grid--compact-m > .card:nth-child(n+4) { flex-direction: row; align-items: center; gap: 12px; padding: 12px; }
  .grid--compact-m > .card:nth-child(n+4) .card__media { width: 108px; flex: none; aspect-ratio: 1; border-radius: 12px; }
  .grid--compact-m > .card:nth-child(n+4) .card__body { padding: 0; gap: 5px; }
  .grid--compact-m > .card:nth-child(n+4) .card__title { font-size: .95rem; }
  .grid--compact-m > .card:nth-child(n+4) .card__excerpt { display: none; }
  .grid--compact-m { gap: 14px; }
}

/* ---------- Kartlar ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm), var(--ring); transition: transform .3s var(--ease), box-shadow .3s var(--ease); container-type: inline-size; isolation: isolate; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--accent) 25%, var(--line)); }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(110deg, var(--surface-3) 8%, var(--surface-2) 18%, var(--surface-3) 33%) 0 0 / 200% 100%; }
.js .card__media:not(:has(img.is-loaded, img.no-fade)) { animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .45s; }
.js .card__media img:not(.no-fade) { opacity: 0; animation: img-failsafe 0s 3.5s forwards; }
@keyframes img-failsafe { to { opacity: 1; } }
.js .card__media img.is-loaded { opacity: 1; }
.card:hover .card__media img { transform: scale(1.045); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card__title { font: 700 1.06rem/1.34 var(--font-sans); margin: 0; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@container (min-width: 420px) { .card__title { font-size: 1.2rem; } }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:hover { color: var(--accent-ink); }
.card__excerpt { color: var(--ink-2); font-size: .92rem; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); font-size: .78rem; }
.card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.card__meta .i { width: 14px; height: 14px; }
.kicker { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font: 700 .68rem/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--cat, var(--accent-ink)); position: relative; z-index: 2; }
.kicker::before { content: ""; width: 7px; height: 7px; background: var(--cat, var(--accent)); border-radius: 50%; }
.kicker:hover { color: var(--ink); }
.kicker--sm { font-size: .62rem; }
.badge { display: inline-flex; align-items: center; gap: 4px; font: 700 .66rem/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--accent); color: #fff; }
.badge--live { background: #d32f2f; }
.badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
.badge--sponsor { background: var(--warn-soft); color: var(--warn); }
.badge--muted { background: var(--surface-3); color: var(--ink-2); }
.card__media .badge { position: absolute; left: 12px; top: 12px; z-index: 2; }

/* Yatay kart */
.card--h { flex-direction: row; align-items: center; background: transparent; border-radius: 0; gap: 14px; box-shadow: none; overflow: visible; }
.card--h:hover { transform: none; box-shadow: none; }
.card--h .card__media { flex: none; width: 104px; aspect-ratio: 1; border-radius: 14px; }
@media (min-width: 640px) { .card--h .card__media { width: 118px; aspect-ratio: 4 / 3; } }
.card--h .card__body { padding: 0; gap: 5px; }
.card--h .card__title { font-size: .95rem; line-height: 1.35; -webkit-line-clamp: 3; }
.card--h:hover .card__title a { color: var(--accent-ink); }
.list-h { display: grid; gap: 14px; }
.list-h > * + * { padding-top: 14px; border-top: 1px solid var(--line); }

/* Manşet ve bindirmeli kartlar */
.card--lead, .card--overlay { color: #fff; background: var(--graphite); box-shadow: var(--shadow); }
.card--lead { min-height: 400px; height: 100%; border-radius: var(--radius-xl); }
@media (min-width: 900px) { .card--lead { min-height: 520px; } }
.card--overlay { min-height: 240px; aspect-ratio: 16 / 11; }
.card--lead .card__media, .card--overlay .card__media { position: absolute; inset: 0; aspect-ratio: auto; }
.card--lead .card__media::after, .card--overlay .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 12, 0) 25%, rgba(8, 9, 12, .55) 55%, rgba(8, 9, 12, .94)); }
.card--lead .card__body, .card--overlay .card__body { position: relative; z-index: 1; margin-top: auto; flex: 0 0 auto; }
.card--lead .card__body { padding: 24px; gap: 12px; }
@media (min-width: 900px) { .card--lead .card__body { padding: 36px; max-width: 880px; } }
.card--overlay .card__body { padding: 18px; gap: 8px; }
.card--lead .card__title { font: 700 var(--fs-3xl)/.98 var(--font-display); -webkit-line-clamp: 4; letter-spacing: .005em; text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.card--overlay .card__title { font-size: 1.12rem; line-height: 1.28; -webkit-line-clamp: 3; }
.card--lead .card__title a:hover, .card--overlay .card__title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.card--lead .card__excerpt { color: rgba(255, 255, 255, .86); font-size: 1.02rem; max-width: 68ch; }
.card--lead .card__meta, .card--overlay .card__meta { color: rgba(255, 255, 255, .75); }
.card--lead .kicker, .card--overlay .kicker { color: #fff; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .18); }
.card--lead .kicker::before, .card--overlay .kicker::before { background: var(--cat, var(--accent)); }
.card--lead:hover, .card--overlay:hover { transform: none; }
.card--lead:hover .card__media img, .card--overlay:hover .card__media img { transform: scale(1.03); }

/* Numaralı liste */
.ranked { counter-reset: r; list-style: none; margin: 0; padding: 0; display: grid; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: start; }
.ranked li:first-child { border-top: 0; padding-top: 0; }
.ranked li::before { content: counter(r); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 700 1.25rem/1 var(--font-display); color: var(--accent-ink); background: var(--accent-soft); }
.ranked li:nth-child(-n+3)::before { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.ranked li > div { line-height: 1.35; }
.ranked a { font-weight: 700; font-size: .93rem; line-height: 1.35; }
.ranked .muted { font-size: .76rem; display: flex; align-items: center; gap: 4px; margin-top: 5px; }
.ranked .muted .i { width: 13px; height: 13px; }

/* ---------- Anasayfa ---------- */
.hero { display: grid; gap: 18px; margin-bottom: 34px; }
.hero__lead { min-width: 0; }
.hero__stack { display: grid; gap: 18px; min-width: 0; }
.hero__more { background: var(--surface); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm), var(--ring); }
.hero__more-title { font: 700 .72rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; display: flex; align-items: center; gap: 6px; }
.hero__more-title .i { color: var(--accent); }
@media (min-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-areas: "lead stack" "lead more"; align-items: stretch; }
  .hero__lead { grid-area: lead; }
  .hero__stack { grid-area: stack; }
  .hero__more { grid-area: more; }
  .hero__stack .card--overlay { aspect-ratio: auto; min-height: 210px; }
}
@media (max-width: 999px) {
  .hero__lead { margin-inline: calc(var(--gutter) * -1); }
  .hero__lead .card--lead { border-radius: 0; min-height: 440px; }
}

.tools-strip { position: relative; overflow: hidden; color: var(--on-graphite); border-radius: var(--radius-xl); padding: 26px; margin: 0 0 44px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(228, 87, 46, .35), transparent 50%), radial-gradient(90% 120% at 0% 100%, rgba(240, 138, 60, .16), transparent 55%), var(--graphite); }
.tools-strip::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); pointer-events: none; }
@media (min-width: 900px) { .tools-strip { padding: 34px; } }
.tools-strip__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; position: relative; z-index: 1; }
.tools-strip__eyebrow { display: inline-flex; align-items: center; gap: 6px; font: 700 .7rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: #ffb89a; margin-bottom: 10px; }
.tools-strip__head h2 { font: 700 var(--fs-2xl)/1 var(--font-display); text-transform: uppercase; margin: 0; letter-spacing: .02em; color: #fff; }
.tools-strip__head p { margin: 8px 0 0; color: var(--on-graphite-2); font-size: .95rem; }
.fee-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.fee-chip { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 10px 14px; font-size: .78rem; color: var(--on-graphite-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fee-chip strong { display: block; font: 700 1.5rem/1.1 var(--font-display); color: #fff; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.tools-strip__grid { display: grid; gap: 12px; position: relative; z-index: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .tools-strip__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tool-tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); color: var(--on-graphite); transition: border-color .25s, transform .25s var(--ease), background .25s; min-height: 136px; }
.tool-tile:hover { border-color: rgba(228, 87, 46, .7); background: rgba(228, 87, 46, .1); color: #fff; transform: translateY(-3px); }
.tool-tile__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 8px 18px -8px rgba(228, 87, 46, .9); }
.tool-tile__icon .i { width: 22px; height: 22px; }
.tool-tile strong { font-size: .95rem; line-height: 1.25; }
.tool-tile > span:not(.tool-tile__icon) { font-size: .78rem; color: var(--on-graphite-2); line-height: 1.4; }
.tool-tile__go { position: absolute; right: 14px; top: 16px; color: var(--on-graphite-2); transition: transform .25s var(--ease), color .25s; }
.tool-tile:hover .tool-tile__go { transform: translateX(3px); color: #fff; }

.cat-block { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .cat-block { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }

.tagcloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud a, .chip { display: inline-flex; align-items: center; gap: 4px; padding: 7px 13px; border-radius: 999px; background: var(--surface); box-shadow: var(--ring); font-size: .84rem; font-weight: 700; color: var(--ink-2); transition: background .2s, color .2s, box-shadow .2s; }
.tagcloud a:hover, .chip:hover { background: var(--accent-soft); color: var(--accent-ink); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }

/* Kutular (kenar çubuğu) */
.box { background: var(--surface); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm), var(--ring); }
.box__title { font: 700 1.25rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.box__title .i { color: var(--accent); }
.box--dark { background: radial-gradient(120% 120% at 100% 0%, rgba(228, 87, 46, .28), transparent 55%), var(--graphite); color: var(--on-graphite); box-shadow: var(--shadow); }
.box--dark .muted { color: var(--on-graphite-2); }
.box--cta { display: flex; align-items: center; gap: 14px; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s; }
.box--cta > .i:first-child { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.box--cta strong { display: block; font-size: .95rem; }
.box--cta small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }
.box--cta > .i:last-child { margin-left: auto; color: var(--muted); }
.box--cta:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.newsletter p { font-size: .9rem; }
.newsletter .field { margin-bottom: 10px; }

/* Bülten bandı */
.nl-band { margin: 24px 0 0; }
.nl-band__inner { position: relative; overflow: hidden; display: grid; gap: 22px; align-items: center; padding-block: 34px; border-radius: 0; background: radial-gradient(90% 140% at 100% 0%, rgba(255, 255, 255, .18), transparent 50%), linear-gradient(135deg, var(--accent), #c9401c 60%, #a8331a); color: #fff; }
@media (min-width: 900px) { .nl-band__inner { grid-template-columns: 1.1fr 1fr; gap: 40px; padding: 44px 48px; border-radius: var(--radius-xl); } }
@media (max-width: 899px) { .nl-band .wrap { max-width: none; } }
.nl-band__eyebrow { display: inline-flex; align-items: center; gap: 6px; font: 700 .72rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; opacity: .9; margin-bottom: 10px; }
.nl-band h2 { font: 700 var(--fs-2xl)/1.02 var(--font-display); text-transform: uppercase; letter-spacing: .015em; margin: 0 0 10px; }
.nl-band p { margin: 0; opacity: .92; max-width: 56ch; }
.nl-band__row { display: flex; gap: 8px; background: rgba(255, 255, 255, .16); padding: 6px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .28); }
.nl-band__row input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 10px 12px; font-size: 1rem; outline: none; }
.nl-band__row input::placeholder { color: rgba(255, 255, 255, .78); }
.nl-band__row .btn { background: #fff; color: var(--accent-ink); border-radius: 12px; }
.nl-band__row .btn:hover { background: var(--graphite); color: #fff; }
.nl-band .check { margin: 12px 0 0; color: rgba(255, 255, 255, .92); font-size: .82rem; }
.nl-band .check a { color: #fff; }
.nl-band .check input { accent-color: var(--graphite); }
.nl-band .form-msg:empty { display: none; }
.nl-band .form-msg { margin: 12px 0 0; }

/* ---------- Haber detay ---------- */
.breadcrumbs { font-size: .8rem; color: var(--muted); margin: 0 0 16px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid var(--line-2); border-right: 1.5px solid var(--line-2); transform: rotate(45deg); }
.breadcrumbs a:hover { color: var(--accent-ink); }
.breadcrumbs li:last-child { color: var(--ink-2); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.article-grid { display: grid; gap: 0; min-width: 0; }
@media (min-width: 1240px) { .article-grid { grid-template-columns: 56px minmax(0, 1fr); gap: 22px; } }
.share-rail { display: none; }
@media (min-width: 1240px) { .share-rail { display: block; } }
.share-rail__inner { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 8px; justify-items: center; padding-top: 6px; }
.share-rail__label { font: 700 .6rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 6px; }
.share-rail a, .share-rail button { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 0; background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-sm), var(--ring); transition: transform .2s var(--ease), background .2s, color .2s; }
.share-rail a:hover, .share-rail button:hover { background: var(--accent); color: #fff; transform: scale(1.06); }
.share-rail .is-saved { background: var(--accent-soft); color: var(--accent-ink); }

.article { min-width: 0; }
.article-head { margin-bottom: 22px; }
.article-head .kicker { font-size: .72rem; padding: 7px 11px; border-radius: 999px; background: color-mix(in srgb, var(--cat, var(--accent)) 12%, var(--surface)); }
.article-head h1 { font: 700 var(--fs-3xl)/1 var(--font-display); letter-spacing: .004em; margin: 14px 0 16px; text-wrap: balance; }
.spot { font-size: var(--fs-lg); line-height: 1.55; color: var(--ink-2); margin: 0 0 20px; font-weight: 400; padding: 2px 0 2px 16px; border-left: 3px solid var(--accent); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 12px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--ring); font-size: .84rem; color: var(--muted); }
.byline__author { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.byline__author > span { display: block; line-height: 1.25; }
.byline__author small { display: block; font-weight: 400; color: var(--muted); }
.byline > span { display: inline-flex; align-items: center; gap: 6px; }
.byline__actions { margin-left: auto; display: flex; gap: 2px; }
.byline__updated { display: none !important; }
@media (min-width: 1300px) { .byline__updated { display: inline-flex !important; } }
.tool-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); transition: background .2s, color .2s; }
.tool-btn:hover { background: var(--surface-3); color: var(--ink); }
.tool-btn .i { width: 19px; height: 19px; }
.btn-save.is-saved { color: var(--accent-ink); }
.btn-save.is-saved .i { fill: currentColor; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--accent); color: #fff; display: inline-grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; overflow: hidden; }
.avatar--lg { width: 84px; height: 84px; font-size: 1.6rem; }
.avatar--sm { width: 32px; height: 32px; font-size: .75rem; }
.avatar--staff { background: linear-gradient(135deg, var(--graphite-3), var(--graphite)); }

.article-hero { margin: 22px 0 26px; }
.article-hero img { width: 100%; border-radius: var(--radius-xl); background: var(--surface-3); aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); }
.article-hero figcaption { font-size: .8rem; color: var(--muted); margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--line-2); }
.article-video { margin: 22px 0; }

/* İçindekiler */
.toc { background: var(--surface); border-radius: var(--radius-lg); margin: 0 0 28px; box-shadow: var(--ring); overflow: hidden; }
.toc summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.toc summary .muted { font-weight: 400; font-size: .82rem; margin-left: auto; }
.toc summary .i { color: var(--accent); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; margin-left: 8px; }
.toc[open] summary::after { transform: rotate(-135deg); }
.toc ol { margin: 0; padding: 0 18px 16px; display: grid; gap: 2px; font-size: .92rem; list-style: none; counter-reset: toc; border-top: 1px solid var(--line); padding-top: 10px; }
.toc li { counter-increment: toc; }
.toc li.lvl3 { margin-left: 26px; font-size: .88rem; }
.toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; color: var(--ink-2); }
.toc li:not(.lvl3) > a::before { content: counter(toc, decimal-leading-zero); font: 700 .78rem/1.6 var(--font-sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.toc a:hover { background: var(--surface-3); color: var(--ink); }
.toc a.is-active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }

/* Okuma tipografisi */
:root { --prose-scale: 1; }
:root[data-font="lg"] { --prose-scale: 1.12; }
:root[data-font="xl"] { --prose-scale: 1.24; }
.prose { font-size: calc(clamp(1.06rem, 1rem + .25vw, 1.14rem) * var(--prose-scale)); line-height: 1.78; color: var(--ink); overflow-wrap: break-word; max-width: 72ch; }
.prose > * { margin: 0 0 1.2em; }
.prose > p:first-of-type { font-size: 1.08em; color: var(--ink); }
.prose h2 { font: 700 1.5em/1.25 var(--font-sans); margin: 1.9em 0 .6em; letter-spacing: -.015em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font: 700 1.22em/1.3 var(--font-sans); margin: 1.6em 0 .5em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h4 { font: 700 1.06em/1.3 var(--font-sans); margin: 1.4em 0 .5em; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: .4em 0; padding-left: .2em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose blockquote { position: relative; margin: 1.8em 0; padding: 18px 22px 18px 56px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--ring); font-size: 1.08em; color: var(--ink-2); font-style: italic; }
.prose blockquote::before { content: "“"; position: absolute; left: 16px; top: 4px; font: 700 3.4rem/1 Georgia, serif; color: var(--accent); }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose img { border-radius: var(--radius-lg); margin: 0 auto; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; text-align: center; }
.prose hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); margin: 2.2em 0; }
.prose code { background: var(--surface-3); padding: .12em .38em; border-radius: 6px; font-size: .88em; }
.prose pre { background: var(--graphite); color: var(--on-graphite); padding: 16px; border-radius: var(--radius); overflow-x: auto; }
.prose .ta-c { text-align: center; }
.prose .ta-r { text-align: right; }
.prose .note, .prose .note-info { background: var(--info-soft); border-left: 4px solid var(--info); padding: 14px 18px; border-radius: var(--radius); }
.prose .note-warning { background: var(--warn-soft); border-left: 4px solid var(--warn); padding: 14px 18px; border-radius: var(--radius); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--ring); }
.table-wrap:focus-visible { outline-offset: 0; }
.prose table, .table { width: 100%; border-collapse: collapse; font-size: .9rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
.prose th, .prose td, .table th, .table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose tr:last-child td, .table tr:last-child td { border-bottom: 0; }
.prose thead th, .table thead th { background: var(--surface-3); font-weight: 700; white-space: nowrap; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.prose tbody tr:hover, .table tbody tr:hover { background: var(--surface-2); }
.prose tbody th { background: var(--surface-2); width: 36%; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; margin: 1.8em 0; box-shadow: var(--shadow); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Metin içi ilgili haber */
.prose .inline-related { margin: 1.8em 0; padding: 14px 16px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--accent-soft), var(--surface)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, var(--line)); font-size: 1rem; }
.inline-related__label { display: block; font: 700 .66rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.prose .inline-related a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.prose .inline-related img { width: 96px; height: 64px; object-fit: cover; border-radius: 10px; margin: 0; flex: none; }
.inline-related strong { font-size: .98rem; line-height: 1.35; }
.prose .inline-related a:hover strong { color: var(--accent-ink); }

.article-foot { margin-top: 36px; display: grid; gap: 24px; }
.tags-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tags-line strong { font-size: .85rem; margin-right: 4px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share__label { font-weight: 700; font-size: .85rem; margin-right: 4px; }
.share a, .share button { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; border: 0; background: var(--surface); color: var(--ink-2); box-shadow: var(--ring); transition: background .2s, color .2s, transform .2s var(--ease); }
.share a:hover, .share button:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.source-line { font-size: .88rem; color: var(--muted); }
.disclaimer { font-size: .8rem; color: var(--muted); background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 12px 14px; }
.author-box { display: flex; gap: 18px; padding: 22px; background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm), var(--ring); align-items: center; }
.author-box h3 { margin: 0 0 4px; font-size: 1.08rem; }
.author-box p { margin: 8px 0 0; font-size: .9rem; color: var(--ink-2); }
.post-nav { display: grid; gap: 12px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a { display: block; padding: 18px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--ring); font-weight: 700; line-height: 1.35; transition: box-shadow .2s, transform .2s var(--ease); }
.post-nav a:hover { box-shadow: 0 0 0 1px var(--accent), var(--shadow); transform: translateY(-2px); }
.post-nav small { display: block; color: var(--muted); font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.post-nav .next { text-align: right; }

.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: 0 50%; transform: scaleX(0); z-index: 80; }
@supports (animation-timeline: scroll()) {
  /* Okuma ilerlemesi: kaydırmaya bağlı CSS animasyonu (JS yedeği de var) */
  .progress.is-css { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
/* ---------- Yorumlar ---------- */
.comments { margin-top: 40px; }
.comments__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.comments__sort { display: flex; gap: 4px; font-size: .85rem; }
.comments__sort a { padding: 6px 10px; border-radius: 999px; color: var(--muted); font-weight: 700; }
.comments__sort a[aria-current="true"] { background: var(--ink); color: var(--bg); }
.comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.comment { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
.comment__main { min-width: 0; }
.comment__bubble { background: var(--surface); border-radius: 6px var(--radius-lg) var(--radius-lg) var(--radius-lg); padding: 13px 16px; box-shadow: var(--ring); }
.comment--staff .comment__bubble { background: var(--accent-soft); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); }
.comment--pending .comment__bubble { box-shadow: 0 0 0 1px var(--line-2); background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 10px, var(--surface-2) 10px, var(--surface-2) 20px); }
.comment__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .82rem; color: var(--muted); margin-bottom: 4px; }
.comment__name { font-weight: 700; color: var(--ink); font-size: .92rem; }
.comment__text { font-size: .96rem; line-height: 1.6; overflow-wrap: anywhere; }
.comment__text a { color: var(--accent-ink); text-decoration: underline; }
.comment__deleted { font-style: italic; color: var(--muted); font-size: .9rem; }
.comment__actions { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 6px; }
.comment__actions button { border: 0; background: transparent; color: var(--muted); font-size: .8rem; font-weight: 700; padding: 5px 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 5px; }
.comment__actions button:hover { background: var(--surface-3); color: var(--ink); }
.comment__actions .is-liked { color: var(--accent-ink); }
.comment__actions .is-liked .i { fill: currentColor; }
.comment__replies { list-style: none; margin: 12px 0 0; padding: 0 0 0 4px; display: grid; gap: 12px; border-left: 2px solid var(--line); padding-left: 14px; }
.comment__replies .comment { grid-template-columns: 32px minmax(0, 1fr); }
.comment__replies .avatar { width: 32px; height: 32px; font-size: .75rem; }
.comment-form { background: var(--surface); border-radius: var(--radius-xl); padding: 20px; margin-bottom: 26px; box-shadow: var(--shadow-sm), var(--ring); }
.comment-form__who { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .9rem; }
.comment-form__row { display: grid; gap: 12px; }
@media (min-width: 640px) { .comment-form__row { grid-template-columns: 1fr 1fr; } }
.comment-form__replying { display: none; align-items: center; justify-content: space-between; background: var(--accent-soft); border-radius: var(--radius); padding: 8px 12px; font-size: .85rem; margin-bottom: 10px; }
.comment-form__replying.is-on { display: flex; }
.comment-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.counter { font-size: .78rem; color: var(--muted); }
.comment-rules { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }
.inline-edit textarea { width: 100%; min-height: 90px; }

/* ---------- Formlar ---------- */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .label { font-weight: 700; font-size: .88rem; }
.field small { color: var(--muted); font-size: .8rem; }
.input, .field input[type="text"], .field input[type="email"], .field input[type="password"], .field input[type="number"], .field input[type="date"], .field input[type="search"], .field select, .field textarea, textarea.input, select.input {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea, textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .82rem; font-weight: 700; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; line-height: 1.45; margin-bottom: 10px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent-ink); text-decoration: underline; }
.pw-meter { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; background: var(--danger); transition: width .2s, background .2s; }
.pw-meter[data-score="2"] span { background: var(--warn); }
.pw-meter[data-score="3"] span { background: #6aa84f; }
.pw-meter[data-score="4"] span { background: var(--success); }
.input-group { position: relative; }
.input-group .toggle-pw { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); width: 36px; height: 36px; border-radius: 6px; display: grid; place-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 12px; border: 1px solid transparent; background: var(--accent); color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.2; transition: background .2s, transform .12s, box-shadow .2s; text-align: center; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn:hover { background: var(--accent-ink); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: var(--surface-3); color: var(--ink); border-color: var(--ink-2); }
.btn--dark { background: var(--graphite); color: #fff; }
.btn--dark:hover { background: var(--graphite-3); }
.btn--danger { background: var(--danger); }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: .85rem; border-radius: 10px; }
.btn--block { width: 100%; }
.btn .i { width: 18px; height: 18px; }

.alert { padding: 12px 16px; border-radius: 12px; margin: 0 0 16px; font-size: .92rem; border: 1px solid transparent; display: flex; gap: 10px; align-items: flex-start; }
.alert .i { margin-top: 2px; }
.alert--error { background: var(--danger-soft); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.alert--success { background: var(--success-soft); color: var(--success); border-color: color-mix(in srgb, var(--success) 30%, transparent); }
.alert--info { background: var(--info-soft); color: var(--info); border-color: color-mix(in srgb, var(--info) 30%, transparent); }
.alert--warn { background: var(--warn-soft); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }

/* ---------- Liste sayfaları ---------- */
.page-head { position: relative; margin: 0 0 28px; padding: 26px 24px; border-radius: var(--radius-xl); background: radial-gradient(120% 160% at 100% 0%, color-mix(in srgb, var(--cat, var(--accent)) 16%, transparent), transparent 60%), var(--surface); box-shadow: var(--ring); overflow: hidden; }
.page-head::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--cat, var(--accent)); }
.page-head h1 { font: 700 var(--fs-2xl)/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; margin: 8px 0 8px; }
.page-head p { color: var(--ink-2); margin: 0; max-width: 70ch; }
.page-head__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; align-items: center; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 32px 0 0; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 12px; background: var(--surface); box-shadow: var(--ring); font-weight: 700; font-size: .9rem; transition: background .2s, color .2s; }
.pagination a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.pagination [aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pagination .gap { box-shadow: none; background: transparent; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty .i { width: 48px; height: 48px; color: var(--line-2); margin-bottom: 8px; }
.search-form { display: flex; gap: 8px; margin: 0 0 20px; }
.search-form input { flex: 1; }

/* ---------- Araçlar ---------- */
.tool-hero { background: radial-gradient(120% 150% at 100% 0%, rgba(228, 87, 46, .32), transparent 52%), var(--graphite); color: var(--on-graphite); border-radius: var(--radius-xl); padding: 28px; margin-bottom: 26px; position: relative; overflow: hidden; }
.tool-hero::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 280px; height: 280px; border-radius: 50%; border: 2px solid rgba(228, 87, 46, .3); }
.tool-hero h1 { font: 700 clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem)/1.02 var(--font-display); margin: 8px 0 8px; text-transform: uppercase; letter-spacing: .01em; position: relative; z-index: 1; }
.tool-hero p { color: var(--on-graphite-2); max-width: 66ch; margin: 0; position: relative; z-index: 1; }
.tool-hero .kicker { color: var(--accent); }
.tool-hero__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: .8rem; color: var(--on-graphite-2); position: relative; z-index: 1; }
.tool-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.calc { display: grid; gap: 20px; }
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; } }
.panel { background: var(--surface); border-radius: var(--radius-xl); padding: 22px; box-shadow: var(--shadow-sm), var(--ring); }
.panel h2 { font: 700 1.15rem/1.2 var(--font-sans); margin: 0 0 14px; }
.panel--result { position: relative; }
@media (min-width: 900px) { .panel--result { position: sticky; top: calc(var(--header-h) + 20px); } }
.result-total { font: 700 clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem)/1 var(--font-display); color: var(--accent-ink); letter-spacing: .01em; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.result-sub { color: var(--muted); font-size: .85rem; }
.result-lines { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 0; }
.result-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: .92rem; }
.result-lines li strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.result-lines li.total { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 700; margin-top: 4px; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.seg label { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; background: var(--surface); font-size: .85rem; transition: border-color .15s, background .15s; }
.seg label strong { font-size: .92rem; }
.seg label small { color: var(--muted); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + span, .seg label:has(input:checked) { }
.seg label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.seg label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.stepper { display: inline-flex; justify-self: start; width: max-content; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.stepper button { width: 44px; height: 44px; border: 0; background: var(--surface-3); font-size: 1.2rem; font-weight: 700; }
.stepper input, .field .stepper input[type="number"] { width: 64px; min-height: 44px; height: 44px; border: 0; border-radius: 0; text-align: center; background: transparent; font-weight: 700; box-shadow: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; font-size: .9rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.bar-chart { display: grid; gap: 10px; margin-top: 10px; }
.bar-chart__row { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; font-size: .85rem; }
.bar-chart__bar { height: 12px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.bar-chart__bar span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.meter { height: 14px; border-radius: 7px; background: var(--surface-3); overflow: hidden; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--success), var(--warn), var(--danger)); }
.status-card { border-radius: var(--radius-lg); padding: 18px; border: 1px solid var(--line); }
.status-card--ok { background: var(--success-soft); border-color: color-mix(in srgb, var(--success) 35%, transparent); }
.status-card--warn { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.status-card--bad { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.status-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist label { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; }
.checklist input { width: 18px; height: 18px; accent-color: var(--success); margin-top: 3px; flex: none; }
.checklist label:has(input:checked) { background: var(--success-soft); }
.checklist label:has(input:checked) span { text-decoration: line-through; color: var(--muted); }
.checklist .opt { font-size: .75rem; color: var(--muted); margin-left: 6px; }
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: fade .25s; }
.quiz-progress { height: 6px; background: var(--surface-3); border-radius: 3px; overflow: hidden; margin-bottom: 18px; }
.quiz-progress span { display: block; height: 100%; background: var(--accent); width: 0; transition: width .25s; }
.quiz-q { font-size: 1.15rem; font-weight: 700; margin: 0 0 14px; }
.quiz-actions { display: flex; gap: 10px; margin-top: 16px; }
.compare-table th { position: sticky; left: 0; background: var(--surface-2); z-index: 1; }
.compare-table td.best { color: var(--success); font-weight: 700; }
.compare-table td.best::after { content: " ★"; font-size: .8em; }
.prof-list { display: grid; gap: 10px; }
.prof-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.prof-list summary { padding: 14px 16px; cursor: pointer; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.prof-list details > div { padding: 0 16px 14px; font-size: .92rem; color: var(--ink-2); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { padding: 14px 16px; cursor: pointer; font-weight: 700; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--ink-2); font-size: .95rem; }
.tool-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tool-card { display: flex; gap: 14px; padding: 20px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm), var(--ring); transition: box-shadow .25s, transform .25s var(--ease); position: relative; }
.tool-card:hover { box-shadow: 0 0 0 1px var(--accent), var(--shadow); transform: translateY(-3px); color: inherit; }
.tool-card__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--accent) 90%, transparent); }
.tool-card__icon .i { width: 24px; height: 24px; }
.tool-card h2, .tool-card h3 { font-size: 1rem; margin: 0 0 4px; }
.tool-card p { font-size: .85rem; color: var(--muted); margin: 0; }

/* ---------- Reklam alanları (CLS önleyici yer ayırma) ---------- */
.ad { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 24px auto; width: 100%; min-height: var(--ad-hm, 250px); text-align: center; }
@media (min-width: 768px) { .ad { min-height: var(--ad-hd, 90px); } }
.ad--dev-desktop { display: none; }
@media (min-width: 768px) { .ad--dev-desktop { display: flex; } .ad--dev-mobile { display: none; } }
.ad__label { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ad__slot { width: 100%; display: flex; justify-content: center; }
.ad__slot > * { max-width: 100%; }
.ad__banner img { border-radius: var(--radius); margin: 0 auto; }
.ad.is-empty { display: none; }
.ad--header_top { margin: 12px auto; }
.ad--sidebar_sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.ad--in_article { margin: 28px auto; padding: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad--mobile_anchor { position: fixed; left: 0; right: 0; bottom: var(--tabbar-h); z-index: 68; margin: 0; min-height: 0 !important; background: var(--surface); box-shadow: 0 -4px 20px rgba(0, 0, 0, .15); padding: 4px 0; }
.ad--mobile_anchor .ad__label { display: none; }
.ad-close { position: absolute; right: 6px; top: -26px; width: 26px; height: 26px; border-radius: 50% 50% 0 0; border: 0; background: var(--surface); box-shadow: 0 -2px 8px rgba(0, 0, 0, .12); color: var(--ink); font-weight: 700; }
@media (min-width: 768px) { .ad--mobile_anchor { display: none !important; } }


/* ---------- Footer ---------- */
.footer { position: relative; background: var(--graphite); color: var(--on-graphite-2); margin-top: 0; font-size: .9rem; }
.nl-band + .footer { margin-top: 0; }
.main + .ad + .footer, .main + .footer { margin-top: 48px; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(228, 87, 46, .6), transparent); }
.nl-band { background: linear-gradient(180deg, var(--bg) 50%, var(--graphite) 50%); margin-top: 48px; }
@media (max-width: 899px) { .nl-band { background: none; } }
.footer a { color: var(--on-graphite); }
.footer a:hover { color: var(--accent-2); }
.footer__top { display: grid; gap: 30px; padding: 44px 0 30px; }
@media (min-width: 700px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer__top { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer__brand img { height: 44px; width: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 42ch; line-height: 1.65; }
.footer h3 { font: 700 .74rem/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 4px 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: background .2s, transform .2s var(--ease); }
.footer__social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer__legal { border-top: 1px solid var(--graphite-3); padding: 18px 0 26px; display: grid; gap: 10px; font-size: .78rem; }
@media (min-width: 900px) { .footer__legal { grid-template-columns: 1fr auto; align-items: center; } }
.footer__legal p { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.linklike { border: 0; background: none; padding: 0; color: var(--on-graphite); text-decoration: underline; font-size: inherit; }

/* ---------- Çerez bildirimi ---------- */
.consent { position: fixed; z-index: 150; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + 12px); max-width: 560px; background: var(--surface); color: var(--ink); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg), var(--ring); padding: 20px; font-size: .9rem; animation: rise .35s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (min-width: 640px) { .consent { left: 20px; bottom: calc(var(--tabbar-h) + 20px); } }
.consent h2 { font-size: 1.02rem; margin: 0 0 6px; }
.consent p { margin: 0 0 14px; color: var(--ink-2); }
.consent a { color: var(--accent-ink); text-decoration: underline; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__prefs { display: none; margin: 0 0 12px; padding: 12px; background: var(--surface-2); border-radius: 12px; }
.consent.is-prefs .consent__prefs { display: block; }

/* ---------- Üye hesabı ---------- */
.auth { max-width: 470px; margin: 12px auto 0; }
.auth__card { background: var(--surface); border-radius: var(--radius-xl); padding: 26px; box-shadow: var(--shadow), var(--ring); }
@media (min-width: 640px) { .auth__card { padding: 36px; } }
.auth h1 { font: 700 2.3rem/1 var(--font-display); text-transform: uppercase; margin: 0 0 8px; }
.auth__lead { color: var(--muted); margin: 0 0 22px; }
.auth__foot { text-align: center; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.auth__foot a, .link { color: var(--accent-ink); font-weight: 700; }
.auth__perks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; font-size: .85rem; color: var(--ink-2); }
.auth__perks li { display: flex; gap: 8px; }
.auth__perks .i { color: var(--success); }
.account { display: grid; gap: 24px; }
@media (min-width: 900px) { .account { grid-template-columns: 260px minmax(0, 1fr); } }
.account__nav { background: var(--surface); border-radius: var(--radius-xl); padding: 10px; align-self: start; box-shadow: var(--ring); }
@media (min-width: 900px) { .account__nav { position: sticky; top: calc(var(--header-h) + 20px); } }
.account__user { display: flex; gap: 12px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.account__user strong { display: block; line-height: 1.2; }
.account__user small { color: var(--muted); }
.account__nav a, .account__nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: .92rem; border: 0; background: transparent; text-align: left; }
.account__nav a:hover, .account__nav button:hover { background: var(--surface-3); color: var(--ink); }
.account__nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }
.account__section { background: var(--surface); border-radius: var(--radius-xl); padding: 24px; margin-bottom: 20px; box-shadow: var(--ring); }
.account__section h2 { font-size: 1.15rem; margin: 0 0 14px; }
.account__section--danger { box-shadow: 0 0 0 1px color-mix(in srgb, var(--danger) 40%, transparent); }
.qr { background: #fff; padding: 12px; border-radius: 12px; display: inline-block; }
.qr canvas, .qr svg { display: block; width: 200px; height: 200px; image-rendering: pixelated; }
.secret { font: 700 1rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; background: var(--surface-3); padding: 8px 12px; border-radius: 10px; word-break: break-all; }
.codes { font: 700 1rem/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-3); padding: 12px 16px; border-radius: 12px; columns: 2; }

/* ---------- Genel sayfalar ---------- */
.page-body { max-width: 820px; }
.legal-layout { display: grid; gap: 28px; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 240px minmax(0, 1fr); } .legal-layout .toc { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.people { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 16px; }
.person { display: flex; gap: 12px; align-items: center; padding: 16px; background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--ring); }
.notfound { text-align: center; padding: 32px 0 12px; }
.notfound__code { font: 700 clamp(5rem, 3rem + 10vw, 9rem)/1 var(--font-display); background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: .02em; }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 24px); transform: translateX(-50%) translateY(20px); z-index: 300; background: var(--graphite); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .9rem; font-weight: 700; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .25s, transform .25s var(--ease); pointer-events: none; max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
dialog.modal { border: 0; border-radius: var(--radius-xl); padding: 24px; width: min(460px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
dialog.modal[open] { animation: pop .25s var(--ease); }
dialog.modal::backdrop { background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog.modal h2 { margin: 0 0 12px; font-size: 1.1rem; }

/* ---------- Kaydırmaya bağlı giriş animasyonları (yalnızca destekleyen tarayıcılarda, JS gerektirmez) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .grid > .card, .cat-block > *, .tool-grid > *, .tools-strip__grid > *, .list-h > .card, .comment-list > li, .post-nav > a, .author-box {
      animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%;
    }
    @keyframes reveal { from { opacity: 0; transform: translateY(28px) scale(.985); } to { opacity: 1; transform: none; } }
  }
}


/* ---------- Hareket azaltma & yazdırma ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
  @view-transition { navigation: none; }
}
@media print {
  .topbar, .masthead, .catnav, .footer, .sidebar, .ad, .share, .share-rail, .comments, .post-nav, .consent, .related, .progress, .no-print, .tabbar, .to-top, .nl-band, .inline-related, .tool-hero::after { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .layout, .article-grid { display: block; }
  .prose { max-width: none; }
  .prose a { color: #000; }
  .panel { border: 1px solid #999; box-shadow: none; }
  .card__media img { opacity: 1 !important; }
}
