.news-gallery { position: relative; background: #f4f5f7; overflow: hidden; touch-action: pan-y; }
.news-gallery__slides, .news-gallery__slide, .news-gallery__slide > a { display: block; width: 100%; height: 100%; }
.news-gallery [hidden] { display: none !important; }
.news-gallery .news-gallery__slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.news-gallery.img-text-page { height: min(70vh, 650px); margin-bottom: 30px; }
.news-gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; font: 24px/1 Arial, sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.news-gallery__arrow--prev { left: 10px; }
.news-gallery__arrow--next { right: 10px; }
.news-gallery__arrow:hover { background: #13578b; }
.news-gallery:focus-visible, .news-gallery__arrow:focus-visible { outline: 3px solid #1267b0; outline-offset: -3px; }
.news-gallery__count { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); padding: 5px 12px; border-radius: 20px; background: rgba(0, 0, 0, .65); color: #fff; font: 16px/1.4 Arial, sans-serif; pointer-events: none; }
@media (max-width: 767px) {
    .news-gallery.img-text-page { width: 100%; height: min(65vh, 500px); }
    .news-item .news-gallery.header-img { width: 100%; height: min(115vw, 460px); }
}
