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

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

.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 as body already handles --header-offset */
    text-align: center;
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin-top: 40px;
    z-index: 1;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

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

.page-privacy-policy__btn-primary {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-main);
}

.page-privacy-policy__container {
    padding: 20px;
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 10px;
    font-weight: bold;
}

.page-privacy-policy__sub-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

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

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

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

.page-privacy-policy__image-inline {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

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

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

.page-privacy-policy__faq-item {
    background-color: var(--deep-green-color);
    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;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--deep-green-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

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

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

.page-privacy-policy__faq-answer {
    padding: 0 20px 15px;
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

/* Details element specific styles */
details.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 0 20px 15px;
}

/* Fallback for non-details (div based) if active class is toggled by JS */
.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 500px !important;
    padding: 0 20px 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-privacy-policy__hero-content {
        margin-top: 20px;
    }

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

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

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

    .page-privacy-policy__container {
        padding: 10px;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.2em;
        margin-top: 20px;
    }

    /* Mobile image adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__content-area,
    .page-privacy-policy__container,
    .page-privacy-policy__faq-item,
    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile button adaptation */
    .page-privacy-policy__btn-primary {
        white-space: normal !important;
        word-wrap: break-word !important;
        text-align: center;
    }

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

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

@media (min-width: 769px) {
    .page-privacy-policy__hero-image-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }

    .page-privacy-policy__hero-image {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .page-privacy-policy__hero-section {
        min-height: 550px; /* Ensure hero section has enough height */
        justify-content: center;
    }
}