/* Yasal sayfalar — modern düzen */

.yasal-hero {
    min-height: 420px;
}

.yasal-hero__etiket {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.yasal-page {
    padding: 3.5rem 0 4.5rem;
    background: linear-gradient(180deg, #f7f9f9 0%, #fff 120px);
}

/* Kenar çubuğu */
.yasal-sidebar {
    position: sticky;
    top: 100px;
}

.yasal-sidebar__liste {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.yasal-sidebar__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.72);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.35;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.yasal-sidebar__link:hover {
    background: rgba(16, 60, 59, 0.05);
    color: #103C3B;
}

.yasal-sidebar__link.is-active {
    background: #103C3B;
    color: #fff;
    border-color: #103C3B;
    box-shadow: 0 8px 24px rgba(16, 60, 59, 0.22);
}

.yasal-sidebar__ikon {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 60, 59, 0.08);
    color: #103C3B;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.yasal-sidebar__link.is-active .yasal-sidebar__ikon {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.yasal-sidebar__kart {
    padding: 1.25rem;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(16, 60, 59, 0.06) 0%, rgba(176, 126, 80, 0.08) 100%);
    border: 1px solid rgba(16, 60, 59, 0.1);
}

.yasal-sidebar__kart-metin {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.62);
    margin-bottom: 1rem;
    line-height: 1.55;
}

/* Ana kart */
.yasal-kart {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(16, 60, 59, 0.08);
    box-shadow: 0 12px 40px rgba(16, 60, 59, 0.08);
    padding: 2rem 2rem 1.5rem;
}

.yasal-kart__ust {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.yasal-kart__ikon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #103C3B 0%, #1a5553 100%);
    color: #fff;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(16, 60, 59, 0.25);
}

.yasal-kart__baslik {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    color: #103C3B;
    margin: 0;
    line-height: 1.25;
}

.yasal-bolumler {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.yasal-bolum-kart {
    padding: 1.25rem 1.25rem 1.15rem 1.35rem;
    border-radius: 12px;
    background: #fafbfb;
    border-left: 3px solid #b07e50;
}

.yasal-bolum-kart__baslik {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    color: #103C3B;
    margin: 0 0 0.75rem;
}

.yasal-bolum-kart__no {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(176, 126, 80, 0.15);
    color: #96663a;
    flex-shrink: 0;
}

.yasal-bolum-kart__icerik {
    color: rgba(0, 0, 0, 0.74);
    line-height: 1.75;
    font-size: 0.97rem;
}

.yasal-bolum-kart__icerik p {
    margin-bottom: 0.75rem;
}

.yasal-bolum-kart__icerik p:last-child {
    margin-bottom: 0;
}

.yasal-bolum-kart__icerik ul {
    margin: 0;
    padding-left: 1.2rem;
}

.yasal-bolum-kart__icerik li {
    margin-bottom: 0.35rem;
}

.yasal-bolum-kart__icerik a {
    color: #103C3B;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.yasal-bolum-kart__icerik a:hover {
    color: #b07e50;
}

/* Alt linkler */
.yasal-kart__alt {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(16, 60, 59, 0.1);
}

.yasal-kart__alt p {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(16, 60, 59, 0.65);
    margin-bottom: 0.75rem;
}

.yasal-kart__linkler {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.yasal-kart__link {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: #103C3B;
    background: rgba(16, 60, 59, 0.07);
    border: 1px solid rgba(16, 60, 59, 0.12);
    transition: background 0.2s ease, color 0.2s ease;
}

.yasal-kart__link:hover {
    background: #103C3B;
    color: #fff;
}

@media (max-width: 991px) {
    .yasal-sidebar {
        position: static;
    }

    .yasal-sidebar__liste {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .yasal-sidebar__link {
        flex: 1 1 calc(50% - 0.35rem);
        min-width: 140px;
    }

    .yasal-sidebar__metin {
        font-size: 0.82rem;
    }

    .yasal-kart {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .yasal-kart__ust {
        flex-direction: column;
        gap: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yasal-sidebar__link,
    .yasal-kart__link {
        transition: none;
    }
}
