.page-faq__hero-section {
    background-color: var(--background-color, #F4F7FB);
    padding: 60px 0 40px;
    color: var(--text-main, #1F2D3D);
}

.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-faq__container--narrow {
    max-width: 900px;
    flex-direction: column;
    gap: 0;
}

.page-faq__hero-content {
    flex: 1;
    text-align: left;
}

.page-faq__hero-image-wrapper {
    flex-shrink: 0;
    width: 500px;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

.page-faq__title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main, #1F2D3D);
    max-width: 600px;
}

.page-faq__intro-text {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 30px;
    max-width: 700px;
}

.page-faq__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg, #FFFFFF);
    color: var(--text-main, #1F2D3D);
}

.page-faq__section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main, #1F2D3D);
    text-align: center;
    margin-bottom: 40px;
}

details.page-faq__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color, #D6E2FF);
    overflow: hidden;
    background: var(--card-bg, #FFFFFF);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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;
}

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: var(--background-color, #F4F7FB);
}

.page-faq__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main, #1F2D3D);
}

.page-faq__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--main-color, #2F6BFF);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-faq__faq-item .page-faq__faq-answer {
    padding: 0 25px 20px;
    background: var(--background-color, #F4F7FB);
    border-radius: 0 0 10px 10px;
}

details.page-faq__faq-item .page-faq__faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-main, #1F2D3D);
    margin-bottom: 0;
}

.page-faq__cta-section {
    background-color: var(--main-color, #2F6BFF);
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.page-faq__cta-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-faq__cta-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

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

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

.page-faq__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__btn-secondary {
    background: #ffffff;
    color: var(--main-color, #2F6BFF);
    border: 2px solid var(--main-color, #2F6BFF);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-faq__btn-secondary:hover {
    background: var(--main-color, #2F6BFF);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* --- General Image Responsiveness --- */
.page-faq img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .page-faq__hero-section {
        padding: 50px 0 30px;
    }
    .page-faq__container {
        flex-direction: column;
        gap: 30px;
    }
    .page-faq__hero-content {
        text-align: center;
    }
    .page-faq__title {
        font-size: 34px;
        max-width: 100%;
    }
    .page-faq__intro-text {
        font-size: 16px;
        max-width: 100%;
    }
    .page-faq__hero-image-wrapper {
        width: 100%;
        max-width: 600px;
    }
    .page-faq__faq-section {
        padding: 50px 0;
    }
    .page-faq__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-faq__faq-qtext {
        font-size: 17px;
    }
    .page-faq__faq-toggle {
        font-size: 26px;
        width: 28px;
    }
    .page-faq__cta-section {
        padding: 60px 0;
    }
    .page-faq__cta-title {
        font-size: 30px;
    }
    .page-faq__cta-description {
        font-size: 17px;
    }
    .page-faq__btn-primary, .page-faq__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-section {
        padding-top: 10px !important;
        padding-bottom: 20px;
    }
    .page-faq__container {
        padding: 0 15px;
        gap: 20px;
    }
    .page-faq__title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-faq__intro-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-faq__hero-image-wrapper {
        width: 100%;
        max-width: 100%;
    }
    .page-faq__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-faq__faq-section {
        padding: 30px 0;
    }
    .page-faq__section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    details.page-faq__faq-item summary.page-faq__faq-question {
        padding: 15px 20px;
    }
    .page-faq__faq-qtext {
        font-size: 16px;
    }
    .page-faq__faq-toggle {
        font-size: 24px;
        width: 24px;
    }
    details.page-faq__faq-item .page-faq__faq-answer {
        padding: 0 20px 15px;
    }
    details.page-faq__faq-item .page-faq__faq-answer p {
        font-size: 15px;
    }
    .page-faq__cta-section {
        padding: 40px 15px;
    }
    .page-faq__cta-title {
        font-size: 26px;
        margin-bottom: 15px;
    }
    .page-faq__cta-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-faq__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 16px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Ensure content containers also adapt */
    .page-faq__hero-section .page-faq__container,
    .page-faq__faq-section .page-faq__container,
    .page-faq__cta-section .page-faq__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}