.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color, #FFF6D6); /* Default to light text for dark background */
    background-color: var(--background-color, #0A0A0A); /* Inherit from shared or use default dark */
}

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    padding: 80px 20px 60px;
    background: linear-gradient(180deg, #F2C14E 0%, #FFD36B 100%); /* Use brand colors for a vibrant hero */
    color: #0A0A0A; /* Dark text on light brand color background */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-faq__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0A0A0A; /* Dark text for contrast */
}

.page-faq__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333333; /* Darker text for readability */
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A;
}

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

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

.page-faq__btn-secondary:hover {
    background: #F2C14E;
    color: #111111;
    transform: translateY(-2px);
}

/* Video Section */
.page-faq__video-section {
    padding: 40px 0;
    text-align: center;
    background-color: var(--background-color, #0A0A0A);
    color: var(--text-main-color, #FFF6D6);
}

.page-faq__video-container {
    width: 100%; /* Important for desktop */
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-faq__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-top: 20px;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-faq__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.page-faq__video-caption {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #CCC;
}


/* Content Area */
.page-faq__content-area {
    padding: 60px 0;
    background-color: var(--background-color, #0A0A0A);
    color: var(--text-main-color, #FFF6D6);
}

.page-faq__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #F2C14E;
}

.page-faq__intro-text {
    font-size: 1.05rem;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #CCC;
}

/* FAQ List */
.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.page-faq__faq-item {
    background-color: var(--card-bg-color, #111111);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color, #3A2A12);
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFF6D6;
    cursor: pointer;
    background-color: #1a1a1a;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-faq__faq-question:hover {
    background-color: #2a2a2a;
}

.page-faq__faq-item[open] .page-faq__faq-question {
    border-bottom-color: var(--border-color, #3A2A12);
}

.page-faq__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-faq__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #F2C14E;
    line-height: 1;
}

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

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

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

.page-faq__text-link {
    color: #FFD36B;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-faq__text-link:hover {
    color: #F2C14E;
}

/* Bottom CTA */
.page-faq__cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: var(--card-bg-color, #111111);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color, #3A2A12);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__cta-title {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: #F2C14E;
    margin-bottom: 20px;
}

.page-faq__cta-description {
    font-size: 1.05rem;
    color: #CCC;
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-faq__hero-section {
        padding: 60px 15px 40px;
    }

    .page-faq__main-title {
        font-size: 2rem;
    }

    .page-faq__description {
        font-size: 1rem;
    }

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

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-faq__video-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }

    .page-faq__video-container {
        padding: 0 15px;
    }

    .page-faq__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-faq__video-section,
    .page-faq__video-container,
    .page-faq__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }

    .page-faq__content-area {
        padding: 40px 15px;
    }

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

    .page-faq__intro-text {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page-faq__faq-question {
        padding: 18px 20px;
        font-size: 1.05rem;
    }

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

    .page-faq__cta-bottom {
        padding: 30px 20px;
        margin-top: 40px;
    }

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

    .page-faq__cta-description {
        font-size: 0.95rem;
    }
    
    /* General image responsiveness for content area */
    .page-faq img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-faq__section,
    .page-faq__card,
    .page-faq__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure buttons within containers are responsive */
    .page-faq__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-faq__cta-button,
    .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;
        padding-right: 15px;
    }
}

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

/* Details/Summary specific styles for cross-browser consistency */
.page-faq__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-faq__faq-item summary {
  list-style: none;
}