.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
}

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

.page-faq__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #FFD36B; /* Glow */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-faq__category-title {
    font-size: 28px;
    font-weight: bold;
    color: #FFD36B;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: left;
    border-bottom: 2px solid #3A2A12; /* Border */
    padding-bottom: 10px;
}

.page-faq__text-block {
    font-size: 18px;
    margin-bottom: 20px;
    color: #FFF6D6;
}

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: linear-gradient(180deg, #0A0A0A 0%, #111111 100%); /* Card BG */
    overflow: hidden;
}

.page-faq__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure width is 100% for flex items */
}

.page-faq__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-faq__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #3A2A12; /* Border */
}

.page-faq__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-faq__hero-content h1 {
    color: #FFD36B; /* Glow */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    /* No fixed font-size for H1, relying on responsive scaling */
}

.page-faq__hero-description {
    font-size: 18px;
    color: #FFF6D6;
    margin-bottom: 30px;
}

/* CTA Button */
.page-faq__cta-button,
.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-faq__cta-button,
.page-faq__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-faq__btn-secondary {
    background: transparent;
    color: #FFD36B;
    border: 2px solid #FFD36B;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.2);
}

.page-faq__cta-button:hover,
.page-faq__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-faq__btn-secondary:hover {
    background: rgba(255, 211, 107, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

.page-faq__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Intro Section */
.page-faq__intro-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
    color: #FFF6D6;
}

.page-faq__intro-section .page-faq__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-faq__intro-section .page-faq__section-title {
    color: #FFD36B;
}

.page-faq__image-wrapper {
    margin-top: 30px;
    width: 100%;
    max-width: 800px; /* Constrain image width */
    overflow: hidden;
    box-sizing: border-box;
}

.page-faq__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #3A2A12; /* Border */
}

/* FAQ Section */
.page-faq__faq-section {
    padding: 60px 0;
    background-color: #111111; /* Card BG */
    color: #FFF6D6;
}

details.page-faq__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #3A2A12; /* Border */
    overflow: hidden;
    background: #0A0A0A; /* Background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

details.page-faq__faq-item summary.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: #FFD36B; /* Glow */
    font-size: 18px;
    font-weight: 600;
}

details.page-faq__faq-item summary.page-faq__faq-question::-webkit-details-marker {
    display: none;
}

details.page-faq__faq-item summary.page-faq__faq-question:hover {
    background: rgba(255, 211, 107, 0.05);
    color: #FFD86A;
}

details.page-faq__faq-item[open] summary.page-faq__faq-question {
    background: rgba(255, 211, 107, 0.1);
    color: #FFD86A;
    border-bottom: 1px solid #3A2A12; /* Border */
}

.page-faq__faq-qtext {
    flex: 1;
    line-height: 1.5;
    text-align: left;
}

.page-faq__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #FFD36B;
    flex-shrink: 0;
    margin-left: 20px;
    width: 30px;
    text-align: center;
    line-height: 1;
}

details.page-faq__faq-item .page-faq__faq-answer {
    padding: 15px 25px 25px;
    background: #0A0A0A; /* Background */
    border-radius: 0 0 8px 8px;
    color: #FFF6D6;
    font-size: 16px;
}

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

/* CTA Section */
.page-faq__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #0A0A0A; /* Background */
    color: #FFF6D6;
}

.page-faq__cta-section .page-faq__container.page-faq__dark-bg {
    background: #111111; /* Card BG */
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #3A2A12; /* Border */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-faq__cta-section .page-faq__section-title {
    color: #FFD36B;
    margin-bottom: 20px;
}

.page-faq__cta-section .page-faq__text-block {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-faq__hero-content h1 {
        font-size: 48px;
    }
    .page-faq__section-title {
        font-size: 32px;
    }
    .page-faq__category-title {
        font-size: 24px;
    }
    .page-faq__cta-button,
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding-top: 10px !important; /* Fixed header spacing */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-faq__hero-image img {
        border-radius: 4px;
    }
    .page-faq__hero-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-faq__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-faq__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-faq__category-title {
        font-size: 22px;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page-faq__text-block {
        font-size: 16px;
    }

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

    .page-faq__container {
        padding: 0 15px;
    }
    
    /* Mobile image responsiveness */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-faq__hero-image,
    .page-faq__image-wrapper,
    .page-faq__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    /* FAQ items */
    details.page-faq__faq-item summary.page-faq__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-faq__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
        width: 25px;
    }
    details.page-faq__faq-item .page-faq__faq-answer {
        padding: 10px 20px 20px;
        font-size: 15px;
    }

    /* Buttons */
    .page-faq__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-faq__cta-button,
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-faq__cta-section .page-faq__container.page-faq__dark-bg {
        padding: 30px 20px;
    }
}

/* Ensure no filter on images */
.page-faq img {
    filter: none !important;
}