/* ==========================================================================
   ShowBahis Blog — Tasarım sistemi
   1. Tokenlar  2. Temel  3. Yardımcılar  4. Header/Footer  5. Bileşenler
   6. Ana sayfa  7. Yazı  8. Arşiv/Sabit  9. Hata sayfaları  10. Erişilebilirlik
   ========================================================================== */

/* 1. Tokenlar ------------------------------------------------------------- */
:root {
  --bg: #0a0d0c;
  --bg-2: #0e1311;
  --surface: #131916;
  --surface-2: #19211d;
  --surface-3: #212b26;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .14);
  --text: #eef5f1;
  --text-2: #b9c6bf;
  --muted: #8b9a92;
  --brand: #00ff86;
  --brand-2: #00d872;
  --brand-ink: #03140b;
  --brand-soft: rgba(0, 255, 134, .1);
  --brand-glow: rgba(0, 255, 134, .35);
  --gold: #f6c544;
  --gold-soft: rgba(246, 197, 68, .12);
  --danger: #ff5d6c;

  --font-head: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* 2. Temel ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 56px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(0, 255, 134, .07), transparent 60%),
    radial-gradient(900px 400px at -10% 10%, rgba(246, 197, 68, .04), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--brand); color: var(--brand-ink); }
main:focus { outline: none; }

/* 3. Yardımcılar ---------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }
.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; }
.eyebrow:empty { display: none; }
.eyebrow { font: 700 .75rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin: 0 0 .75rem; }
.lead { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--text-2); max-width: 62ch; }
.icon { flex: none; }

/* 4. Header / Footer ------------------------------------------------------ */
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: var(--brand-ink); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 13, 12, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header__bar { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand img { width: auto; height: 26px; }
.header-search {
  flex: 1; max-width: 420px; margin-left: auto; position: relative; display: none;
}
.header-search input {
  width: 100%; height: 42px; padding: 0 44px 0 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.header-search input::placeholder { color: var(--muted); }
.header-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.header-search button {
  position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: transparent; border: 0; color: var(--muted); cursor: pointer;
}
.header-search button:hover { color: var(--brand); }
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-search + .header__actions { margin-left: 0; }
.header__cta span { display: none; }
@media (min-width: 380px) { .header__cta span { display: inline; } }

.main-nav { border-top: 1px solid var(--border); }
.main-nav ul {
  list-style: none; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
  padding-block: 8px; mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.main-nav ul::-webkit-scrollbar { display: none; }
.main-nav a {
  display: block; white-space: nowrap; padding: 6px 14px; border-radius: 999px;
  font: 600 .9rem/1.4 var(--font-head); color: var(--text-2); transition: background .2s, color .2s;
}
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.main-nav a[aria-current="page"] { color: var(--brand-ink); background: var(--brand); }

@media (max-width: 419px) { .header__tg { display: none !important; } .header__cta { padding: 0 14px; } }
@media (min-width: 720px) {
  .header__cta span { display: inline; }
  .brand img { height: 30px; }
}
@media (min-width: 960px) {
  .header-search { display: block; }
  .header__search-link { display: none !important; }
  .main-nav ul { mask-image: none; }
}

.age-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--danger); color: var(--text);
  font: 800 .72rem/1 var(--font-head);
}
.age-badge--lg { width: 48px; height: 48px; font-size: .95rem; }

.site-footer { margin-top: 96px; background: var(--bg-2); border-top: 1px solid var(--border); position: relative; }
.footer__grid { display: grid; gap: 40px; padding-block: 56px 40px; grid-template-columns: 1fr; }
.footer__brand img { height: 28px; width: auto; margin-bottom: 16px; }
.footer__brand p { color: var(--muted); max-width: 42ch; font-size: .95rem; }
.footer__col h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
.footer__col ul { list-style: none; display: grid; gap: 10px; }
.footer__col a:not(.btn) { color: var(--text-2); }
.footer__col a:not(.btn):hover { color: var(--brand); }
.footer__col p { color: var(--muted); font-size: .95rem; }
.footer__col .btn { margin: 0 8px 8px 0; }
.social { list-style: none; display: flex; gap: 8px; }
.social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); transition: .2s;
}
.social a:hover { color: var(--brand-ink); background: var(--brand); border-color: var(--brand); }
.footer__rg { border-block: 1px solid var(--border); background: rgba(255, 93, 108, .04); }
.rg { display: flex; align-items: center; gap: 16px; padding-block: 18px; }
.rg p { margin: 0; color: var(--text-2); font-size: .88rem; }
.rg a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; font-size: .85rem; color: var(--muted); }
.footer__bottom p { margin: 0; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr; } }

.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 1.2rem;
  box-shadow: 0 8px 24px -6px var(--brand-glow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--brand-ink); transform: translateY(-2px); }

/* 5. Bileşenler ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent;
  font: 700 .92rem/1 var(--font-head); cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 6px 22px -8px var(--brand-glow); }
.btn--primary:hover { color: var(--brand-ink); background: #4dffaa; transform: translateY(-1px); box-shadow: 0 10px 28px -8px var(--brand-glow); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--block { width: 100%; }

.icon-btn {
  width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); cursor: pointer; transition: .2s;
}
.icon-btn:hover { color: var(--brand-ink); background: var(--brand); border-color: var(--brand); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand); border: 1px solid rgba(0, 255, 134, .22);
  font: 700 .72rem/1.3 var(--font-head); text-transform: uppercase; letter-spacing: .06em;
  position: relative; z-index: 2;
}
.chip:hover { background: var(--brand); color: var(--brand-ink); }
.chip--lg { padding: 8px 16px; font-size: .8rem; text-transform: none; letter-spacing: 0; }
.chip .count { opacity: .7; font-weight: 600; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips--center { justify-content: center; }

/* Kart */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 255, 134, .35); box-shadow: 0 18px 40px -20px var(--brand-glow); }
.card__media { display: block; aspect-ratio: 5 / 3; overflow: hidden; background: var(--bg-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.card__title { margin: 0; font-size: 1.1rem; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* tüm kart tıklanabilir */
.card__title a:hover { color: var(--text); }
.card:hover .card__title a { color: var(--brand); }
.card__excerpt { margin: 0; color: var(--muted); font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin: auto 0 0; display: flex; gap: 8px; color: var(--muted); font-size: .8rem; }

.card--feature { border-radius: var(--radius-lg); }
.card--feature .card__body { padding: 24px 26px 28px; }
.card--feature .card__title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.card--feature .card__excerpt { -webkit-line-clamp: 3; font-size: 1rem; }

.card--row { flex-direction: row; align-items: stretch; border-radius: var(--radius); }
.card--row .card__media { width: 132px; flex: none; aspect-ratio: auto; }
.card--row .card__body { padding: 12px 14px; gap: 6px; }
.card--row .card__title { font-size: .95rem; }
.card--row .card__excerpt { display: none; }
.card--row .chip { padding: 2px 8px; font-size: .64rem; }

/* Kırıntı */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; min-width: 0; }
.breadcrumb li + li::before { content: "›"; opacity: .6; }
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current] { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }

/* Sayfalama */
.pagination { margin-top: 40px; }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font: 600 .9rem/1 var(--font-head);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination [aria-current] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.pagination .is-disabled { opacity: .4; }
.pagination .pagination__gap { border: 0; background: none; min-width: 20px; padding: 0; }

/* Bölüm başlığı */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; position: relative; padding-left: 16px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 4px; background: var(--brand); box-shadow: 0 0 14px var(--brand-glow); }
.section-title { text-align: center; }
.link-more { font: 600 .9rem/1 var(--font-head); color: var(--brand); }

/* Yan panel */
.layout { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 1100px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.sidebar { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1100px) { .sidebar { position: sticky; top: calc(var(--header-h) + 64px); } }
.widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.widget__title { font-size: 1rem; margin-bottom: 14px; }
.widget--cta { background: radial-gradient(circle at 100% 0, rgba(0, 255, 134, .18), transparent 60%), var(--surface); border-color: rgba(0, 255, 134, .25); }
.widget--cta p { color: var(--text-2); font-size: .92rem; }
.popular { list-style: none; counter-reset: pop; display: grid; gap: 14px; }
.popular a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; font: 600 .88rem/1.35 var(--font-head); }
.popular picture { aspect-ratio: 5 / 3; border-radius: 10px; overflow: hidden; position: relative; }
.popular img { width: 100%; height: 100%; object-fit: cover; }
.popular li { counter-increment: pop; }
.popular a span::before { content: counter(pop, decimal-leading-zero) " "; color: var(--brand); }
.cat-list { list-style: none; display: grid; gap: 4px; }
.cat-list a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; color: var(--text-2); }
.cat-list a:hover { background: var(--surface-2); color: var(--brand); }
.cat-list .count { min-width: 28px; text-align: center; padding: 1px 8px; border-radius: 999px; background: var(--surface-3); font-size: .78rem; }
.promo { display: block; position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.promo img { width: 100%; }
.promo__label { display: block; padding: 12px 16px; background: var(--surface); font: 600 .9rem/1.35 var(--font-head); }

/* 6. Ana sayfa ------------------------------------------------------------ */
.hero { padding-top: 40px; }
.hero__head { margin-bottom: 28px; }
.hero__head h1 { max-width: 20ch; }
.hero__head h1::first-line { color: var(--text); }
.hero__grid { display: grid; gap: 24px; }
.hero__side { display: grid; gap: 14px; align-content: start; }
.hero__side .eyebrow { margin: 0; }
@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
  .hero__side { gap: 16px; }
}
.cat-strip { margin-top: 32px; }

.home-seo { margin-top: 80px; padding-block: 64px 8px; border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(0, 255, 134, .03), transparent 320px); }
.home-seo .prose { max-width: 900px; }
.home-seo .prose h2:first-child { margin-top: 0; }
.home-faq .faq { max-width: 900px; margin-top: 40px; }

/* 7. Yazı ----------------------------------------------------------------- */
.read-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--gold)); }

.post-head { padding-top: 32px; }
.post-title { margin-top: 16px; }
.post-lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--text-2); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 16px 0 28px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.author-mini { display: flex; align-items: center; gap: 12px; }
.author-mini span { display: grid; line-height: 1.3; }
.author-mini strong { font: 600 .95rem/1.3 var(--font-head); }
.author-mini small { color: var(--muted); font-size: .8rem; }
.avatar { border-radius: 50%; background: var(--surface-2); border: 2px solid rgba(0, 255, 134, .4); object-fit: cover; width: 44px; height: 44px; }
.avatar--lg { width: 80px; height: 80px; }
.avatar--xl { width: 112px; height: 112px; }
.meta-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .88rem; color: var(--text-2); }
.meta-k { color: var(--muted); }
.post-cover { margin: 0 auto; max-width: 1000px; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); }
.post-cover img { width: 100%; }

.post-layout { display: grid; gap: 32px; margin-top: 40px; }
.post-main { min-width: 0; max-width: 760px; }
@media (min-width: 1100px) {
  .post-layout { grid-template-columns: 260px minmax(0, 760px); justify-content: center; gap: 56px; }
  .post-aside__sticky { position: sticky; top: calc(var(--header-h) + 64px); }
}

.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.toc__title { font: 700 .95rem/1.2 var(--font-head); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after { content: "+"; color: var(--brand); font-size: 1.2rem; }
.toc[open] .toc__title::after { content: "–"; }
.toc ol { list-style: none; margin-top: 12px; display: grid; gap: 2px; counter-reset: toc; }
.toc ol ol { margin: 2px 0 4px 14px; }
.toc a { display: block; padding: 6px 10px; border-left: 2px solid var(--border); color: var(--text-2); font-size: .9rem; line-height: 1.4; transition: .2s; }
.toc ol ol a { font-size: .85rem; color: var(--muted); }
.toc a:hover { color: var(--text); border-color: var(--text-2); }
.toc a.is-active { color: var(--brand); border-color: var(--brand); background: var(--brand-soft); }
@media (min-width: 1100px) { .toc nav { max-height: calc(100vh - 300px); overflow-y: auto; } }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; position: relative; }
.share__title { width: 100%; margin: 0 0 2px; font: 700 .8rem/1 var(--font-head); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.share__toast { font-size: .8rem; color: var(--brand); }

.keypoints {
  margin-bottom: 32px; padding: 20px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(0, 255, 134, .08), rgba(246, 197, 68, .05)); border: 1px solid rgba(0, 255, 134, .25);
}
.keypoints__title { font-size: 1rem; margin-bottom: 10px; color: var(--brand); }
.keypoints ul { list-style: none; display: grid; gap: 8px; }
.keypoints li { position: relative; padding-left: 26px; color: var(--text-2); }
.keypoints li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }

/* Yazı tipografisi */
.prose { font-size: 1.075rem; line-height: 1.8; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { color: var(--text); margin-top: 2em; margin-bottom: .2em; }
.prose h3 { color: var(--text); margin-top: 1.6em; margin-bottom: .1em; font-size: 1.2rem; }
.prose strong { color: var(--text); }
.prose a { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(0, 255, 134, .4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--brand); }
.prose ul, .prose ol { padding-left: 1.4em; display: grid; gap: .4em; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose blockquote { margin-inline: 0; padding: 20px 24px; border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.12rem; color: var(--text); }
.prose blockquote cite { display: block; margin-top: 8px; font-size: .88rem; color: var(--muted); font-style: normal; }
.prose blockquote cite::before { content: "— "; }
.prose hr { border: 0; height: 1px; background: var(--border); margin-block: 2.4em; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.figure { margin-inline: 0; }
.figure picture { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.figure img { width: 100%; }
.figure figcaption { margin-top: 10px; font-size: .88rem; color: var(--muted); text-align: center; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 480px; }
.prose caption { caption-side: top; text-align: left; padding: 14px 16px; font: 600 .9rem/1.3 var(--font-head); color: var(--text); border-bottom: 1px solid var(--border); }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.prose thead th { background: var(--surface-2); color: var(--text); font-family: var(--font-head); font-size: .85rem; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.prose tbody tr:hover { background: rgba(255, 255, 255, .02); }
.callout { padding: 18px 20px; border-radius: var(--radius); border: 1px solid; }
.callout p { margin: 0; }
.callout__title { font: 700 .85rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px !important; }
.callout--info { background: var(--brand-soft); border-color: rgba(0, 255, 134, .3); }
.callout--info .callout__title { color: var(--brand); }
.callout--warn { background: var(--gold-soft); border-color: rgba(246, 197, 68, .35); }
.callout--warn .callout__title { color: var(--gold); }

/* SSS */
.faq { margin-top: 48px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-top: 10px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(0, 255, 134, .3); }
.faq summary { padding: 16px 52px 16px 20px; cursor: pointer; list-style: none; position: relative; font: 600 1rem/1.4 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-3); color: var(--brand); font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 20px 18px; color: var(--text-2); }
.faq__a p { margin: 0; }
.sources { margin-top: 40px; font-size: .92rem; }
.sources ol { padding-left: 1.4em; color: var(--muted); }
.sources a { color: var(--text-2); text-decoration: underline; }

.rg-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; padding: 16px 18px; border-radius: var(--radius); border: 1px dashed rgba(255, 93, 108, .4); background: rgba(255, 93, 108, .05); }
.rg-note p { margin: 0; font-size: .9rem; color: var(--text-2); }
.rg-note a { color: var(--brand); text-decoration: underline; }

.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 40px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.author-box .eyebrow { margin-bottom: 4px; }
.author-box__name { font: 700 1.15rem/1.3 var(--font-head); margin: 0; }
.author-box__role { color: var(--muted); font-size: .88rem; margin-bottom: 10px; }
.author-box p:last-child { margin: 0; color: var(--text-2); font-size: .95rem; }
@media (max-width: 560px) { .author-box { flex-direction: column; } }

.prev-next { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .prev-next { grid-template-columns: 1fr 1fr; } }
.pn { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: .2s; }
.pn small { color: var(--muted); font-size: .8rem; }
.pn span { font: 600 .98rem/1.35 var(--font-head); }
.pn--next { text-align: right; }
.pn:hover { border-color: var(--brand); }

.related { margin-top: 80px; padding-top: 56px; border-top: 1px solid var(--border); }

/* 8. Arşiv / sabit sayfalar ---------------------------------------------- */
.page-top { padding-top: 32px; }
.archive-head { padding: 8px 0 8px; }
.archive-head h1 { margin-bottom: .3em; }
.author-head { display: flex; gap: 28px; align-items: flex-start; }
.author-head__role { color: var(--brand); font: 600 .95rem/1.3 var(--font-head); }
.author-head__links { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.author-head__links a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: .85rem; }
@media (max-width: 640px) { .author-head { flex-direction: column; } }
.static-page { padding-top: 32px; max-width: 880px; }
.static-page .prose { margin-top: 24px; }
.empty { color: var(--muted); padding: 40px; text-align: center; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); }

.search-form { display: flex; gap: 10px; max-width: 640px; }
.search-form input {
  flex: 1; min-width: 0; height: 52px; padding: 0 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong); outline: none; font-size: 1.02rem;
}
.search-form input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.search-form .btn { min-height: 52px; padding-inline: 26px; }
.search-form--center { margin: 28px auto 0; }
.search-status { margin: 20px 0 !important; color: var(--muted); }
.search-status mark { background: none; color: var(--brand); font-weight: 700; }

/* İletişim + sayfa kümeleri */
.contact-card {
  display: grid; gap: 20px; align-items: center; margin: 8px 0 36px; padding: 24px;
  border-radius: var(--radius-lg); border: 1px solid rgba(0, 255, 134, .3);
  background: radial-gradient(circle at 0 0, rgba(0, 255, 134, .14), transparent 55%), var(--surface);
}
@media (min-width: 760px) { .contact-card { grid-template-columns: auto 1fr auto; } }
.contact-card__icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 18px; background: var(--brand); color: var(--brand-ink); box-shadow: 0 10px 30px -10px var(--brand-glow); }
.contact-card__body p { margin: 0; }
.contact-card__label { font: 700 .75rem/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact-card__mail { font: 700 clamp(1.25rem, 1rem + 1.2vw, 1.75rem)/1.3 var(--font-head); word-break: break-all; margin: 4px 0 !important; }
.contact-card__mail a:hover { color: var(--brand); }
.contact-card__meta { color: var(--text-2); font-size: .9rem; }
.contact-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin-block: 1.4em !important; }
.prose .contact-grid a, .contact-tile { text-decoration: none; }
.contact-tile {
  display: grid; gap: 6px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); color: var(--text-2); transition: .2s;
}
.contact-tile:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--text-2); }
.contact-tile__name { font: 700 1.05rem/1.3 var(--font-head); color: var(--text); }
.contact-tile__desc { font-size: .9rem; line-height: 1.5; }
.contact-tile__mail { font: 600 .88rem/1.3 var(--font-head); color: var(--brand); }
.cluster { margin-top: 48px; }
.cluster__title { font-size: 1.2rem; }
.cluster ul { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.cluster a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: .2s; }
.cluster a:hover { border-color: var(--brand); }
.cluster strong { font: 700 .98rem/1.3 var(--font-head); color: var(--text); }
.cluster span { font-size: .86rem; color: var(--muted); line-height: 1.45; }
.quick { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quick a { display: block; text-align: center; padding: 10px 8px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font: 600 .85rem/1.2 var(--font-head); }
.quick a:hover { border-color: var(--brand); }
.quick li:first-child a { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.steps { counter-reset: st; list-style: none !important; padding: 0 !important; gap: 12px !important; }
.steps li { counter-increment: st; position: relative; padding: 14px 16px 14px 60px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.steps li::before { content: counter(st); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font: 800 .9rem/1 var(--font-head); }
.steps li::marker { content: none; }
.cta-box { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 20px 22px; border-radius: var(--radius-lg); border: 1px solid rgba(0, 255, 134, .3); background: var(--brand-soft); }
.cta-box p { margin: 0; color: var(--text); font-weight: 600; }
.prose .cta-box .btn { text-decoration: none; color: var(--brand-ink); }
.prose .cta-box .btn--ghost { color: var(--text); }

/* Giriş butonları */
.btn--lg { min-height: 50px; font-size: 1rem; }
.btn--login { animation: none; }
.header__guncel { display: none; }
@media (min-width: 1180px) { .header__guncel { display: inline-flex; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.widget--login { text-align: center; border-color: rgba(0, 255, 134, .4); background: radial-gradient(circle at 50% 0, rgba(0, 255, 134, .2), transparent 65%), var(--surface); }
.widget--login p { color: var(--text-2); font-size: .92rem; }
.widget-link { display: inline-block; margin-top: 12px; font: 600 .85rem/1 var(--font-head); color: var(--brand); }
.footer__col .btn--login { margin-bottom: 20px; }
.footer__sub { margin-top: 8px; }
.inline-login { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 32px; color: var(--muted); font-size: .92rem; }
.cta-box--login { margin: 40px 0 0; }
.cta-box__title { font: 700 1.1rem/1.3 var(--font-head) !important; margin: 0 0 4px !important; }
.cta-box__text { color: var(--text-2) !important; font-weight: 400 !important; font-size: .9rem; }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.prose .cta-box--login { margin: 1.6em 0; }
.mobile-login {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 13, 12, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}
.mobile-login .btn { min-height: 46px; }
@media (max-width: 719px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .to-top { bottom: calc(82px + env(safe-area-inset-bottom)); }
}
@media (min-width: 720px) { .mobile-login { display: none; } }

/* 9. Hata sayfaları ------------------------------------------------------- */
.error-hero { padding: 64px 0 40px; text-align: center; position: relative; overflow: hidden; }
.error-hero::before {
  content: ""; position: absolute; inset: -20% 10% auto; height: 520px; z-index: -1;
  background: radial-gradient(closest-side, rgba(0, 255, 134, .16), transparent);
}
.error-hero__inner { max-width: 760px; }
.error-hero .lead { margin-inline: auto; }
.error-hero h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.error-code {
  display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1.5vw, 16px);
  font: 800 clamp(6rem, 3rem + 14vw, 12rem)/1 var(--font-head); letter-spacing: -.04em;
  color: var(--text); margin-bottom: 20px;
}
.error-code span { background: linear-gradient(180deg, #fff 20%, #7d8a84); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-code span:empty { display: none; }
.error-code__spade {
  width: clamp(5rem, 2.5rem + 11vw, 9.5rem); height: auto; border-radius: 50%;
  filter: drop-shadow(0 0 32px var(--brand-glow));
}
@media (prefers-reduced-motion: no-preference) {
  .error-code__spade { animation: float 4s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-10px) rotate(-6deg); } }
}
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.error-extra { margin-top: 56px; }
.error-extra .grid { margin-top: 24px; }
.is-error .site-footer { margin-top: 72px; }

/* 10. Erişilebilirlik ----------------------------------------------------- */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.card__title a:focus-visible { outline: none; }
.card:has(.card__title a:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) { .btn, .chip, .card { border: 1px solid CanvasText; } }

@media print {
  .site-header, .site-footer, .mobile-login, .post-aside, .related, .read-progress, .to-top, .sidebar, .prev-next { display: none !important; }
  body { background: #fff; color: #000; }
  .prose { color: #000; }
  .prose a::after { content: " (" attr(href) ")"; font-size: .8em; }
}
