.js-lightbox {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(58, 58, 58, 0.75);
}

.image-lightbox__figure {
  position: relative;
  z-index: 1;
}

.image-lightbox__image {
  max-width: 90vw;
  max-height: 90vh;
  display: block;
  border-radius: 6px;
}

.image-lightbox__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--color-text);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
