/* style/privacy-policy.css */

/* Custom Colors from palette */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --body-bg: #08160F; /* This is the main background, from shared.css */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-privacy-policy {
    background-color: var(--body-bg); /* Ensure main content area also has dark background */
    color: var(--text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom before footer */
}

.page-privacy-policy__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 40px; /* Small top padding, more bottom padding */
    position: relative;
    overflow: hidden;
    background-color: var(--deep-green); /* A slightly different dark green for hero */
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1200px; /* Constrain image width on larger screens */
    height: auto;
    object-fit: cover;
    margin-top: 30px; /* Space between text and image */
    border-radius: 10px;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure text is above any potential background elements */
    padding: 20px 0;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--gold-color); /* Gold color for main title */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-privacy-policy__hero-description {
    font-size: clamp(1em, 1.8vw, 1.2em);
    color: var(--text-secondary); /* Lighter green text for description */
    max-width: 800px;
    margin: 0 auto;
}

.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--body-bg); /* Ensure content area also uses body background */
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--primary-color); /* Primary green for section titles */
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 10px;
    font-weight: bold;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    color: var(--text-main); /* Main text color for sub-titles */
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy p {
    margin-bottom: 20px;
    color: var(--text-main); /* Ensure paragraphs use main text color */
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-main); /* Ensure list items use main text color */
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
    color: var(--text-main); /* Ensure list items use main text color */
}

.page-privacy-policy__list li strong {
    color: var(--text-secondary); /* Highlight strong text in lists */
}

.page-privacy-policy__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Ensure all images are responsive and not too small */
.page-privacy-policy img {
    max-width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Minimum display size */
    min-height: 200px; /* Minimum display size */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-privacy-policy__hero-section {
        padding: 10px 15px 30px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-privacy-policy__hero-description {
        font-size: clamp(0.9em, 3.5vw, 1.1em);
    }

    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: clamp(1.2em, 5vw, 1.6em);
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset; /* Allow smaller display if needed, but still max-width 100% */
        min-height: unset;
    }

    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
}

/* No filter properties on images */
.page-privacy-policy img {
    filter: none; /* Explicitly ensure no filters are applied */
}