/* style/privacy-policy.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-on-dark: #FFFFFF;
    --text-on-light: #333333;
    --bg-dark: #121212; /* From body background */
    --bg-light: #f8f9fa;
    --btn-login: #EA7C07;
}

.page-privacy-policy {
    color: var(--text-on-dark); /* Default text color for dark body background */
    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;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    background-color: var(--bg-dark);
}

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1; /* Ensure content is above image if any overlap occurs visually */
}

.page-privacy-policy__main-title {
    color: var(--text-on-dark);
    font-size: clamp(2em, 4vw, 3em);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-privacy-policy__description {
    color: var(--text-on-dark);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-privacy-policy__content-section {
    padding: 60px 20px;
}

.page-privacy-policy__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-on-dark);
}

.page-privacy-policy__light-bg {
    background-color: var(--bg-light);
    color: var(--text-on-light);
}

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

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.page-privacy-policy__dark-bg .page-privacy-policy__section-title {
    color: var(--primary-color);
}

.page-privacy-policy__light-bg .page-privacy-policy__section-title {
    color: var(--primary-color);
}

.page-privacy-policy__subsection-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    font-size: 1em;
}

.page-privacy-policy ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

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

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-privacy-policy a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.page-privacy-policy__btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%); /* Example of a darker hover state */
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    color: var(--text-on-light);
}

.page-privacy-policy__faq-list {
    margin-top: 40px;
}

.page-privacy-policy__faq-item {
    background-color: var(--secondary-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
}

.page-privacy-policy__faq-item details > summary {
    list-style: none;
}

.page-privacy-policy__faq-item details > summary::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    border-bottom: 1px solid var(--primary-color);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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: 20px;
    font-size: 0.95em;
    color: var(--text-on-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-image {
        max-width: 1000px;
        height: 563px;
    }
}

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

    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-section,
    .page-privacy-policy__faq-section {
        padding: 40px 15px;
    }

    .page-privacy-policy__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

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

    .page-privacy-policy__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 20px;
    }

    .page-privacy-policy__subsection-title {
        font-size: clamp(1.2em, 5vw, 1.5em);
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
    }

    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px;
        text-align: center;
    }

    /* Ensure all content containers are responsive */
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__hero-section {
        padding-top: 10px !important;
    }

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

@media (max-width: 480px) {
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-section,
    .page-privacy-policy__faq-section {
        padding: 30px 10px;
    }

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

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

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