.rtm-fv-slider {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto 1.5rem;
}

.rtm-fv-slider__viewport { position: relative; }

.rtm-fv-slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.rtm-fv-slider__track::-webkit-scrollbar { display: none; }

.rtm-fv-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}

.rtm-fv-slider__slide img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

@media (min-width: 768px) {
  .rtm-fv-slider__slide {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .rtm-fv-slider__slide img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(70vh, 760px);
    object-fit: contain;
  }
}

.rtm-fv-slider__arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #1c1c1c;
  color: #fff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  z-index: 1;
}

.rtm-fv-slider__arrow--previous { left: 10px; }
.rtm-fv-slider__arrow--next { right: 10px; }
.rtm-fv-slider__arrow:disabled { opacity: .3; cursor: default; }

.rtm-fv-slider__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 22px;
  margin-top: 12px;
  margin-bottom: 20px;
}

.rtm-fv-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d1d5db;
  cursor: pointer;
  transition: width .2s ease, background-color .2s ease;
}

.rtm-fv-slider__dot.is-active {
  width: 25px;
  background: #f05d78;
}

.rtm-fv-slider button:focus-visible { outline: 2px solid #f05d78; outline-offset: 3px; }
