/* Pot belge sayfaları: /gizlilik, /kosullar, /destek.
   base.css'ten sonra yüklenir; tokenları kullanır, değiştirmez. */

/* ---------- Başlık bölgesi: takım rengi ---------- */
.belge-bas {
  padding: clamp(40px, 7vw, 88px) 0 calc(var(--s14) + clamp(22px, 4vw, 64px));
  overflow: hidden;
}
.belge-bas__ic {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: var(--s6);
}
.belge-bas__ust {
  display: inline-block;
  margin-bottom: var(--s3);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.belge-bas h1 { max-width: 18ch; }
.belge-bas__ozet { margin-top: var(--s4); max-width: 52ch; }
.belge-bas__tarih { margin-top: var(--s5); }
.belge-bas__siluet {
  width: clamp(76px, 15vw, 184px);
  height: auto;
  color: var(--t-level);
  --cila: var(--t-edge);
}
@media (max-width: 420px) {
  .belge-bas__siluet { width: 64px; align-self: start; }
}

/* ---------- Gövde ---------- */
/* Zemin body'den gelir: .belge'ye zemin verilirse çatlağın taşan payı başlığın üstünü düz keser. */
.belge { padding-bottom: var(--s20); }
.belge__izgara {
  display: grid;
  gap: var(--s10);
  padding-top: var(--s8);
}
.belge__izgara > .uyari { grid-column: 1 / -1; }
@media (min-width: 1000px) {
  .belge__izgara {
    grid-template-columns: 250px minmax(0, 68ch);
    gap: var(--s14);
    justify-content: center;
  }
}

/* İçindekiler */
.icindekiler {
  align-self: start;
  padding: var(--s5) var(--s5) var(--s4);
  border-radius: var(--r-orta);
  background: var(--surface);
}
.icindekiler h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: var(--s2);
}
.icindekiler ol {
  margin: 0;
  padding: 0 0 0 1.4em;
  display: grid;
  gap: 2px;
  font-size: 15px;
  font-weight: 600;
}
.icindekiler li::marker { color: var(--text-2); font-variant-numeric: tabular-nums; }
.icindekiler a {
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
  line-height: 1.3;
}
.icindekiler a:hover { text-decoration: underline; }
@media (min-width: 1000px) {
  .icindekiler {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
  }
}

/* Metin */
.metin { min-width: 0; max-width: 68ch; }
.metin > * + * { margin-top: var(--s4); }
.metin h2 {
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 104%;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.15;
  margin-top: var(--s14);
  scroll-margin-top: 88px;
}
.metin h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 102%;
  font-size: 20px;
  line-height: 1.25;
  margin-top: var(--s8);
  scroll-margin-top: 88px;
}
.metin > h2:first-child, .metin > .uyari + h2 { margin-top: var(--s10); }
.metin p, .metin li { line-height: 1.6; }
.metin ul, .metin ol { padding-left: 1.3em; }
.metin li + li { margin-top: var(--s2); }
.metin li::marker { color: var(--text-2); }
.metin a {
  text-decoration-color: var(--action);
  overflow-wrap: anywhere;
}
.metin a:hover { text-decoration-thickness: 3px; }
.metin strong { font-weight: 750; }
.metin code {
  font-family: var(--f-text);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--surface);
  letter-spacing: 0.04em;
}

/* Taslak uyarısı: limon üstünde mürekkep metin, iki temada aynı */
.uyari {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  padding: var(--s4) var(--s5);
  border-radius: var(--r-orta);
  background: var(--cezve);
  color: var(--murekkep);
  box-shadow: inset 0 0 0 2px var(--murekkep);
  font-weight: 650;
}
.uyari svg {
  width: 24px; height: 24px; flex: none; margin-top: 1px;
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.uyari p { line-height: 1.45; }

/* Yer tutucu: göze batsın diye kesik çizgili limon */
.yt {
  display: inline;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--cezve-tint);
  color: var(--murekkep);
  outline: 2px dashed var(--murekkep);
  outline-offset: -2px;
  font-weight: 700;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* Doğrulanacak not */
.dogrula {
  font-size: 15px;
  font-weight: 650;
  color: var(--text-2);
}
.dogrula::before { content: "Taslak, yayından önce doğrulanacak: "; font-weight: 750; color: var(--text); }

/* Özet kutusu */
.kutu {
  padding: var(--s5);
  border-radius: var(--r-orta);
  background: var(--surface);
}
.kutu > * + * { margin-top: var(--s3); }
.kutu ul { margin-top: var(--s3); }

/* İletişim yer tutucusu */
.iletisim-yt {
  padding: var(--s6) var(--s5);
  border-radius: var(--r-orta);
  border: 2px dashed var(--border);
  background: var(--surface);
}
.iletisim-yt p:first-child {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.25;
}
.iletisim-yt p + p { margin-top: var(--s3); }

/* ---------- Tablo: geniş ekranda tablo, dar ekranda kart ---------- */
.tablo {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
  line-height: 1.45;
}
.tablo caption {
  text-align: left;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 17px;
  padding-bottom: var(--s3);
}
.tablo th, .tablo td {
  text-align: left;
  vertical-align: top;
  padding: var(--s3);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 45%, transparent);
}
.tablo thead th {
  font-family: var(--f-display);
  font-weight: 800;
  background: var(--surface);
  border-bottom: 2px solid var(--text);
}
.tablo thead th:first-child { border-top-left-radius: var(--r-kucuk); }
.tablo thead th:last-child { border-top-right-radius: var(--r-kucuk); }
.tablo tbody th { font-weight: 750; }

@media (max-width: 720px) {
  .tablo thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
  .tablo, .tablo caption, .tablo tbody, .tablo tr, .tablo th, .tablo td { display: block; width: 100%; }
  .tablo tbody tr {
    padding: var(--s4);
    border-radius: var(--r-orta);
    background: var(--surface);
  }
  .tablo tbody tr + tr { margin-top: var(--s3); }
  .tablo tbody th {
    padding: 0 0 var(--s2);
    border: 0;
    font-family: var(--f-display);
    font-weight: 800;
    font-size: 17px;
  }
  .tablo tbody td {
    padding: var(--s2) 0 0;
    border: 0;
  }
  .tablo tbody td::before {
    content: attr(data-baslik);
    display: block;
    font-size: 13px;
    font-weight: 750;
    color: var(--text-2);
  }
}

/* ---------- SSS ---------- */
.sss { margin-top: var(--s6); }
.sss > * + * { margin-top: var(--s4); }
.sss h3 { margin-top: var(--s10); }
.sss h3:first-child { margin-top: var(--s6); }
