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

/* ========================================
   FAQ Page Layout
======================================== */

.sr-faq-page {
    padding: 40px 0 80px;
}

.sr-faq-page > .sr-container {
    max-width: 1170px;
    padding-left: 0;
    padding-right: 0;
}


.sr-faq {
    max-width: 770px;
    margin: 50px auto 40px;
}

.sr-faq__tabs {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 30px;
}

.sr-faq__tab {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    color: #464855;
    padding-bottom: 10px;
    border-bottom: 1px solid transparent;
}

.sr-faq__tab.is-active {
    font-weight: 600;
    border-bottom-color: #464855;
}

.sr-faq__panel {
    display: none;
}

.sr-faq__panel.is-active {
    display: block;
}

.sr-faq__item {
    margin-bottom: 12px;
}

.sr-faq__question {
    width: 100%;
    min-height: 60px;
    padding: 20px;
    border: 1px solid #A7ACB5;
    border-radius: 10px;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    cursor: pointer;
    text-align: left;
}

.sr-faq__question span:first-child {
    font-size: 18px;
    font-weight: 600;
    color: #464855;
}

.sr-faq__icon {
    width: 25px;
    height: 25px;
    position: relative;
    flex-shrink: 0;
}

.sr-faq__icon::before,
.sr-faq__icon::after {
    content: '';
    position: absolute;
    background: #464855;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.sr-faq__icon::before {
    width: 25px;
    height: 1px;
}

.sr-faq__icon::after {
    width: 1px;
    height: 25px;
}

.sr-faq__item.is-open .sr-faq__icon::after {
    display: none;
}

.sr-faq__answer {
    display: none;

    margin-top: 12px;
    padding: 20px;

    border-radius: 10px;
    background: #fff;

    font-size: 16px;
    line-height: 1.5;
    color: #464855;
}

.sr-faq__item.is-open .sr-faq__answer {
    display: block;
}

.sr-faq-page .sr-article-card__title {
    margin: 0;
}


/* ========================================
   FAQ Responsive
======================================== */

@media (max-width: 1024px) {
    .sr-faq-page > .sr-container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (max-width: 768px) {

    .sr-faq {
        max-width: 100%;
        margin-top: 30px;
    }

    .sr-faq__tabs {
        gap: 24px;
        margin-bottom: 24px;
        flex-wrap: wrap;
    }

    .sr-faq__tab {
        font-size: 16px;
    }

    .sr-faq__question {
        min-height: 56px;
        padding: 16px;
    }

    .sr-faq__question span:first-child {
        font-size: 16px;
        padding-right: 12px;
    }

    .sr-faq__icon {
        width: 20px;
        height: 20px;
    }

    .sr-faq__icon::before {
        width: 20px;
    }

    .sr-faq__icon::after {
        height: 20px;
    }

    .sr-faq__answer {
        padding: 16px;
        font-size: 15px;
    }

    .sr-faq-page > .sr-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sr-faq-page .sr-home-articles__track {
        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;
    }

    .sr-faq-page .sr-article-card {
        width: auto;
        min-width: 0;
        height: auto;
        flex: 0 0 clamp(160px, 44vw, 173px);
        scroll-snap-align: start;
    }

    .sr-faq-page .sr-article-card__image {
        width: 100%;
        height: auto;
        aspect-ratio: 173 / 150;
    }

    .sr-faq-page .sr-article-card__body {
        height: auto;
        min-height: 112px;
    }

    .sr-faq-page .sr-home-articles__slider::before {
        display: none;
    }
}
