/* ==========================================================================
   FAQ page
   ========================================================================== */

.faq-page {
    width: 100%;
    background: #fff;
    font-family: var(--font-family);
    color: #151515;
}

.faq-page__main {
    width: 100%;
    padding-bottom: 80px;
}

.faq-container {
    width: min(100%, var(--container-max-width));
    margin: 0 auto;
}

/* Breadcrumbs */

.faq-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    padding-top: 34px;
    padding-bottom: 24px;
    font-size: 14px;
    font-weight: 300;
    line-height: 24px;
}

.faq-breadcrumbs a {
    color: #151515;
}

.faq-breadcrumbs a:hover {
    color: #3a68d5;
}

.faq-breadcrumbs__sep,
.faq-breadcrumbs__current {
    color: #777;
}

.faq-breadcrumbs__current {
    min-width: 0;
}

/* Content */

.faq-content__title {
    margin: 0 0 27px;
    font-size: 42px;
    font-weight: 600;
    line-height: 46px;
}

/* Accordion */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 0.4px solid #9c9c9c;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.faq-item__summary {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 80px;
    padding: 24px;
    list-style: none;
    cursor: pointer;
}

.faq-item__summary::-webkit-details-marker {
    display: none;
}

.faq-item__num {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: 6px;
    background: #3a68d5;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
}

.faq-item__question {
    flex: 1;
    min-width: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.faq-item__icon {
    flex-shrink: 0;
    width: 22px;
    height: 11px;
    transition: transform 0.35s ease;
}

.faq-item[open] .faq-item__icon {
    transform: rotate(180deg);
}

.faq-item__content {
    overflow: hidden;
}

.faq-item__answer {
    padding: 0 24px 24px 72px;
    color: #555;
    font-size: 17px;
    font-weight: 400;
    line-height: 22px;
}

.faq-item__answer p {
    margin: 0;
}

.faq-item__answer p + p {
    margin-top: 8px;
}

/* Responsive */

@media (max-width: 1200px) {
    .faq-breadcrumbs {
        padding-top: 28px;
        padding-bottom: 36px;
        gap: 14px;
    }

    .faq-page__main {
        padding-bottom: 64px;
    }

    .faq-content__title {
        font-size: 36px;
        line-height: 40px;
    }
}

@media (max-width: 900px) {
    .faq-breadcrumbs {
        padding-top: 24px;
        padding-bottom: 28px;
        gap: 12px;
    }

    .faq-content__title {
        margin-bottom: 24px;
    }

    .faq-list {
        gap: 16px;
    }
}

@media (max-width: 800px) {
    .faq-breadcrumbs {
        padding-top: 20px;
        padding-bottom: 24px;
        gap: 12px;
        font-size: 13px;
        line-height: 20px;
    }

    .faq-breadcrumbs__current {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .faq-content__title {
        font-size: 28px;
        line-height: 34px;
    }

    .faq-item__summary {
        align-items: flex-start;
        gap: 12px;
        min-height: auto;
        padding: 20px 18px;
    }

    .faq-item__num {
        min-width: 28px;
        height: 28px;
        font-size: 14px;
        line-height: 20px;
    }

    .faq-item__question {
        font-size: 18px;
        line-height: 26px;
    }

    .faq-item__icon {
        width: 18px;
        height: 9px;
        margin-top: 8px;
    }

    .faq-item__answer {
        padding: 0 18px 20px;
        font-size: 16px;
        line-height: 21px;
    }
}

@media (max-width: 700px) {
}

@media (max-width: 480px) {
    .faq-breadcrumbs {
        padding-top: 16px;
        padding-bottom: 20px;
        gap: 10px;
    }

    .faq-page__main {
        padding-bottom: 48px;
    }

    .faq-content__title {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 30px;
    }

    .faq-list {
        gap: 12px;
    }

    .faq-item {
        border-top-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }

    .faq-item__summary {
        padding: 16px;
        gap: 10px;
    }

    .faq-item__num {
        min-width: 26px;
        height: 26px;
        font-size: 13px;
    }

    .faq-item__question {
        font-size: 16px;
        line-height: 22px;
    }

    .faq-item__answer {
        padding: 0 16px 16px;
        font-size: 15px;
        line-height: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item__icon {
        transition: none;
    }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .faq-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(58, 104, 213, 0.14);
    }
}