/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    color: #f0f0f0; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Inherit from body or shared.css */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #1a1a1a; /* Slightly lighter dark background for hero */
    color: #ffffff;
    overflow: hidden;
}

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

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

.page-privacy-policy__hero-content {
    max-width: 800px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for main title */
}

.page-privacy-policy__description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Content Area */
.page-privacy-policy__content-area {
    background-color: #ffffff; /* Light background for main content */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}

.page-privacy-policy__content-area .page-privacy-policy__section-title {
    color: #26A9E0; /* Brand color for section titles */
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: 600;
}

.page-privacy-policy__content-area .page-privacy-policy__text-block {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-privacy-policy__content-area .page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding: 0;
}

.page-privacy-policy__content-area .page-privacy-policy__list-item {
    margin-bottom: 10px;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
    background-color: #1a1a1a; /* Dark background */
    color: #ffffff; /* Light text */
    padding: 60px 0;
}

.page-privacy-policy__faq-section .page-privacy-policy__section-title {
    color: #26A9E0; /* Brand color for FAQ title */
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2em;
    font-weight: 700;
}

.page-privacy-policy__faq-list {
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-privacy-policy__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff; /* Light text for FAQ items */
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15); /* Slightly darker for question */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    color: #ffffff;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0; /* Brand color for toggle icon */
}

.page-privacy-policy__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: #f0f0f0;
}

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

/* CTA Block */
.page-privacy-policy__cta-block {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: #26A9E0; /* Brand color background */
    border-radius: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff; /* White text for brand color background */
}

.page-privacy-policy__cta-text {
    font-size: 1.3em;
    margin-bottom: 20px;
    font-weight: 600;
    color: #ffffff;
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #d46f06;
}

/* Links within content */
.page-privacy-policy a {
    color: #26A9E0; /* Brand color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: #1e87b7;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-privacy-policy__container {
        padding: 0 15px;
    }

    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

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

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for smaller screens */
    }

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

    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section {
        padding: 40px 0;
    }

    .page-privacy-policy__content-area .page-privacy-policy__section-title,
    .page-privacy-policy__faq-section .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-question,
    .page-privacy-policy__faq-answer {
        font-size: 0.95em;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile button responsiveness */
    .page-privacy-policy__btn-primary,
    .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;
        display: block !important; /* Ensure buttons stack */
        margin-bottom: 10px; /* Add spacing between stacked buttons */
    }

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