/* ============================================================
   Park Expert — "Editöryel" blog şablonu (grafikli, uzun okuma)
   Tüm seçiciler .pe-editorial altında kapsanır: site header/footer'ında
   da <h2>, <ul><li>, <p> gibi genel etiketler kullanıldığından
   (footer nav başlıkları, breadcrumb listesi) kapsamsız seçiciler
   sitenin geri kalanını bozar. Renkler tokens.css değişkenlerinden
   okunur — böylece koyu tema otomatik desteklenir.
   ============================================================ */
.pe-editorial, .pe-editorial *, .pe-editorial *::before, .pe-editorial *::after {
  box-sizing: border-box;
}
.pe-editorial * { margin: 0; padding: 0; }

.pe-editorial {
  --edt-serif: Georgia, "Times New Roman", serif;
  --edt-sans: var(--font);
  --edt-reading-width: 700px;
  display: block;
  font-family: var(--edt-serif);
  font-size: 20px;
  line-height: 1.7;
  color: var(--foreground);
  background: var(--background);
  padding-inline: 20px;
}

.pe-editorial .article-header { max-width: var(--edt-reading-width); margin: 56px auto 0; }
.pe-editorial .article-body { max-width: var(--edt-reading-width); margin: 0 auto; padding-bottom: 80px; }

.pe-editorial h1 { font-size: 2.35em; line-height: 1.2; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 16px; }
.pe-editorial h2 { font-size: 1.5em; font-weight: 700; margin: 52px 0 18px; letter-spacing: -0.2px; color: var(--foreground); scroll-margin-top: 90px; }
.pe-editorial h3 { font-size: 1.18em; font-weight: 700; margin: 34px 0 12px; }
.pe-editorial p { margin-bottom: 26px; }
.pe-editorial ul, .pe-editorial ol { margin: 0 0 26px 1.3em; }
.pe-editorial li { margin-bottom: 10px; }

.pe-editorial .subtitle { font-size: 1.12em; color: var(--muted-foreground); margin-bottom: 22px; font-family: var(--edt-sans); line-height: 1.5; }
.pe-editorial .byline { font-family: var(--edt-sans); font-size: 0.85em; color: var(--muted-foreground); padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 40px; }

.pe-editorial nav.toc { max-width: var(--edt-reading-width); margin: 0 auto 48px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 24px 28px; font-family: var(--edt-sans); }
.pe-editorial nav.toc h2 { font-size: 1.05em; margin: 0 0 14px; }
.pe-editorial nav.toc ul { margin: 0; padding-left: 1.1em; columns: 2; column-gap: 24px; }
.pe-editorial nav.toc li { margin-bottom: 8px; font-size: 0.92em; break-inside: avoid; }
.pe-editorial nav.toc a { color: var(--primary); text-decoration: none; }
.pe-editorial nav.toc a:hover { text-decoration: underline; }

.pe-editorial figure { margin: 40px 0 48px; }
.pe-editorial figure.full-bleed { max-width: min(980px, 100vw - 40px); margin-left: 50%; transform: translateX(-50%); }
.pe-editorial figcaption { font-family: var(--edt-sans); font-size: 0.78em; color: var(--muted-foreground); margin-top: 10px; text-align: center; line-height: 1.4; }

.pe-editorial .chart-container { position: relative; width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 24px; }
.pe-editorial .chart-container canvas { max-height: 360px; }

.pe-editorial figure img { width: 100%; height: auto; display: block; border-radius: 6px; }

.pe-editorial blockquote.pull-quote { border-left: 3px solid var(--primary); margin: 48px 0; padding: 4px 0 4px 28px; font-size: 1.28em; line-height: 1.5; color: var(--foreground); font-style: italic; }

.pe-editorial .stat-callout { text-align: center; margin: 44px 0; padding: 36px 24px; background: var(--primary-soft); border-left: 4px solid var(--primary); border-radius: 4px; }
.pe-editorial .stat-callout .stat-number { font-size: 3em; font-weight: 700; color: var(--primary); font-family: var(--edt-serif); display: block; line-height: 1; }
.pe-editorial .stat-callout p { font-family: var(--edt-sans); color: var(--muted-foreground); margin: 10px 0 0; font-size: 0.85em; }

.pe-editorial .steps-row { display: flex; gap: 12px; margin: 40px 0; flex-wrap: wrap; }
.pe-editorial .step-box { flex: 1; min-width: 150px; background: var(--surface); border-top: 3px solid var(--primary); padding: 18px 16px; font-family: var(--edt-sans); font-size: 0.85em; line-height: 1.5; }
.pe-editorial .step-box .step-num { font-size: 1.7em; font-weight: 700; color: var(--primary); display: block; margin-bottom: 8px; }
.pe-editorial .step-box strong { display: block; margin-bottom: 4px; font-size: 1.02em; }

.pe-editorial table { width: 100%; border-collapse: collapse; font-family: var(--edt-sans); font-size: 0.88em; margin: 8px 0 8px; }
.pe-editorial table th { background: var(--primary); color: var(--primary-foreground); padding: 12px 16px; text-align: left; font-weight: 600; }
.pe-editorial table td { padding: 10px 16px; border-bottom: 1px solid var(--border); }
.pe-editorial table tr:nth-child(even) td { background: var(--surface); }
.pe-editorial .table-wrap { overflow-x: auto; margin: 8px 0 20px; }
.pe-editorial .source-note { font-family: var(--edt-sans); font-size: 0.8em; color: var(--muted-foreground); margin: -8px 0 30px; }
.pe-editorial .source-note a { color: var(--primary); }

.pe-editorial .cta-box { margin: 48px 0; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; font-family: var(--edt-sans); font-size: 0.9em; }
.pe-editorial .cta-box a { color: var(--primary); font-weight: 600; }
.pe-editorial a { color: var(--primary); }

@media (max-width: 700px) {
  .pe-editorial { font-size: 18px; padding-inline: 16px; }
  .pe-editorial h1 { font-size: 1.75em; }
  .pe-editorial .chart-container canvas { max-height: 260px; }
  .pe-editorial figure.full-bleed { max-width: 100vw; }
  .pe-editorial .steps-row { flex-direction: column; }
  .pe-editorial nav.toc ul { columns: 1; }
}
