

/* Start:/local/templates/r-pack/components/bitrix/news.detail/news-detail/style.css?17950003053247*/
.article-gallery {
  margin: 40px 0 50px;
}

.article-gallery__title {
  margin: 0 0 24px;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  font-family: "OldStandardTT", "Arial", sans-serif;
  color: #000;
}

.article-gallery__slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 28px;
}

.article-gallery__slide-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #b7b7b7;
  outline: none;
  border-radius: 4px;
}

.article-gallery__slide-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.article-gallery__slide-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-gallery__slide-link:hover::after,
.article-gallery__slide-link:focus-visible::after {
  opacity: 1;
}

.article-gallery__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: #fff;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.article-gallery__slide-link:hover .article-gallery__icon,
.article-gallery__slide-link:focus-visible .article-gallery__icon {
  opacity: 1;
}

.article-gallery__icon svg {
  width: 35px;
  height: 35px;
}

.article-gallery__nav {
  position: absolute;
  top: calc(50% - 14px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #4d3755;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.article-gallery__nav--prev {
  left: 8px;
}

.article-gallery__nav--next {
  right: 8px;
}

.article-gallery__nav svg {
  width: 9px;
  height: 14px;
}

.article-gallery__nav--prev svg {
  transform: scaleX(-1);
}

.article-gallery__nav:hover,
.article-gallery__nav:focus-visible {
  background: #fff;
}

.article-gallery__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.article-gallery__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.article-gallery__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0;
  opacity: 0.45;
  background: #4d3755;
}

.article-gallery__pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.article-gallery--single .article-gallery__nav,
.article-gallery--single .article-gallery__pagination {
  display: none;
}

@media (max-width: 1023px) {
  .article-gallery {
    margin: 30px 0 40px;
  }

  .article-gallery__title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .article-gallery__nav {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 615px) {
  .article-gallery__title {
    font-size: 22px;
  }

  .article-gallery__slide-link {
    aspect-ratio: 4 / 3;
  }

  .article-gallery__nav--prev {
    left: 4px;
  }

  .article-gallery__nav--next {
    right: 4px;
  }
}

/* End */
/* /local/templates/r-pack/components/bitrix/news.detail/news-detail/style.css?17950003053247 */
