:root {
    --slider-color: #7d7efa;
    --slider-opacity-color: rgba(249, 120, 146, 0);
}

.main-slider-container {
    width: 98%;
    max-width: 1320px;
    margin-right: auto;
    margin-left: auto;
}

@media(max-width:767px) {
    .main-slider-container {
        width: 100%
    }
}
.carousel-block {
    padding: 15px 0 0;
    background: url("../images/slider-bg.png") no-repeat;
    background-size: cover;
    background-position: center bottom;
}

.slider-container {
    margin-top: -20px
}

.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 285px;
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px
}

.swiper-slide img {
    display: block;
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    transition: all .2s ease;
	width: 100%;
	height: auto;
}

.swiper-slide-active img:hover {
    transform: scale(1.1)
}

.swiper-slide h3 {
    position: absolute;
    bottom: 0;
    display: none;
    font-size: 22px;
    color: #fff;
    position: absolute;
    background: var(--blur-1-color);
    background: linear-gradient( to top, var(--slider-color), var(--slider-opacity-color));
    text-shadow: -1px -1px 2px var(--slider-color), 2px 2px 3px var(--slider-color);
    font-weight: 400;
    transition: all .3s ease;
    z-index: 3;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    padding-right: 15px;
    line-height: 1;
    margin-bottom: 0;
    border-radius: 0 0 12px 12px;
    padding: 45px 10px 6px
}

.swiper-slide-active h3 {
    display: initial
}

.swiper-pagination-bullet-active {
    background: var(--theme-color)
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--blur-1-color);
    transition: all .2s ease
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--theme-color)
}
