/* FAQ SECTION */

.faq {
    width: 100%;
}

.faq__container {
    width: 100%;
    margin: 0 auto;
}

.faq__content {
    width: 100%;
    gap: 32px;
}

.faq__title {
    font-size: 28px;
}

.faq__list {
    width: 100%;
}

.faq__item {
    border-bottom: 1px solid #C6C1B9;
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    
    font: inherit;
    color: inherit;
}

.faq__question-text {
    flex: 1;
    color: #2D2C2B;
    font-size: 18px;
    font-weight: 400;
    line-height: 120%;
}

.faq__icon {
    position: relative;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transition: transform 300ms ease;
}

.faq__item.is-open .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 300ms ease;
}

.faq__answer-inner {
    overflow: hidden;
}

.faq__answer-text {
    margin: 0;
    padding: 0 48px 24px 16px;
    color: #5E5C74;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
}

.faq__item.is-open .faq__icon {
    transform: rotate(45deg);
}

.faq__item.is-open .faq__answer {
    grid-template-rows: 1fr;
}

.faq__item.is-open .faq__question {
    padding-bottom: 12px;
}

/* desktop: fullscreen 1440 */
@media (min-width: 1440px) {
    .faq__content {
        width: 890px;
        align-items: center;
        gap: 60px;
    }
    
    .faq__question-text {
        font-size: 20px;
    }
    
    .faq__answer-text { {
        font-size: 18px;
    }
}
