.page-faq {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--secondary-color, #FFFFFF); /* Inherit from body if possible, otherwise white */
}

.page-faq__hero-section {
    background-color: #f8f8f8; /* A light background for the hero section */
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    position: relative;
}

.page-faq__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 40px 16px;
}

.page-faq__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: left;
}

.page-faq__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for title */
}

.page-faq__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #333333;
}

.page-faq__hero-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box; /* For responsiveness */
    white-space: normal; /* For responsiveness */
    word-wrap: break-word; /* For responsiveness */
}

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

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

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

.page-faq__btn-secondary:hover {
    background-color: #e0f4ff;
    color: #1e87b7;
    border-color: #1e87b7;
}

.page-faq__hero-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-faq__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure it behaves as a block element */
}

.page-faq__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 16px;
    color: #333333;
}

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

.page-faq__section-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-faq__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-faq__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333333;
    transition: background-color 0.3s ease;
}

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

.page-faq__faq-item summary:hover {
    background-color: #f5f5f5;
}

.page-faq__faq-qtext {
    flex-grow: 1;
    color: #26A9E0; /* Brand color for questions */
}

.page-faq__faq-toggle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #26A9E0;
    margin-left: 15px;
}

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

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

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

.page-faq__faq-answer ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
}

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

.page-faq__inline-link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-faq__inline-link:hover {
    color: #1e87b7;
}

.page-faq__cta-section {
    background-color: #26A9E0; /* Main brand color for dark background */
    color: #FFFFFF;
    padding: 80px 16px;
    text-align: center;
}

.page-faq__cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.page-faq__cta-content {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: left;
}

.page-faq__cta-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
}

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

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

.page-faq__cta-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-faq__cta-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-faq__hero-container,
    .page-faq__cta-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 16px;
    }

    .page-faq__hero-content,
    .page-faq__cta-content {
        text-align: center;
    }

    .page-faq__hero-image,
    .page-faq__cta-image {
        order: -1; /* Image above content on smaller screens */
    }

    .page-faq__hero-cta-buttons,
    .page-faq__cta-buttons {
        justify-content: center;
    }
}

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

    .page-faq__hero-section {
        padding-top: 10px !important; /* Fixed header spacing - small top padding */
        padding-bottom: 40px;
    }

    .page-faq__hero-container,
    .page-faq__cta-container,
    .page-faq__content-area {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

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

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

    /* Buttons */
    .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;
    }

    .page-faq__hero-cta-buttons,
    .page-faq__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden; /* Prevent overflow */
    }

    /* Images */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-faq__hero-side-image,
    .page-faq__cta-side-image {
        border-radius: 8px;
    }

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

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

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

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

    .page-faq__cta-section {
        padding: 60px 15px;
    }

    .page-faq__cta-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }

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