/* ============================================================
   Nurullah Şahin — Yapay Zekâ Denemesi
   Tasarım dili: sıcak kırık beyaz zemin · Lora serif okuma gövdesi
   · Inter arayüz · ince çizgi hiyerarşisi · tek vurgu rengi
   ============================================================ */

:root {
  /* Renk */
  --paper:        #fbf9f5;
  --paper-2:      #f4f0e8;
  --ink:          #1a1a18;
  --ink-soft:     #3d3c38;
  --ink-muted:    #7a7770;
  --rule:         #e3ded4;
  --accent:       #9b3a2c;   /* kiremit kırmızısı — tek vurgu */
  --accent-soft:  #f3e6e2;
  --dark:         #17170f;

  /* Tipografi */
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Ölçü */
  --measure: 68ch;
  --pad: clamp(20px, 5vw, 56px);
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(26,26,24,.05);
  --shadow-md: 0 6px 24px -12px rgba(26,26,24,.18);
  --shadow-lg: 0 20px 60px -24px rgba(26,26,24,.28);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(17px, 1.05vw + 14.5px, 19.5px);
  line-height: 1.72;
  font-weight: 400;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--accent); color: #fff; }

/* ---------- OKUMA İLERLEME ÇUBUĞU ---------- */
.reading-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 100;
  transition: width .1s linear;
  will-change: width;
}

/* ---------- ÜST MENÜ ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251,249,245,.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 1px 0 rgba(26,26,24,.02);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--dark);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  margin-left: auto;
}
.main-nav a {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color .18s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--accent); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--rule);
  background: transparent;
  border-radius: 100px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.btn-share:hover {
  background: var(--accent-soft);
  border-color: #e0c8c1;
  color: var(--accent);
}
.btn-share svg { flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
.article-hero {
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(120% 90% at 85% -10%, #f7f1e6 0%, transparent 62%),
    var(--paper);
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 84px) var(--pad) clamp(34px, 5vw, 56px);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 clamp(18px, 3vw, 28px);
}

.article-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 5.2vw, 58px);
  line-height: 1.1;
  letter-spacing: -.022em;
  margin: 0 0 clamp(18px, 2.6vw, 26px);
  text-wrap: balance;
}
.article-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
}

.article-standfirst {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.62;
  color: var(--ink-soft);
  font-weight: 400;
  margin: 0 0 clamp(28px, 4vw, 40px);
  max-width: 62ch;
}

.byline {
  display: flex;
  align-items: center;
  gap: 13px;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--dark);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.avatar-lg { width: 56px; height: 56px; font-size: 17px; }

.byline-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.byline-name {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.byline-sub {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.dot { opacity: .55; }

/* ---------- GÖVDE YERLEŞİMİ ---------- */
.article-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) var(--pad) clamp(50px, 7vw, 90px);
  display: grid;
  grid-template-columns: 200px minmax(0, var(--measure));
  gap: clamp(28px, 5vw, 76px);
  justify-content: center;
  align-items: start;
}

/* İçindekiler */
.toc {
  position: sticky;
  top: 104px;
  font-family: var(--sans);
  padding-top: 8px;
}
.toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.toc-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: toc;
}
.toc-list li { counter-increment: toc; }
.toc-list a {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 7px 10px 7px 26px;
  border-left: 1.5px solid transparent;
  border-radius: 0 var(--radius) var(--radius) 0;
  position: relative;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 4px;
  font-size: 10.5px;
  font-weight: 600;
  opacity: .5;
  letter-spacing: .02em;
}
.toc-list a:hover {
  color: var(--ink);
  background: var(--paper-2);
}
.toc-list a.active {
  color: var(--accent);
  border-left-color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}
.toc-list a.active::before { opacity: 1; }

/* Makale gövdesi */
.article-body {
  min-width: 0;
  font-size: inherit;
}

.article-body p {
  margin: 0 0 1.35em;
  hyphens: auto;
}

.lead {
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.1em !important;
}
/* NUMEX-DÜZELTME (2026-11-09): ::first-letter sıfırlaması (inherit) ilk sürümde tutmadı — sözde eleman kalıtımı beklenen gibi davranmadı ve düşürmeli harf ikinci paragrafta kaldı. Çözüm: düşürmeli harf .lead sınıfından tamamen çıkarıldı, yalnızca yazının ilk paragrafına özel .drop-cap sınıfına bağlandı. Sözde eleman artık sıfırlanmiyor, hiç üretilmiyor. */

/* İlk paragraf: alt çizgi ve düşürmeli harf */
.lead.drop-cap {
  padding-bottom: 1.3em;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1.8em !important;
}
.lead.drop-cap::first-letter {
  font-size: 3.2em;
  float: left;
  line-height: .86;
  padding: .04em .12em 0 0;
  font-weight: 600;
  color: var(--accent);
}

.article-body h2 {
  font-family: var(--serif);
  font-size: clamp(23px, 2.6vw, 31px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -.018em;
  margin: clamp(40px, 5vw, 56px) 0 clamp(16px, 2vw, 22px);
  scroll-margin-top: 96px;
  text-wrap: balance;
}
.article-body h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-top: .45em;
  border-radius: 2px;
}
article section:first-of-type > h2:first-child { margin-top: 0; }

.article-body strong { font-weight: 600; }
.article-body em { font-style: italic; }

/* Alıntı */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.42;
  color: var(--ink);
  margin: clamp(32px, 4vw, 44px) 0 !important;
  padding: clamp(18px, 3vw, 28px) 0 clamp(18px, 3vw, 28px) clamp(20px, 3.5vw, 32px);
  border-left: 3px solid var(--accent);
  font-weight: 500;
}
.pull-quote em { font-style: italic; }

/* Bilgi kutusu */
.callout {
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: clamp(18px, 2.6vw, 24px) clamp(18px, 3vw, 26px);
  margin: clamp(28px, 3.5vw, 36px) 0;
}
.callout p {
  margin: 0;
  font-size: .95em;
  line-height: 1.62;
  color: var(--ink-soft);
}

/* Plan kartları */
/* NUMEX-DÜZELTME (2026-11-09): Plan kartları auto-fit + minmax(220px) yüzünden 3+1 düzenine kırılıyor, dördüncü kart tek başına alt satırın solunda öksüz kalıyordu. Sabit 2 sütun (mobilde 1) ile dört kart dengeli 2×2 yerleşiyor. */
/* Dört kart: masaüstünde 2×2, mobilde tek sütun.
   auto-fit kullanıldığında 4. kart tek başına alt satırda öksüz kalıyordu. */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: clamp(28px, 3.5vw, 38px) 0;
}
@media (max-width: 560px) {
  .plan-grid { grid-template-columns: minmax(0, 1fr); }
}
.plan-card {
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.plan-card:hover {
  border-color: #d6cec1;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.plan-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.plan-card h3 {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 8px;
  line-height: 1.35;
}
.plan-card p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

/* Numaralı sonuç listesi */
.final-list {
  list-style: none;
  counter-reset: final;
  margin: clamp(24px, 3vw, 32px) 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.final-list li {
  counter-increment: final;
  position: relative;
  padding-left: 44px;
  line-height: 1.62;
}
.final-list li::before {
  content: counter(final);
  position: absolute;
  left: 0; top: 2px;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
}

/* Makale alt bilgisi */
.article-footer {
  margin-top: clamp(44px, 6vw, 68px);
  padding-top: clamp(26px, 3.5vw, 36px);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-author {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.footer-author-name {
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  margin: 0 0 5px;
}
.footer-author-bio {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
  max-width: 52ch;
}
.footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-share-lg {
  min-height: 44px;
  padding: 0 20px;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
}
.btn-share-lg:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background .18s ease, border-color .18s ease;
}
.btn-ghost:hover { background: var(--paper-2); border-color: #d6cec1; }

/* ---------- DEVAMI BÖLÜMÜ ---------- */
.related {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  padding: clamp(40px, 6vw, 72px) var(--pad);
}
.related-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.related-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -.018em;
  margin: 0 0 clamp(22px, 3vw, 32px);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.related-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 24px);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d6cec1;
}
.related-tag {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.related-card h3 {
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.012em;
  margin: 0 0 8px;
}
.related-card p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- ALT BİLGİ ---------- */
.site-footer {
  background: var(--dark);
  color: #d8d5cc;
  padding: clamp(36px, 5vw, 60px) var(--pad) clamp(28px, 4vw, 40px);
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.footer-brand .brand-mark { background: var(--paper); color: var(--dark); }
.footer-brand p { margin: 0; }
.muted { color: #8b8880; font-size: 12.5px; font-weight: 400; }

.footer-nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 28px);
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--sans);
  font-size: 13px;
  color: #b3b0a8;
  text-decoration: none;
  transition: color .18s ease;
}
.footer-nav a:hover { color: var(--paper); }

.footer-note {
  font-family: var(--sans);
  font-size: 12px;
  color: #7e7b73;
  margin: 0;
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ---------- BİLDİRİM ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 140%);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 100px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .3s ease;
  z-index: 200;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Geniş masaüstü: içindekiler sabit, gövde rahat */
@media (min-width: 1280px) {
  .article-layout { grid-template-columns: 210px minmax(0, var(--measure)); }
}

/* Tablet: içindekiler yatay şeride döner */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 780px;
  }
  .toc {
    position: static;
    margin-bottom: clamp(26px, 4vw, 38px);
    padding: 14px 16px;
    background: var(--paper-2);
    border-radius: var(--radius);
    border: 1px solid var(--rule);
  }
  .toc-title { border-bottom: 0; margin-bottom: 10px; padding-bottom: 0; }
  .toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .toc-list a {
    border-left: 0;
    border: 1px solid var(--rule);
    border-radius: 100px;
    padding: 7px 13px 7px 25px;
    background: var(--paper);
    font-size: 12.5px;
  }
  .toc-list a::before { left: 9px; }
  .toc-list a.active { border-color: var(--accent); }
}

/* Mobil menü */
@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-md);
    padding: 8px var(--pad) 18px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav a {
    font-size: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .btn-share span { display: none; }
  .btn-share { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 50%; }
}

/* Telefon */
@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }
  .header-inner { height: 62px; }
  .main-nav { inset: 62px 0 auto 0; max-height: calc(100vh - 62px); }
  .brand-text { font-size: 13.5px; }
  .brand-mark { width: 30px; height: 30px; font-size: 11.5px; }

  .article-title { letter-spacing: -.015em; line-height: 1.16; }
  .article-standfirst { font-size: 16.5px; }

  /* NUMEX-DÜZELTME (2026-11-09): Düşürmeli harf .lead sınıfından .drop-cap sınıfına taşındığında mobil kırılım noktasındaki bu kural güncellenmemişti; .lead::first-letter hâlâ eşleşiyor ve ikinci paragrafta da dev harf üretiyordu. Seçici .lead.drop-cap::first-letter olarak daraltıldı. */
  .lead.drop-cap::first-letter { font-size: 2.8em; }

  .pull-quote {
    border-left-width: 2px;
    padding-left: 18px;
  }

  .plan-grid { gap: 10px; }
  .plan-card { padding: 16px 15px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-nav { gap: 16px; }
  .footer-actions { width: 100%; }
  .btn-share-lg, .btn-ghost { flex: 1 1 auto; justify-content: center; }

  .toast { bottom: 18px; font-size: 13px; padding: 11px 18px; }
}

/* Çok küçük ekran */
@media (max-width: 380px) {
  body { font-size: 16.5px; }
  .toc-list a { font-size: 12px; }
  .final-list li { padding-left: 38px; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Yazdırma */
@media print {
  .site-header, .reading-progress, .toc, .related, .site-footer,
  .footer-actions, .toast { display: none !important; }
  body { background: #fff; font-size: 11.5pt; line-height: 1.55; }
  .article-layout { display: block; padding: 0; }
  .article-body { max-width: 100%; }
  .pull-quote, .callout, .plan-card { break-inside: avoid; }
  .article-body h2 { break-after: avoid; }
}

/* ============================================================
   ÇOK SAYFALI YAPI (2026-11-09): ana sayfa, hakkımda, projeler, iletişim
   ============================================================ */
img.avatar { object-fit: cover; }
.footer-author-name a { text-decoration: none; }
.footer-author-name a:hover { color: var(--accent); }

.page-layout {
  max-width: calc(var(--measure) + 2 * var(--pad));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) var(--pad) clamp(50px, 7vw, 90px);
}
.page-layout .article-body > h2:first-child,
.page-layout section:first-child > h2:first-child { margin-top: 0; }
.page-layout section { scroll-margin-top: 96px; }

.home-hero .hero-inner {
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.home-hero .article-standfirst { margin-bottom: 28px; }

.portrait { margin: 0; }
.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: var(--dark);
}
.portrait-inline {
  float: right;
  width: min(42%, 220px);
  margin: 6px 0 18px 26px;
}

.hero-actions, .page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.page-actions { margin-top: 32px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background .18s ease;
}
.btn-primary:hover { background: var(--accent); color: #fff; }

.card-link { display: block; text-decoration: none; color: inherit; }

.quote-source {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}

.plain-list { padding-left: 1.2em; margin: 0 0 1.35em; }
.plain-list li { margin-bottom: .6em; }

.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
}
.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.contact-label { font-weight: 600; }
.contact-value { color: var(--ink-soft); }
.contact-value a { color: var(--accent); }

@media (max-width: 760px) {
  .home-hero .hero-inner { grid-template-columns: 1fr; }
  .home-hero .portrait { order: -1; width: min(60%, 240px); }
  .portrait-inline { float: none; width: min(60%, 220px); margin: 0 0 22px; }
}
.home-hero .article-title em { display: inline-block; margin-top: .3em; font-size: .56em; line-height: 1.3; }
.plan-card .plan-num { text-transform: none; letter-spacing: .02em; overflow-wrap: anywhere; }
.article-body a:not([class]) { color: var(--accent); }
