

/* Start:/local/templates/jackarno/components/bitrix/news.list/main.banner/style.css?17902047611403*/
/* Поведение для видео: чтобы видео масштабировалось так же, как картинка */
.banner-home__video-desktop,
.banner-home__video-mobile {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.banner-home__img {
    display: block;
    width: 100%;
}

.banner-home__img img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

.banner-home__link {
    display: block;
    width: 100%;
}

.banner-home__slideshow {
    display: grid;
}

.banner-home__slideshow > .banner-home__slide {
    grid-area: 1 / 1;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    pointer-events: none;
}

.banner-home__slideshow > .banner-home__slide.is-active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

/* 
 * Стандартный способ скрытия блоков для мобилки и десктопа 
 * (если в проекте нет Bootstrap, добавим fallback-стили)
 */
@media (max-width: 767.98px) {
    .banner-home .d-none.d-md-block {
        display: none !important;
    }
    .banner-home .d-block.d-md-none {
        display: block !important;
    }
}
@media (min-width: 768px) {
    .banner-home .d-block.d-md-none {
        display: none !important;
    }
    .banner-home .d-none.d-md-block {
        display: block !important;
    }
}

/* End */


/* Start:/local/templates/jackarno/components/bitrix/news.list/main.banner.mid/style.css?17906389441289*/
.banner-mid {
    margin: 2rem auto;
}

.banner-mid__item {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    background: #d4d4d4;
}


.banner-mid__img,
.banner-mid__img img {
    display: block;
    width: 100%;
    height: auto;
}

.banner-mid__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem 1.25rem 1.5rem;
    pointer-events: none;
    z-index: 2;
}

.banner-mid__title {
    max-width: 12em;
    color: #fff;
    font-size: clamp(1.25rem, 3.2vw, 2.75rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-transform: lowercase;
}

.banner-mid__cta {
    pointer-events: auto;
    align-self: flex-start;
    color: #fff;
    font-size: clamp(0.75rem, 1.2vw, 0.9375rem);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 0.25em;
}

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

@media (min-width: 768px) {
    .banner-mid__content {
        padding: 2.5rem 3rem 2.75rem;
    }
}

@media (max-width: 767.98px) {
    .banner-mid {
        margin: 1rem auto;
    }

    .banner-mid__title {
        max-width: 10em;
    }
}

/* End */
/* /local/templates/jackarno/components/bitrix/news.list/main.banner/style.css?17902047611403 */
/* /local/templates/jackarno/components/bitrix/news.list/main.banner.mid/style.css?17906389441289 */
