/* style/privacy-policy.css */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark, so text is light */
    background-color: #0a0a0a; /* Inherited from shared, but specified for clarity */
}

.page-privacy-policy__hero-section {
    background-color: #017439; /* Brand color */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-privacy-policy__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

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

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Custom color for registration/login */
    color: #FFFF00; /* Custom font color for registration/login */
    padding: 15px 30px;
    border-radius: 8px;
    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: #a00606;
}

.page-privacy-policy__hero-image-wrapper {
  max-width: 1000px; /* Adjust as needed */
  width: 100%;
  margin-top: 20px;
}

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

.page-privacy-policy__content-section {
    background-color: #1a1a1a; /* Darker background for content contrast */
    padding: 60px 20px;
    color: #ffffff; /* Light text on dark background */
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #017439; /* Brand color for titles */
    margin-bottom: 30px;
    text-align: left;
    border-bottom: 2px solid #017439;
    padding-bottom: 10px;
}

.page-privacy-policy__section-title--white {
    color: #ffffff; /* White title for dark sections */
    border-bottom-color: #ffffff;
}

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

.page-privacy-policy__paragraph {
    margin-bottom: 20px;
    color: #e0e0e0;
}

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
}

.page-privacy-policy__inline-link {
    color: #017439; /* Brand color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__inline-link:hover {
    color: #004d2b;
}

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

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

/* FAQ Section */
.page-privacy-policy__faq-section {
    background-color: #0a0a0a; /* Body background color */
    padding: 60px 20px;
    color: #ffffff;
}

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

.page-privacy-policy__faq-item {
    background-color: #1a1a1a; /* Darker background for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #017439; /* Brand color for question */
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-title {
    margin: 0;
    color: #ffffff;
}

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate to form an 'x' or '-' */
}

.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: #2a2a2a; /* Slightly lighter dark for answer content */
    color: #e0e0e0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        flex-direction: column;
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
    }

    .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: 0.9em;
        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-section,
    .page-privacy-policy__faq-section {
        padding: 40px 15px;
    }

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

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

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 0.95em;
    }

    .page-privacy-policy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }
    
    .page-privacy-policy__faq-question {
        font-size: 1em;
        padding: 15px;
    }

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