/* SenderTR yeni site — yasal belgeler (7 Kas 2026). layouts/legal-doc-yeni.blade.php ile yüklenir.
   Belge gövdesi sınıfları (box, note, kv, def, tw) eski şablonla aynı; renkli kenar şeridi yok. */
.lb-ust { background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%); padding-top: 40px; padding-bottom: 44px; }
.lb-ust-ic { display: flex; flex-direction: column; align-items: flex-start; }
.lb-yol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.lb-yol a { color: var(--muted); }
.lb-tur { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 10px; }
.lb-tur::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.lb-ust h1 { margin-top: 16px; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.03em; max-width: 24ch; }
.lb-alt { margin-top: 14px; font-size: 18px; color: var(--ink-2); line-height: 1.6; max-width: 46rem; }
.ld-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ld-meta span, .ld-meta button { display: inline-flex; align-items: center; font: 600 14px/1 var(--sans); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.ld-meta button { cursor: pointer; background: var(--navy); border-color: var(--navy); color: #fff; }
.ld-meta button:hover { background: var(--teal-d); border-color: var(--teal-d); }

.lb-govde { padding-top: 36px; padding-bottom: 88px; }
.ld-wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: max(20px, env(safe-area-inset-right, 0px)); display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 960px) { .ld-wrap { grid-template-columns: 17rem minmax(0, 1fr); gap: 48px; } .ld-side { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; } }
.ld-toc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 16px 14px; }
.ld-toc b { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.ld-toc a { display: block; font-size: 14px; color: var(--ink-2); padding: 6px 8px; border-radius: 8px; line-height: 1.35; }
.ld-toc a:hover { text-decoration: none; background: var(--bg); color: var(--ink); }
.ld-toc a.on { background: var(--navy); color: #fff; }
.ld-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.ld-toc li { counter-increment: toc; display: flex; gap: 4px; align-items: flex-start; }
.ld-toc li::before { content: none; }
.ld-toc li a { flex: 1; }
.ld-rel { margin-top: 12px; }
.ld-rel a { font-size: 13.5px; }

.ld-doc { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 48px); color: var(--ink-2); font-size: 16.5px; line-height: 1.75; min-width: 0; }
.ld-doc > * + * { margin-top: 14px; }
.ld-doc h2 { font-size: clamp(21px, 2.2vw, 25px); font-weight: 800; color: var(--ink); letter-spacing: -.015em; line-height: 1.25; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 96px; text-wrap: balance; }
.ld-doc h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.ld-doc h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-top: 24px; }
.ld-doc p { margin: 0; }
.ld-doc p + p { margin-top: 12px; }
.ld-doc strong { color: var(--ink); }
.ld-doc a { color: var(--teal-d); font-weight: 600; text-decoration: underline; text-decoration-color: var(--mint-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ld-doc ul, .ld-doc ol { padding-left: 24px; margin: 0; }
.ld-doc ul { list-style: disc; }
.ld-doc ul li::marker { color: var(--teal); }
.ld-doc ol { list-style: decimal; }
.ld-doc ol li::marker { color: var(--muted); font-weight: 700; }
.ld-doc li + li { margin-top: 6px; }
.ld-doc li > ul, .ld-doc li > ol { margin-top: 6px; }
.ld-doc .tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.ld-doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.ld-doc th { background: var(--bg); text-align: left; font-weight: 700; color: var(--ink); padding: 11px 13px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.ld-doc td { padding: 11px 13px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); vertical-align: top; }
.ld-doc tr > :last-child { border-right: 0; }
.ld-doc tbody tr:last-child > * { border-bottom: 0; }
.ld-doc .box { background: var(--mint); border: 1px solid var(--mint-2); border-radius: 16px; padding: 18px 22px; color: var(--ink); }
.ld-doc .box ul { margin-top: 8px; }
.ld-doc .note { position: relative; background: #FFF8EA; border: 1px solid #F3D9A6; border-radius: 14px; padding: 14px 18px 14px 54px; color: #5B4520; font-size: 15px; }
.ld-doc .note::before { content: "!"; position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--amber); color: var(--navy); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.ld-doc .def dt { font-weight: 700; color: var(--ink); margin-top: 12px; }
.ld-doc .def dd { margin: 3px 0 0; }
.ld-doc .kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 20px; font-size: 15.5px; }
.ld-doc .kv dt { font-weight: 700; color: var(--ink); }
.ld-doc .kv dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .ld-doc .kv { grid-template-columns: 1fr; gap: 2px; } .ld-doc .kv dd { margin-bottom: 8px; } }
.ld-foot { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

@media print {
    .no-print, .ld-side, header, nav, footer, .y-util, .y-sr, .y-nav, .y-foot, .y-ortu, [data-consent-banner] { display: none !important; }
    .ld-doc .box { background: #fff !important; border-color: #999 !important; }
    .ld-doc .note { background: #fff !important; border-color: #999 !important; color: #000 !important; }
    .ld-doc th, .ld-doc td, .ld-doc .tw { border-color: #999 !important; }
    .lb-ust { background: #fff !important; padding: 0 0 12px; }
    .ld-wrap { display: block; }
    .ld-doc { border: 0; padding: 0; font-size: 11pt; }
    .ld-meta span { border-color: #999; color: #000; }
    a { color: inherit; text-decoration: none; }
}
/* 7 Kas 2026: belgeden indirilebilir dosya (KVKK başvuru formu PDF) */
.ld-doc .belge-indir { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.ld-doc .belge-indir::before { content: ""; width: 14px; height: 14px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M4 20h16'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M4 20h16'/%3E%3C/svg%3E") center / contain no-repeat; }
.ld-doc .belge-indir:hover { background: var(--teal-d); color: #fff; }
@media print { .ld-doc .belge-indir-p { display: none; } }
