/* ==================================================================
   SOZLESME SAYFALARI v4 + BELGE KUTUPHANESI (2026-10-17)
   Hero: kategori sayfalarinin .tb-h7 kiti (turkbil-hosting.css) — burada yalniz
   sozlesmeye ozgu eklentiler. Govde: acik zemin, yapiskan icindekiler, okunur metin.
   ================================================================== */
/* okuma ilerleme cizgisi */
.tb-sz-ilerleme { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; z-index: 3; background: #C62338; transition: width .12s linear; }
/* govde */
.tb-sz-govde { padding-block: clamp(2.4rem, 5vw, 4rem) clamp(1rem, 2vw, 1.6rem); background: var(--tb-surface-2, #f5f7fa); }
.tb-sz-govde-izgara { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 992px) { .tb-sz-govde-izgara { grid-template-columns: 280px minmax(0, 1fr); gap: 3rem; } .tb-sz-yan { position: sticky; top: 96px; } }
.tb-sz-icindekiler, .tb-sz-diger { padding: 1.1rem 1.2rem; border-radius: 16px; background: var(--tb-surface, #fff); border: 1px solid var(--tb-line, #e6eaf0); box-shadow: var(--tb-shadow); }
.tb-sz-diger { margin-top: 1rem; }
.tb-sz-icindekiler > b, .tb-sz-diger > b { display: block; margin-bottom: .6rem; font: 700 .8rem/1 var(--tb-font-baslik); letter-spacing: .03em; color: var(--tb-ink-soft, #5b6b7c); }
.tb-sz-icindekiler ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; max-height: calc(100vh - 330px); overflow: auto; scrollbar-width: thin; }
.tb-sz-icindekiler a { display: grid; grid-template-columns: 1.7rem minmax(0, 1fr); align-items: start; gap: .4rem; padding: .42rem .55rem; border-radius: 9px; font-size: .86rem; line-height: 1.35; color: var(--tb-ink-soft, #5b6b7c); text-decoration: none; border-left: 2px solid transparent; }
.tb-sz-icindekiler a span:first-child { font: 700 .76rem/1.45 ui-monospace, Menlo, monospace; color: var(--basic-primary, #3564AF); }
.tb-sz-icindekiler a:hover { background: rgba(53,100,175,.06); color: var(--tb-ink, #0C1627); }
.tb-sz-icindekiler a.aktif { background: rgba(53,100,175,.08); color: var(--tb-ink, #0C1627); border-left-color: #C62338; font-weight: 600; }
.tb-sz-diger ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.tb-sz-diger a { display: block; padding: .4rem .55rem; border-radius: 9px; font-size: .86rem; color: var(--tb-ink-soft, #5b6b7c); text-decoration: none; }
.tb-sz-diger a:hover { background: rgba(53,100,175,.06); color: var(--tb-ink, #0C1627); }
.tb-sz-prose { max-width: 78ch; font-size: 1.02rem; line-height: 1.72; color: var(--tb-ink, #0C1627); }
.tb-sz-prose h2 { margin: 2.4rem 0 .8rem; padding-top: 1.4rem; border-top: 1px solid var(--tb-line, #e6eaf0); font: 700 1.5rem/1.2 var(--tb-font-baslik); letter-spacing: -.02em; color: var(--tb-ink, #0C1627); scroll-margin-top: 100px; }
.tb-sz-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.tb-sz-prose h3 { margin: 1.5rem 0 .5rem; font: 700 1.12rem/1.3 var(--tb-font-baslik); color: var(--tb-ink, #0C1627); scroll-margin-top: 100px; }
.tb-sz-prose p { margin: 0 0 1rem; } .tb-sz-prose ul { margin: 0 0 1.1rem; padding-left: 1.3rem; } .tb-sz-prose li { margin: 0 0 .45rem; padding-left: .2rem; }
.tb-sz-prose li::marker { color: #C62338; }
.tb-sz-prose a { color: var(--basic-primary, #3564AF); text-decoration: none; border-bottom: 1px solid rgba(53,100,175,.35); } .tb-sz-prose a:hover { color: #C62338; border-bottom-color: #C62338; }
.tb-sz-prose strong { font-weight: 700; }
/* alt PDF karti */
.tb-sz-alt { padding-block: 0 clamp(2.6rem, 5vw, 4.5rem); background: var(--tb-surface-2, #f5f7fa); }
.tb-sz-alt-ic { max-width: 1100px; }
.tb-belge { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: .9rem 1.1rem; align-items: center; margin-top: .6rem; padding: 1.15rem 1.3rem; border-radius: 16px; border: 1px solid var(--tb-line, #e6eaf0); background: linear-gradient(135deg, rgba(53,100,175,.06), transparent 60%), var(--tb-surface, #fff); box-shadow: var(--tb-shadow); }
@media (min-width: 768px) { .tb-belge { grid-template-columns: 52px minmax(0, 1fr) auto; } }
.tb-belge-ikon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, #C62338, #E0334B); box-shadow: 0 12px 24px -12px rgba(198,35,56,.9); }
.tb-belge-metin b { display: block; font: 700 1.02rem/1.25 var(--tb-font-baslik); color: var(--tb-ink, #0C1627); }
.tb-belge-metin small { display: block; margin-top: .25rem; font-size: .82rem; line-height: 1.45; color: var(--tb-ink-soft, #5b6b7c); }
.tb-belge-eylem { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.tb-belge-eylem .tb-btn { gap: .5rem; background: linear-gradient(135deg, #C62338, #E0334B); border: 0; color: #fff; box-shadow: 0 14px 30px -14px rgba(198,35,56,.9); }
.tb-belge-eylem .tb-btn:hover { background: linear-gradient(135deg, #D52B41, #F0456B); color: #fff; transform: translateY(-1px); }
.tb-belge-indir { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--tb-ink, #0C1627); text-decoration: none; } .tb-belge-indir:hover { color: #C62338; }
.tb-sz-ikincil { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font: 600 .92rem/1 var(--tb-font-govde, "Open Sans", sans-serif); color: var(--tb-ink, #0C1627); }
.tb-sz-ikincil:hover { color: #C62338; } .tb-sz-ikincil:focus-visible { outline: 2px solid #3564AF; outline-offset: 3px; border-radius: 4px; }
.tb-hub-not { margin-top: clamp(2.2rem, 4vw, 3.4rem); padding: 1.4rem 1.6rem; border-radius: 18px; background: var(--tb-surface, #fff); border: 1px solid var(--tb-line, #e6eaf0); max-width: 900px; }
.tb-hub-not h2 { font: 700 1.2rem/1.25 var(--tb-font-baslik); margin: 0 0 .6rem; color: var(--tb-ink, #0C1627); } .tb-hub-not p { margin: 0 0 .6rem; font-size: .95rem; color: var(--tb-ink-soft, #5b6b7c); } .tb-hub-not p:last-child { margin: 0; }
.tb-hub-not a { color: #3564AF; } .tb-hub-not a:hover { color: #C62338; }
/* koyu kip */
[data-bs-theme="dark"] .tb-sz-icindekiler, [data-bs-theme="dark"] .tb-sz-diger, [data-bs-theme="dark"] .tb-hub-not, [data-bs-theme="dark"] .tb-belge { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
@media (max-width: 991.98px) { .tb-sz-icindekiler ol { max-height: none; } }
@media (max-width: 575.98px) { .tb-hub-kart { grid-template-columns: 112px minmax(0, 1fr); gap: .9rem; padding: 1rem; } .tb-belge { grid-template-columns: 44px minmax(0, 1fr); } .tb-belge-eylem { grid-column: 1 / -1; } }
@media print { .tb-sz-band, .tb-sz-yan, .tb-sz-alt, header, footer, nav { display: none !important; } .tb-sz-govde { background: #fff; padding: 0; } .tb-sz-prose { max-width: none; font-size: 11pt; color: #000; } }
/* mobil: cip tek satir, rozetler gizli (kapak paneli yeter) */
@media (max-width: 767.98px) { .tb-szh .tb-h7-cip { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: .82rem; padding-inline: .75rem; } .tb-szh .tb-h7-rozet { display: none; } .tb-szh-sag { margin-top: 1.4rem; } }

/* ===== v5 agirbasli (2026-10-17): acik baslik bandi + duz belge listesi ===== */
.tb-sz-band { position: relative; padding-block: clamp(2rem, 4vw, 3.2rem) clamp(1.6rem, 3vw, 2.4rem); background: var(--tb-surface, #fff); border-bottom: 1px solid var(--tb-line, #e6eaf0); }
.tb-sz-band .tb-shell, .tb-sz-dar { max-width: 1100px; }
.tb-sz-ust { margin: 0 0 .7rem; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .86rem; color: var(--tb-ink-soft, #5b6b7c); }
.tb-sz-ust a { color: var(--basic-primary, #3564AF); text-decoration: none; } .tb-sz-ust a:hover { text-decoration: underline; } .tb-sz-ust i { font-size: .7rem; }
.tb-sz-band h1 { margin: 0 0 .7rem; font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1.15 var(--tb-font-baslik); letter-spacing: -.02em; color: var(--tb-ink, #0C1627); max-width: 24ch; }
.tb-sz-giris { margin: 0 0 .9rem; max-width: 70ch; font-size: 1.02rem; line-height: 1.65; color: var(--tb-ink-soft, #5b6b7c); }
.tb-sz-kunye { margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 0; font-size: .88rem; color: var(--tb-ink-soft, #5b6b7c); }
.tb-sz-kunye span + span::before { content: "·"; margin-inline: .6rem; color: var(--tb-line-strong, #c9d2dd); }
.tb-sz-eylem { margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.tb-sz-eylem a, .tb-sz-eylem button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font: 600 .92rem/1 var(--tb-font-govde, "Open Sans", sans-serif); color: var(--basic-primary, #3564AF); padding-block: .3rem; }
.tb-sz-eylem a:hover, .tb-sz-eylem button:hover { color: #C62338; } .tb-sz-eylem a:focus-visible, .tb-sz-eylem button:focus-visible { outline: 2px solid #3564AF; outline-offset: 3px; border-radius: 3px; }
.tb-sz-eylem i { font-size: 1rem; }
.tb-sz-govde { background: var(--tb-surface, #fff); }
.tb-hub { background: var(--tb-surface, #fff); }
.tb-hub-grup h2 { font-size: 1.25rem; } .tb-hub-grup h2::after { display: none; }
.tb-hub-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tb-line, #e6eaf0); }
.tb-hub-liste li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem 2rem; padding: 1.05rem 0; border-bottom: 1px solid var(--tb-line, #e6eaf0); }
@media (min-width: 768px) { .tb-hub-liste li { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.tb-hub-ad a { font: 700 1.05rem/1.3 var(--tb-font-baslik); color: var(--tb-ink, #0C1627); text-decoration: none; } .tb-hub-ad a:hover { color: #C62338; }
.tb-hub-ad p { margin: .3rem 0 0; font-size: .9rem; line-height: 1.5; color: var(--tb-ink-soft, #5b6b7c); max-width: 62ch; }
.tb-hub-yan { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; font-size: .84rem; color: var(--tb-ink-soft, #5b6b7c); white-space: nowrap; }
@media (min-width: 768px) { .tb-hub-yan { justify-content: flex-end; padding-top: .2rem; } }
.tb-hub-yan .tb-hub-kod { position: static; padding: .2rem .45rem; border-radius: 4px; background: rgba(53,100,175,.1); color: var(--basic-primary, #3564AF); font: 600 .72rem/1 ui-monospace, Menlo, monospace; letter-spacing: .04em; box-shadow: none; }
.tb-hub-yan a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--basic-primary, #3564AF); text-decoration: none; } .tb-hub-yan a:hover { color: #C62338; }
.tb-hub-not { margin-top: 2.2rem; padding: 0; border: 0; background: transparent; box-shadow: none; }
[data-bs-theme="dark"] .tb-sz-band, [data-bs-theme="dark"] .tb-sz-govde, [data-bs-theme="dark"] .tb-hub { background: var(--tb-surface, #0B1526); }
[data-bs-theme="dark"] .tb-hub-yan .tb-hub-kod { background: rgba(141,184,255,.14); color: #8DB8FF; }
.tb-hub { padding-block: clamp(2rem, 4vw, 3rem) clamp(2.4rem, 5vw, 4rem); }
.tb-hub-grup + .tb-hub-grup { margin-top: 2.4rem; }
.tb-sz-govde-izgara { max-width: 1100px; }
.tb-sz-govde { padding-block: clamp(2rem, 4vw, 3rem) clamp(2.4rem, 5vw, 4rem); }
/* v5.1 ince ayar (2026-10-17): bant daha toplu, belge adı bağlantı gibi, kod rozeti sessiz */
.tb-sz-band { padding-block: clamp(1.6rem, 3vw, 2.4rem) clamp(1.4rem, 2.6vw, 2rem); }
.tb-sz-band h1 { margin-bottom: .5rem; }
.tb-sz-giris { margin-bottom: .7rem; }
.tb-hub-ad a { color: var(--basic-primary, #3564AF); text-decoration: underline; text-decoration-color: rgba(53,100,175,.3); text-underline-offset: .2em; }
.tb-hub-ad a:hover { color: #C62338; text-decoration-color: currentColor; }
[data-bs-theme="dark"] .tb-hub-ad a { color: #8DB8FF; text-decoration-color: rgba(141,184,255,.35); }
.tb-hub-yan .tb-hub-kod { background: transparent; padding: 0; color: var(--tb-ink-soft, #5b6b7c); font-weight: 500; }
[data-bs-theme="dark"] .tb-hub-yan .tb-hub-kod { background: transparent; color: rgba(255,255,255,.55); }
/* v5.2: kapanış notu kutusuz ve liste genişliğinde (koyu kip dahil) */
.tb-hub-not, [data-bs-theme="dark"] .tb-hub-not { max-width: none; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.tb-hub-not p { max-width: 72ch; }
.tb-hub { padding-bottom: clamp(2rem, 4vw, 3rem); }

/* v5.3 site ailesine baglama (2026-10-17): kullanici "diger sayfalardan bu sayfaya gecince bir seyler eksik"
   dedi. Olculen uc fark duzeltildi, icerik ayni:
   1) Bant artik site hero zemininde (Hakkimizda .tb-mk-hero ile ayni gradyan + alt isik cizgisi), iki kipte koyu.
   2) Hiza: bant/govde/liste 1100px dar kabuktan cikti; icerik logo hizasindan (x=20) baslar.
   3) Agirlik: diger hero'lara yakin yukseklik; statik ince izgara (canvas yok, hareket yok). */
.tb-sz-band, [data-bs-theme="dark"] .tb-sz-band { isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(260px, 32vh, 360px); padding-block: clamp(2.8rem, 6vw, 4.6rem) clamp(2.4rem, 5vw, 3.8rem); border-bottom: 0; color: #fff;
  background: radial-gradient(110% 150% at 8% 0%, #163158 0%, transparent 60%), linear-gradient(135deg, #0B1A33 0%, #0A1526 52%, #22121E 100%); }
.tb-sz-band > .tb-shell { position: relative; z-index: 1; }
.tb-sz-band::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(141,184,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(141,184,255,.08) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 120% at 82% 100%, #000 0%, transparent 70%); mask-image: radial-gradient(70% 120% at 82% 100%, #000 0%, transparent 70%); }
.tb-sz-band::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; z-index: 2; background: linear-gradient(90deg, transparent, rgba(150,195,255,.6) 28%, rgba(255,255,255,.4) 52%, rgba(232,110,130,.7) 76%, transparent); }
.tb-sz-band .tb-shell, .tb-sz-dar, .tb-sz-govde-izgara { max-width: var(--tb-shell); }
.tb-sz-band h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.08; letter-spacing: -.03em; margin-bottom: .8rem; }
.tb-sz-ust, .tb-sz-band .tb-sz-ust { color: rgba(255,255,255,.7); }
.tb-sz-band .tb-sz-ust a { color: #8DB8FF; }
.tb-sz-band .tb-sz-giris { color: rgba(255,255,255,.8); }
.tb-sz-band .tb-sz-kunye { color: rgba(255,255,255,.68); }
.tb-sz-band .tb-sz-kunye span + span::before { color: rgba(255,255,255,.32); }
.tb-sz-band .tb-sz-eylem a, .tb-sz-band .tb-sz-eylem button { color: #fff; }
.tb-sz-band .tb-sz-eylem a:hover, .tb-sz-band .tb-sz-eylem button:hover { color: #8DB8FF; }
.tb-sz-band .tb-sz-eylem a:focus-visible, .tb-sz-band .tb-sz-eylem button:focus-visible { outline-color: #8DB8FF; }
.tb-sz-band .tb-sz-ilerleme { z-index: 3; }
.tb-sz-govde, .tb-hub { background: var(--tb-surface-2, #f5f7fa); }   /* govde zemini diger sayfalarla ayni (koyu kip kurali [data-bs-theme] ile ustte) */
.tb-sz-govde-izgara { grid-template-columns: minmax(0, 1fr); } .tb-sz-yan, .tb-sz-prose { min-width: 0; }   /* mobil: yan kutu icerikle genisleyip tasiyordu */
@media (min-width: 992px) { .tb-sz-govde-izgara { grid-template-columns: 280px minmax(0, 1fr); } }
@media (max-width: 575.98px) { .tb-sz-kunye { gap: .25rem 1.1rem; } .tb-sz-kunye span + span::before { content: none; } }   /* kirilinca satir basina nokta dusmesin */

/* v5.4 (2026-10-17): kullanici "giris/kayit sayfasinin arkaplanini sozlesmelerin hero'suna da koyalim" dedi.
   Bant artik giris sahnesiyle ayni zemin (.tb-giris gradyani) + ayni canvas kafesi (turkbil-giris.js,
   [data-tb-giris] uzerinde calisir). v5.3'teki statik izgara (::before) kaldirildi; alt isik cizgisi kalir.
   Yalniz hero; govde degismedi. */
.tb-sz-band, [data-bs-theme="dark"] .tb-sz-band { background: radial-gradient(100% 120% at 20% 10%, #16325C 0%, transparent 58%), linear-gradient(140deg, #0B1A33 0%, #0A1526 55%, #20121D 100%); }
.tb-sz-band::before { content: none; }
.tb-sz-band > .tb-giris-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* @@ LOGO-KIRMIZISI-AYDINLIK BASLA (acik-kip.py uretir, elle duzenleme) @@ */
html:not([data-bs-theme="dark"]) .tb-sz-ilerleme{background: #C4162B}
html:not([data-bs-theme="dark"]) .tb-sz-icindekiler a.aktif{border-left-color: #C4162B}
html:not([data-bs-theme="dark"]) .tb-sz-prose li::marker{color: #C4162B}
html:not([data-bs-theme="dark"]) .tb-sz-prose a:hover{color: #C4162B;border-bottom-color: #C4162B}
html:not([data-bs-theme="dark"]) .tb-belge-ikon{background: linear-gradient(135deg, #C4162B, #D04555);box-shadow: 0 12px 24px -12px rgba(196,22,43,.9)}
html:not([data-bs-theme="dark"]) .tb-belge-eylem .tb-btn{background: linear-gradient(135deg, #C4162B, #D04555);box-shadow: 0 14px 30px -14px rgba(196,22,43,.9)}
html:not([data-bs-theme="dark"]) .tb-belge-eylem .tb-btn:hover{background: linear-gradient(135deg, #D04555, #DC7380)}
html:not([data-bs-theme="dark"]) .tb-belge-indir:hover{color: #C4162B}
html:not([data-bs-theme="dark"]) .tb-sz-ikincil:hover{color: #C4162B}
html:not([data-bs-theme="dark"]) .tb-hub-not a:hover{color: #C4162B}
html:not([data-bs-theme="dark"]) .tb-sz-eylem a:hover,html:not([data-bs-theme="dark"]) .tb-sz-eylem button:hover{color: #C4162B}
html:not([data-bs-theme="dark"]) .tb-hub-ad a:hover{color: #C4162B}
html:not([data-bs-theme="dark"]) .tb-hub-yan a:hover{color: #C4162B}
html:not([data-bs-theme="dark"]) .tb-hub-ad a:hover{color: #C4162B}
html:not([data-bs-theme="dark"]) .tb-sz-band::after{background: linear-gradient(90deg, transparent, rgba(150,195,255,.6) 28%, rgba(255,254,251,.4) 52%, rgba(220,115,128,.7) 76%, transparent)}
/* @@ LOGO-KIRMIZISI-AYDINLIK BITIR @@ */
