/* style/privacy-policy.css */

/* Custom properties for colors */
:root {
    --page-privacy-policy-bg-color: #08160F;
    --page-privacy-policy-card-bg: #11271B;
    --page-privacy-policy-text-main: #F2FFF6;
    --page-privacy-policy-text-secondary: #A7D9B8;
    --page-privacy-policy-border-color: #2E7A4E;
    --page-privacy-policy-glow-color: #57E38D;
    --page-privacy-policy-gold-color: #F2C14E;
    --page-privacy-policy-divider-color: #1E3A2A;
    --page-privacy-policy-deep-green-color: #0A4B2C;
    --page-privacy-policy-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-privacy-policy {
    background-color: var(--page-privacy-policy-bg-color);
    color: var(--page-privacy-policy-text-main); /* Main text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
    background-color: var(--page-privacy-policy-deep-green-color); /* Fallback background */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height of image wrapper */
    overflow: hidden;
    position: relative;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text contrast, allowed as it's not changing color hue */
}

.page-privacy-policy__hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
    text-align: center;
    position: relative; /* Ensure content is above image but not overlapping */
    z-index: 1;
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2em, 4vw, 3em); /* Use clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-privacy-policy-gold-color);
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
    background: var(--page-privacy-policy-btn-gradient);
    color: var(--page-privacy-policy-text-main);
    border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--page-privacy-policy-glow-color);
    border: 2px solid var(--page-privacy-policy-glow-color);
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--page-privacy-policy-glow-color);
    color: var(--page-privacy-policy-bg-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--page-privacy-policy-bg-color);
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__dark-section {
    background-color: var(--page-privacy-policy-bg-color);
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--page-privacy-policy-gold-color);
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--page-privacy-policy-glow-color);
}

.page-privacy-policy__text-block {
    margin-bottom: 15px;
    color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__text-block a {
    color: var(--page-privacy-policy-glow-color);
    text-decoration: underline;
}

.page-privacy-policy__text-block a:hover {
    color: var(--page-privacy-policy-gold-color);
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
}

.page-privacy-policy__list-item strong {
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__list-item a {
    color: var(--page-privacy-policy-glow-color);
    text-decoration: underline;
}

.page-privacy-policy__list-item a:hover {
    color: var(--page-privacy-policy-gold-color);
}

.page-privacy-policy__image-wrapper {
    margin: 30px auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--page-privacy-policy-border-color);
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    object-fit: cover;
}

.page-privacy-policy__cta-block {
    background-color: var(--page-privacy-policy-card-bg);
    border: 1px solid var(--page-privacy-policy-border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-text {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--page-privacy-policy-text-main);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
    background-color: var(--page-privacy-policy-bg-color);
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--page-privacy-policy-card-bg);
    border: 1px solid var(--page-privacy-policy-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__faq-item[open] {
    background-color: var(--page-privacy-policy-deep-green-color);
    border-color: var(--page-privacy-policy-glow-color);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    color: var(--page-privacy-policy-text-main);
    user-select: none;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-item summary::marker {
    display: none;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-privacy-policy-glow-color);
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an 'x' or 'minus' */
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 10px;
}

.page-privacy-policy__faq-answer a {
    color: var(--page-privacy-policy-glow-color);
    text-decoration: underline;
}

.page-privacy-policy__faq-answer a:hover {
    color: var(--page-privacy-policy-gold-color);
}

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

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

    .page-privacy-policy__main-title {
        font-size: 2em; /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }

    .page-privacy-policy__hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section {
        padding: 20px 15px;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.3em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__image-wrapper {
        margin: 20px auto;
        border-radius: 8px;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size even on mobile */
        min-height: 200px !important;
    }
    
    /* All containers that might hold images/content */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__cta-block,
    .page-privacy-policy__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Video responsiveness (even if no video on this page, include as per prompt) */
    .page-privacy-policy video,
    .page-privacy-policy__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__video-section,
    .page-privacy-policy__video-container,
    .page-privacy-policy__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-privacy-policy__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    
    .page-privacy-policy__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

/* Ensure no content area images are smaller than 200px */
.page-privacy-policy__content-area img,
.page-privacy-policy__image-wrapper img {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow auto width for larger screens to respect aspect ratio */
    height: auto;
}

/* No CSS filter for images */
.page-privacy-policy img {
    filter: none; /* Explicitly remove any potential filter effects */
}
/* Re-apply brightness filter only for hero image if desired, as it's not changing hue */
.page-privacy-policy__hero-image {
    filter: brightness(0.7);
}

/* Special case for links within text blocks to ensure contrast */
.page-privacy-policy__text-block a,
.page-privacy-policy__list-item a {
    color: var(--page-privacy-policy-glow-color); /* Ensure contrast against dark background */
    text-decoration: underline;
}

.page-privacy-policy__text-block a:hover,
.page-privacy-policy__list-item a:hover {
    color: var(--page-privacy-policy-gold-color);
}