.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Main text color for dark background */
    background-color: #0A0A0A; /* Body background from shared.css */
}

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    width: 100%;
    padding: 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px; /* Space between image and text */
}

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

.page-faq__hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%; /* Ensure content takes full width up to max-width */
    padding: 0 15px;
    box-sizing: border-box;
}

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

.page-faq__intro-text {
    font-size: 1.1em;
    color: #FFF6D6; /* Light text for dark background */
    margin-bottom: 30px;
}

/* General Section */
.page-faq__section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    box-sizing: border-box;
    background-color: #111111; /* Card BG for content sections */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__section-title,
.page-faq__sub-title {
    color: #F2C14E;
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.page-faq__sub-title {
    font-size: clamp(1.5em, 2.5vw, 2em);
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
    padding-left: 15px; /* Indent for sub-titles */
}

.page-faq__paragraph {
    font-size: 1em;
    color: #FFF6D6;
    margin-bottom: 20px;
    padding: 0 15px;
}

/* Image in content area */
.page-faq__image-wrapper--inline {
    width: 100%;
    max-width: 800px; /* Max width for inline images */
    margin: 30px auto;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

/* FAQ List */
.page-faq__faq-list {
    margin-top: 20px;
    padding: 0 15px;
}

.page-faq__faq-item {
    background-color: #0A0A0A; /* Background for individual FAQ items */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1em;
    color: #F2C14E; /* Question text color */
    background-color: #111111; /* Slightly lighter than item background */
    border-bottom: 1px solid #3A2A12;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-faq__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome/Safari */
}

.page-faq__faq-item[open] .page-faq__faq-question {
    background-color: #1a1a1a; /* Darker on open */
}

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

.page-faq__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFD36B; /* Toggle icon color */
}

.page-faq__faq-answer {
    padding: 15px 25px;
    font-size: 0.95em;
    color: #FFF6D6; /* Answer text color */
    background-color: #0A0A0A; /* Same as body background */
    border-top: none;
}

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

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

/* Call to Action Section */
.page-faq__cta-section {
    background: #111111; /* Card BG */
    padding: 60px 20px;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid #3A2A12;
    border-bottom: 1px solid #3A2A12;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for light button */
    border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-faq__btn-secondary {
    background: #111111; /* Card BG */
    color: #F2C14E; /* Primary color for text */
    border: 2px solid #F2C14E; /* Primary color for border */
}

.page-faq__btn-secondary:hover {
    background: #F2C14E;
    color: #111111;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-faq__btn-inline {
    margin-top: 15px;
    display: inline-flex; /* Use flex for inline buttons */
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-faq__faq-answer a {
    color: #FFD36B; /* Accent color for links in answers */
    text-decoration: underline;
}

.page-faq__faq-answer a:hover {
    color: #F2C14E;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-faq__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-faq__section-title,
    .page-faq__cta-title {
        font-size: clamp(1.6em, 4vw, 2.2em);
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-faq__section {
        margin: 20px auto;
        padding: 15px;
    }

    .page-faq__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

    .page-faq__intro-text,
    .page-faq__paragraph,
    .page-faq__cta-description {
        font-size: 0.95em;
    }

    .page-faq__section-title,
    .page-faq__cta-title {
        font-size: clamp(1.4em, 5vw, 2em);
    }
    
    .page-faq__sub-title {
        font-size: clamp(1.3em, 4.5vw, 1.8em);
        padding-left: 0;
        text-align: center;
    }

    .page-faq__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-faq__faq-answer {
        padding: 10px 20px;
    }

    /* Mobile image responsive */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile container responsive */
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__hero-section,
    .page-faq__cta-section,
    .page-faq__hero-image-wrapper,
    .page-faq__hero-content,
    .page-faq__image-wrapper--inline {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Mobile button responsive */
    .page-faq__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq a[class*="button"],
    .page-faq a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding for text inside button */
        padding-right: 15px;
    }
}