.wedding-carousel {
  position: relative;
  min-width: 0;
}

.wedding-carousel__photo {
  display: block;
  aspect-ratio: 1;
  touch-action: pan-y pinch-zoom;
}

.wedding-carousel__photo img[hidden],
.wedding-carousel__controls[hidden] {
  display: none;
}

.wedding-carousel__controls {
  position: absolute;
  inset: 0 0 auto;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem;
  pointer-events: none;
}

.wedding-carousel__controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 0 .2rem;
  border: 0;
  border-radius: 50%;
  background: rgb(0 0 0 / 76%);
  color: white;
  font: 2rem/1 system-ui, sans-serif;
  cursor: pointer;
  pointer-events: auto;
}

.wedding-carousel__controls button:hover {
  background: #000;
}

.wedding-carousel__controls button:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.wedding-carousel__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
