.page-faq__hero-section {
    position: relative;
    background-color: #017439;
    color: #FFFFFF;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/5; /* 1920x600 */
    object-fit: cover;
    object-position: center;
    display: block;
    margin-bottom: 20px;
}

.page-faq__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 15px;
    padding-top: 10px; /* Small top padding */
}

.page-faq__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    margin-bottom: 15px;
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
}

.page-faq__description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.page-faq__content-section {
    padding: 40px 0;
    background-color: #FFFFFF;
    color: #333333;
}

.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-faq__section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    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: #017439;
    border-radius: 2px;
}

.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.page-faq__faq-question {
    display: block;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #017439;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
    background-color: #e6f7ed;
}

.page-faq__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

details[open] .page-faq__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-faq__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
}

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

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

.page-faq__cta-section {
    background-color: #017439;
    color: #FFFFFF;
    padding: 60px 0;
    text-align: center;
}

.page-faq__cta-section .page-faq__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-faq__cta-content {
    max-width: 700px;
    text-align: center;
}

.page-faq__cta-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFFFF;
}

.page-faq__cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-faq__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
    margin-top: 10px;
}

.page-faq__btn--primary, .page-faq__btn--register, .page-faq__btn--contact, .page-faq__btn--download {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808;
}

.page-faq__btn--primary:hover, .page-faq__btn--register:hover, .page-faq__btn--contact:hover, .page-faq__btn--download:hover {
    background-color: #e00b0b;
    transform: translateY(-2px);
}

.page-faq__btn--promotions {
    background-color: #017439;
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-faq__btn--promotions:hover {
    background-color: #005a2d;
    transform: translateY(-2px);
}

.page-faq__cta-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Mobile responsiveness */
@media (max-width: 849px) {
    .page-faq__main-title {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }
    .page-faq__description {
        font-size: 1rem;
    }
    .page-faq__section-title {
        font-size: clamp(1.3rem, 5vw, 2rem);
    }
    .page-faq__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-faq__faq-question::after {
        right: 20px;
    }
    .page-faq__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }
    .page-faq__cta-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    .page-faq__cta-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-image,
    .page-faq__content-section img,
    .page-faq__cta-image {
        max-width: 100%;
        height: auto;
    }
    .page-faq__hero-section {
        padding-bottom: 15px;
    }
    .page-faq__main-title {
        margin-bottom: 10px;
    }
    .page-faq__description {
        margin-bottom: 20px;
    }
    .page-faq__section-title {
        margin-bottom: 30px;
    }
    .page-faq__cta-section {
        padding: 40px 0;
    }
}

@media (max-width: 549px) {
    .page-faq__hero-image {
        aspect-ratio: 16/9; /* More common for mobile hero */
    }
    .page-faq__hero-content {
        padding: 0 10px;
        padding-top: 5px;
    }
    .page-faq__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-faq__description {
        font-size: 0.9rem;
    }
    .page-faq__section-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
        margin-bottom: 25px;
    }
    .page-faq__faq-question {
        font-size: 0.95rem;
        padding: 12px 18px;
    }
    .page-faq__faq-question::after {
        right: 18px;
        font-size: 1.3rem;
    }
    .page-faq__faq-answer {
        padding: 0 18px 12px;
        font-size: 0.9rem;
    }
    .page-faq__cta-title {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }
    .page-faq__cta-description {
        font-size: 0.9rem;
    }
    .page-faq__btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Ensure content images are not smaller than 200px */
/* This rule targets all images within the main content area of the FAQ page */
.page-faq__content-section img, .page-faq__cta-image {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Ensure it takes available width */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover;
}