body {
    background-color: #08160F; /* Background color from custom palette */
    padding-top: var(--header-offset); /* Handled by shared, not page-faq */
}

.page-faq {
    color: #F2FFF6; /* Main text color from custom palette for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-faq__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: #0A4B2C; /* Deep Green from palette */
    overflow: hidden;
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 20px;
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-faq__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-faq__hero-description {
    font-size: 1.15rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color from custom palette */
    color: #F2FFF6; /* Text Main for button text */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-faq__faq-section {
    padding: 60px 0;
    background-color: #08160F; /* Background color from custom palette */
}

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

.page-faq__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.page-faq__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #11A84E; /* Main color */
    border-radius: 2px;
}

.page-faq__faq-group {
    margin-bottom: 50px;
    background-color: #11271B; /* Card B G from custom palette */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #2E7A4E; /* Border color */
}

.page-faq__group-title {
    font-size: 2rem;
    color: #57E38D; /* Glow color */
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.page-faq__group-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.page-faq__faq-item {
    background-color: #0A4B2C; /* Deep Green from palette */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #2E7A4E; /* Border color */
}

.page-faq__faq-item[open] {
    background-color: #0A4B2C;
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    list-style: none;
    position: relative;
}

.page-faq__faq-question::-webkit-details-marker {
    display: none;
}

.page-faq__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-faq__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    color: #57E38D; /* Glow color */
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.page-faq__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-faq__faq-item[open] .page-faq__faq-answer {
    max-height: 1000px; /* Adjust as needed for content */
    transition: max-height 0.5s ease-in;
}

.page-faq__faq-answer p {
    margin-bottom: 10px;
}

.page-faq__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-faq__faq-answer a {
    color: #57E38D; /* Glow color for links */
    text-decoration: underline;
}

.page-faq__faq-answer a:hover {
    color: #2AD16F;
}

.page-faq__cta-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #11271B; /* Card B G */
    border-radius: 12px;
    margin-top: 50px;
    border: 1px solid #2E7A4E;
}

.page-faq__cta-text {
    font-size: 1.3rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 25px;
    font-weight: 500;
}

.page-faq__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    background: transparent;
    color: #57E38D; /* Glow color for text */
    border: 2px solid #57E38D; /* Glow color for border */
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-faq__btn-secondary:hover {
    background: #57E38D;
    color: #08160F; /* Background color for hover text */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

/* --- Responsive Styles --- */

/* All images basic responsive style */
.page-faq img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* All videos basic responsive style (no video on this page, but include for robustness) */
.page-faq video,
.page-faq__video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* Video container basic responsive style */
.page-faq__video-section,
.page-faq__video-container,
.page-faq__video-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* All buttons basic responsive style */
.page-faq__cta-button,
.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq a[class*="button"],
.page-faq a[class*="btn"] {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

/* Button container basic responsive style */
.page-faq__cta-buttons,
.page-faq__button-group,
.page-faq__btn-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .page-faq__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-faq__section-title {
        font-size: 2.2rem;
    }
    .page-faq__group-title {
        font-size: 1.8rem;
    }
}

/* Mobile forced adaptation */
@media (max-width: 768px) {
    .page-faq img,
    .page-faq video,
    .page-faq__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__video-section,
    .page-faq__video-container,
    .page-faq__video-wrapper,
    .page-faq__cta-buttons,
    .page-faq__button-group,
    .page-faq__btn-container,
    .page-faq__hero-section,
    .page-faq__faq-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    .page-faq__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles --header-offset */
    }

    .page-faq__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .page-faq__hero-description {
        font-size: 1rem;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        max-width: 100% !important;
        width: 100% !important; /* Ensure buttons take full width if stacked */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }

    /* If multiple buttons horizontally, allow wrapping */
    .page-faq__cta-buttons {
        display: flex;
        flex-direction: column !important; /* Stack buttons vertically on mobile */
        gap: 15px; /* Space between stacked buttons */
    }

    .page-faq__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .page-faq__group-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .page-faq__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-faq__faq-toggle {
        font-size: 1.5rem;
    }

    .page-faq__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    .page-faq__cta-text {
        font-size: 1.1rem;
    }

    .page-faq__hero-image-wrapper {
      max-height: 300px;
    }
}