

/* Start:/bitrix/templates/newstom/components/bitrix/news/news/bitrix/news.detail/.default/style.css?17777271002835*/
div.news-detail
{
	word-wrap: break-word;
}
div.news-detail img.detail_picture
{
	float:left;
	margin:0 8px 6px 1px;
}
.news-date-time
{
	color:#486DAA;
}

/* ========== Галерея новости ========== */
.news-gallery {
    margin: 30px 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Основной контейнер слайдера */
.news-gallery__swiper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
    width: 100%;
    max-width: 100%;
}

/* Слайд */
.news-gallery__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
}

/* Изображение внутри слайда */
.news-gallery__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    background: #f0f0f0;
}

/* Кнопки навигации */
.news-gallery .swiper-button-next,
.news-gallery .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background 0.3s;
}
.news-gallery .swiper-button-next:hover,
.news-gallery .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.65);
}
.news-gallery .swiper-button-next::after,
.news-gallery .swiper-button-prev::after {
    content: '' !important;
    font-size: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    position: absolute;
    top: 50%;
    left: 50%;
}

.news-gallery .swiper-button-next::after {
    transform: translate(-65%, -50%) rotate(-45deg);
}

.news-gallery .swiper-button-prev::after {
    transform: translate(-35%, -50%) rotate(135deg);
}

/* Пагинация (точки) */
.news-gallery .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 16px;
}
.news-gallery .swiper-pagination-bullet {
    background: #486DAA;
    opacity: 0.4;
    width: 10px;
    height: 10px;
}
.news-gallery .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Если фото одно — скрываем навигацию и пагинацию */
.news-gallery--single .swiper-button-next,
.news-gallery--single .swiper-button-prev,
.news-gallery--single .swiper-pagination {
    display: none;
}

/* Адаптив */
@media (max-width: 768px) {
    .news-gallery {
        margin: 20px -15px;
        width: calc(100% + 30px);
        max-width: calc(100% + 30px);
    }
    .news-gallery__swiper {
        border-radius: 0;
    }
    .news-gallery .swiper-button-next,
    .news-gallery .swiper-button-prev {
        width: 36px;
        height: 36px;
    }
    .news-gallery .swiper-button-next::after,
    .news-gallery .swiper-button-prev::after {
        font-size: 14px;
    }
}
/* End */


/* Start:/bitrix/templates/newstom/css/sticky-sidebar-enable.css?1754207292229*/
.ss2-sidebar{
    will-change: min-height;
}

.ss2-sidebar__inner{
    transform: translate(0, 0); /* For browsers don't support translate3d. */
    transform: translate3d(0, 0, 0);
    will-change: position, transform;
}
/* End */
/* /bitrix/templates/newstom/components/bitrix/news/news/bitrix/news.detail/.default/style.css?17777271002835 */
/* /bitrix/templates/newstom/css/sticky-sidebar-enable.css?1754207292229 */
