/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main on dark body background */
    background-color: #0D0E12; /* Body background from shared.css */
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Top Section (Hero-like) */
.page-privacy-policy__top-section {
    padding-top: 10px; /* Small top padding, not --header-offset */
    padding-bottom: 40px;
    text-align: center;
    background-color: #17191F; /* Card BG */
    border-bottom: 1px solid #A84F0C; /* Border color */
}

.page-privacy-policy__main-title {
    font-size: 2.8em;
    font-weight: bold;
    color: #FF8C1A; /* Main color for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF3E6;
}

.page-privacy-policy__top-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.page-privacy-policy__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-privacy-policy__btn--primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Custom button color */
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-privacy-policy__btn--primary:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-privacy-policy__btn--secondary {
    background-color: #17191F; /* Card BG */
    color: #FF8C1A; /* Main color */
    border: 2px solid #A84F0C; /* Border color */
}

.page-privacy-policy__btn--secondary:hover {
    background-color: #2a2d36;
    color: #FFA53A; /* Auxiliary color */
    border-color: #FF8C1A;
}

/* Main Content Area */
.page-privacy-policy__content-section {
    padding: 50px 0;
}

.page-privacy-policy__article-wrap {
    max-width: 900px; /* Narrower for readability of long text */
    padding: 0 20px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: #FF8C1A; /* Main color */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 2px solid #A84F0C;
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.5em;
    color: #FFA53A; /* Auxiliary color */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: #FFF3E6; /* Text Main */
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #FFF3E6; /* Text Main */
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
    color: #FFF3E6; /* Text Main */
}

.page-privacy-policy__list li strong {
    color: #FFA53A; /* Auxiliary color for strong text in lists */
}

.page-privacy-policy a {
    color: #FFB04D; /* Glow color for links */
    text-decoration: underline;
}

.page-privacy-policy a:hover {
    color: #FFA53A; /* Auxiliary color on hover */
    text-decoration: none;
}

/* Images and Figures */
.page-privacy-policy__figure {
    margin: 30px 0;
    text-align: center;
    background-color: #17191F; /* Card BG */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

.page-privacy-policy__figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    margin: 0 auto;
    object-fit: cover; /* Ensures image covers area without distortion */
}

.page-privacy-policy__figcaption {
    margin-top: 10px;
    font-size: 0.9em;
    color: #A84F0C; /* Border color for subtle text */
}

/* Bottom CTA */
.page-privacy-policy__bottom-cta {
    margin-top: 50px;
    text-align: center;
}

/* --- Responsive Styles --- */

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* General content area padding */
    .page-privacy-policy__container,
    .page-privacy-policy__article-wrap,
    .page-privacy-policy__top-section,
    .page-privacy-policy__content-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Top Section (Hero-like) */
    .page-privacy-policy__top-section {
        padding-top: 10px !important; /* Small top padding, not --header-offset */
        padding-bottom: 30px !important;
    }

    .page-privacy-policy__main-title {
        font-size: 2em !important;
        margin-bottom: 15px !important;
    }

    .page-privacy-policy__intro-text {
        font-size: 1em !important;
        margin-bottom: 20px !important;
    }

    /* Buttons and CTA */
    .page-privacy-policy__top-cta {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
    }

    .page-privacy-policy__btn,
    .page-privacy-policy__btn--primary,
    .page-privacy-policy__btn--secondary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-privacy-policy__bottom-cta {
        margin-top: 30px !important;
    }

    /* Article Content */
    .page-privacy-policy__section-title {
        font-size: 1.6em !important;
        margin-top: 30px !important;
        margin-bottom: 15px !important;
    }

    .page-privacy-policy__sub-section-title {
        font-size: 1.3em !important;
        margin-top: 25px !important;
        margin-bottom: 10px !important;
    }

    .page-privacy-policy p,
    .page-privacy-policy__list li {
        font-size: 0.95em !important;
    }

    .page-privacy-policy__list {
        margin-left: 20px !important;
    }

    /* Images and Figures */
    .page-privacy-policy__figure {
        margin: 20px 0 !important;
        padding: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-privacy-policy__figure img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}