img.is-zoomable {
  cursor: zoom-in;
}

img.is-zoomable:focus-visible {
  outline: 2px solid #2f5a0c;
  outline-offset: 6px;
}

.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: clamp(16px, 4vw, 56px);
  border: none;
  background: transparent;
  overflow: hidden;
  cursor: zoom-out;
}

.lightbox[open] {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: lightbox-in 0.32s var(--ease) both;
}

.lightbox::backdrop {
  background: rgba(8, 20, 12, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox.is-closing {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lightbox-image {
  display: block;
  max-width: min(100%, 1500px);
  max-height: 100%;
  padding: clamp(10px, 1.6vw, 22px);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  object-fit: contain;
  animation: lightbox-zoom 0.4s var(--ease) both;
}

[data-dark=true] .lightbox-image {
  filter: brightness(0.94);
}

@media (max-width: 700px) and (orientation: portrait) {
  .lightbox.is-wide[open] {
    justify-content: flex-start;
    overflow-x: auto;
  }
  .lightbox.is-wide .lightbox-image {
    flex-shrink: 0;
    width: auto;
    max-width: none;
    height: min(62vh, 560px);
    margin: auto;
  }
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background var(--transition);
}

.lightbox-close:before,
.lightbox-close:after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 50%;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
}

.lightbox-close:before {
  transform: translateY(-50%) rotate(45deg);
}

.lightbox-close:after {
  transform: translateY(-50%) rotate(-45deg);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: rotate(90deg);
}

.lightbox-close:focus-visible {
  outline: 2px solid #c6ec6e;
  outline-offset: 3px;
}

@keyframes lightbox-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes lightbox-zoom {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/*# sourceMappingURL=lightbox.css.map */