/* style/privacy-policy.css */

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

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

/* Ensure headings maintain contrast */
.page-privacy-policy h1,
.page-privacy-policy h2,
.page-privacy-policy h3 {
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-privacy-policy__main-title {
    font-weight: bold;
    text-align: center;
    max-width: 900px; /* To prevent extremely long lines */
    margin-left: auto;
    margin-right: auto;
    /* No fixed font-size, relying on default browser scaling and responsive adjustments */
}

.page-privacy-policy__intro-text {
    text-align: center;
    max-width: 800px;
    margin: 20px auto 40px auto;
    color: var(--text-secondary);
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and text content */
    border-radius: 8px; /* Soften edges */
}

.page-privacy-policy__hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 1000px;
    box-sizing: border-box;
}

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

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--gold-color); /* Highlight section titles */
    text-align: left;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-main);
    text-align: left;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    color: var(--text-secondary);
    text-align: justify;
}

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

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

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

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

.page-privacy-policy__contact-link {
    color: var(--gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

/* FAQ styles (for details/summary) */
.page-privacy-policy__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    color: var(--text-main);
    font-weight: bold;
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--border-color);
}

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

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
}

.page-privacy-policy__faq-answer {
    padding: 15px 20px;
    color: var(--text-secondary);
    background-color: var(--card-bg);
    border-top: 1px solid var(--divider-color);
    text-align: justify;
}

/* Details specific styling for open state */
.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    border-bottom-color: transparent; /* Hide border when open */
}

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

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

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

    .page-privacy-policy__intro-text {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

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

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

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

    .page-privacy-policy__paragraph {
        font-size: 0.9em;
    }

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

    .page-privacy-policy__list-item {
        font-size: 0.9em;
    }

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

    .page-privacy-policy__hero-image,
    .page-privacy-policy__content-image {
        border-radius: 4px;
    }

    /* Containers for images/videos/buttons */
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__container,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal scroll */
    }

    /* FAQ for mobile */
    .page-privacy-policy__faq-question {
        padding: 12px 15px;
        font-size: 1em;
    }

    .page-privacy-policy__faq-answer {
        padding: 12px 15px;
        font-size: 0.85em;
    }
}

/* Ensure contrast for specific elements if needed, though general dark bg/light text should cover it */
.page-privacy-policy__contrast-fix {
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #e0e0e0 !important;
}

.page-privacy-policy__text-contrast-fix {
    color: #333333 !important;
    text-shadow: none !important;
}