.page-faq {
    background-color: #F4F7FB;
    color: #1F2D3D;
}

.page-faq__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-height: 400px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 200px;
}

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

.page-faq__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #1F2D3D;
    margin-bottom: 15px;
    /* Using clamp for responsive font size, no fixed large size */
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.page-faq__intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #1F2D3D;
    margin-bottom: 30px;
}

.page-faq__accordion-section {
    padding: 40px 0;
}

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

.page-faq__accordion-item {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-faq__accordion-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1F2D3D;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    position: relative;
}

.page-faq__accordion-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #2F6BFF;
    transition: transform 0.3s ease;
}

.page-faq__accordion-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-faq__accordion-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    color: #1F2D3D;
}

.page-faq__accordion-answer.active {
    max-height: 500px; /* Adjust based on expected content length */
    padding-bottom: 20px;
}

.page-faq__accordion-answer p {
    margin-top: 0;
    line-height: 1.6;
    font-size: 1rem;
    color: #1F2D3D;
}

.page-faq__inline-link {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 500;
}

.page-faq__inline-link:hover {
    text-decoration: underline;
}

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

.page-faq__cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #1F2D3D;
    margin-bottom: 20px;
}

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

.page-faq__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
    border: none;
    cursor: pointer;
}

.page-faq__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

/* Responsive styles */
@media (max-width: 768px) {
    .page-faq__hero-section {
        padding-bottom: 20px;
    }

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

    .page-faq__hero-image {
        max-width: 100%;
        height: auto;
    }

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

    .page-faq__intro-text {
        font-size: 1rem;
    }

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

    .page-faq__accordion-question {
        font-size: 1.1rem;
        padding: 15px;
    }

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

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

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

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

    .page-faq__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Ensure content images are responsive */
    .page-faq img:not(.page-faq__hero-image) {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-faq__hero-image-wrapper {
        max-height: 200px;
    }
    .page-faq__main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }
    .page-faq__accordion-question {
        font-size: 1rem;
    }
    .page-faq__cta-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
    }
}

/* Content area images must not be smaller than 200px */
.page-faq__accordion-answer img {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Ensure it fills container if smaller */
    height: auto;
    object-fit: contain;
}