/* Inference Garden — shared lightbox styles.
 * Owns the overlay used by any element with [data-lightbox] on the page.
 * Drop-in: include this file plus site.lightbox.js. */

[data-lightbox] { cursor: zoom-in; }
[data-lightbox]:focus-visible {
  outline: 2px solid #ecab3d;
  outline-offset: 4px;
}

.ig-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(7, 10, 8, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ig-lightbox.is-active { display: flex; }

.ig-lightbox img {
  max-width: min(1280px, 94vw);
  max-height: 88vh;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}

.ig-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 22, 20, 0.92);
  color: #ede9e0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.ig-lightbox__close:focus-visible {
  outline: 2px solid #ecab3d;
  outline-offset: 2px;
}
