.fvs-slider {
  --fvs-height: 70vh;
  --fvs-mobile-height: 55vh;
  --fvs-min-height: 0px;
  --fvs-max-height: 820px;
  --fvs-fit: contain;
  --fvs-arrow-size: 48px;
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(var(--fvs-min-height), var(--fvs-height-current, var(--fvs-height)), var(--fvs-max-height));
  overflow: hidden;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

.fvs-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.fvs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.fvs-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.fvs-slide img {
  width: 100%;
  height: 100%;
  object-fit: var(--fvs-fit);
  object-position: center center;
  display: block;
}

.fvs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--fvs-arrow-size);
  height: var(--fvs-arrow-size);
  border: 0;
  border-radius: 999px;
  background: rgb(0 0 0 / 45%);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 20;
}

.fvs-prev {
  left: 14px;
}

.fvs-next {
  right: 14px;
}

.fvs-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.fvs-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 50%);
  cursor: pointer;
  padding: 0;
}

.fvs-dot.is-active {
  background: #fff;
}

@media (max-width: 768px) {
  .fvs-slider {
    height: clamp(var(--fvs-min-height), var(--fvs-height-current, var(--fvs-mobile-height)), var(--fvs-max-height));
    --fvs-arrow-size: 40px;
  }

  .fvs-arrow {
    font-size: 20px;
  }
}
