.top-banners__wrapper {
    margin-bottom: 70px;
    padding: 0 16px;
    display: flex;
    justify-content: center;
}

.top-banners__wrapper .owl-stage-outer {
    overflow: hidden;
    padding-top: 25px;
}
.top-banners__wrapper {
    position: relative;
}
.top-banners__wrapper .top-banners__container {
    margin-right: 30px;
}

.top-banners__wrapper .top-banners__container:last-of-type {
    margin-right: 0;
}

.top-banners__container {
    border-radius: 10px;
    min-height: 267px;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.top-banners__link {
    display: block;
    height: 100%;
    padding: 40px;
    min-height: 267px;
}
.top-banners__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 250px;
    position: relative;
    z-index: 2;
    min-height: 227px;
    height: 100%;
}
.top-banners__image {
    transition: all 0.2s ease-in-out;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.top-banners_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-banners__badge {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0;
    margin-top: 20px;
}

.top-banners__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.top-banners__button {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-background-color);
    color: var(--secondary-text-color);
    width: fit-content;
    padding: 5px 20px;
    border-radius: 20px;
    transition: all 0.2s ease-in-out;
    margin-bottom: 20px;
}
.top-banners__link:hover .top-banners__button  {
    background: var(--accent-color);
}

@media (max-width: 1500px) {
    .top-banners__link {
        min-height: 240px;
    }
    .top-banners__content {
        min-height: 200px;
    }
    .top-banners__container {
        min-height: 240px;
    }
}



@media (max-width: 1200px) {

    .top-banners__title  {
        font-size: 26px;
    }

    .top-banners__link {
        min-height: 200px;
    }
    .top-banners__content {
        min-height: 160px;
    }
    .top-banners__container {
        min-height: 200px;
    }
}

@media (max-width:992px) {
    .top-banners__link {
        min-height: 160px;
        padding: 15px;
    }
    .top-banners__content {
        min-height: 140px;
    }
    .top-banners__container {
        min-height: 160px;
    }
}

.top-banners__container:hover .top-banners__image {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .top-banners__wrapper {
        flex-direction: column;
    }
    .top-banners__container {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .top-banners__container:last-of-type {
        margin-bottom: 0;
    }
}