.page-faq {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background-color: var(--bg-color, #0A0A0A); /* Default background if --bg-color is not set */
}

.page-faq__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
    overflow: hidden;
    background-color: #0A0A0A; /* Background color for hero section */
}

.page-faq__hero-image {
    width: 100%;
    max-height: 500px; /* Limit height on desktop */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-faq__hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Cover for desktop */
    display: block;
}

.page-faq__hero-content {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
    padding: 0 15px;
}

.page-faq__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD36B; /* Glow color for main title */
}

.page-faq__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF6D6; /* Text Main */
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box; /* Crucial for button responsiveness */
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #ffffff; /* White text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-faq__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-faq__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Glow color for text */
    border: 2px solid #FFD36B; /* Glow color for border */
}

.page-faq__btn-secondary:hover {
    background: rgba(255, 211, 107, 0.1);
    transform: translateY(-2px);
    border-color: #FFD36B;
}

.page-faq__content-area {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
    color: #FFF6D6; /* Text Main */
}

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

.page-faq__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 700;
    color: #FFD36B; /* Glow color */
    text-align: center;
    margin-bottom: 50px;
}

.page-faq__faq-list {
    margin-top: 30px;
}

.page-faq__faq-category-title {
    font-size: clamp(1.4em, 2.5vw, 2.2em);
    font-weight: 600;
    color: #F2C14E; /* Main color */
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
    padding-left: 10px;
    border-left: 5px solid #F2C14E; /* Accent for category title */
}

details.page-faq__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #3A2A12; /* Border */
    overflow: hidden;
    background: #111111; /* Card BG */
    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, border-color 0.3s ease;
    color: #FFF6D6; /* Text Main */
    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); /* Light hover effect */
    border-color: #F2C14E;
}

.page-faq__faq-qtext {
    flex: 1;
    font-size: clamp(1em, 1.5vw, 1.15em);
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFF6D6; /* Text Main */
}

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

details.page-faq__faq-item[open] .page-faq__faq-toggle {
    color: #F2C14E; /* Main color when open */
}

details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 25px 20px;
    background: #111111; /* Card BG */
    border-radius: 0 0 8px 8px;
    color: #FFF6D6; /* Text Main */
}

.page-faq__faq-answer p {
    margin-bottom: 15px;
    font-size: 0.95em;
    line-height: 1.7;
    color: #FFF6D6; /* Text Main */
}

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

.page-faq__list,
.page-faq__list-ordered {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    padding-left: 0;
    color: #FFF6D6; /* Text Main */
}
.page-faq__list-ordered {
    list-style-type: decimal;
}

.page-faq__list li,
.page-faq__list-ordered li {
    margin-bottom: 8px;
    font-size: 0.95em;
    line-height: 1.6;
}
.page-faq__list li strong {
    color: #F2C14E; /* Main color for strong text in list */
}

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

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

.page-faq__cta-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 700;
    color: #FFD36B; /* Glow color */
    margin-bottom: 20px;
}

.page-faq__cta-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 0 15px;
    color: #FFF6D6; /* Text Main */
}

.page-faq__cta-buttons--bottom {
    margin-top: 0;
    margin-bottom: 0;
}

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

/* --- Responsive Styles --- */

/* For smaller desktops / tablets (up to 849px for hero image) */
@media (max-width: 849px) {
    .page-faq__hero-image {
        max-height: 400px;
    }
    .page-faq__hero-image img {
        object-fit: contain !important; /* Contain for smaller screens */
        aspect-ratio: unset !important; /* Reset aspect ratio for contain */
    }
    .page-faq__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-faq__intro-text {
        font-size: 1em;
    }
}


/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-faq {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-faq__hero-section {
        margin-bottom: 30px;
        padding-top: 10px;
    }

    .page-faq__hero-image {
        max-height: 300px;
    }
    .page-faq__hero-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important; /* Ensure contain on mobile */
        aspect-ratio: unset !important;
    }

    .page-faq__hero-content {
        margin-top: 30px;
    }

    .page-faq__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-faq__intro-text {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
}