/* ============================================================
   Tema: Canlı — modern dergi, görsel üstünde manşet, 3 sütun kartlar
   ============================================================ */
:root {
  --bg: #f3f4fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e4e7f1;
  --accent: #6d28d9;
  --accent-dark: #5b21b6;
  --radius: 18px;
  --max: 1180px;
  --read: 740px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
}
h1, h2, h3, .card-title, .entry-title { letter-spacing: -.025em; font-weight: 800; }

/* ---------- Üst bant: yapışkan, bulanık arka plan, hap menü ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 74px; }
.main-nav ul { background: var(--bg); padding: 4px; border-radius: 999px; gap: 2px; }
.main-nav a { border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.main-nav a:hover { background: #fff; color: var(--text); }
.main-nav a[aria-current="page"] { background: var(--accent); color: #fff; }
.search input { border-radius: 999px; padding-left: 16px; border-color: var(--line); }

/* ---------- Reklam bandı ---------- */
.ad-band { background: transparent; border-bottom: 0; padding: 18px 0 0; }
.ad-slot img { border-radius: 12px; }
.ad-label { letter-spacing: .12em; }

/* ---------- Liste: manşet + 3 sütun ---------- */
.site-main { padding-top: 26px; }
.list-heading { font-size: 36px; }
.post-list { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(15, 23, 42, .05), 0 16px 36px rgba(15, 23, 42, .10); }
.card-body { padding: 18px 20px 22px; }
.card-title { font-size: 19px; line-height: 1.35; }
.card-excerpt { font-size: 15px; }
.more { display: none; }
.cat {
  background: color-mix(in srgb, var(--accent) 12%, white);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
}

/* Manşet: görselin üstünde yazı */
.post-list:not(.compact) > .card:first-child {
  position: relative;
  display: block;
  min-height: 440px;
  overflow: hidden;
  color: #fff;
}
.post-list:not(.compact) > .card:first-child .card-cover,
.post-list:not(.compact) > .card:first-child .card-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.post-list:not(.compact) > .card:first-child .card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 90px 40px 36px;
  background: linear-gradient(to top, rgba(10, 12, 28, .88), rgba(10, 12, 28, .45) 60%, transparent);
  pointer-events: none;
}
.post-list:not(.compact) > .card:first-child .card-body a { pointer-events: auto; }
.post-list:not(.compact) > .card:first-child .card-title { font-size: 38px; max-width: 760px; margin-bottom: 10px; }
.post-list:not(.compact) > .card:first-child .card-title a,
.post-list:not(.compact) > .card:first-child .meta { color: #fff; }
.post-list:not(.compact) > .card:first-child .card-excerpt { color: rgba(255, 255, 255, .85); max-width: 640px; font-size: 17px; margin: 0; }
.post-list:not(.compact) > .card:first-child .cat { background: var(--accent); color: #fff; }
.post-list:not(.compact) > .card:first-child .card-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
/* Görselsiz manşet */
.post-list:not(.compact) > .card:first-child:not(:has(.card-cover)) { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
/* 2. sayfa ve sonrası: manşet yok */
.post-list.no-feature > .card:first-child { position: static; min-height: 0; color: inherit; display: flex; }
.post-list.no-feature > .card:first-child .card-cover,
.post-list.no-feature > .card:first-child .card-cover img { position: static; height: auto; aspect-ratio: 16 / 9; }
.post-list.no-feature > .card:first-child .card-body { position: static; background: none; padding: 18px 20px 22px; pointer-events: auto; }
.post-list.no-feature > .card:first-child .card-title { font-size: 19px; }
.post-list.no-feature > .card:first-child .card-title a { color: var(--text); }
.post-list.no-feature > .card:first-child .meta { color: var(--muted); }
.post-list.no-feature > .card:first-child .card-excerpt { color: var(--muted); font-size: 15px; }
.post-list.no-feature > .card:first-child .cat { background: color-mix(in srgb, var(--accent) 12%, white); color: var(--accent); }

.pagination a { border-radius: 999px; border: 0; box-shadow: var(--shadow); }

/* ---------- Tekil yazı ---------- */
.entry { border: 0; box-shadow: var(--shadow); padding-top: 52px; }
.entry-title { font-size: 42px; line-height: 1.15; }
.entry-cover { border-radius: 14px; }
.entry-content h2 { font-size: 28px; }
.entry-content blockquote { border-left: 0; border-radius: 14px; background: color-mix(in srgb, var(--accent) 7%, white); padding: 18px 22px; }
.entry-content table { border-radius: 12px; overflow: hidden; }
.btn, .entry-content a.btn { border-radius: 999px; padding: 13px 26px; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.faq details { border: 0; background: var(--bg); border-radius: 14px; }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Alt bilgi ---------- */
.site-footer { background: #0f172a; color: #94a3b8; border-top: 0; padding: 40px 0; margin-top: 20px; }
.site-footer p:last-child { color: #fff; font-weight: 700; }

/* ---------- Mobil ---------- */
@media (max-width: 1000px) {
  .post-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .main-nav ul { background: none; padding: 0; border-radius: 0; }
  .main-nav a { border-radius: 10px; }
  .post-list, .post-list.compact { grid-template-columns: 1fr; }
  .post-list:not(.compact) > .card:first-child { min-height: 360px; }
  .post-list:not(.compact) > .card:first-child .card-body { padding: 70px 22px 24px; }
  .post-list:not(.compact) > .card:first-child .card-title { font-size: 26px; }
  .post-list:not(.compact) > .card:first-child .card-excerpt { font-size: 15px; }
}
@media (max-width: 600px) {
  .entry { border-radius: 0; }
  .entry-title { font-size: 30px; }
  .ad-band { padding-top: 12px; }
}
