/* style/privacy-policy.css */

/* Custom properties from shared.css will handle --header-offset */
/* Body background is #08160F (dark), so main text color should be light #F2FFF6 */

.page-privacy-policy {
    background-color: var(--background-color, #08160F); /* Ensure consistency with body background */
    color: var(--text-main, #F2FFF6); /* Main text color */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    background-color: var(--card-bg, #11271B); /* Dark background for hero */
    color: var(--text-main, #F2FFF6);
    text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for hero image */
    margin-bottom: 20px; /* Space between image and text */
}

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

.page-privacy-policy__hero-content {
    width: 100%;
    max-width: 800px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
}

.page-privacy-policy__section {
    padding: 60px 0;
    background-color: var(--background-color, #08160F);
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    color: var(--gold, #F2C14E); /* Using gold for main section titles */
    margin-bottom: 30px;
    text-align: center;
}

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

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-privacy-policy__content-image {
    width: 100%;
    max-width: 800px; /* Adjust based on actual content area */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-privacy-policy__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-privacy-policy__list-item {
    background-color: var(--card-bg, #11271B); /* Dark background for list items */
    border-left: 4px solid var(--deep-green, #0A4B2C);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    color: var(--text-main, #F2FFF6);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-privacy-policy__list-item strong {
    color: var(--gold, #F2C14E);
}

.page-privacy-policy__link {
    color: var(--glow, #57E38D); /* Link color */
    text-decoration: none;
}

.page-privacy-policy__link:hover {
    text-decoration: underline;
}

/* FAQ styles (if used) */
.page-privacy-policy__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--border, #2E7A4E);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-item details > summary {
    list-style: none; /* Hide default marker for details */
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: var(--card-bg, #11271B);
    color: var(--text-main, #F2FFF6);
    font-weight: 600;
    font-size: 1.1em;
    border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-privacy-policy__faq-question:hover {
    background-color: var(--deep-green, #0A4B2C);
}

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

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-privacy-policy__faq-answer {
    padding: 20px;
    color: var(--text-secondary, #A7D9B8);
    background-color: var(--background-color, #08160F);
    border-top: 1px solid var(--divider, #1E3A2A);
}

/* Ensure content area images are not too small as per global rule */
.page-privacy-policy__content-image {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filter on images */
.page-privacy-policy img {
    filter: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .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__description {
        font-size: 1em;
    }

    .page-privacy-policy__section {
        padding: 40px 0;
    }

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

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

    .page-privacy-policy__container,
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .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 */
    }

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

    /* Ensure content area images are not too small */
    .page-privacy-policy__content-image {
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Buttons responsive */
    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        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;
        margin-bottom: 10px; /* Add some space if stacked */
    }

    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}