.page-faq__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--background-color, #FFFFFF);
    color: #000000; /* Default text color */
    text-align: center;
    padding-bottom: 40px;
}

.page-faq__hero-banner {
    margin: 0;
    overflow: hidden;
    max-width: 100%;
    display: block;
}

.page-faq__hero-banner img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9; /* Common hero aspect ratio */
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px;
}

.page-faq__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 15px;
}

.page-faq__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000000;
    margin-bottom: 15px;
    font-size: clamp(1.8rem, 4.5vw, 2.5rem); /* Responsive font size for H1 */
}

.page-faq__description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333333;
    max-width: 700px;
    margin: 0 auto;
}

.page-faq__faq-list-section {
    padding: 60px 0;
    background-color: var(--background-color, #FFFFFF);
    color: #000000;
}

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

.page-faq__section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-faq__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--main-color, #26A9E0);
}

.page-faq__accordion {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.page-faq__accordion-item {
    border-bottom: 1px solid #e0e0e0;
}

.page-faq__accordion-item:last-child {
    border-bottom: none;
}

.page-faq__accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #f9f9f9;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-faq__accordion-header:hover {
    background-color: #f0f0f0;
}

.page-faq__accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-faq__accordion-header[aria-expanded="true"]::after {
    content: '-';
    transform: rotate(0deg);
}

.page-faq__accordion-content {
    padding: 0 25px;
    background-color: #FFFFFF;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq__accordion-content[aria-hidden="false"] {
    max-height: 500px; /* Adjust as needed */
    padding: 15px 25px 25px;
}

.page-faq__accordion-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #333333;
    font-size: 1rem;
}

.page-faq__accordion-content p:last-child {
    margin-bottom: 0;
}

.page-faq__accordion-content a {
    color: var(--main-color, #26A9E0);
    text-decoration: none;
    font-weight: 500;
}

.page-faq__accordion-content a:hover {
    text-decoration: underline;
}

.page-faq__cta-section {
    padding: 60px 0;
    background-color: var(--main-color, #26A9E0);
    color: #FFFFFF;
    text-align: center;
}

.page-faq__cta-content {
    padding: 0 15px;
}

.page-faq__cta-section .page-faq__section-title {
    color: #FFFFFF;
}

.page-faq__cta-section .page-faq__section-title::after {
    background-color: #FFFFFF;
}

.page-faq__cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-faq__button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
}

.page-faq__button--contact {
    background-color: #FFFFFF;
    color: var(--main-color, #26A9E0);
    border: 2px solid #FFFFFF;
}

.page-faq__button--contact:hover {
    background-color: var(--main-color, #26A9E0);
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.page-faq__button--register {
    background-color: var(--login-color, #EA7C07);
    color: #FFFFFF;
    border: 2px solid var(--login-color, #EA7C07);
}

.page-faq__button--register:hover {
    background-color: #FFFFFF;
    color: var(--login-color, #EA7C07);
    border-color: var(--login-color, #EA7C07);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-faq__hero-content {
        padding: 15px;
    }

    .page-faq__main-title {
        font-size: clamp(1.6rem, 7vw, 2.2rem);
    }

    .page-faq__description {
        font-size: 1rem;
    }

    .page-faq__faq-list-section, .page-faq__cta-section {
        padding: 40px 0;
    }

    .page-faq__section-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        margin-bottom: 30px;
    }

    .page-faq__accordion-header {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-faq__accordion-content {
        padding: 0 20px;
    }

    .page-faq__accordion-content[aria-hidden="false"] {
        padding: 10px 20px 20px;
    }

    .page-faq__accordion-content p {
        font-size: 0.95rem;
    }

    .page-faq__cta-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-faq__button {
        width: 100%;
        max-width: 300px; /* Limit width for stacked buttons */
        margin: 0 auto;
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Ensure images in content area are responsive and not smaller than 200px */
    .page-faq img {
        max-width: 100%;
        height: auto; /* Override any fixed height on mobile */
        min-width: 200px; /* Maintain minimum size */
        min-height: 200px;
    }
}