/* style/privacy-policy.css */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0d0d0d; /* Inherited from body, ensure consistency */
}

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

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    text-align: center;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

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

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

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

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

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #26A9E0; /* Brand primary color for titles */
    text-align: center;
    padding-top: 30px;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #333333;
}

.page-privacy-policy__text-block {
    margin-bottom: 40px;
    padding: 0 20px;
}

.page-privacy-policy__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
    color: #333333;
}

.page-privacy-policy__text-block ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: #333333;
}

.page-privacy-policy__text-block li {
    margin-bottom: 8px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #333333;
}

.page-privacy-policy__text-block a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

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

.page-privacy-policy__contact-list {
    list-style-type: none;
    padding: 0;
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
}

.page-privacy-policy__faq-list {
    margin-top: 50px;
    padding: 0 20px;
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #333333;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

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

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer p {
    padding-top: 15px;
    padding-bottom: 15px;
    margin: 0;
    color: #333333;
}

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

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

/* Image and media responsiveness */
.page-privacy-policy img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    .page-privacy-policy__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

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

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

    .page-privacy-policy__text-block {
        padding: 0 15px;
    }

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

    .page-privacy-policy__btn-primary {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        margin-left: 0;
        margin-right: 0;
    }

    /* Ensure all images are responsive and do not overflow */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Ensure containers with images/content are responsive */
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .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;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-privacy-policy__faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px 20px !important;
    }
}