

/* Start:/local/templates/.default/components/bitrix/news.list/banners_opt/style.css?17758206347837*/
.main1-slider {
    position: relative;

    margin: 20px 20px 0 20px;
    overflow: hidden;
    padding-top: 20px;
}

.main1-slider .swiper-pagination {
    position: absolute;
    bottom: 30px; /* Отступ от нижнего края слайдера */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.main1-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.main1-slider .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Для мобильных устройств можно уменьшить отступ */
@media (max-width: 768px) {
    .main1-slider {
        padding-top: 0;
    }

    .main1-slider .swiper-pagination {
        bottom: 20px;
    }
}

.owl-next, .owl-prev {
    opacity: 1!important;
    width: 45px!important;
    height: 45px!important;
    background-color: #fff!important;
}

.owl-carousel.owl-theme .owl-nav .owl-prev {
    left: 0!important;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.owl-carousel.owl-theme .owl-nav .owl-next {
    right: 0!important;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.owl-theme .owl-dots .owl-dot span {
    border: 1px solid #fff;
    background: unset!important;
}

.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    color: #ccd7e6;
    background: #97BB5D!important;
    border: unset;
}

.owl-carousel, .owl-stage-outer, .owl-stage, .owl-item {
    height: 70vh !important;
}

.slide {
    height: 100%;
    background-size: cover;
    background-position: center;
    padding: 60px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    border-radius: 40px;
}

.slide-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.slide-logo {
    display: flex;
    gap: 10px;
    color: #fff;
    width: 34px;
    margin-bottom: 12px;
}


.slide-logo span{
    font-size: 17.333px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.347px;
    text-transform: uppercase;
}

.slide__title {
    color: #FFF;
    font-size: 52px;
    font-style: normal;
    font-weight: 400;
    line-height: 118%;
    width: 90%;
    margin-bottom: 20px;
    align-self: stretch;
}

.slide__desc {
    color: #fff;
    width: 100%;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 19.2px */
    letter-spacing: 0.64px;
}

.slide_button {
    color: #fff;
    border-radius: 4px;
    background: linear-gradient(0deg, #97BB5D 0%, #97BB5D 100%), #FFF;
    padding: 12px 50px;
    font-size: 16px;
}

.location-map {
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 8px;
    gap: 10px;
}

.location-map .map-item {
    display: flex;
    align-items: center;
    gap: 0 17px;
}

.main-item-left {
    display: flex;
    align-items: center;
    gap: 0 5px;
}

.main-item-left p {
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
}

.main-item-left span {
    color: #777;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}


.owl-dots {
    top: -30px;
    position: relative;
}

/* Выносим стрелки за пределы контейнера на 50% */
.owl-prev {
    transform: translateX(-50%);
    left: -30px; /* Половина ширины стрелки */
}

.owl-next {
    transform: translateX(50%);
    right: -30px; /* Половина ширины стрелки */
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .slide {
        padding: 0;
        flex-direction: column;
        border-radius: 0;
    }

    .slide-item {
        margin-bottom: 20px;
    }

    .slide__title {
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 130%;
        width: 100%;
    }

    .slide_button {
        width: 100%;
        text-align: center;
    }

    .location-map {
        gap: 0;
        margin-bottom: 10px;
        padding: 16px;
        width: 100%;
    }
}

.main1-slider {
    height: 560px;
}

.main-sec .title {
    margin-top: -130px;
    max-width: 690px;
}

.main-sec .location-map {
    display: inline-flex;
    width: fit-content;
    /*max-width:500px*/
    border-radius: 15px;
    background: rgba(245, 245, 245, 0.80);
    backdrop-filter: blur(25px);
}

.rating-2gis-yandex {
    display: flex;
    border-radius: 20px;
    gap: 36px;
    flex-direction: row;
}

.location-map-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-map--title {
    color: #000;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
}

.location-map--desc {
    color: #484848;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 118%;
    max-width: 460px;
}

.main-item-left span {
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    letter-spacing: 0.04em;
    color: #2E2E2E;
}

.main-sec-h1 a{
    float: right;
    margin-top: 35px;
}

@media (max-width: 768px) {
    .main1-slider {
        margin-top: 0;
        height: unset;
    }

    .rating-2gis-yandex {
        flex-direction: column;
    }

    .map-item {
        flex-direction: row;
    }

    .main-img-mob img {
        border-radius: 40px;
    }

    .main1-slider .swiper-pagination-bullet {
        background: #000;
    }
}


.main1-slider {
    height: unset;
    margin: unset;
}

.swiper-wrapper {
    height: 500px!important;
}

.title-opt {
    margin-bottom: 25px;
}

.main-sec .title {
    margin-top: -140px;
}

.bottom-opt a {
    color: #000;
    background-color: #fff;
    padding: 20px 0;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.slide-item {
    align-items: flex-end;
}

.detail-text-opt {
    font-size: 20px;
}

/* Добавьте эти стили в ваш существующий CSS */

.slide {
    position: relative;
    overflow: hidden;
}

.detail-text-opt {
    position: relative;
    z-index: 2;
    font-size: 20px;
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(4px); /* Размытие заднего фона */
    background: rgba(0, 0, 0, 0.3); /* Полупрозрачный фон для читаемости текста */
    color: #fff; /* Цвет текста для контраста */
}


/* Для мобильной версии */
@media (max-width: 768px) {
    .detail-text-opt {
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        padding: 15px;
    }
}

@media (max-width: 768px) {


    .main-img-mob {
        height: 500px!important;
    }

    .detail-text-opt {
        position: absolute;
        top: 50px;
        width: 90%;
    }

    .slide-item {
        align-items: center;

    }

    .bottom-opt a {
        padding: 10px 20px;
    }

    .main1-slider {
        padding-top: 30px;
    }

    .bottom-opt {
        position: absolute;
        bottom: 30px;
        left: unset;
    }
}
/* End */
/* /local/templates/.default/components/bitrix/news.list/banners_opt/style.css?17758206347837 */
