.hero {
  background: #493464;
}

.hero__slider {
  width: 100%;
  container-type: inline-size;
  --hero-unit: .0520833333cqw; /* One pixel of the 1920 px export. */
  --swiper-theme-color: #dc4999;
}

.hero__slide {
  position: relative;
  height: auto;
}

.hero__link,
.hero__picture {
  display: block;
}

.hero__link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 670;
}

.hero .hero__pagination {
  position: absolute;
  z-index: 2;
  left: 50%;
  width: auto;
  bottom: calc(20 * var(--hero-unit) - 16px);
  display: flex;
  justify-content: center;
  transform: translateX(-50%);
}

.hero__bullet {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.hero__bullet::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  transition: background-color 240ms ease, transform 240ms ease;
}

.hero__bullet_active::before {
  background: #dc4999;
  transform: scale(1.333333);
}

@media (hover: hover) {
  .hero__bullet:hover::before {
    background: #f05dad;
  }
}

.hero__bullet:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

@media (max-width: 767px) {
  .hero__slider {
    --hero-unit: .2777777778cqw; /* One pixel of the 360 px export. */
  }

  .hero__image {
    aspect-ratio: 360 / 630;
  }

  .hero__slide_no-mobile .hero__image {
    aspect-ratio: 1920 / 670;
  }

  .hero .hero__pagination {
    bottom: calc(16 * var(--hero-unit) - 16px);
  }
}

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