/* =====================================================================
   Gerçek Edebiyat — Ön Yüz Tasarım Sistemi
   Marka: kırmızı (logodan örneklendi) + siyah + kağıt beyazı
   Tipografi: Source Serif 4 (başlık/gövde) + Inter (arayüz)
   Türkçe karakterler için latin-ext alt kümesi dahil edilmiştir.
   ===================================================================== */

/* ---------------------------------------------------------------- Fontlar */
@font-face {
  font-family: 'GE Serif';
  src: url('/assets/fonts/serif4-latin-ext.woff2') format('woff2');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'GE Serif';
  src: url('/assets/fonts/serif4-latin.woff2') format('woff2');
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'GE Sans';
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'GE Sans';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* ---------------------------------------------------------------- Belirteçler */
:root {
  --brand:        #d8210f;   /* logodan örneklenen kırmızı */
  --brand-dark:   #a3170a;
  --brand-tint:   #fdf1ef;

  --ink:          #14161a;   /* ana metin */
  --ink-2:        #3d434d;   /* ikincil metin */
  --ink-3:        #6b7280;   /* yardımcı bilgi */
  --line:         #e3e6ea;
  --line-soft:    #eef1f4;
  --paper:        #ffffff;
  --paper-2:      #f7f8fa;   /* sayfa zemini */

  --serif: 'GE Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, 'Times New Roman', serif;
  --sans:  'GE Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1200px;
  --gap: 24px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20,22,26,.05), 0 4px 14px rgba(20,22,26,.05);
}

/* ---------------------------------------------------------------- Temel */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'kern' 1;
  text-rendering: optimizeLegibility;
}

img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }

/* Klavye ile gezinme görünürlüğü */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 18px; font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- Üst bant */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
/* Tarih ve sosyal simgeler solda yan yana durur; yardımcı bağlantılar
   'margin-left:auto' ile sağa itilir. space-between kullanılsaydı üç öge
   eşit dağılır, simgeler ortada boşlukta kalırdı. */
.topbar .wrap { display: flex; align-items: center; height: 38px; gap: 10px; }
.topbar__date { color: #b9bec7; letter-spacing: .01em; }
.topbar__links { display: flex; gap: 18px; margin-left: auto; }
.topbar a { color: #dfe3e8; }
.topbar a:hover { color: #fff; }

/* ---------------------------------------------------------------- Başlık */
.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.masthead .wrap {
  display: flex; align-items: center; gap: 28px;
  padding-top: 18px; padding-bottom: 18px;
}
.masthead__logo img { width: 300px; max-width: 62vw; height: auto; }
.masthead__slot { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.search-form { display: flex; align-items: center; }
.search-form input {
  font: inherit; font-size: 14px; padding: 9px 12px;
  border: 1px solid var(--line); border-right: 0;
  border-radius: 8px 0 0 8px; width: 190px; background: var(--paper-2);
}
.search-form button {
  font: inherit; font-size: 14px; padding: 9px 14px; cursor: pointer;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  border-radius: 0 8px 8px 0;
}
.search-form button:hover { background: var(--brand); border-color: var(--brand); }

/* ---------------------------------------------------------------- Menü */
.nav {
  background: var(--paper);
  /* İnce, yumuşak ayraç. Önceden kalın siyah çizgiydi; kırmızı son dakika
     şeridinin üstünde koyu bir dikiş oluşturduğu için hafifletildi. */
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 60;
}

/* Menünün hemen ardından son dakika şeridi geliyorsa ayraç hiç çizilmez:
   kırmızı bant zaten kendi sınırını oluşturur. */
.nav:has(+ .lastminute) { border-bottom: 0; }
.nav .wrap { display: flex; align-items: stretch; gap: 2px; }
.nav a {
  display: flex; align-items: center; padding: 12px 13px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em;
  color: var(--ink-2); white-space: nowrap;
  border-radius: 6px;
}
.nav a:hover { color: var(--brand); background: var(--brand-tint); }
/* Bulunulan sayfa: yalnızca yazı rengi değişir — alt çizgi kullanılmaz. */
.nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
.nav__scroll { display: flex; overflow-x: auto; scrollbar-width: none; }
.nav__scroll::-webkit-scrollbar { display: none; }

.nav__toggle {
  display: none; align-items: center; gap: 8px; padding: 11px 12px;
  background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer;
  color: var(--ink);
}

/* ---------------------------------------------------------------- Son dakika */
.lastminute {
  background: var(--brand); color: #fff;
  border-bottom: 1px solid var(--brand-dark);
  border-top: 0;
}
.lastminute .wrap { display: flex; align-items: center; gap: 14px; height: 42px; }
.lastminute__label {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(0,0,0,.22); padding: 5px 10px; border-radius: 4px; white-space: nowrap;
}
.lastminute__track { overflow: hidden; flex: 1; }
.lastminute__items { display: flex; gap: 34px; white-space: nowrap; }
.lastminute a { color: #fff; font-size: 14.5px; font-weight: 500; }
.lastminute a:hover { color: #ffe3df; text-decoration: underline; }

/* ---------------------------------------------------------------- Yerleşim */
main { padding: 28px 0 48px; }

.grid { display: grid; gap: var(--gap); }
.grid--main { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

.section { margin-bottom: 34px; }

.section__head {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 18px;
}
.section__title {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  margin: 0; letter-spacing: -.015em;
}
.section__title::before {
  content: ''; display: inline-block; width: 5px; height: 18px;
  background: var(--brand); margin-right: 9px; vertical-align: -2px; border-radius: 1px;
}
.section__more { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.section__more:hover { color: var(--brand); }

/* ---------------------------------------------------------------- Kart */
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}

.thumb {
  display: block; position: relative; background: var(--line-soft);
  aspect-ratio: 16 / 10; overflow: hidden;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
a.thumb:hover img { transform: scale(1.035); }
.thumb--tall { aspect-ratio: 3 / 4; }
.thumb--wide { aspect-ratio: 21 / 10; }

/* Görselsiz kayıtlarda düzen bozulmasın */
.thumb--empty {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f2f4f7, #e8ebef);
  color: #b6bcc5;
}
.thumb--empty svg { width: 38%; max-width: 90px; opacity: .5; }

.kicker {
  display: inline-block; font-family: var(--sans);
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 6px;
}

.card__body { padding: 14px 16px 17px; }

.headline {
  font-family: var(--serif); font-weight: 700; letter-spacing: -.02em;
  line-height: 1.24; margin: 0 0 8px; color: var(--ink);
  /* Uzun başlıklar düzeni bozmasın */
  overflow-wrap: anywhere; hyphens: auto;
}
.headline a:hover { color: var(--brand); }
.headline--xl  { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.14; }
.headline--lg  { font-size: clamp(21px, 2.2vw, 27px); }
.headline--md  { font-size: 19px; }
.headline--sm  { font-size: 16.5px; line-height: 1.32; }

.spot {
  font-family: var(--serif); font-size: 16px; color: var(--ink-2);
  margin: 0 0 10px; line-height: 1.5;
}

.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  font-size: 12.5px; color: var(--ink-3);
}
.meta__dot::before { content: '·'; margin-right: 10px; color: #c3c8d0; }

/* ---------------------------------------------------------------- Manşet */
.lead {
  display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: var(--gap); margin-bottom: 30px;
}
.lead__main .thumb { aspect-ratio: 16 / 9; border-radius: var(--radius); }
.lead__main .card__body { padding: 16px 0 0; }
.lead__side { display: grid; gap: 16px; align-content: start; }

.mini {
  display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 13px; align-items: start;
}
.mini .thumb { aspect-ratio: 4 / 3; border-radius: 7px; }
.mini .headline { font-size: 15.5px; line-height: 1.3; margin-bottom: 5px; }

/* Listedeki haber satırı */
.row-list { display: grid; gap: 18px; }
.row-item {
  display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 18px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line-soft);
}
.row-item:last-child { border-bottom: 0; padding-bottom: 0; }
.row-item .thumb { border-radius: 8px; }

/* ---------------------------------------------------------------- Yan sütun */
.aside { display: grid; gap: 24px; align-content: start; position: sticky; top: 62px; }
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.panel__head {
  padding: 13px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 17px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.panel__head::before {
  content: ''; width: 4px; height: 16px; background: var(--brand); border-radius: 1px;
}
.panel__body { padding: 14px 16px; }

.ranked { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ranked li {
  display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 11px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
}
.ranked li:last-child { border-bottom: 0; }
.ranked li::before {
  counter-increment: r; content: counter(r);
  font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--brand);
  line-height: 1; opacity: .85;
}
.ranked .headline { font-size: 15px; margin: 0; line-height: 1.32; }

.writer-list { display: grid; gap: 15px; }
.writer-item { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 12px; align-items: center; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  background: var(--line-soft); border: 1px solid var(--line);
}
.avatar--lg { width: 92px; height: 92px; }
.writer-item__name { font-size: 13.5px; font-weight: 700; color: var(--brand); margin-bottom: 2px; }
.writer-item__title { font-family: var(--serif); font-size: 15px; font-weight: 600; line-height: 1.3; }

/* ---------------------------------------------------------------- Reklam alanı
   Boyut ÖNCEDEN ayrılır; yüklenirken sayfa kaymaz (CLS). */
/* Yalnızca YER TUTUCU kutular (data-slot) kesikli çerçeve alır.
   Gerçek reklamlar (.ad) çerçevesizdir — aşağıdaki REKLAM ALANLARI
   bölümüne bakınız. */
.ad[data-slot] {
  display: flex; align-items: center; justify-content: center;
  background: var(--line-soft); border: 1px dashed var(--line);
  border-radius: 8px; color: #aeb4bd; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; overflow: hidden;
}
.ad[data-slot="sidebar"] { min-height: 250px; }
.ad[data-slot="leaderboard"] { min-height: 90px; }
.ad[data-slot="inline"] { min-height: 250px; margin: 26px 0; }

/* ---------------------------------------------------------------- Makale */
.article {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 34px 36px;
}
.breadcrumb { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 7px; color: #ccd1d8; }

.article__title {
  font-family: var(--serif); font-weight: 700; letter-spacing: -.022em;
  font-size: clamp(27px, 3.6vw, 42px); line-height: 1.15; margin: 0 0 14px;
  overflow-wrap: anywhere;
}
.article__spot {
  font-family: var(--serif); font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55; color: var(--ink-2); margin: 0 0 18px;
  padding-left: 16px; border-left: 3px solid var(--brand);
}
.article__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 13px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  font-size: 13px; color: var(--ink-3); margin-bottom: 22px;
}
.byline { display: flex; align-items: center; gap: 9px; }
.byline img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.byline strong { color: var(--ink); font-size: 14px; }

.article__figure { margin: 0 0 22px; }
.article__figure img { width: 100%; border-radius: var(--radius); }
.article__figure figcaption {
  font-size: 13px; color: var(--ink-3); padding-top: 8px; line-height: 1.45;
}

/* ------------------------------------------- İçerik gövdesi (okuma alanı) */
.prose {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.72;
  color: #1d2025;
  max-width: 68ch;          /* uzun yazılarda rahat okuma ölçüsü */
  overflow-wrap: break-word;
}
.prose p { margin: 0 0 1.15em; }
.prose h2, .prose h3, .prose h4 {
  font-family: var(--serif); font-weight: 700; letter-spacing: -.015em;
  line-height: 1.28; margin: 1.7em 0 .55em;
}
.prose h2 { font-size: 1.42em; }
.prose h3 { font-size: 1.22em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--brand-dark); }
.prose strong, .prose b { font-weight: 700; color: #101216; }
.prose em, .prose i { font-style: italic; }
.prose ul, .prose ol { margin: 0 0 1.15em; padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: 8px; margin: 1.4em auto; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-family: var(--sans); font-size: 13.5px; color: var(--ink-3); text-align: center; padding-top: 7px; }
.prose iframe { display: block; margin: 1.5em auto; max-width: 100%; aspect-ratio: 16/9; width: 100%; border: 0; border-radius: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .92em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; }
.prose th { background: var(--paper-2); font-weight: 700; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose sup { font-size: .72em; }

/* Alıntı */
.prose blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--brand);
  font-style: italic; color: var(--ink-2);
}
.prose blockquote p:last-child { margin-bottom: 0; }

/* --- ŞİİR --- satır sonları ve kıta boşlukları korunur.
   Kaynaktan gelen <br> ve boş paragraflar aynen basılır; burada
   yalnızca okunaklı bir ölçü ve satır aralığı verilir. */
.prose--poem, .prose .poem {
  font-size: 19.5px; line-height: 1.95; max-width: 46ch;
}
.prose--poem p { margin-bottom: 1.6em; }
.prose--poem br + br { line-height: 2.4; }

/* Geniş içerik (tablo/kod) kendi içinde kayar; sayfa yatay kaymaz */
.prose .scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------------- Etiket / paylaşım */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.tag {
  font-size: 12.5px; font-weight: 600; padding: 6px 11px; border-radius: 100px;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-2);
}
.tag:hover { background: var(--brand-tint); border-color: #f3c9c3; color: var(--brand); }

.share { display: flex; align-items: center; gap: 9px; margin-top: 24px; flex-wrap: wrap; }
.share__label { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.share a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-2);
}
.share a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.share svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------------------------------------------------------------- Önceki/sonraki */
.neighbors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.neighbor {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
  background: var(--paper);
}
.neighbor__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.neighbor--next { text-align: left; }
.neighbor .headline { font-size: 16px; margin: 0; }

/* ---------------------------------------------------------------- Galeri */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery-grid .thumb { aspect-ratio: 4/3; border-radius: 8px; }

.photo-count {
  position: absolute; right: 9px; bottom: 9px;
  background: rgba(0,0,0,.72); color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 9px; border-radius: 5px; display: flex; align-items: center; gap: 5px;
}

/* Basit ışık kutusu */
.lightbox {
  position: fixed; inset: 0; background: rgba(10,11,13,.94); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 40px 20px;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: 6px; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff;
  border: 0; width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #d8dce1; font-size: 13.5px; }

/* ---------------------------------------------------------------- Video */
.video-embed {
  position: relative; aspect-ratio: 16/9; background: #000;
  border-radius: var(--radius); overflow: hidden;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed__poster { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.video-embed__play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 68px;
  border-radius: 50%; background: var(--brand); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.video-embed__play::after {
  content: ''; border-style: solid; border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff; margin-left: 4px;
}

/* ---------------------------------------------------------------- Yazar sayfası */
.writer-hero {
  display: grid; grid-template-columns: 108px minmax(0,1fr); gap: 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin-bottom: 26px; align-items: start;
}
.writer-hero__name { font-family: var(--serif); font-size: 28px; font-weight: 700; margin: 0 0 6px; letter-spacing: -.02em; }
.writer-hero__bio { font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 70ch; }
.writer-hero__links { display: flex; gap: 10px; margin-top: 12px; }

/* ---------------------------------------------------------------- Sayfalama */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination [aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination .is-gap { border: 0; background: none; }

/* ---------------------------------------------------------------- Yorumlar */
.comments { margin-top: 34px; }
.comment { padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.comment:last-child { border-bottom: 0; }
.comment__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 5px; }
.comment__name { font-weight: 700; font-size: 14.5px; }
.comment__date { font-size: 12.5px; color: var(--ink-3); }
.comment__body { font-size: 15px; color: var(--ink-2); line-height: 1.6; white-space: pre-line; }

/* ---------------------------------------------------------------- Hata / boş durum */
.state {
  text-align: center; padding: 70px 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.state__code { font-family: var(--serif); font-size: 76px; font-weight: 700; color: var(--brand); line-height: 1; margin: 0 0 10px; }
.state__title { font-family: var(--serif); font-size: 26px; font-weight: 700; margin: 0 0 8px; }
.state__text { color: var(--ink-3); margin: 0 auto 22px; max-width: 46ch; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font: inherit; font-size: 14.5px; font-weight: 600;
  padding: 11px 20px; border-radius: 8px; border: 1px solid transparent;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------------------------------------------------------------- Alt bilgi */
.footer { background: var(--ink); color: #c3c8d0; margin-top: 40px; padding: 40px 0 26px; }
.footer a { color: #c3c8d0; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer__logo img { width: 250px; max-width: 100%; opacity: .96; }
.footer__about { font-size: 14px; line-height: 1.6; margin-top: 14px; max-width: 44ch; color: #9aa1ab; }
.footer h3 {
  font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: #fff; margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.footer__bottom {
  margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13px; color: #868d97;
}

/* ---------------------------------------------------------------- Test bandı */
.staging-banner {
  background: #92400e; color: #fff; text-align: center;
  padding: 7px 14px; font-size: 13px; font-weight: 600;
}

/* ---------------------------------------------------------------- Duyarlılık */
@media (max-width: 1080px) {
  .grid--main { grid-template-columns: 1fr; }
  .aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .lead { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .article { padding: 22px 20px 28px; }
  .prose { font-size: 18px; }
}

@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .masthead .wrap { padding-top: 14px; padding-bottom: 14px; }
  .masthead__slot { display: none; }
  .topbar__links { display: none; }
  .topbar__social { margin-left: auto; gap: 4px; }

  /* Mobil başlık: [☰ Menü] [logo] — menü düğmesi logonun solunda.
     Menü çubuğu ayrı bir satır olarak yer kaplamaz; yalnızca açılır
     panelin tutunacağı kap olarak kalır. */
  .masthead .wrap { gap: 10px; }
  .nav__toggle { display: flex; padding: 8px 6px 8px 0; gap: 6px; font-size: 14px; flex: 0 0 auto; }
  .masthead__logo { min-width: 0; }
  .masthead__logo img { max-width: 56vw; }

  .nav { border-bottom: 0; background: transparent; }
  .nav .wrap { position: relative; padding-top: 0; padding-bottom: 0; min-height: 0; }
  .nav__scroll { display: none; }
  .nav__scroll.is-open {
    display: block; position: absolute; left: 0; right: 0; top: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    max-height: 70vh; overflow-y: auto; box-shadow: var(--shadow); z-index: 40;
  }
  .nav__scroll.is-open a { border-bottom: 1px solid var(--line-soft); padding: 13px 20px; }

  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .row-item { grid-template-columns: 132px minmax(0,1fr); gap: 13px; }
  .neighbors { grid-template-columns: 1fr; }
  .writer-hero { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .prose { font-size: 17.5px; line-height: 1.68; }
  .article__title { font-size: 25px; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  a.thumb:hover img { transform: none; }
}

/* Yazdırma */
@media print {
  .topbar, .nav, .lastminute, .aside, .footer, .share, .ad, .neighbors { display: none !important; }
  .article { border: 0; padding: 0; }
  .prose { font-size: 12pt; max-width: none; }
  a[href^="http"]::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
}

/* =====================================================================
   MANŞET SLIDER
   Kaynak sitedeki geçişli manşet alanının karşılığı.
   Yumuşak soluklanma (fade) — kaydırma yok, okuma akışını bozmaz.
   Yükseklik sabittir: geçişte sayfa kaymaz (CLS = 0).
   ===================================================================== */
.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #101216;
  margin-bottom: 30px;
  isolation: isolate;
}

.slider__viewport {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 300px;
}

.slider__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease, visibility 0s linear .5s;
}
.slider__slide.is-active {
  opacity: 1; visibility: visible;
  transition: opacity .5s ease, visibility 0s;
  z-index: 1;
}

.slider__media { display: block; position: absolute; inset: 0; }
.slider__media img { width: 100%; height: 100%; object-fit: cover; }
.slider__noimg {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(140deg, #1c1f26, #2b3038);
}

/* Metnin okunabilmesi için alt gradyan */
.slider__slide::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8,9,11,.92) 0%, rgba(8,9,11,.72) 32%, rgba(8,9,11,.12) 62%, rgba(8,9,11,0) 82%);
}

.slider__caption {
  position: absolute; right: 0; bottom: 0; left: 0; z-index: 2;
  padding: 28px 32px 30px;
  max-width: 60ch;
  pointer-events: none;
}
.slider__caption a { pointer-events: auto; }

.slider__kicker {
  display: inline-block; margin-bottom: 10px;
  background: var(--brand); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 4px;
}
.slider__kicker:hover { background: var(--brand-dark); color: #fff; }

.slider__title {
  font-family: var(--serif); font-weight: 700; letter-spacing: -.022em;
  font-size: clamp(22px, 2.9vw, 38px); line-height: 1.16;
  margin: 0 0 10px; color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
  overflow-wrap: anywhere;
}
.slider__title a { color: #fff; }
.slider__title a:hover { color: #ffd9d3; }

.slider__spot {
  font-family: var(--serif); font-size: clamp(14.5px, 1.4vw, 17px);
  line-height: 1.5; color: #dfe3e8; margin: 0 0 10px;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}

.slider__meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: #b3bac4;
}

/* --- Oklar --- */
.slider__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(12,13,16,.5); border: 1px solid rgba(255,255,255,.22);
  color: #fff; display: grid; place-items: center;
  transition: background .15s, opacity .15s;
  opacity: 0;
}
.slider:hover .slider__nav,
.slider__nav:focus-visible { opacity: 1; }
.slider__nav:hover { background: var(--brand); border-color: var(--brand); }
.slider__nav svg { width: 20px; height: 20px; }
.slider__nav--prev { left: 16px; }
.slider__nav--next { right: 16px; }

/* --- Noktalar --- */
.slider__dots {
  position: absolute; right: 32px; bottom: 20px; z-index: 4;
  display: flex; gap: 7px;
}
.slider__dot {
  width: 26px; height: 16px; padding: 6px 0 0; border: 0; background: none; cursor: pointer;
}
.slider__dot span {
  display: block; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.42); transition: background .2s, height .2s;
}
.slider__dot:hover span { background: rgba(255,255,255,.75); }
.slider__dot.is-active span { background: var(--brand); height: 5px; }

@media (max-width: 860px) {
  .slider__viewport { aspect-ratio: 4 / 3; min-height: 260px; }
  .slider__caption { padding: 20px 18px 24px; max-width: none; }
  .slider__dots { right: 18px; bottom: 14px; }
  .slider__nav { display: none; }
  .slider__spot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .slider__slide { transition: none; }
}

/* ===================================================================
   REKLAM ALANLARI
   Boş alan sayfada yer kaplamaz (Ads::render boşsa hiç HTML üretmez).
   Yükseklik önceden ayrılır ki reklam gelince sayfa kaymasın (CLS).
   =================================================================== */
.adzone{margin:22px 0;display:flex;flex-direction:column;align-items:center;gap:14px}
.adzone--header_top{margin:0;padding:10px 0;background:#f4f5f7;border-bottom:1px solid var(--line,#e5e7eb)}
.adzone--under_menu{margin:14px auto;max-width:1200px;padding:0 16px}
.adzone--footer{margin:26px auto 0;max-width:1200px;padding:0 16px}
.adzone--sidebar_top,.adzone--sidebar,.adzone--sidebar_sticky{margin:0 0 18px}
.adzone--sidebar_sticky{position:sticky;top:16px}
.adzone--in_article{margin:26px 0;padding:14px 0;border-top:1px solid var(--line,#e5e7eb);border-bottom:1px solid var(--line,#e5e7eb)}
.adzone--list_inline{margin:18px 0}
.adzone--home_middle{margin:26px 0}

.ad{max-width:100%;line-height:0;text-align:center}
.ad img{max-width:100%;height:auto;display:inline-block}
.ad a{display:inline-block;line-height:0}

/* "Reklam" etiketi — okuyucu içerikle reklamı ayırt edebilmeli.
   Google AdSense politikası da reklamların işaretlenmesini ister. */
.adzone::before{content:"Reklam";font:600 10px/1 var(--sans,system-ui);letter-spacing:.08em;
  text-transform:uppercase;color:#9aa1ab;align-self:center}
.adzone--sidebar_top::before,.adzone--sidebar::before,.adzone--sidebar_sticky::before{align-self:flex-start}

/* Ekran ayrımı sunucuda değil CSS'te: sayfa önbelleği tek kopya kalır */
.ad--desktop{display:none}
.ad--mobile{display:block}
@media (min-width:900px){
  .ad--desktop{display:block}
  .ad--mobile{display:none}
}

/* Mobil alt yapışkan şerit */
.adzone--mobile_sticky{position:fixed;left:0;right:0;bottom:0;z-index:60;margin:0;padding:4px 0;
  background:rgba(255,255,255,.97);border-top:1px solid var(--line,#e5e7eb);
  box-shadow:0 -2px 10px rgba(0,0,0,.08)}
.adzone--mobile_sticky::before{display:none}
@media (min-width:900px){.adzone--mobile_sticky{display:none}}

/* AdSense duyarlı birimleri kapsayıcıyı taşırmasın */
.ad--code ins.adsbygoogle{max-width:100%}

/* Üst çubuk: tarihin yanındaki sosyal simgeler */
.topbar__social{display:inline-flex;align-items:center;gap:2px;margin-left:2px}
.topbar__social a{display:inline-flex;align-items:center;justify-content:center;
  width:26px;height:26px;border-radius:50%;color:#dfe3e8;opacity:.7;
  transition:opacity .15s,background-color .15s}
/* Üst çubuk koyu zeminli: vurgu açık renk olmalı */
.topbar__social a:hover,.topbar__social a:focus-visible{opacity:1;background:rgba(255,255,255,.14)}
.topbar__social svg{display:block}

/* Alt bilgi: sosyal simgeler ve e-posta (Ayarlar'dan gelir) */
.footer__social{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
.footer__social a{display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border:1px solid rgba(255,255,255,.22);border-radius:50%;
  color:inherit;opacity:.8;transition:opacity .15s,border-color .15s,background-color .15s}
.footer__social a:hover,.footer__social a:focus-visible{opacity:1;
  border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.08)}
.footer__social svg{display:block}
.footer__mail{margin-top:10px;font-size:13px;opacity:.8}
