.page-faq {
    padding-bottom: 40px; /* Add some bottom padding to main content */
}

.page-faq__hero-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile first, then row for desktop */
    align-items: center;
    text-align: center;
    background-color: #100224; /* Deep purple-black background */
    color: #FFFFFF;
    padding: 10px 0 40px; /* Small top padding, more bottom padding */
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure image wrapper takes full width */
    margin-bottom: 20px; /* Space between image and text */
}

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

.page-faq__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-faq__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #26A9E0; /* Primary brand color */
    margin-bottom: 15px;
    /* No fixed font-size, rely on clamp if needed, otherwise let browser default */
    font-size: clamp(2rem, 5vw, 3rem); /* Example clamp for responsiveness */
}

.page-faq__intro-text {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-faq__cta-button {
    display: inline-flex; /* Use inline-flex for center alignment */
    background-color: #26A9E0; /* Primary color */
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-height: 44px; /* Touch target */
    align-items: center;
    justify-content: center;
}

.page-faq__cta-button:hover {
    background-color: #1A7BBF; /* Slightly darker primary on hover */
}

.page-faq__section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
    color: #333333; /* Dark text for light background */
}

.page-faq__general-questions {
    background-color: #FFFFFF; /* White background for FAQ list */
}

.page-faq__section-title {
    font-size: 2em;
    font-weight: bold;
    color: #000000; /* Black for title */
    margin-bottom: 30px;
    text-align: center;
}

.page-faq__accordion-list {
    border-top: 1px solid #EEEEEE;
}

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

.page-faq__accordion-question {
    font-size: 1.2em;
    font-weight: bold;
    padding: 15px 0;
    color: #000000;
    cursor: pointer;
    position: relative;
    padding-right: 30px; /* Space for icon */
    transition: color 0.3s ease;
    display: block; /* Ensure the whole area is clickable */
}

.page-faq__accordion-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    line-height: 1;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-faq__accordion-question.is-active::after {
    content: '-';
    transform: translateY(-50%) rotate(0deg); /* No rotation for minus */
}

.page-faq__accordion-answer {
    display: none;
    padding-bottom: 15px;
    line-height: 1.6;
    color: #555555;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-faq__accordion-answer.is-active {
    /* Handled by JS for smooth transition */
}

.page-faq__accordion-answer p {
    margin-bottom: 15px;
}

.page-faq__accordion-answer a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
    margin-right: 15px; /* Spacing for multiple links */
    display: inline-block; /* Allow multiple links to flow */
    margin-top: 5px;
}

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

.page-faq__additional-support {
    text-align: center;
    background-color: #F8F8F8; /* Light background for this section */
    padding: 60px 20px;
    margin-top: 40px;
    color: #333333;
}

.page-faq__support-text {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555555;
}

.page-faq__support-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons on mobile */
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.page-faq__cta-button--primary {
    background-color: #EA7C07; /* Login color for primary CTA */
}

.page-faq__cta-button--primary:hover {
    background-color: #D46F06;
}

.page-faq__cta-button--secondary {
    background-color: #26A9E0; /* Primary color for secondary CTA */
}

.page-faq__cta-button--secondary:hover {
    background-color: #1A7BBF;
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-faq__hero-section {
        flex-direction: row; /* Desktop: image on left, text on right */
        text-align: left;
        padding: 60px 40px;
        justify-content: center;
        gap: 40px;
    }

    .page-faq__hero-image-wrapper {
        flex: 1;
        max-width: 50%; /* Image takes half width */
        margin-bottom: 0;
    }

    .page-faq__hero-content {
        flex: 1;
        max-width: 50%; /* Content takes half width */
        padding: 0;
    }

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

    .page-faq__support-buttons {
        flex-direction: row; /* Side-by-side buttons on desktop */
    }
}

@media (max-width: 849px) {
    .page-faq__hero-image, /* All images in content area */
    .page-faq__section img,
    .page-faq__additional-support img {
        max-width: 100%;
        height: auto;
    }
    .page-faq__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust for smaller screens */
    }
}

/* Ensure all content area images meet minimum size requirements */
.page-faq img {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Ensure images cover their area without distortion */
}

/* Override min-width/height for hero image if it's explicitly larger and handled by object-fit */
.page-faq__hero-image {
    min-width: unset;
    min-height: unset;
}

@media (max-width: 549px) {
    .page-faq__section-title {
        font-size: 1.8em;
    }
    .page-faq__accordion-question {
        font-size: 1.1em;
    }
    .page-faq__hero-section {
        padding: 10px 15px 30px;
    }
    .page-faq__hero-content {
        padding: 0 15px;
    }
    .page-faq__section {
        padding: 30px 15px;
    }
    .page-faq__additional-support {
        padding: 40px 15px;
    }
}