

/* Start:/local/templates/media/components/bitrix/news.list/slider/style.css?17859622666908*/
/* ─────────────────────────────────────────────
   Токены
   ───────────────────────────────────────────── */
.hero-slider{
  --hero-ratio: 10 / 3;        /* десктоп */
  --hero-ratio-mobile: 3 / 4;  /* мобильный */
  --hero-max-h: 82vh;
  --hero-bg: #0b0d10;
  --hero-fg: #fff;
  --hero-accent: #040100;
  --hero-pad: clamp(20px, 5vw, 72px);
}

/* ─────────────────────────────────────────────
   Раскладка на всю ширину
   ───────────────────────────────────────────── */
.hero-slider{
  position: relative;
  width: 100%;
  aspect-ratio: var(--hero-ratio);
  max-height: var(--hero-max-h);
  overflow: hidden;
  background: var(--hero-bg);
}

/* если слайдер лежит внутри контейнера с ограниченной шириной */
.hero-slider--full-bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  max-width: none;
}

@media (max-width: 767px){
  .hero-slider{
    aspect-ratio: var(--hero-ratio-mobile);
    max-height: none;
  }
}

.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide{ height: 100%; }

.hero-slider .swiper-slide{
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
}

/* ─────────────────────────────────────────────
   Медиа
   ───────────────────────────────────────────── */
.hero-slide__media{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
}

.hero-slide__scrim{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
@media (max-width: 767px){
  .hero-slide__scrim{
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.65) 100%);
  }
}
.hero-slide--no-scrim .hero-slide__scrim{ display: none; }

/* ─────────────────────────────────────────────
   Контент
   ───────────────────────────────────────────── */
.hero-slide__content{
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: var(--hero-pad);
  max-width: 640px;
  color: var(--hero-fg);
}
@media (max-width: 767px){
  .hero-slide__content{
    justify-content: flex-end;
    padding-bottom: 76px;
    max-width: none;
  }
}

.hero-slide__caption{
  font: 600 12px/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .8;
  margin: 0;
}
.hero-slide__title{
  margin: 0;
  font: 700 clamp(28px, 4.4vw, 60px)/1.06 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -.02em;
  color: inherit;
  text-wrap: balance;
}
.hero-slide__text{
  margin: 0;
  font: 400 clamp(15px, 1.4vw, 19px)/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  opacity: .88;
  max-width: 46ch;
}
.hero-slide__text p{ margin: 0 0 .5em; }
.hero-slide__text p:last-child{ margin-bottom: 0; }

.hero-slide__btn{
  align-self: flex-start;
  margin-top: 6px;
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font: 600 15px/1 system-ui, sans-serif;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease;
}
.hero-slide__btn:hover{ filter: brightness(1.08); transform: translateY(-1px); color: #555; }
.hero-slide__btn:focus-visible{ outline: 3px solid #fff; outline-offset: 3px; }

/* ─────────────────────────────────────────────
   Кликабельный баннер целиком
   (BUTTON_TEXT пуст или SHOW_CONTENT выключен, а LINK заполнен)
   ───────────────────────────────────────────── */
.hero-slide__cover-link{
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  text-indent: -9999px;   /* aria-label читается скринридером, визуально пусто */
  overflow: hidden;
}
.hero-slide__cover-link:focus-visible{
  outline: 3px solid #fff;
  outline-offset: -6px;
}

/* слайд без текстового блока: затемнение не нужно */
.hero-slide--no-content .hero-slide__scrim{ display: none; }

/* ─────────────────────────────────────────────
   Управление
   ───────────────────────────────────────────── */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next{
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  color: #fff;
  transition: background .2s ease;
}
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover{ background: rgba(0,0,0,.6); }
.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after{ font-size: 17px; font-weight: 700; }
@media (max-width: 767px){
  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next{ display: none; }
}

.hero-slider .swiper-pagination{ bottom: 24px !important; }
.hero-slider .swiper-pagination-bullet{
  width: 28px; height: 3px;
  border-radius: 2px;
  background: #fff;
  opacity: .38;
  transition: opacity .2s ease;
}
.hero-slider .swiper-pagination-bullet-active{ opacity: 1; }

.hero-slide__sound{
  position: absolute;
  right: 20px; bottom: 20px;
  z-index: 5;
  width: 44px; height: 44px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
}
.hero-slide__sound svg{ width: 20px; height: 20px; }
.hero-slide--video .hero-slide__sound{ display: grid; }
.hero-slide__sound .icon-on{ display: none; }
.hero-slide__sound[aria-pressed="true"] .icon-on{ display: block; }
.hero-slide__sound[aria-pressed="true"] .icon-off{ display: none; }

@media (prefers-reduced-motion: reduce){
  .hero-slide__btn{ transition: none; }
}

/* End */
/* /local/templates/media/components/bitrix/news.list/slider/style.css?17859622666908 */
