/* Bu dosya yalnızca mevzuat sayfalarında yüklenir (layout.php). Ortak stiller: site.css */
/* ---------- mevzuat: içindekiler, künye, okuma çubuğu ---------- */
.mz-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.mz-main { min-width: 0; max-width: 880px; }
.mz-toc { position: sticky; top: 96px; }
.mz-toc-box { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.mz-toc-box summary { cursor: pointer; list-style: none; padding: 14px 18px; font-family: var(--font-sans); font-weight: 600; font-size: 0.78125rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); display: flex; justify-content: space-between; align-items: center; }
.mz-toc-box summary::-webkit-details-marker { display: none; }
.mz-toc-box summary::after { content: "+"; font-size: 1.125rem; color: var(--red); }
.mz-toc-box[open] summary::after { content: "–"; }
.mz-toc-box ol { list-style: none; margin: 0; padding: 0 8px 12px 18px; max-height: calc(100vh - 190px); overflow-y: auto; font-size: 0.875rem; line-height: 1.4; }
.mz-toc-box li a { display: block; padding: 5px 8px; border-radius: 4px; color: var(--text); }
.mz-toc-box li a:hover, .mz-toc-box li a.is-current { background: var(--white); color: var(--red-700); }
.mz-toc-box .toc-bolum { margin-top: 10px; }
.mz-toc-box .toc-bolum a { font-weight: 800; color: var(--ink); }
.mz-summary { background: var(--paper); border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin-bottom: 26px; }
.mz-summary p:last-child, .mz-summary ul:last-child { margin-bottom: 0; }
.mz-kunye { display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 0 0 30px; padding: 14px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.mz-kunye div { display: flex; gap: 10px; align-items: baseline; }
.mz-kunye dt { font-family: var(--font-sans); font-weight: 600; font-size: 0.71875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mz-kunye dd { margin: 0; font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.mevzuat-content .mz-bolum { font-size: 1.5rem; line-height: 1.3; margin: 44px 0 16px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 96px; }
.mevzuat-content .mz-bolum-no { display: block; font-family: var(--font-sans); font-weight: 600; font-size: 0.78125rem; letter-spacing: .09em; text-transform: uppercase; color: var(--red-700); margin-bottom: 6px; }
.mevzuat-content .mz-madde { font-size: 1.125rem; line-height: 1.4; font-weight: 800; margin: 28px 0 8px; scroll-margin-top: 96px; }
.mz-kunye + .mz-bolum { border-top: 0; padding-top: 0; margin-top: 10px; }
.svc-group .svc-cat { display: none; }
.mevzuat-content p { margin-bottom: .8em; }
.mz-sep { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.mz-note, .mz-degisiklik { font-size: 0.9375rem; color: var(--muted); }
.mz-degisiklik ul { margin: 6px 0 0; }
.read-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 70; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--red); transform: scaleX(var(--p, 0)); transform-origin: left; }
/* Dar ekran kuralları bu dosyada durmalı: site.css'ten sonra yüklendiği için oradaki aynı seçiciyi ezer. */
@media (max-width: 991px) {
  .mz-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .mz-toc { position: static; }
  .mz-toc-box ol { max-height: 60vh; }
  .mz-toc-box li a { padding: 12px 8px; }
}
