.psvs-slider {
  --psvs-control-bg: rgba(0, 0, 0, .58);
  --psvs-control-fg: #fff;
  --psvs-focus: #2563eb;
  display: block;
  position: relative;
  width: 100%;
}

.psvs-viewport {
  aspect-ratio: var(--psvs-aspect-ratio, 2 / 1);
  min-height: 1px;
  overflow: hidden;
  position: relative;
}

.psvs-slides,
.psvs-slide,
.psvs-layer-stage {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.psvs-simple-caption {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 10%;
  z-index: 2;
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .65);
}

.psvs-slide {
  background-position: center;
  background-size: cover;
}

.psvs-slide[hidden] {
  display: none !important;
}

.psvs-layer {
  max-width: 100%;
  position: absolute;
}

.psvs-layer img {
  display: block;
  height: auto;
  max-width: 100%;
}

.psvs-button {
  background: var(--psvs-control-bg);
  border-radius: .35rem;
  color: var(--psvs-control-fg);
  display: inline-block;
  padding: .65rem 1rem;
  text-decoration: none;
}

.psvs-controls {
  align-items: center;
  display: flex;
  inset: auto 1rem 1rem;
  justify-content: space-between;
  pointer-events: none;
  position: absolute;
  z-index: 10001;
}

.psvs-control,
.psvs-dot {
  background: var(--psvs-control-bg);
  border: 0;
  color: var(--psvs-control-fg);
  cursor: pointer;
  pointer-events: auto;
}

.psvs-control {
  border-radius: 999px;
  font-size: 1.75rem;
  height: 2.5rem;
  line-height: 1;
  width: 2.5rem;
}

.psvs-dots {
  display: flex;
  gap: .45rem;
  pointer-events: auto;
}

.psvs-dot {
  border-radius: 999px;
  height: .7rem;
  opacity: .55;
  padding: 0;
  width: .7rem;
}

.psvs-dot.is-active {
  opacity: 1;
  transform: scale(1.2);
}

.psvs-control:focus-visible,
.psvs-dot:focus-visible,
.psvs-button:focus-visible {
  outline: 3px solid var(--psvs-focus);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .psvs-slider *,
  .psvs-slider *::before,
  .psvs-slider *::after {
    animation-duration: .01ms !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
