.s-faq {
    padding: 0  0 50px 0;
}

.js-content-faq {
    display: none;
    transition: 0s;
}

.js-content-faq--open {
    display: block;
}
.js-head-faq {
    display: inline-block;
    cursor: pointer;
}
.js-head-faq h2 {
    margin: 0;
    display: inline-block;
}



.js-head-ico-faq {
    position: relative;
    width: 43px;
    height: 40px;
    margin-right: 25px;
    background-image: url("../../assets/img/plus.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    flex-shrink: 0;
    display: inline-block;
    z-index: 2;
    transition: transform .5s;
}
.js-head-ico-faq.minus {
     /*transform: rotate(180deg);*/
 }


.s-faq-row {
    display: block;
    width: 100%;



}
.s-faq-group  {
    width:100%;
    margin-bottom: 30px;
    background: #18191F;
    text-align: right;
}
.s-faq-group-head {
    border: 1px solid #FFFFFF;
    padding: 30px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    background: linear-gradient(270deg, #18191F 0%, #18191F 81.98%);
    transition: .5s;
    position: relative;
}
.s-faq-group-head:after {
    position: absolute;
    content: "";
    background: linear-gradient(270deg, #E3B407 0%, #FFEECB 81.98%);
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    transition: .5s;
    opacity: 0;
}

.s-faq-group__title {
    font-size: 28px;
    font-weight: 600;
    line-height: 24px;
    text-align: right;
    color: #fff;
    z-index: 2;
}


.js-content-faq {
    margin-top: 5px;
}

.s-faq-group-row {
    border: 1px solid #FFFFFF;
    padding: 30px 30px 0;
    width: 100%;
    background: #18191F;
border-radius: 4px;

}
.s-faq-group-row p {
    font-size: 28px;
    font-weight: 300;
    line-height: 1.2;
    text-align: right;
    color: #fff;
    margin: 0 0 30px;
}
@media (min-width: 1200px) {
    .s-faq-group-head:hover {
        /*background: linear-gradient(270deg, #E3B407 0%, #FFEECB 81.98%);*/

    }
    .s-faq-group-head:hover:after {
        opacity: 1;
    }
    .s-faq-group-head:hover .s-faq-group__title {
        color: #000000;
    }
    .s-faq-group-head:hover .js-head-ico-faq  {
        background-image: url("../../assets/img/plusBlack.svg");
        transform: rotate(-15deg);
    }
}

@media (max-width: 1199px) {
    .s-faq-group-head.active {
        /*background: linear-gradient(270deg, #E3B407 0%, #FFEECB 81.98%);*/

    }
    .s-faq-group-head.active:after {
        opacity: 1;
    }
    .s-faq-group-head.active .s-faq-group__title {
        color: #000000;
    }
    .s-faq-group-head.active .js-head-ico-faq  {
        background-image: url("../../assets/img/plusBlack.svg");
        transform: rotate(-15deg);
    }

    .faq-heading-row .new-heading-big {
        margin-top: 0;
    }
    .faq-row-columns {
        flex-wrap: nowrap !important;
        overflow-x: hidden;
    }
    .s-faq-group__title {
        font-size: 20px;
    }
    .js-head-ico-faq {
        width: 34px;
        height: 27px;
    }
    .s-faq-group-head {
        padding: 24px 18px;
    }
    .s-faq-group-row  {

        padding: 24px 18px 0;
    }
    .s-faq-group-row p {
        font-size: 20px;
        margin: 0 0 24px;
    }

}
@media (max-width: 743px) {
    .faq-heading-row .s-custom-heading {
        width: 100%;
        padding-bottom: 0;
    }
    .faq-heading-row .new-heading-big {
        font-size: 40px;
        line-height: 52px;
    }
    .faq-heading-row .new-heading-small {
        font-size: 20px;
        line-height: 24px;
    }
    .faq-top-row {
        position: relative;
    }
    .faq-top-row .wp-block-column:first-child {
            flex-basis: 100% !important;
    }
    .faq-top-row .wp-block-column:last-child {
         position: absolute;
        right: -15px;
        top: 0;
        bottom: 0;
        margin: auto;
        flex-basis: 72px !important;
        width: 72px;
        height: 59px;
    }

    .faq-row-columns {
        flex-wrap: wrap !important;
        gap: 0 !important;
    }
    .faq-row-columns  .wp-block-column {
        width: 100%;
    }
    .s-faq {
        padding: 0;
    }
    .s-faq-group {
        margin-bottom: 15px;
    }
    .s-faq-group__title {
        font-size: 18px;
    }
    .js-head-ico-faq {
        width: 27px;
        height: 23px;
    }
    .s-faq-group-head {
        padding: 10px 18px;
    }
    .s-faq-group-row {
        padding: 10px 18px 0;
    }
    .s-faq-group-row p {
        font-size: 18px;
        margin: 0 0 10px;
    }

}