.splashpark-place-gallery-thumb {
  cursor: pointer;
  text-decoration: none;
}

.splashpark-place-gallery-thumb:focus-visible {
  outline: 2px solid var(--splashpark-secondary, #00a9e0);
  outline-offset: 3px;
}

.splashpark-place-gallery-thumb img {
  -webkit-transition: -webkit-filter 200ms ease;
  transition: -webkit-filter 200ms ease;
  transition: filter 200ms ease;
  transition: filter 200ms ease, -webkit-filter 200ms ease;
}

.splashpark-place-gallery-thumb:hover img,
.splashpark-place-gallery-thumb:focus-visible img {
  -webkit-filter: brightness(0.92);
          filter: brightness(0.92);
}

.splash-lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: hidden;
}

.splash-lightbox::-ms-backdrop {
  background: rgba(0, 13, 31, 0.9);
}

.splash-lightbox::backdrop {
  background: rgba(0, 13, 31, 0.9);
}

.splash-lightbox-stage {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 4.5rem 4.5rem 4.75rem;
}

.splash-lightbox-figure {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.splash-lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(72rem, 100%);
  max-height: min(78vh, 100%);
  max-height: min(78dvh, 100%);
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 1rem;
  background: var(--splashpark-bg-dark, #0f172a);
}

.splash-lightbox-caption,
.splash-lightbox-count {
  margin: 0;
  max-width: 40rem;
  color: var(--splashpark-niebla-300, #cbd5e1);
  font-family: var(--splashpark-font-body), Nunito, sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
}

.splash-lightbox-count {
  font-size: 0.875rem;
}

.splash-lightbox-close,
.splash-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(0, 13, 31, 0.72);
  color: #fff;
  cursor: pointer;
  -webkit-transition: background-color 200ms ease, border-color 200ms ease;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.splash-lightbox-close:hover,
.splash-lightbox-nav:hover {
  border-color: transparent;
  background: var(--splashpark-primary, #0072ce);
}

.splash-lightbox-close:focus-visible,
.splash-lightbox-nav:focus-visible {
  outline: 2px solid var(--splashpark-accent, #59cbe8);
  outline-offset: 3px;
}

.splash-lightbox-close {
  top: 1rem;
  right: 1rem;
}

.splash-lightbox-nav--prev {
  top: 50%;
  left: 1rem;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.splash-lightbox-nav--next {
  top: 50%;
  right: 1rem;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

.splash-lightbox-nav[hidden],
.splash-lightbox-caption[hidden],
.splash-lightbox-count[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .splash-lightbox-stage {
    padding: 4.25rem 0.75rem 4.5rem;
  }
  .splash-lightbox-nav--prev {
    left: 0.5rem;
  }
  .splash-lightbox-nav--next,
  .splash-lightbox-close {
    right: 0.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .splashpark-place-gallery-thumb img,
  .splash-lightbox-close,
  .splash-lightbox-nav {
    -webkit-transition: none;
    transition: none;
  }
}
