.mmo-rs {
  --mmo-rs-accent: #1687e8;
  position: relative;
  width: 100%;
  margin: 0;
  background: #fffdf9;
  overflow: hidden;
}

.mmo-rs__viewport,
.mmo-rs__track {
  position: relative;
  width: 100%;
}

.mmo-rs__track {
  display: grid;
}

.mmo-rs__slide {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.mmo-rs__slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mmo-rs__link,
.mmo-rs__picture,
.mmo-rs__image {
  display: block;
  width: 100%;
}

.mmo-rs__image {
  height: auto;
  max-width: none;
  border: 0;
}

.mmo-rs__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(35, 50, 35, 0.08);
  border-radius: 50%;
  color: #34412f;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 16px rgba(26, 36, 25, 0.09);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mmo-rs__arrow:hover,
.mmo-rs__arrow:focus-visible {
  background: #fff;
  transform: translateY(-50%) scale(1.04);
}

.mmo-rs__arrow span {
  display: block;
  margin-top: -4px;
  font: 300 40px/1 Arial, sans-serif;
}

.mmo-rs__arrow--previous {
  left: 18px;
}

.mmo-rs__arrow--next {
  right: 18px;
}

.mmo-rs__indicators {
  position: absolute;
  z-index: 3;
  bottom: 12px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.mmo-rs__indicator {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(24, 43, 25, 0.12);
  cursor: pointer;
}

.mmo-rs__indicator.is-active {
  background: var(--mmo-rs-accent);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
}

@media (max-width: 767.98px) {
  .mmo-rs__arrow {
    display: none;
  }

  .mmo-rs__indicators {
    bottom: 10px;
    gap: 7px;
  }

  .mmo-rs__indicator {
    width: 8px;
    height: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mmo-rs__slide,
  .mmo-rs__arrow {
    transition: none;
  }
}
