.page-faq {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Main text color for dark body background */
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom before footer */
}

/* Hero Section */
.page-faq__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for image container */
    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 {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    position: relative;
    padding: 0 15px;
}

.page-faq__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Use clamp for H1 font-size */
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-faq__intro-description {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq__inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: nowrap; /* Prevent text wrapping by default */
}

.page-faq__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-faq__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-faq__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-faq__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

.page-faq__btn-large {
    min-width: 200px;
    padding: 16px 35px;
    font-size: 1.1rem;
}

.page-faq__inline-link {
    font-size: 0.95rem;
    padding: 10px 20px;
    margin-top: 15px;
    background-color: #26A9E0; /* Default for inline links on dark sections */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-faq__inline-link.page-faq__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-faq__inline-link:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

/* General Section Styling */
.page-faq__section {
    padding: 60px 20px;
    background-color: #0a0a0a; /* Consistent with body background */
}

.page-faq__dark-section {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast */
    color: #ffffff;
}

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

.page-faq__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #26A9E0; /* Brand color for section titles */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-faq__section-description {
    font-size: 1rem;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page-faq__image-block {
    text-align: center;
    margin-bottom: 40px;
}

.page-faq__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ List Styling */
.page-faq__faq-list {
    margin-top: 30px;
}

.page-faq__faq-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden; /* For details tag */
}

.page-faq__faq-item summary {
    list-style: none; /* Hide default marker for details */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    position: relative;
    background-color: rgba(255, 255, 255, 0.05);
}

.page-faq__faq-item summary::-webkit-details-marker {
    display: none; /* Hide marker for webkit browsers */
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.page-faq__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #26A9E0; /* Brand color for toggle icon */
    transition: transform 0.3s ease;
}

/* No transform for toggle on details open, JS handles text change */

.page-faq__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #e0e0e0;
    /* For details, content is naturally hidden/shown */
}

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

.page-faq__faq-answer li {
    margin-bottom: 8px;
}

.page-faq__highlight {
    color: #26A9E0; /* Highlight important keywords with brand color */
    font-weight: 700;
}

/* Text alignment for conclusion */
.page-faq__text-center {
    text-align: center;
}

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

    .page-faq__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-faq__intro-description {
        font-size: 1rem;
    }

    .page-faq__section-title {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }

    .page-faq__faq-item summary {
        font-size: 1rem;
        padding: 18px 20px;
    }

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

@media (max-width: 768px) {
    .page-faq {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Mobile image responsiveness */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Mobile video responsiveness (if any, though not explicitly used here, but good to include) */
    .page-faq video,
    .page-faq__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    /* Mobile container responsiveness */
    .page-faq__section,
    .page-faq__card,
    .page-faq__container,
    .page-faq__hero-section,
    .page-faq__hero-image-wrapper,
    .page-faq__video-section,
    .page-faq__video-container,
    .page-faq__video-wrapper,
    .page-faq__cta-buttons,
    .page-faq__button-group,
    .page-faq__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent content overflow */
    }

    /* Specific top padding for hero/video section */
    .page-faq__hero-section,
    .page-faq__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Mobile button responsiveness */
    .page-faq__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary,
    .page-faq__inline-link,
    .page-faq a[class*="button"],
    .page-faq a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important; /* Ensure buttons take full width */
        box-sizing: border-box !important;
        white-space: normal !important; /* Allow text wrapping */
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-faq__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .page-faq__faq-item summary {
        font-size: 0.95rem;
        padding: 15px 18px;
    }

    .page-faq__faq-answer {
        padding: 0 18px 15px;
    }
}