/* 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: var(--dark-bg-1); /* Inherit from shared */
}

.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;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF;
    text-align: center;
    overflow: hidden;
}

.page-privacy-policy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
}

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

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

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

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #EA7C07; /* Login/CTA color */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
    background-color: #d16b00;
    transform: translateY(-2px);
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #26A9E0; /* Brand color for titles */
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

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

.page-privacy-policy__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    color: #333333;
}

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

.page-privacy-policy__list-item strong {
    color: #26A9E0;
}

.page-privacy-policy__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-privacy-policy__content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-privacy-policy__link {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: #1a7bb5;
    text-decoration: underline;
}

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

.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: #f0f0f0;
    color: #333333;
    font-weight: bold;
    font-size: 1.15em;
    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.15em;
    color: #333333;
}

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

.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;
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #555555;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 2.8em;
    }

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

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }
    .page-privacy-policy__hero-title {
        font-size: 2.2em;
    }
    .page-privacy-policy__hero-description {
        font-size: 1em;
        padding: 0 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        padding: 0 15px;
    }
    .page-privacy-policy__text-block,
    .page-privacy-policy__list,
    .page-privacy-policy__list-item,
    .page-privacy-policy__faq-question,
    .page-privacy-policy__faq-answer p {
        font-size: 1em;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__container {
        padding: 0 15px;
    }
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__content-area,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    .page-privacy-policy__faq-item {
        margin: 0 15px 15px 15px;
    }
    .page-privacy-policy__cta-button {
        max-width: 100% !important;
        width: calc(100% - 30px) !important; /* Account for padding */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 10px 20px;
    }
}

/* Contrast Fixes (if needed, based on body background) */
.page-privacy-policy__dark-bg {
  color: #ffffff;
}
.page-privacy-policy__light-bg {
  color: #333333;
}