.banner {
    padding-bottom: 20px;
}

.banner__wrapper {
    padding-top: 20px;
    height: auto;
}

.banner__main {
   // display: grid;
  //  grid-template-columns: 60% 40%;
    gap: 10px;
}

.banner img {
    border-radius: 5px;
}

.banner__slider {
    position: relative;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}


.banner__slider .swiper-pagination-bullet {
    background-color: var(--main-background-color);
    opacity: 1;
}
.banner__slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.banner__slider .mg-slider-wrap.swiper-initialized {
    height: 100% !important;
    text-rendering: optimizeLegibility;
    min-height: 210px;
}

.banner__side-link {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner__side-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.banner__side-container {
    padding: 30px;
    max-width: 230px;
    display: flex;
    flex-direction: column;
}

.banner__side-container_center {
    justify-content: center;
}

.banner__side-title {
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 500;
}

.banner__side-text {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.2;
}

.banner__slide,
.banner__slide img {
    height: inherit;
}

.banner__slide img {
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    width: 100%;
}

.banner .mg-slider-wrap {
    margin-bottom: 0;
    border-radius: 10px;
}


.banner .swiper-button-prev {
    display: none;
}

.banner .swiper-button-next {
    display: none;
}

.banner__side {
    position: relative;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
}

.banner__side-img_first {
    grid-column-start: span 2;
}

.banner__side-img {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.banner__side-img::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: var(--main-background-color);
    z-index: -2;
}


.banner__side-image {
    transition: all 0.3s ease-in-out;
}

.banner__side-img:hover .banner__side-image{
    transform: scale(1.04);
}

.banner__side-img a {
    height: 100%;
    position: relative;
    width: 100%;
}

.banner__side-img img {
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    width: 100%;
    border-radius: 5px;
}

.banner__side-img a {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.slide-banner {
    height: 100%;
    display: flex;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

.slide-banner--top {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.slide-banner--center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.slide-banner--bottom {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.slider-banner--left {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;    
}

.slider-banner--v-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.slider-banner--right {
    align-items: flex-end;
}

.banner-info {
    padding: 20px;
}

.banner-info__top {
    margin-bottom: 15px;
    color: var(--main-text-color);
    max-width: 400px;
    width: 100%;
    font-size: 14px;
}

.banner-info__title {
    font-weight: normal;
    margin-bottom: 15px;
    font-size: 28px;
    color: var(--main-text-color);
    max-width: 400px;
    width: 100%;
}

.banner-info__text {
    margin-bottom: 15px;
    color: var(--main-text-color);
    max-width: 400px;
    width: 100%;
    font-size: 16px;
}
@media (max-width: 500px) {
    .banner-info__title {
        font-size: 18px;
    }
    .banner-info__text {
        font-size: 14px;
    }
    .banner-info__top {
        font-size: 12px;
    }
}

.slider-align--left {
    text-align: left;
}

.slider-align--v-center {
    text-align: center;
}

.slider-align--right {
    text-align: right;
}


.banner-info__btn {
    padding: 8px 10px;
    border-radius: 20px;
    background-color: var(--accent-color);
    color: var(--secondary-text-color);
    transition: all 0.3s ease-in-out;
    display: block;
    width: fit-content;
    height: fit-content;
}
.banner__slide-info {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.banner-info__btn:hover {
    opacity: 0.8;
}

@media (max-width: 1269px) {
    .banner__main {
        grid-template-columns: 1fr;
    }
    .banner__slider {
        width: 100% !important;
    }
    .banner__side {
        width: 100%;
    }
    .banner__side-img {
        height: 100%;
    }
    .banner__side-img a {
        padding: 6%;
    }
}


@media (max-width: 650px) {
    
    .banner__side-title {
        font-size: 14px;
    }
    
    .banner__side-text {
        font-size: 10px;
    }
    
}

@media (max-width: 425px) {
    .banner__side-container {
        padding: 20px 10px;
    }
    .banner__side-text {
        display: none;
    }
}