/* style/privacy-policy.css */
.page-privacy-policy {
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Ensure main content area has a background */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

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

.page-privacy-policy__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0; /* Brand color as background */
    color: #ffffff;
    overflow: hidden;
}

.page-privacy-policy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-privacy-policy__intro-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
    color: #ffffff;
}

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

.page-privacy-policy__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

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

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

.page-privacy-policy__section-title {
    font-size: 2em;
    color: #26A9E0;
    margin-bottom: 30px;
    text-align: center;
    padding-top: 20px;
}

.page-privacy-policy__text-block {
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.7;
    font-size: 1.1em;
    padding: 0 20px;
}

.page-privacy-policy__text-block h3 {
    font-size: 1.5em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block p {
    margin-bottom: 15px;
}

.page-privacy-policy__text-block ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block ol {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 15px;
}

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

.page-privacy-policy__text-block a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-privacy-policy__text-block a:hover {
    color: #1a7fb3;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

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

.page-privacy-policy__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: #f0f0f0;
}

.page-privacy-policy__faq-title {
    font-size: 1.2em;
    color: #333333;
    margin: 0;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

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

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

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

    .page-privacy-policy__text-block {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-privacy-policy__text-block h3 {
        font-size: 1.3em;
    }

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

    .page-privacy-policy__faq-title {
        font-size: 1.1em;
    }

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

    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 10px 20px 20px 20px;
    }

    /* Images responsive on mobile */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__container,
    .page-privacy-policy__text-block,
    .page-privacy-policy__faq-list,
    .page-privacy-policy__faq-item,
    .page-privacy-policy__faq-question,
    .page-privacy-policy__faq-answer {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    /* Buttons responsive on mobile */
    .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-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__hero-section .page-privacy-policy__container {
        padding-left: 0;
        padding-right: 0;
    }
    .page-privacy-policy__hero-section .page-privacy-policy__btn-primary {
        margin: 0 15px;
    }
}