.typography .faq.container {
    all: unset;
}

.faq:not(.container) {
    margin: 50px 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq.container {
    margin: 50px auto;
}

.typography ul.faq__list,
ul.faq__list {
    all: unset;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.typography ul.faq__list li.faq__item,
li.faq__item {
    all: unset;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.13);
    cursor: pointer;
}

.typography ul.faq__list li.faq__item::before,
li.faq__item::before {
    content: none;
    display: none;
}

li.faq__item--open {
    background: #f4fff1;
}

.faq__item-title-block {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 13px;
    padding: 25px 25px 22px;
}

.faq__item--open .faq__item-title-block {
    padding-bottom: 15px;
}

.faq__icon {
    flex-shrink: 0;
}

.faq__item-title {
    color: #333;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.faq__item-title p {
    margin: 0;
}

.faq__item-text {
    color: #fff;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 140%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq__item--open .faq__item-text {
    color: #000;
    padding: 0 25px 25px 73px;
}

.faq__item-text p {
    margin: 0;
}

.faq--hide {
    max-height: 0;
}

.faq__icon--hide {
    display: none;
}

@media (max-width: 768px) {
    .faq:not(.container) {
        margin: 40px 0;
        gap: 30px;
    }

    .faq.container {
        margin: 40px auto;
    }

    .faq__item--open .faq__item-title-block {
        align-items: flex-start;
    }

    .faq__item-title {
        font-size: 20px;
    }
}

@media (max-width: 500px) {
    .faq {
        gap: 20px;
    }

    .faq__item-text {
        font-size: 14px;
    }
}
