/* Çerez uyarısı ve çerez politikası penceresi (ortak modül: _build/cerez.py) */
.cz-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 880px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 18px 20px; background: #ffffff; color: #16181b; border: 1px solid #d9dde3; border-radius: 14px; box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .55); font-size: .98rem; line-height: 1.5; }
.cz-banner[hidden] { display: none; }
.cz-banner__metin { flex: 1; }
.cz-banner strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.cz-banner p { margin: 0; color: #55606e; }
.cz-banner a { color: #16181b; font-weight: 600; text-underline-offset: 3px; }
.cz-banner__dugmeler { display: flex; gap: 10px; flex: none; }
/* İki düğme bilerek aynı görünür: reddetmek, kabul etmek kadar kolay olmalı. */
.cz-dugme { min-width: 118px; min-height: 48px; padding: 10px 18px; font: inherit; font-weight: 700; color: #ffffff; background: #111315; border: 2px solid #111315; border-radius: 10px; cursor: pointer; transition: opacity .2s; }
.cz-dugme:hover { opacity: .86; }
.cz-dugme:focus-visible, .cz-kapat:focus-visible, .cz-harita button:focus-visible, .cz-baglantilar button:focus-visible { outline: 3px solid #16181b; outline-offset: 3px; }

.cz-baglantilar { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-left: auto; margin-right: 18px; font-size: .9rem; }
.cz-baglantilar a, .cz-baglantilar button { padding: 8px 0; font: inherit; color: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.cz-harita { display: grid; place-content: center; justify-items: center; gap: 12px; min-height: 260px; padding: 28px 20px; text-align: center; background: #ffffff; color: #16181b; border: 1px dashed #d9dde3; border-radius: 12px; font-size: .98rem; line-height: 1.5; }
.cz-harita p { margin: 0; max-width: 46ch; color: #55606e; }
.cz-harita button { min-height: 48px; padding: 10px 20px; font: inherit; font-weight: 700; color: #ffffff; background: #111315; border: 0; border-radius: 10px; cursor: pointer; }

.cz-pencere { width: min(860px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 1px solid #d9dde3; border-radius: 14px; background: #ffffff; color: #16181b; font-size: 1rem; line-height: 1.6; }
.cz-pencere::backdrop { background: rgba(8, 10, 12, .62); }
.cz-pencere__ust { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 22px; background: #ffffff; border-bottom: 1px solid #d9dde3; }
.cz-pencere__ust h2 { margin: 0; font-size: 1.4rem; color: #16181b; text-transform: none; letter-spacing: 0; }
.cz-kapat { min-height: 44px; padding: 8px 16px; font: inherit; font-weight: 700; color: #16181b; background: transparent; border: 2px solid #d9dde3; border-radius: 10px; cursor: pointer; }
.cz-pencere__govde { padding: 6px 22px 26px; }
.cz-pencere__govde h3 { margin: 1.5em 0 .4em; font-size: 1.12rem; color: #16181b; text-transform: none; letter-spacing: 0; }
.cz-pencere__govde p { margin: 0 0 .8em; color: #16181b; max-width: none; }
.cz-pencere__govde a, .cz-politika a { color: #16181b; font-weight: 600; }
.cz-tarih { color: #55606e !important; font-size: .92rem; }
.cz-tablo { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: .92rem; }
.cz-tablo th, .cz-tablo td { padding: 10px 10px; text-align: left; vertical-align: top; border: 1px solid #d9dde3; }
.cz-tablo thead th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: #55606e; }

@media (max-width: 719px) {
  .cz-banner { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .cz-banner__dugmeler .cz-dugme { flex: 1; }
  .cz-baglantilar { margin: 0; width: 100%; order: 3; }
  .cz-tablo thead { display: none; }
  .cz-tablo, .cz-tablo tbody, .cz-tablo tr, .cz-tablo th, .cz-tablo td { display: block; }
  .cz-tablo tr { margin-bottom: 12px; border: 1px solid #d9dde3; border-radius: 10px; overflow: hidden; }
  .cz-tablo th, .cz-tablo td { border: 0; border-bottom: 1px solid #d9dde3; }
  .cz-tablo td:last-child { border-bottom: 0; }
  .cz-tablo td::before { content: attr(data-b) ": "; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) { .cz-dugme { transition: none; } }
