.main-first-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    height: 120px;
}

.main-first-bottom__item {
    padding: 20px 24px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    color: var(--white);
    font-size: 18px;
    line-height: 125%;
    z-index: 1;
    /*font-family: "manrope_semibold", sans-serif;*/
    font-weight: 600;
}

.main-first-bottom__item:hover{
    color: var(--white);
}

.main-first-bottom__item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center center;
    z-index: -1;
    transition: transform 0.3s ease;
}

.main-first-bottom__item::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0, transparent 65%);
}

@media screen and (max-width: 1200px) {
    .main-first-bottom__item {
        font-size: 16px;
    }
}

@media screen and (max-width: 991px) {
    .main-first-bottom__item {
        font-size: 14px;
        height: 100%;
        /*width: 30dvw;*/
        padding: 12px;
        flex-shrink: 0;
    }

    .main-first-bottom {
        /*height: 100px;*/
        /*display: flex;*/
        /*overflow-x: auto;*/
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;

        display: none;
    }
}

@media screen and (max-width: 575px) {
    .main-first-bottom__item::before {
        content: unset;
    }

    .main-first-bottom__item {
        border: 1px solid var(--stroke-color);
        font-size: 11px;
        color: var(--main-text) ;
    }
    .main-first-bottom__item:hover{
        color: var(--main-text) ;
    }

    .main-first-bottom__item::after {
        content: unset;
    }
}

@media (hover: hover) {

    .main-first-bottom__item:hover:not(.focus-visible)::before {
        transform: scale(1.1);

    }
}
