/* style/privacy-policy.css */

/* Root variables for colors */
:root {
    --page-privacy-policy-primary-color: #11A84E; /* Main color */
    --page-privacy-policy-secondary-color: #22C768; /* Auxiliary color */
    --page-privacy-policy-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-privacy-policy-card-bg: #11271B;
    --page-privacy-policy-background: #08160F;
    --page-privacy-policy-text-main: #F2FFF6;
    --page-privacy-policy-text-secondary: #A7D9B8;
    --page-privacy-policy-border: #2E7A4E;
    --page-privacy-policy-glow: #57E38D;
    --page-privacy-policy-gold: #F2C14E;
    --page-privacy-policy-divider: #1E3A2A;
    --page-privacy-policy-deep-green: #0A4B2C;
}

/* Base styles for the main content area */
.page-privacy-policy {
    background-color: var(--page-privacy-policy-background); /* Dark background */
    color: var(--page-privacy-policy-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure some space at the bottom */
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-privacy-policy-deep-green); /* Ensure a base color */
    overflow: hidden; /* Prevent content overflow */
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1920px; /* Match max width of hero image */
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and text */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--page-privacy-policy-text-main);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-privacy-policy__subtitle {
    font-size: clamp(1em, 1.5vw, 1.25em);
    color: var(--page-privacy-policy-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--page-privacy-policy-primary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 600;
    border-bottom: 2px solid var(--page-privacy-policy-divider);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    color: var(--page-privacy-policy-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--page-privacy-policy-text-secondary);
}

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

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
}

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

.page-privacy-policy__image-inline {
    width: 100%;
    max-width: 800px; /* Adjust based on content width */
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__link {
    color: var(--page-privacy-policy-secondary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: var(--page-privacy-policy-glow);
}

/* Call to Action Button */
.page-privacy-policy__cta-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--page-privacy-policy-button-gradient);
    color: #ffffff; /* White text for button contrast */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--page-privacy-policy-card-bg); /* Dark card background */
    border: 1px solid var(--page-privacy-policy-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-privacy-policy-text-main); /* Light text for FAQ items */
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--page-privacy-policy-text-main);
    background-color: var(--page-privacy-policy-deep-green);
    border-bottom: 1px solid var(--page-privacy-policy-divider);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: var(--page-privacy-policy-primary-color);
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
    background-color: var(--page-privacy-policy-primary-color);
    border-bottom-color: transparent;
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-privacy-policy-text-main);
}

.page-privacy-policy__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--page-privacy-policy-text-secondary);
    line-height: 1.7;
    background-color: var(--page-privacy-policy-card-bg);
}

.page-privacy-policy__faq-answer p {
    margin: 0;
}

/* Hide default details marker */
.page-privacy-policy__faq-item summary::-webkit-details-marker,
.page-privacy-policy__faq-item summary::marker {
    display: none;
}

.page-privacy-policy__faq-item summary {
    list-style: none;
}


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

/* Mobile adaptation for images, videos, and buttons */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-privacy-policy__main-title {
        font-size: 2em;
    }

    .page-privacy-policy__subtitle {
        font-size: 1em;
    }

    .page-privacy-policy__content-area,
    .page-privacy-policy__hero-content,
    .page-privacy-policy__cta-container,
    .page-privacy-policy__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video responsiveness (if any) - added for completeness based on general rules */
    .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;
    }

    /* Button responsiveness */
    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.2em;
    }

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

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