/* style/privacy-policy.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #26A9E0;
    --button-login-color: #EA7C07;
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default to dark text for light background */
    background-color: var(--bg-light); /* Assuming shared.css sets a light body background */
}

.page-privacy-policy__hero-section {
    position: relative;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first section */
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a7bb0 100%);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
}

.page-privacy-policy__hero-content {
    max-width: 600px;
    z-index: 1;
}

.page-privacy-policy__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--secondary-color);
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-privacy-policy__hero-image-wrapper {
    flex-shrink: 0;
    max-width: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: var(--button-login-color);
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #cc6a00;
    transform: translateY(-2px);
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--bg-light);
}

.page-privacy-policy__container {
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.6em;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
    font-size: 1.05em;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-privacy-policy__link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: #1a7bb0;
}

.page-privacy-policy__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section Styling (if needed, though not explicitly in prompt, good for long content) */
.page-privacy-policy__faq-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

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

.page-privacy-policy__faq-item summary {
    display: block;
    cursor: pointer;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    list-style: none;
    outline: none;
    position: relative;
    user-select: none;
}

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

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    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 20px;
    font-size: 1.05em;
    color: var(--text-dark);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 2.5em;
    }
    .page-privacy-policy__hero-description {
        font-size: 1.1em;
    }
    .page-privacy-policy__hero-section {
        flex-direction: column;
        text-align: center;
    }
    .page-privacy-policy__hero-image-wrapper {
        margin-top: 30px;
    }
}

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

    .page-privacy-policy__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
        text-align: center;
    }

    .page-privacy-policy__hero-title {
        font-size: 2em;
    }

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

    .page-privacy-policy__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
        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: 40px 15px;
    }

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

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

    /* Mobile image responsive adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !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: 0px;
        padding-right: 0px;
        overflow: hidden !important;
    }

    /* Mobile video responsive adaptation (if any video) */
    .page-privacy-policy video,
    .page-privacy-policy__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__video-section,
    .page-privacy-policy__video-container,
    .page-privacy-policy__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-privacy-policy__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Mobile button responsive adaptation */
    .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;
    }
    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}

/* Ensure contrast for critical elements */
.page-privacy-policy__dark-bg {
    color: var(--text-light);
    background: var(--primary-color);
}

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

.page-privacy-policy__btn-primary {
    background: var(--button-login-color);
    color: var(--text-light);
}

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