/* =====================================================
   FAQs Section
===================================================== */

.faqs-section {
    /* padding: 150px 0 100px; */
    background: #ffffff;
}

.faqs-section .container-site {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 40px;
}


/* =====================================================
   Layout
===================================================== */

.faqs-layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    background: #f8f8f8;
    min-height: 560px;
    overflow: hidden;
}

.faqs-layout__left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 54px 74px 44px 74px;
    min-width: 0;
}

.faqs-layout__right {
    position: relative;
    height: 100%;
    min-width: 0;
}


/* =====================================================
   Section Header
===================================================== */

.faqs-section .section-header {
    text-align: center;
    margin-bottom: 42px;
}

.faqs-section .section-header h2 {
    margin: 0;
    font-family: 'Cardo', serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 1.1;
    color: #2c2c2c;
}

.faqs-section .section-header .divider {
    display: block;
    width: 28px;
    height: 1px;
    margin: 12px auto 0;
    background: #2c3e7a;
}


/* =====================================================
   FAQ Pages / Sliding Track
===================================================== */

.faq-pages {
    position: relative;
    flex: 1;
    overflow: hidden;
    width: 100%;
}

.faq-pages__track {
    display: flex;
    width: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

.faq-page {
    flex: 0 0 100%;
    width: 100%;
    display: block;
    box-sizing: border-box;
}


/* =====================================================
   FAQ Items
===================================================== */

.faq-item + .faq-item {
    margin-top: 34px;
}

.faq-item h3 {
    margin: 0 0 12px;
    font-family: 'Cardo', serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.28;
    color: #2b2b2b;
}

.faq-item p {
    margin: 0 0 14px;
    font-family: 'Assistant', sans-serif;
    font-size: 15px;
    line-height: 1.32;
    color: #4a4a4a;
}

.faq-item p:last-child {
    margin-bottom: 0;
}


/* =====================================================
   Navigation
===================================================== */

.faq-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.faq-nav__arrow {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-size: 34px;
    line-height: 1;
    color: #000;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.faq-nav__arrow:hover {
    opacity: 0.6;
    transform: translateY(-1px);
}

.faq-nav__count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Assistant', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1e2552;
}


/* =====================================================
   Right Image
===================================================== */

.faq-image {
    width: 100%;
    height: 100%;
}

.faq-image img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* =====================================================
   Large Desktop
===================================================== */

@media (max-width: 1600px) {
    .faqs-layout {
        grid-template-columns: 1.02fr 0.98fr;
        min-height: 530px;
    }

    .faqs-layout__left {
        padding: 50px 58px 40px 58px;
    }

    .faq-image img {
        min-height: 530px;
    }
}


/* =====================================================
   Tablet
===================================================== */

@media (max-width: 1199px) {
    .faqs-section {
        padding-bottom: 80px;
    }

    .faqs-section .container-site {
        padding: 0 24px;
    }

    .faqs-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .faqs-layout__right {
        order: 1;
    }

    .faqs-layout__left {
        order: 2;
        padding: 40px 34px 34px;
    }

    .faq-image img {
        height: 380px;
        min-height: auto;
    }

    .faqs-section .section-header {
        margin-bottom: 34px;
    }

    .faqs-section .section-header h2 {
        font-size: 34px;
    }

    .faq-item + .faq-item {
        margin-top: 28px;
    }

    .faq-item h3 {
        font-size: 22px;
    }

    .faq-item p {
        font-size: 16px;
        line-height: 1.42;
    }

    .faq-nav {
        margin-top: 28px;
    }

    .faq-nav__arrow {
        font-size: 30px;
    }

    .faq-nav__count {
        font-size: 16px;
    }
}


/* =====================================================
   Mobile
===================================================== */

@media (max-width: 767px) {
    .faqs-section {
        padding-bottom: 60px;
    }

    .faqs-section .container-site {
        padding: 0 16px;
    }

    .faqs-layout__left {
        padding: 30px 20px 24px;
    }

    .faq-image img {
        height: 240px;
    }

    .faqs-section .section-header {
        margin-bottom: 26px;
    }

    .faqs-section .section-header h2 {
        font-size: 30px;
    }

    .faqs-section .section-header .divider {
        margin-top: 10px;
    }

    .faq-item + .faq-item {
        margin-top: 24px;
    }

    .faq-item h3 {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .faq-item p {
        font-size: 15px;
        line-height: 1.45;
    }

    .faq-nav {
        gap: 14px;
        margin-top: 24px;
    }

    .faq-nav__arrow {
        font-size: 28px;
    }

    .faq-nav__count {
        font-size: 15px;
    }
}