/* =========================================================================
   Editoryal katman — yalnızca /makaleler/ bölümü
   -------------------------------------------------------------------------
   Makaleler bölümü araçlardan ayrı bir kimlik taşımalı. Araç kartları koyu
   yeşil karolar ve ✓ rozetleriyle "uygulama" dili konuşuyor; buradaki dil
   yazı dili: serif başlık, kicker etiketi, kural çizgileri, geniş boşluk.

   Serif için Georgia kullanılıyor — her işletim sisteminde bulunan, ekran
   için tasarlanmış bir editoryal serif. Web fontu YÜKLENMİYOR: sitenin
   "bağımlılık yok, derleme yok" ilkesi ve render engellememe kaygısı.
   ========================================================================= */

:root {
  --serif: Georgia, "Iowan Old Style", "Times New Roman", Times, serif;
}

/* ---- bölüm başlığı ---- */
.ed-hero { padding: 2.5rem 0 1.75rem; }
.ed-hero .kicker {
  font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-strong); margin: 0 0 .9rem;
}
.ed-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  line-height: 1.08; letter-spacing: -.015em; margin: 0 0 1rem;
  max-width: 20ch;
}
.ed-hero .ed-standfirst {
  font-size: var(--step-1); line-height: 1.55; color: var(--text-muted);
  max-width: 62ch; margin: 0;
}

/* ---- ortak: kicker + serif başlık ---- */
.ed-kicker {
  display: inline-block;
  font-size: .72rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-strong);
  margin: 0 0 .5rem;
}
.ed-title { font-family: var(--serif); letter-spacing: -.015em; line-height: 1.15; }
.ed-title a { color: var(--text); text-decoration: none; }
.ed-title a:hover, .ed-title a:focus-visible { color: var(--brand-strong); }

.ed-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin: .75rem 0 0; font-size: .82rem; color: var(--text-muted);
}
.ed-meta .ed-author { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; color: var(--text); }
.ed-meta img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.ed-sep { opacity: .45; }

/* ---- kapak görseli ---- */
.ed-cover {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface-2);
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.ed-figure { overflow: hidden; border-radius: var(--radius); margin: 0; }
a:hover .ed-cover, .ed-item:hover .ed-cover { transform: scale(1.02); }

/* ---- manşet (ilk yazı) ---- */
.ed-lead {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding: 0 0 2.5rem; border-bottom: 1px solid var(--border);
}
.ed-lead .ed-title { font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.6rem); margin: 0; }
.ed-lead .ed-dek {
  margin: .9rem 0 0; font-size: var(--step-0); line-height: 1.6; color: var(--text-muted);
  max-width: 48ch;
}
@media (max-width: 820px) {
  .ed-lead { grid-template-columns: 1fr; }
  .ed-lead .ed-figure { order: -1; }
}

/* ---- liste ---- */
.ed-list { list-style: none; margin: 0; padding: 0; }
.ed-item {
  display: grid; grid-template-columns: 260px 1fr;
  gap: clamp(1.1rem, 3vw, 2rem); align-items: start;
  padding: 2rem 0; border-bottom: 1px solid var(--border);
}
.ed-item:last-child { border-bottom: 0; }
.ed-item .ed-title { font-size: var(--step-1); margin: 0; }
.ed-item .ed-dek { margin: .6rem 0 0; color: var(--text-muted); font-size: var(--step--1); line-height: 1.6; }
@media (max-width: 700px) {
  .ed-item { grid-template-columns: 1fr; gap: .9rem; }
  .ed-item .ed-figure { order: -1; }
}

/* ---- bölüm ayracı ---- */
.ed-rule {
  display: flex; align-items: baseline; gap: 1rem;
  margin: 2.75rem 0 .5rem;
}
.ed-rule h2 {
  font-family: var(--serif); font-size: var(--step-1); margin: 0; white-space: nowrap;
}
.ed-rule::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}

/* ---- yazı sayfası: editoryal okuma ---- */
.ed-article-hero { padding: 2rem 0 0; }
.ed-article-hero .ed-kicker { font-size: .76rem; }
.ed-article-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.1rem);
  line-height: 1.1; letter-spacing: -.018em; margin: 0 0 1.1rem;
  max-width: 22ch;
}
.ed-article-hero .ed-standfirst {
  font-size: var(--step-1); line-height: 1.55; color: var(--text-muted);
  max-width: 60ch; margin: 0 0 1.25rem;
}
.ed-article-hero .ed-figure { margin-top: 1.75rem; }

/* Gövde başlıkları da serif — yazı ile araç sayfası ayrışsın */
.ed-body h2, .ed-body h3 { font-family: var(--serif); letter-spacing: -.012em; }
.ed-body > p:first-of-type { font-size: 1.06em; }

@media print {
  .ed-figure, .ed-cover { break-inside: avoid; }
}

/* Ana sayfadaki makale bölümünün altındaki bağlantı */
.ed-tumu { margin: 1.75rem 0 0; }
.ed-tumu a {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 650; text-decoration: none; color: var(--brand-strong);
  border-bottom: 2px solid color-mix(in srgb, var(--brand) 35%, transparent);
  padding-bottom: 2px; transition: border-color .2s ease;
}
.ed-tumu a::after { content: "→"; transition: transform .22s cubic-bezier(.22,.61,.36,1); }
.ed-tumu a:hover { border-bottom-color: var(--brand); }
.ed-tumu a:hover::after { transform: translateX(4px); }
