/* style/privacy-policy.css */

/* --- Base Styles for page-privacy-policy --- */
.page-privacy-policy {
    background-color: var(--bg-color, #08160F); /* Default to Deep Green if --bg-color not set */
    color: var(--text-main-color, #F2FFF6); /* Main text color, assuming dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

/* --- Hero Section --- */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Stacks image above content */
    align-items: center;
    padding: 10px 0 40px 0; /* Small top padding, more bottom padding */
    overflow: hidden; /* Ensure no overflow */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px; /* Space between image and text content */
}

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

.page-privacy-policy__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    color: var(--text-main-color, #F2FFF6);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main-color, #F2FFF6);
    max-width: 100%; /* Ensure H1 doesn't overflow */
    box-sizing: border-box;
}

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

/* --- Content Area --- */
.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: var(--card-bg-color, #11271B); /* Card BG for content sections */
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color, #2E7A4E);
}

.page-privacy-policy__content-area p {
    margin-bottom: 1em;
    color: var(--text-main-color, #F2FFF6);
}

.page-privacy-policy__content-area strong {
    color: var(--gold-color, #F2C14E); /* Highlight strong text with gold */
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--text-main-color, #F2FFF6);
    margin-bottom: 25px;
    text-align: left;
    font-weight: 600;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.6em;
    color: var(--gold-color, #F2C14E);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy__content-area ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 1em;
    color: var(--text-main-color, #F2FFF6);
}

.page-privacy-policy__content-area li {
    margin-bottom: 0.5em;
}

.page-privacy-policy__image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin: 30px 0;
    border-radius: 8px;
    background-color: var(--deep-green-color, #0A4B2C); /* Placeholder background */
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px; /* Match container border-radius */
}

.page-privacy-policy__last-updated {
    font-style: italic;
    color: var(--text-secondary-color, #A7D9B8);
    text-align: right;
    margin-top: 30px;
}

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

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

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

.page-privacy-policy__faq-item {
    background-color: var(--card-bg-color, #11271B);
    border: 1px solid var(--border-color, #2E7A4E);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden; /* For smooth transition on details tag */
}

.page-privacy-policy__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main-color, #F2FFF6);
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

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

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--text-main-color, #F2FFF6);
}

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

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

.page-privacy-policy__faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--text-secondary-color, #A7D9B8);
    font-size: 0.95em;
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
}

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

    .page-privacy-policy__hero-section {
        padding: 10px 0 30px 0;
    }

    .page-privacy-policy__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }

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

    .page-privacy-policy__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__content-area {
        padding: 25px 15px;
        margin-bottom: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 0; /* Full width sections often look better without rounded corners on mobile */
    }

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

    .page-privacy-policy__sub-section-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__image-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0 !important; /* Adjust if content area has padding */
        padding-right: 0 !important; /* Adjust if content area has padding */
    }

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

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