

/* Start:/local/components/custom/banner/templates/.default/style.css?17900752942142*/
.banner-wrapper {
    position: relative;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center; /* фокусируем правый край */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    color: #fff;
    background-color: #0000009e;
}

.banner-overlay {
    width: 100%;
    height: 100%;
/*    background: rgba(0,0,0,0.4);*/
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
    box-sizing: border-box;
}

.banner-text {
    max-width: 50%;
    font-size: 1.2em;
    color: #fff;
    padding-left: 10%;
}

.banner-text * {
    color: #fff !important;
}

.banner-text a {
    color: #fff !important;
    text-decoration: underline;
}

.banner-text ul,
.banner-text ol {
    color: #fff !important;
    padding-left: 20px;
}

.banner-text li {
    color: #fff !important;
    margin-bottom: 5px;
}

ul>li::before {
    background-color: #fff !important;
}

/* Планшеты */
@media (min-width: 768px) and (max-width: 1024px) {
    .banner-text {
        max-width: 75%;
    }

    .banner-overlay {
        padding: 30px;
    }
    .banner-text {
    padding-left: unset;
    }
}

/* Мобильная картинка из "Подробнее" — скрыта на десктопе */
.banner-mobile-detail {
    display: none;
}

/* Мобильные */
@media (max-width: 767px) {
    .banner-text {
        max-width: 100%;
    }

    .banner-overlay {
        padding: 20px;
    }
    .banner-wrapper {
    height: auto !important;
    background-size: unset;
    }
    .banner-text {
    padding-left: unset;
    }

    /* Если есть картинка из "Подробнее" — скрываем основной баннер, показываем детальную картинку */
    .banner-wrapper ~ .banner-mobile-detail {
        display: block;
    }
    .banner-wrapper:has(~ .banner-mobile-detail) {
        display: none;
    }
    .banner-mobile-detail img {
        width: 100%;
        height: auto;
        display: block;
    }
}

/* End */
/* /local/components/custom/banner/templates/.default/style.css?17900752942142 */
