.text-tabs {
    padding: 40px 0 40px;
    position: relative;
}

.text-tabs strong {
    position: relative;
}

.text-tabs h1,
.text-tabs h2 {
    font-size: 64px;
}

.text-tabs h3 {
    position: relative;
}

.text-tabs h3::before {
    content: '';
    position: absolute;
    left: -64px;
    top: 0;
    transform: translateX(-100%);
    width: 48px;
    height: 48px;
    background-image: url(../../assets/images/block-title-before.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.text-tabs .categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0 36px;
    list-style-type: none;
    padding: 0;
    margin: 14px 0 0;
    padding: 30px 0;
    position: relative;
}

.text-tabs .categories::before {
    content: '';
    position: absolute;
    left: -54px;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    width: 48px;
    height: 48px;
    background-image: url(../../assets/images/block-title-before.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.text-tabs .categories a {
    color: #1F2B51;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 2.16;
    text-transform: uppercase;
    transition: color .3s ease;
}

.text-tabs .categories a:hover {
    color: #00FFBF;
}

.text-tabs .categories .active a {
    font-weight: 800;
}

.text-tabs .tab-content:not(.active) {
    display: none;
}

.text-tabs .tab-content-wrapper li {
    margin: 10px 0;
}

.text-tabs .block-title {
    max-width: 100%;
}

.text-tabs .block-title::before {
    display: none;
}

@media (max-width:1199px) {

    .text-tabs h1,
    .text-tabs h2 {
        font-size: 36px;
    }
}

@media (max-width:991px) {

    .text-tabs h1,
    .text-tabs h2,
    .text-tabs h3 {
        font-size: 24px;
    }

    .text-tabs h1 strong::before,
    .text-tabs h2 strong::before {
        content: '';
        width: 315px;
        height: 16px;
    }

    .text-tabs h3::before {
        width: 16px;
        height: 16px;
        left: 0;
        transform: translateY(-100%) translateX(-100%);
    }

    .text-tabs .categories {
        flex-direction: column;
        padding: 27px 25px;
        margin: 0;
    }

    .text-tabs .categories::before {
        width: 16px;
        height: 16px;
        left: 0;
        top: 30px;
        transform: none;
    }

    .text-tabs .categories a {
        font-size: 16px;
    }

}