.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
  background: rgba(10, 10, 10, 0.82);
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.82);
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


.gallery-lightbox__image{
  width: 100%;
  height: auto;
  max-width: 700px;
  border-radius: var(--space-4);
}



.gallery-lightbox__nav--prev {
  position: absolute;
  left: 16px;
  bottom: 24px;
}

.gallery-lightbox__nav--prev img {
  transform: rotate(180deg);
}

.gallery-lightbox__nav--next {
  position: absolute;
  right: 16px;
  bottom: 24px;

}

.gallery-lightbox__meta {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  color: var(--white100);
  font-size: var(--space-4);
  font-weight: 600;
}

.gallery-lightbox__nav[hidden],
.gallery-lightbox__meta[hidden] {
  display: none;
}
