.yasal { background: #f5f3ed; color: #30362e; }
.yasal-ust { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #252b25; color: #f5f3ed; padding: 24px max(24px,calc((100vw - 1100px)/2)); }
.yasal-ust img { width: 180px; height: auto; }
.yasal-ust > a:last-child { font-size: 12px; text-decoration: none; }
.yasal-icerik { width: min(740px,calc(100% - 48px)); margin: 48px auto 80px; }
.yasal-geri { font-size: 12px; text-decoration: none; }
.yasal-icerik > header { margin: 48px 0; }
.yasal-altbaslik { font-size: 12px; color: #73776b; margin-bottom: 12px; }
.yasal h1 { font-family: Georgia,serif; font-size: clamp(36px,6vw,64px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; }
.yasal-tarih { margin-top: 18px; font-size: 11px; color: #73776b; }
.yasal-icerik section { margin-block: 36px; }
.yasal h2 { font-size: 19px; font-weight: 500; letter-spacing: -.025em; margin-bottom: 14px; }
.yasal-icerik p, .yasal dd { font-size: 14px; line-height: 1.85; }
.yasal-icerik p + p { margin-top: 14px; }
.yasal a { text-underline-offset: 4px; overflow-wrap: anywhere; }
.yasal-liste { margin-block: 24px; }
.yasal-liste > div { border-top: 1px solid #d9dbd1; padding-block: 18px; }
.yasal dt { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.yasal-durum { border-left: 2px solid #9b8158; background: #ece7dc; padding: 20px; }
.yasal-durum strong { font-size: 12px; }
.yasal-durum p, .yasal-icerik .yasal-kaynak { font-size: 12px; color: #626650; }
.yasal-alt { background: #252b25; color: #e5e2d8; padding: 30px max(24px,calc((100vw - 740px)/2)); }
.yasal-alt nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.yasal-alt a { font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.yasal-alt a[aria-current] { text-decoration: underline; }
.yasal-alt p { margin-top: 15px; font-size: 10px; color: #bac0b2; }
@media(max-width:600px) { .yasal-ust img { width: 145px; } .yasal-icerik { margin-top: 30px; } .yasal-icerik > header { margin-block: 32px; } .yasal-icerik p, .yasal dd { font-size: 13px; } }

/* Native modal: keyboard focus stays inside; the close control stays visible. */
html.yasal-acik, .yasal-acik body { overflow: hidden; }
.yasal-pencere { position: fixed; inset: 0; width: min(820px,calc(100% - 48px)); max-width: none; max-height: none; height: min(820px,calc(100dvh - 64px)); margin: auto; padding: 0; border: 1px solid #ffffff30; border-radius: 14px; box-shadow: 0 32px 100px #0005; overflow: hidden; }
.yasal-pencere[open] { display: flex; flex-direction: column; animation: yasal-belir 240ms ease-out; }
.yasal-pencere::backdrop { background: #11170ed9; }
.yasal-pencere-ust { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 24px; border-bottom: 1px solid #d9dbd1; font-size: 11px; }
.yasal-pencere-ust button { flex: 0 0 44px; color: #30362e; }
.yasal-pencere-icerik { overflow-y: auto; overscroll-behavior: contain; min-height: 0; flex: 1; scrollbar-gutter: stable; }
.yasal-pencere .yasal-icerik { width: auto; margin: 0; padding: 28px 40px 40px; }
.yasal-pencere .yasal-icerik > header { margin: 0 0 32px; }
.yasal-pencere .yasal-baslik { font-family: Georgia,serif; font-size: clamp(32px,5vw,52px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; margin: 0; }
.yasal-baslik:focus { outline: none; }
@keyframes yasal-belir { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media(max-width:600px) {
  .yasal-pencere { width: calc(100% - 20px); height: calc(100dvh - 32px); border-radius: 12px; }
  .yasal-pencere-ust { padding: 8px 16px; }
  .yasal-pencere .yasal-icerik { padding: 24px 20px 32px; }
}
@media(prefers-reduced-motion:reduce) { .yasal-pencere[open] { animation: none; } }

.yasal-devam { flex: 0 0 auto; padding: 16px 40px max(16px,env(safe-area-inset-bottom)); border-top: 1px solid #d9dbd1; }
.yasal-devam[hidden] { display: none; }
.yasal-devam .dugme { display: flex; justify-content: center; width: 100%; font-size: 13px; }
@media(max-width:600px) { .yasal-devam { padding: 12px 20px max(12px,env(safe-area-inset-bottom)); } .yasal-devam .dugme { font-size: 12px; } }

.yasal-devam p { font-size: 11px; line-height: 1.5; margin: 0 0 10px; }
