/* =====================================================================
   LikedWin — Hukuki metin sayfaları
   /kullanim-kosullari · /gizlilik-politikasi · /kvkk · /cerez-politikasi
   /satis-sozlesmesi
   marketing.css'in üzerine kurulur; yeni renk TANIMLAMAZ, site.css
   değişkenlerini kullanır (gece modu kendiliğinden çalışır).
   ===================================================================== */

/* ---------------------------------------------------------------------
   1) HERO
   --------------------------------------------------------------------- */
.lg-hero { padding: clamp(26px, 4vw, 44px) 0 clamp(34px, 5vw, 60px); overflow: hidden; }

.lg-crumb { margin-bottom: clamp(18px, 3vw, 30px); }
.lg-crumb ol {
    display: flex; flex-wrap: wrap; align-items: center; gap: 7px;
    list-style: none; margin: 0; padding: 0;
    font-size: 13px; color: var(--muted);
}
.lg-crumb li { display: inline-flex; align-items: center; gap: 7px; }
.lg-crumb a { color: var(--muted); font-weight: 600; }
.lg-crumb a:hover { color: var(--brand); }
.lg-crumb i { font-size: 10px; opacity: .55; }
.lg-crumb span { color: var(--mk-ink); font-weight: 700; }

.lg-hero__inner { max-width: 780px; }
.lg-hero__title {
    margin: 0 0 14px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(30px, 4.6vw, 50px); font-weight: 800; line-height: 1.1;
    letter-spacing: -.022em; color: var(--mk-ink);
}
.lg-hero__sub {
    margin: 0; max-width: 68ch;
    font-size: clamp(15px, 1.35vw, 17px); line-height: 1.72; color: var(--muted);
}

.lg-hero__meta {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-top: clamp(20px, 2.6vw, 28px);
}
.lg-hero__meta span {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.lg-hero__meta b { color: var(--mk-ink); font-weight: 800; }
.lg-hero__meta i { color: var(--brand); font-size: 12px; }

/* ---------------------------------------------------------------------
   2) İKİ SÜTUNLU GÖVDE
   --------------------------------------------------------------------- */
.lg-body { padding: 0 0 clamp(56px, 7vw, 104px); background: var(--bg); }
.lg-grid {
    display: grid; grid-template-columns: minmax(240px, 296px) minmax(0, 1fr);
    gap: clamp(24px, 3.4vw, 52px); align-items: start;
}

/* ---------- Sol sütun ---------- */
.lg-aside { position: sticky; top: 88px; max-height: calc(100vh - 108px); overflow-y: auto; padding-right: 4px; }
.lg-aside::-webkit-scrollbar { width: 6px; }
.lg-aside::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }

.lg-aside__title {
    font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 12px; padding-left: 4px;
}
.lg-aside__title + .lg-toc { margin-bottom: 26px; }

.lg-toc { display: flex; flex-direction: column; gap: 2px; }
.lg-toc__link {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 9px 12px; border-radius: 10px;
    font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--muted);
    border: 1px solid transparent;
    transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.lg-toc__link b {
    flex: none; min-width: 22px; height: 22px; margin-top: 1px;
    display: grid; place-items: center; border-radius: 7px;
    background: var(--bg-soft); color: var(--muted);
    font-size: 11px; font-weight: 800;
}
.lg-toc__link:hover { background: var(--surface); border-color: var(--line); color: var(--mk-ink); }
.lg-toc__link.is-active {
    background: var(--brand-soft); border-color: var(--brand-line); color: var(--brand);
    box-shadow: inset 3px 0 0 var(--brand);
}
.lg-toc__link.is-active b { background: var(--brand); color: #fff; }

.lg-other { display: flex; flex-direction: column; gap: 6px; margin-bottom: 26px; }
.lg-other__link {
    display: flex; align-items: center; gap: 11px;
    padding: 11px 13px; border-radius: 12px;
    background: var(--surface); border: 1px solid var(--line);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.lg-other__link > i:first-child {
    flex: none; width: 30px; height: 30px; display: grid; place-items: center;
    border-radius: 9px; background: var(--brand-soft); color: var(--brand); font-size: 13px;
}
.lg-other__link span { flex: 1; min-width: 0; display: block; }
.lg-other__link b { display: block; font-size: 13px; font-weight: 700; color: var(--mk-ink); }
.lg-other__link small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.lg-other__go { flex: none; font-size: 12px; color: var(--muted); transition: transform var(--ease); }
.lg-other__link:hover { border-color: var(--brand-line); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.lg-other__link:hover .lg-other__go { transform: translateX(3px); color: var(--brand); }

.lg-help {
    display: block; position: relative; overflow: hidden;
    padding: 20px; border-radius: 18px;
    background: linear-gradient(150deg, #16205a 0%, #2544d8 100%);
    color: #fff; box-shadow: 0 20px 42px -24px rgba(37, 68, 216, .95);
    transition: transform var(--ease), box-shadow var(--ease);
}
.lg-help:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 26px 52px -24px rgba(37, 68, 216, 1); }
.lg-help::after {
    content: ""; position: absolute; top: -50px; right: -40px; width: 160px; height: 160px;
    border-radius: 50%; background: rgba(255, 255, 255, .1);
}
.lg-help__ico {
    position: relative; z-index: 1;
    display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px;
    border-radius: 11px; background: rgba(255, 255, 255, .16); font-size: 15px;
}
.lg-help__t { position: relative; z-index: 1; margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.lg-help__d { position: relative; z-index: 1; margin: 0 0 14px; font-size: 13px; line-height: 1.6; opacity: .88; }
.lg-help__go { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }

/* ---------------------------------------------------------------------
   3) MADDE GÖVDESİ
   --------------------------------------------------------------------- */
.lg-doc {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 22px; padding: clamp(22px, 3.2vw, 46px);
    box-shadow: var(--mk-card);
}

.lg-doc__intro {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 15px 17px; margin-bottom: clamp(24px, 3vw, 38px);
    border-radius: 14px; background: var(--bg-soft); border: 1px solid var(--line);
}
.lg-doc__intro i { flex: none; margin-top: 2px; color: var(--brand); font-size: 15px; }
.lg-doc__intro p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--muted); }
.lg-doc__intro b { color: var(--mk-ink); }

.lg-sec { scroll-margin-top: 96px; }
.lg-sec + .lg-sec { margin-top: clamp(30px, 3.6vw, 46px); padding-top: clamp(30px, 3.6vw, 46px); border-top: 1px solid var(--line); }

.lg-sec__h {
    display: flex; align-items: flex-start; gap: 13px; margin: 0 0 16px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(19px, 2.1vw, 24px); font-weight: 800; line-height: 1.3;
    letter-spacing: -.015em; color: var(--mk-ink);
}
.lg-sec__no {
    flex: none; min-width: 32px; height: 32px; margin-top: 2px;
    display: grid; place-items: center; border-radius: 10px;
    background: var(--brand-soft); border: 1px solid var(--brand-line);
    color: var(--brand); font-size: 14px; font-weight: 800;
}

.lg-sec__body { font-size: 15px; line-height: 1.82; color: var(--text); }
.lg-sec__body > *:first-child { margin-top: 0; }
.lg-sec__body > *:last-child { margin-bottom: 0; }
.lg-sec__body p { margin: 0 0 15px; }
.lg-sec__body strong, .lg-sec__body b { color: var(--mk-ink); font-weight: 700; }
.lg-sec__body a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.lg-sec__body a:hover { color: var(--brand-dark); }

.lg-sec__body h3 {
    margin: 26px 0 12px;
    font-size: 16px; font-weight: 800; color: var(--mk-ink); letter-spacing: -.01em;
}

.lg-sec__body ul, .lg-sec__body ol { margin: 0 0 15px; padding-left: 22px; }
.lg-sec__body li { margin-bottom: 9px; }
.lg-sec__body li::marker { color: var(--brand); font-weight: 700; }

/* Harf sıralı liste (a, b, c…) — kanun metni alışkanlığı */
.lg-alpha { list-style: lower-alpha; }
.lg-alpha > li::marker { font-weight: 800; }

/* ---------- Uyarı / bilgi kutuları ---------- */
.lg-note {
    display: flex; gap: 13px; align-items: flex-start;
    padding: 16px 18px; margin: 20px 0;
    border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft);
    font-size: 14px; line-height: 1.7;
}
.lg-note__ico {
    flex: none; width: 32px; height: 32px; display: grid; place-items: center;
    border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
    color: var(--muted); font-size: 14px;
}
.lg-note p { margin: 0 0 10px; }
.lg-note p:last-child { margin-bottom: 0; }

.lg-note--warn { background: var(--warn-bg); border-color: var(--warn-line); }
.lg-note--warn .lg-note__ico { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn-fg); }
.lg-note--warn strong { color: var(--warn-fg); }

.lg-note--ok { background: var(--ok-bg); border-color: var(--ok-line); }
.lg-note--ok .lg-note__ico { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok-fg); }

.lg-note--brand { background: var(--brand-soft); border-color: var(--brand-line); }
.lg-note--brand .lg-note__ico { background: var(--surface); border-color: var(--brand-line); color: var(--brand); }

/* ---------- Tablolar ---------- */
.lg-tablewrap { overflow-x: auto; margin: 18px 0; border-radius: 14px; border: 1px solid var(--line); }
.lg-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13.5px; background: var(--surface); }
.lg-table caption {
    caption-side: top; text-align: left; padding: 13px 16px 11px;
    font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: var(--muted); background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.lg-table th, .lg-table td { padding: 12px 16px; text-align: left; vertical-align: top; line-height: 1.6; }
.lg-table thead th {
    background: var(--bg-soft); color: var(--mk-ink); font-weight: 800; font-size: 12.5px;
    border-bottom: 1px solid var(--line); white-space: nowrap;
}
.lg-table tbody tr + tr th, .lg-table tbody tr + tr td { border-top: 1px solid var(--line); }
.lg-table tbody th { color: var(--mk-ink); font-weight: 700; white-space: nowrap; }
.lg-table td { color: var(--text); }
.lg-table--kv { min-width: 0; }
.lg-table--kv th { width: 190px; background: var(--bg-soft); }

/* ---------- Alt künye ---------- */
.lg-doc__foot {
    display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
    margin-top: clamp(30px, 3.6vw, 46px); padding-top: 22px; border-top: 1px solid var(--line);
}
.lg-doc__stamp { display: flex; align-items: center; gap: 12px; }
.lg-doc__stamp > i {
    flex: none; width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 11px; background: var(--brand-soft); color: var(--brand); font-size: 15px;
}
.lg-doc__stamp b { display: block; font-size: 13.5px; font-weight: 800; color: var(--mk-ink); }
.lg-doc__stamp small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.lg-doc__acts { display: flex; flex-wrap: wrap; gap: 9px; }
.lg-doc__acts .mk-btn { cursor: pointer; }

/* ---------------------------------------------------------------------
   4) DUYARLILIK
   --------------------------------------------------------------------- */
@media (max-width: 980px) {
    /* Tek sütuna inerken yan menünün TAMAMI metnin üstünde kalıyordu; okuyucu
       maddelere ulaşmak için üç bloğu birden geçmek zorundaydı. `display:contents`
       ile aside'ın çocukları doğrudan flex öğesi olur; içindekiler üstte kalır,
       "diğer metinler" ve destek kartı metnin ALTINA iner. */
    .lg-grid { display: flex; flex-direction: column; gap: 22px; }
    .lg-aside { display: contents; }

    /* display:contents ile promote edilen çocuklar flex öğesi olur ve
       min-width:auto ile içeriklerine göre şişer — yatay kaydırmalı
       içindekiler şeridi ve geniş tablolar sayfayı taşırırdı. */
    .lg-aside__title, .lg-toc, .lg-other, .lg-help, .lg-doc { min-width: 0; max-width: 100%; }

    .lg-aside__title--toc   { order: 1; margin: 0; }
    .lg-toc                 { order: 2; margin-bottom: 0; }
    .lg-doc                 { order: 3; }
    .lg-aside__title--other { order: 4; margin: 8px 0 0; }
    .lg-other               { order: 5; margin-bottom: 0; }
    .lg-help                { order: 6; }
    .lg-toc {
        flex-direction: row; flex-wrap: nowrap; gap: 8px;
        overflow-x: auto; padding-bottom: 6px;
        scrollbar-width: none;
    }
    .lg-toc::-webkit-scrollbar { display: none; }
    .lg-toc__link {
        flex: none; max-width: 230px; align-items: center;
        background: var(--surface); border-color: var(--line);
    }
    .lg-toc__link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .lg-other { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

@media (max-width: 560px) {
    .lg-doc { border-radius: 18px; }
    .lg-sec__h { gap: 10px; }
    .lg-doc__foot { flex-direction: column; align-items: flex-start; }
    .lg-doc__acts { width: 100%; }
    .lg-doc__acts .mk-btn { flex: 1; justify-content: center; }
}

/* ---------------------------------------------------------------------
   5) YAZDIRMA — kâğıda sadece metin gitsin
   --------------------------------------------------------------------- */
@media print {
    .site-header, .site-footer, .footer-hero, .lg-aside, .lg-doc__acts,
    .mk-orb, .lg-crumb, #zsiqbtn, .zsiq_floatmain { display: none !important; }
    .lg-doc { border: 0; box-shadow: none; padding: 0; border-radius: 0; }
    .lg-body { padding: 0; }
    .lg-grid { display: block; }
    .lg-sec + .lg-sec { page-break-inside: avoid; }
    .lg-hero { padding: 0 0 18px; }
    body { background: #fff; }
}
