.page-faq {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-faq__hero-section {
    position: relative;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text for dark background */
    padding: 80px 20px;
    text-align: center;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-faq__hero-container {
    position: relative;
    z-index: 2; /* Ensure text is above image */
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-faq__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-faq__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-faq__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.page-faq__button--register {
    background-color: #FCBC45; /* Login color for register */
    color: #000000; /* Black text for FCBC45 background */
}

.page-faq__button--register:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-faq__button--login {
    background-color: #FFFFFF; /* White for login */
    color: #000000; /* Black text for white background */
    border: 2px solid #FCBC45;
}

.page-faq__button--login:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.page-faq__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make it a subtle background */
    z-index: 1;
}

.page-faq__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #FFFFFF; /* Explicit white background for content */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-faq__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-faq__intro-text {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.page-faq__accordion-container {
    margin-top: 40px;
}

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

.page-faq__accordion-header {
    margin: 0;
    padding: 0;
}

.page-faq__accordion-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #000000; /* Dark header for accordion */
    color: #FFFFFF; /* Light text */
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-faq__accordion-button:hover {
    background-color: #1a1a1a;
}

.page-faq__accordion-button::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

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

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

.page-faq__button--inline {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.95em;
    margin-top: 10px;
    margin-bottom: 20px; /* Space below button in accordion content */
}

.page-faq__button--inline:hover {
    background-color: #e0a53b;
}

/* Open accordion content */
.page-faq__accordion-item.is-active .page-faq__accordion-content {
    max-height: 500px; /* Adjust as needed for content length */
    padding: 20px 25px;
}

.page-faq__cta-banner {
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
    padding: 50px 20px;
    border-radius: 10px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.page-faq__cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-faq__cta-title {
    font-size: 2.5em;
    color: #FCBC45;
    margin-bottom: 15px;
}

.page-faq__cta-description {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-faq__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-faq__button--primary {
    background-color: #FCBC45;
    color: #000000;
}

.page-faq__button--primary:hover {
    background-color: #e0a53b;
}

.page-faq__button--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FCBC45;
}

.page-faq__button--secondary:hover {
    background-color: #FCBC45;
    color: #000000;
}

.page-faq__cta-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle background image */
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-faq__hero-title {
        font-size: 2.8em;
    }
    .page-faq__section-title {
        font-size: 2em;
    }
    .page-faq__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-faq {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header */
    }
    .page-faq__hero-section {
        padding: 60px 15px;
    }
    .page-faq__hero-title {
        font-size: 2.2em;
    }
    .page-faq__hero-description {
        font-size: 1em;
    }
    .page-faq__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__button {
        width: 80%;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-faq__content-area {
        padding: 30px 15px;
    }
    .page-faq__section-title {
        font-size: 1.8em;
    }
    .page-faq__intro-text {
        font-size: 0.95em;
    }
    .page-faq__accordion-button {
        font-size: 1.1em;
        padding: 18px 20px;
    }
    .page-faq__accordion-content {
        padding: 0 20px;
    }
    .page-faq__accordion-item.is-active .page-faq__accordion-content {
        padding: 15px 20px;
    }
    .page-faq__cta-banner {
        padding: 40px 15px;
    }
    .page-faq__cta-title {
        font-size: 1.8em;
    }
    .page-faq__cta-description {
        font-size: 1em;
    }
    .page-faq__cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    /* Ensure images do not overflow on mobile */
    .page-faq img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-faq__hero-title {
        font-size: 1.8em;
    }
    .page-faq__accordion-button {
        font-size: 1em;
    }
    .page-faq__cta-title {
        font-size: 1.5em;
    }
}

/* Image styling for content area - MUST be >= 200px */
.page-faq__content-area img {
    min-width: 200px;
    min-height: 200px;
    display: block; /* Ensures block behavior for width/height */
    margin: 20px auto; /* Center content images */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Specific image for CTA banner, ensuring it's not a small icon */
.page-faq__cta-image {
    min-width: 200px; /* Ensure it's not a small icon */
    min-height: 200px;
}