/* style/privacy-policy.css */

/* Base styles for the privacy policy page content */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Default text color, assuming dark body background */
    background-color: var(--background-color, #08160F); /* Ensure consistency with body background */
}

/* Ensure sections use the correct text color based on their background */
.page-privacy-policy__section {
    padding: 40px 20px;
    background-color: var(--background-color, #08160F); /* Default section background */
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__dark-section {
    background-color: var(--card-bg, #11271B); /* Use Card BG for darker sections */
    color: var(--text-main, #F2FFF6); /* Ensure light text on dark background */
}

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    text-align: center;
    background-color: var(--card-bg, #11271B); /* Dark background for hero */
    color: var(--text-main, #F2FFF6);
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__hero-content-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 20px;
}

.page-privacy-policy__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

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

.page-privacy-policy__intro-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-secondary, #A7D9B8);
    max-width: 800px;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
}

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-privacy-policy__section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-main, #F2FFF6);
    border-bottom: 2px solid var(--divider, #1E3A2A);
    padding-bottom: 15px;
}

.page-privacy-policy__sub-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-main, #F2FFF6);
}

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

.page-privacy-policy__text-block ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: var(--text-secondary, #A7D9B8);
}

.page-privacy-policy__text-block ul li {
    margin-bottom: 8px;
}

.page-privacy-policy__text-block strong {
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__text-block a {
    color: var(--primary-color, #11A84E); /* Use primary color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__text-block a:hover {
    color: var(--secondary-color, #22C768);
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

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

.page-privacy-policy__faq-item {
    background-color: var(--card-bg, #11271B); /* Dark background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main, #F2FFF6);
}

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

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    border-bottom: 1px solid transparent; /* No border when open */
}

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

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

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

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

    .page-privacy-policy__hero-section {
        padding-bottom: 40px;
    }

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

    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-privacy-policy__intro-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

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

    /* Images responsiveness */
    .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;
    }

    /* Containers with images/videos */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-content-wrapper,
    .page-privacy-policy__text-block,
    .page-privacy-policy__faq-item {
        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 */
    }
    
    /* FAQ responsive */
    .page-privacy-policy__faq-question {
        padding: 15px;
        font-size: 1rem;
    }

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