.faq_items {
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow: hidden;
}

.faq_item {
    border: solid var(--theme-base-color) 1px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.faq_item_name {
    font-weight: 500;
    color: #fff;
    font-size: 22px;
    line-height: 36px;
    cursor: pointer;
    width: 100%;
    padding: 20px 60px 20px 20px;
    position: relative;
    background: var(--theme-base-color);
}

.faq_item_name:before {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    border: solid #fff 1px;
    transform: rotate(90deg);
    right: 20px;
    top: 22px;
    transition: 0.3s;
    background: url(/medialibrary/system/arrow-left.svg);
    padding: 16px;
    border-radius: 30px;
    background-position: center;
    background-repeat: no-repeat;
}

.faq_item_text {
    overflow: hidden;
    background: #fff;
    color: var(--theme-base-color);

    display: none;
    padding: 10px 20px 20px 20px;
}

.faq_item.active .faq_item_name:before {
    transform: rotate(-90deg);
    background: url(/medialibrary/system/arrows_color.svg);
    background-position: center;
    background-repeat: no-repeat;
    border: solid var(--theme-base-color) 1px;
}

.faq_item.active .faq_item_text {
    display: block;
}

.faq_item.active .faq_item_name {
    color: var(--theme-base-color);
    background: #fff;
}


@media (max-width: 991px) {


    .faq_item_name {
        font-size: 16px;
        line-height: 24px;
    }

    .faq_item_name:before {
        right: 23px;
        top: 23px;
    }



    .faq_items {
        gap: 10px;
    }
}
