.solidkit-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  background: #f1f1f1;
}

.solidkit-gallery__stage,
.solidkit-gallery__image {
  width: 100%;
  height: 100%;
}

.solidkit-gallery__image {
  display: block;
  object-fit: contain;
  opacity: 1;
  transition: opacity 180ms ease-in-out;
}

.solidkit-gallery__image.is-changing {
  opacity: 0;
}

.solidkit-gallery__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  font: 30px/42px Arial, sans-serif;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 150ms ease-in-out, background-color 150ms ease-in-out;
}

.solidkit-gallery:hover .solidkit-gallery__arrow,
.solidkit-gallery:focus-within .solidkit-gallery__arrow {
  opacity: 1;
}

.solidkit-gallery__arrow:hover,
.solidkit-gallery__arrow:focus-visible {
  background: rgba(0, 0, 0, 0.72);
}

.solidkit-gallery__arrow--previous {
  left: 12px;
}

.solidkit-gallery__arrow--next {
  right: 12px;
}

.solidkit-gallery__dots {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.solidkit-gallery__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
  cursor: pointer;
}

.solidkit-gallery__dot[aria-current="true"] {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.34);
}

@media (hover: none), (max-width: 767px) {
  .solidkit-gallery__arrow {
    width: 36px;
    height: 36px;
    font-size: 25px;
    line-height: 36px;
    opacity: 0.82;
  }
}

@media (prefers-reduced-motion: reduce) {
  .solidkit-gallery__image,
  .solidkit-gallery__arrow {
    transition: none;
  }
}
