.faq-block__heading {
    margin-bottom: 50px;
}

.faq-block__heading strong {
    background: url(/wp-content/themes/howsimpl/img/raster/image-and-text-strong-bg.png) no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: cover;
    background-position: top;
}

.faq-block__item-heading-bg {
    position: absolute;
    background: #FF5A46;
    border-radius: 5px;
    width: 32px;
    height: 32px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.c-accordion__title:after,
.c-accordion__title:before {
    content: '' !important;
}

.c-accordion__title .faq-block__item-heading-bg:after,
.c-accordion__title .faq-block__item-heading-bg:before {
    content: '' !important;
    position: absolute;
    background: #FFFFFF;
    border-radius: 10px;
    transition: transform 0.3s ease;
    top: 50%;
}
.c-accordion__title .faq-block__item-heading-bg:before {
    width: 2px;
    height: 19px;
    right: 50%;
    transform: translate(50%, -50%);
}

.c-accordion__title .faq-block__item-heading-bg::after {
    width: 19px;
    height: 2px;
    right: 50%;
    transform: translate(50%, -50%);
}

.is-open > .c-accordion__title .faq-block__item-heading-bg:before {
    transform: translateY(-50%) rotate(90deg);
}

.faq-block__item-wrapper {
    padding: 26px 29px;
    flex-basis: calc((100% - 20px) / 2);
    cursor: pointer;
    border-radius: 15px;
    background: #F1F4F9;
    height: fit-content;
}


.faq-block__item-text {
    padding-top: 10px;
}

.faq-block__item-text table {
    padding-top: 10px;
    margin-bottom: 0;
}

.faq-block__item-text p:last-child {
    margin-bottom: 0;
}

.faq-block__item-text li p {
    padding-top: 0;
}

.faq-block__item-text * {
    color: #202029;
}

.faq-block__item-text ul,
.faq-block__item-text ol {
    padding-left: 16px;
    margin-bottom: 10px;
}

.faq-block__item-text tr {
    display: flex;
}


.faq-block__item-text p:not(:last-child) {
    margin-bottom: 10px;
}

.faq-block__item-text li:not(:last-child) {
    margin-bottom: 5px;
}

.faq-block__wrapper {
    border-radius: 40px;
    padding: 80px;
    background: #202029;
}

.faq-block__acc-wrapper {
    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 14px;
}

.faq-block__column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-basis: calc((100% - 20px) / 2);
    height: fit-content;
}

.faq-block__item-heading {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.05em;
    color: #202029;
    padding-right: 42px;
}

@media screen and (max-width: 1199.98px) {
    .faq-block__wrapper {
        padding: 60px;
    }
}
@media screen and (max-width: 1023.98px) {
    .faq-block__heading {
        margin-bottom: 25px;
    }

    .c-accordion__title:after {
        width: 28px;
        height: 28px;
        top: 10px;
    }

    .faq-block__item-heading-bg {
        border-radius: 4px;
        width: 24px;
        height: 24px;
    }

    .faq-block__wrapper .is-open > .c-accordion__title:after {
        top: -4px;
    }

    .faq-block__acc-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .faq-block__item-wrapper {
        border-radius: 12px;
    }
    

    .c-accordion__title .faq-block__item-heading-bg:before {
        width: 1.5px;
        height: 14.5px;
    }

    .faq-block__item-wrapper {
        padding: 20px;
    }

    .c-accordion__title .faq-block__item-heading-bg::after {
        width: 14.5px;
        height: 1.5px;
    }

    .faq-block__item-heading {
        font-size: 18px;
    }

    .faq-block__wrapper {
        padding: 40px;
    }
}

@media screen and (max-width: 599.98px) {
    .faq-block__heading {
        margin-bottom: 30px;
    }

    .faq-block__item-text ul,
    .faq-block__item-text ol {
        padding-left: 18px;
    }

    .c-accordion__title:after {
        width: 24px;
        height: 24px;
    }

    .faq-block__wrapper .is-open > .c-accordion__title:after {
        top: -2px;
    }

    .faq-block__acc-wrapper {
        gap: 10px;
    }

    .faq-block__wrapper {
        padding: 40px 25px;
    }

    .faq-block__item-text p:not(:last-child),
    .faq-block__item-text li:not(:last-child){
        margin-bottom: 5px;
    }

    .faq-block__item-text tr {
       flex-direction: column;
    }
}