/* ===== Legal Pages Styles ===== */
.legal-page-section {
    padding: 120px 20px 80px;
    min-height: 100vh;
}

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}

.legal-breadcrumb a {
    color: #D8C9B6;
    transition: color 0.3s ease;
}

.legal-breadcrumb a:hover {
    color: #F0A84A;
}

.breadcrumb-separator {
    color: #F0A84A;
}

.breadcrumb-current {
    color: #F0A84A;
}

.legal-page-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #F6F1EA 0%, #F0A84A 50%, #FFD27A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-page-date {
    color: #D8C9B6;
    font-size: 14px;
    margin-bottom: 50px;
}

/* ===== Legal Content ===== */
.legal-content {
    max-width: 850px;
    margin: 0 auto 50px;
}

.legal-intro {
    background: rgba(240, 168, 74, 0.08);
    border-left: 4px solid #F0A84A;
    padding: 25px 30px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 50px;
}

.legal-intro p {
    color: #F6F1EA;
    font-size: 17px;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 45px;
    scroll-margin-top: 100px;
}

.legal-section h2 {
    font-size: 26px;
    color: #F6F1EA;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section h3 {
    font-size: 20px;
    color: #F0A84A;
    margin: 25px 0 15px;
}

.legal-section p {
    color: #D8C9B6;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0 20px;
}

.legal-section ul li {
    color: #D8C9B6;
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background: #F0A84A;
    border-radius: 50%;
}

.legal-section strong {
    color: #F6F1EA;
    font-weight: 600;
}

.legal-section a {
    color: #F0A84A;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.legal-section a:hover {
    color: #FFD27A;
    border-bottom-color: #FFD27A;
}

/* ===== Legal Highlight Box ===== */
.legal-highlight-box {
    background: rgba(32, 22, 15, 0.6);
    border: 1px solid rgba(240, 168, 74, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
}

.legal-highlight-box h3 {
    color: #F0A84A;
    font-size: 20px;
    margin-bottom: 15px;
}

.legal-highlight-box p {
    color: #D8C9B6;
    line-height: 1.7;
    margin: 0;
}

/* ===== Legal Back Link ===== */
.legal-back-link {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== Table of Contents ===== */
.legal-toc {
    background: rgba(32, 22, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 50px;
}

.legal-toc h3 {
    color: #F6F1EA;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-toc ul {
    list-style: none;
    padding: 0;
}

.legal-toc li {
    margin-bottom: 10px;
}

.legal-toc a {
    color: #D8C9B6;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.legal-toc a:hover {
    color: #F0A84A;
    padding-left: 10px;
}

/* ===== Responsive for Legal Pages ===== */
@media (max-width: 768px) {
    .legal-page-section {
        padding: 100px 20px 60px;
    }

    .legal-page-title {
        font-size: 32px;
    }

    .legal-section h2 {
        font-size: 22px;
    }

    .legal-section h3 {
        font-size: 18px;
    }

    .legal-intro {
        padding: 20px;
    }

    .legal-highlight-box {
        padding: 20px;
    }

    .legal-toc {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .legal-page-title {
        font-size: 26px;
    }

    .legal-intro p {
        font-size: 15px;
    }

    .legal-section p {
        font-size: 14px;
    }

    .legal-section ul li {
        font-size: 14px;
    }
}

/* ===== Smooth Scrolling for Anchor Links ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Print Styles ===== */
@media print {
    .site-header,
    .site-footer,
    .cookie-banner,
    .legal-back-link,
    .legal-toc {
        display: none !important;
    }

    .legal-page-section {
        padding: 20px;
    }

    .legal-section {
        page-break-inside: avoid;
    }

    body {
        background: white;
        color: black;
    }

    .legal-page-title {
        color: black;
        -webkit-text-fill-color: black;
    }
}
