/* style/faq.css */

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

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

/* Top Section (Hero-like) */
.page-faq__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
    text-align: center;
    background-color: #0A0A0A;
}

.page-faq__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFF6D6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 30px;
    color: #FFF6D6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-faq__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-faq__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-faq__btn-secondary {
    background: #111111; /* Card BG */
    color: #F2C14E; /* Main color */
    border: 2px solid #3A2A12; /* Border */
}

.page-faq__btn-secondary:hover {
    background: #1A1A1A;
    color: #FFD36B; /* Glow */
    border-color: #F2C14E;
}

/* Image Section */
.page-faq__image-section {
    padding: 20px 0;
    background-color: #0A0A0A;
}

.page-faq__main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Accordion Section */
.page-faq__accordion-section {
    padding: 60px 0;
    background-color: #0A0A0A;
}

.page-faq__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-faq__accordion-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
    background-color: #1A1A1A;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: #FFF6D6; /* Text Main */
    cursor: pointer;
    list-style: none; /* Remove default marker for details */
    user-select: none;
}

.page-faq__faq-question::-webkit-details-marker, /* Hide marker for Webkit */
.page-faq__faq-question::marker { /* Hide marker for other browsers */
    display: none;
}

.page-faq__faq-qtext {
    flex-grow: 1;
    color: #FFF6D6;
}

.page-faq__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD36B; /* Glow */
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
    transform: rotate(45deg);
}

.page-faq__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #D0D0D0;
    line-height: 1.7;
}

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

.page-faq__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-faq__faq-answer a {
    color: #F2C14E; /* Main color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-faq__faq-answer a:hover {
    color: #FFD36B; /* Glow */
    text-decoration: underline;
}

.page-faq__content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px 0;
    object-fit: cover;
}

/* Bottom CTA Section */
.page-faq__cta-bottom-section {
    background-color: #111111; /* Card BG */
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #3A2A12;
}

.page-faq__cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #F2C14E;
    margin-bottom: 15px;
}

.page-faq__cta-description {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: #D0D0D0;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General image styles */
.page-faq img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    /* 1. Top section title + CTA */
    .page-faq__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-faq__main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .page-faq__description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

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

    .page-faq__btn {
        max-width: 100% !important;
        width: 100% !important;
        padding: 10px 20px;
        font-size: 1rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single-column long text containers */
    .page-faq__container {
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-faq__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    /* 3. Generic images and figures */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-faq__image-section .page-faq__container,
    .page-faq__accordion-section .page-faq__container,
    .page-faq__cta-bottom-section .page-faq__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 4. Buttons and button containers (already covered by .page-faq__btn and .page-faq__cta-buttons) */
    /* Ensure button containers handle wrap if multiple buttons are horizontal */
    .page-faq__cta-buttons {
        flex-wrap: wrap !important;
    }

    /* 5. FAQ blocks */
    .page-faq__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

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

    .page-faq__cta-title {
        font-size: 1.8rem;
    }

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