

/* Start:/local/templates/.default/components/bitrix/news.list/main_slider/links.css?17951771482475*/
.s-home-slider .home-slider__item {
    position: relative;
}

.s-home-slider .home-slider__banner-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}

.s-home-slider .home-slider__banner-hit--mobile {
    display: none;
    z-index: 6;
}

.s-home-slider .home-slider__banner-hit:focus-visible {
    outline: 2px solid #ffdfb0;
    outline-offset: -3px;
}

.s-home-slider .home-slider:has(.swiper-slide-active) .home-slider__item:not(.swiper-slide-active) .home-slider__banner-hit {
    visibility: hidden;
}

@media (max-width: 480px) {
    .s-home-slider .home-slider__banner-hit--desktop {
        display: none;
    }

    .s-home-slider .home-slider__banner-hit--mobile {
        display: block;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Give the tilted image room without enlarging the banner. */
.s-home-slider .home-slider .home-slider__row .home-slider__img {
    justify-content: center;
    min-width: 0;
}

.s-home-slider .home-slider .home-slider__row .home-slider__img .home-slider__img-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    height: 100%;
    max-height: 500px;
    left: auto;
    padding: 20px 12px;
}

.s-home-slider .home-slider .home-slider__row .home-slider__img picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.s-home-slider .home-slider .home-slider__row .home-slider__img img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

@media (max-width: 480px) {
    /* Fade through black so the outgoing photo never sits under the new one. */
    .s-home-slider .home-slider.swiper-fade .swiper-slide.home-slider__item .home-slider__row .home-slider__img {
        transform: none;
        visibility: hidden;
        transition: opacity 220ms ease-in, visibility 0s linear 220ms;
    }

    .s-home-slider .home-slider.swiper-fade .swiper-slide.home-slider__item.swiper-slide-active .home-slider__row .home-slider__img {
        visibility: visible;
        transition: opacity 560ms ease-out 220ms;
    }

    .s-home-slider .home-slider .swiper-slide.home-slider__item .home-slider__row .home-slider__img .home-slider__img-image {
        height: calc(100% - 20px);
        max-height: 150px;
        padding: 0 5px;
        transform: none;
    }
}

/* End */


/* Start:/local/templates/.default/components/bitrix/news.list/main_category/style.css?1793729868281*/
.category-item__mobile-hit-area {
    display: none;
}

@media screen and (max-width: 480px) {
    .grid-category__home .category-item--mobile-link .category-item__mobile-hit-area {
        position: absolute;
        inset: 0;
        z-index: 10;
        display: block;
    }
}

/* End */


/* Start:/local/templates/.default/components/bitrix/news.list/main_about_gallery/home-gallery.css?1795179912586*/
.s-about:has(.about-gallery--home) {
    overflow-x: clip;
    overflow-y: visible;
}

.about-gallery.about-gallery--home .swiper-wrapper {
    align-items: center;
}

.about-gallery.about-gallery--home .swiper-slide,
.about-gallery.about-gallery--home .about-gallery__img .about-gallery__img-src {
    height: auto;
}

.about-gallery.about-gallery--home .about-gallery__img-src picture {
    display: block;
}

.about-gallery.about-gallery--home .about-gallery__img .about-gallery__img-src img {
    display: block;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

/* End */
/* /local/templates/.default/components/bitrix/news.list/main_slider/links.css?17951771482475 */
/* /local/templates/.default/components/bitrix/news.list/main_category/style.css?1793729868281 */
/* /local/templates/.default/components/bitrix/news.list/main_about_gallery/home-gallery.css?1795179912586 */
