.tools-category .cards-with-images {
    --bar-color: #4a9cff;
    --img-bg: #f3f6fe;
    --card-bg: #fff;
}

.tools-category .tools-category__slide.slide2 .cards-with-images {
    --bar-color: #009966;
    --img-bg: #F6FEFC;
}

.tools-category .tools-category__slide.slide3 .cards-with-images {
    --bar-color: #7F22FE;
    --img-bg: #FAF7FF;
}

.tools-category .tools-category__slide.slide4 .cards-with-images {
    --bar-color: #FE9A00;
    --img-bg: #FFFBF2;
}


.tools-category .cards-with-images .cards-with-images__card {
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.tools-category .cards-with-images .cards-with-images__img-wrapper {
    height: 150px;
    position: relative;
    background-color: var(--img-bg);
    padding: 20px 10px;
}

.tools-category .cards-with-images .cards-with-images__img-wrapper::before {
    content: "";
    position: absolute;
    display: block;
    height: 2px;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--bar-color);
}

.tools-category .tab-switcher {
    --pad: 4px;
    position: relative;
    padding: var(--pad);
    max-width: 700px;
    margin: 0 auto;
    margin-top: 24px;
    border: 1px solid #E3EEFF;
}

.tab-switcher .tab-switcher__highlight {
    height: calc(100% - (var(--pad) * 2));
    width: calc((100% / var(--amount, 1)) - (var(--pad) * 2));
    top: var(--pad);
    left: calc(var(--pad) + (100% / var(--amount, 1)) * var(--currentPosition));
    border: none;
}

.tab-switcher .tab-switcher .tab-switcher__option {
    font-size: 14px;
}

@media screen and (max-width: 750px) {
    .tools-category .tab-switcher {
        flex-direction: column;
        height: fit-content;
        padding: 0;
    }

    .tab-switcher .tab-switcher__highlight {
        width: calc(100% - (var(--pad) * 2));
        height: calc((100% / var(--amount, 1)) - (var(--pad) * 2));
        left: var(--pad);
        top: calc(var(--pad) + (100% / var(--amount, 1)) * var(--currentPosition));
        transition: top var(--transition-duration), background var(--transition-duration);
    }

    .tab-switcher .tab-switcher__option {
        padding: 10px 15px;
        justify-content: flex-start;
    }
}
