.block-faqs {
    padding: 64px 0;
    position: relative;
    max-width: 100% !important;
}

.block-faqs.layout-v1 .container {
    max-width: 752px;
    padding-left: 0;
    padding-right: 0;
}

.faq__display-item {
    padding: 24px 16px 10px;
    border: 1px solid transparent;
    border-bottom-color: #E5E7EB;
    border-radius: 0;
    margin-bottom: 24px;
    transition: border-color 0.2s ease;
}

.layout-v1 .faq__display-item.active {
    background: #fff url(./images/faq-image.png);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: right bottom;
    border-color: #E5E7EB;
    border-radius: 8px;
}

.layout-v2 .faq__display-item.active {
    background-color: #ECF5FF;
}

.layout-v2 .faq__display-item {
    position: relative;
    margin-bottom: 0;
}

.layout-v2 .faq__display-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 75px;
    height: 2px;
    background: var(--color-primary);
    opacity: 0;

}

.layout-v2 .faq__display-item.active::before {
    opacity: 1;
}

.layout-v2 .faq__display-item.active img {
    filter: brightness(0) saturate(100%) invert(21%) sepia(85%) saturate(3401%) hue-rotate(227deg) brightness(101%) contrast(100%);
}

.faq__item-content {
    padding-top: 16px;
    color: #7A7A7A;
    display: none;
}

.faq__item-content p {
    line-height: 1.5;
}

.faq__display-item.active .faq__item-content {
    padding-bottom: 16px;
    display: block;
}

.faq__display-item h6 {
    margin: 0;
}

.layout-v1 .faqs__heading {
    text-align: left;
    padding-bottom: 50px;
}

.faq__display-item:last-child {
    margin-bottom: 0;
}

.faq__display--items {
    position: relative;
}

.faq__display-item .title {
    transition: color 0.2s ease;
    position: relative;
    cursor: pointer;
    padding-right: 30px;
}

.faq__display-item.active .title {
    color: var(--color-primary);
}


.faq__display-item .title:after {
    content: '';
    position: absolute;
    top: 2px;
    right: 0;
    width: 20px;
    height: 20px;
    background: url(./images/faq-arrow.svg) no-repeat center center;
}

.faq__display-item.active .title:after {
    background: url(./images/faq-arrow-active.svg) no-repeat center center;
}

.layout-v2 .title span {
    color: var(--color-primary);
}


.faq__item-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.faq__item-inner .title {
    width: calc(100% - 40px);
}

.block-faqs.layout-v2 .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


.block-faqs.layout-v2 .faqs__image {
    width: 40%;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.block-faqs.layout-v2 .faqs__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block-faqs.layout-v2 .content-left .faqs__heading .title {
    margin: 0 0 40px;
}

.block-faqs.layout-v2 .content-left .faqs__heading .title span {
    color: var(--color-primary);
}

.block-faqs.layout-v2::before {
    content: '';
    position: absolute;
    width: 51px;
    height: 516px;
    left: 0px;
    top: 290px;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    background: url(images/b-v1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.faqs__button {
    margin-top: 40px;
}

.block-faqs.layout-v2 .faqs__image .faqs__image-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(196.8deg, rgba(61, 210, 255, 0) 56.51%, #2155FF 99.94%);
    z-index: 2;
}

@media (min-width: 992px) {
    .layout-v1.block-faqs {
        background-image: url(./images/faq-gradient.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
    }

    .layout-v1.block-faqs:before {
        content: '';
        position: absolute;
        width: 267px;
        height: 236px;
        top: 272px;
        left: 32%;
        -webkit-filter: blur(250px);
        filter: blur(250px);
        pointer-events: none;
        z-index: 0;
        -webkit-transform: rotate(74deg);
        -ms-transform: rotate(74deg);
        transform: rotate(74deg);
    }

    .block-faqs.layout-v2.has-image .content-left {
        width: 60%;
        padding-right: 30px;
        max-width: 670px;
    }

    .faqs__image-inner {
        position: relative;
        padding-bottom: calc(851/480 * 100%);
        overflow: hidden;
        border-radius: 8px;
    }

    .faqs__image-inner img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 991px) {
    .block-faqs.layout-v2 .faqs__image {
        display: none;
    }

}

@media (max-width: 767px) {
    .block-faqs.layout-v1 .faqs__heading {
        padding-bottom: 25px;
    }


    .block-faqs.layout-v2 .content-left .faqs__heading .title {
        text-align: center;
    }

    .faqs__button {
        text-align: center;
    }

    .faqs__button a {
        margin: 0 auto;
    }
}