/* Same lightbox as landing-individual/assets/css/landing.css — not a second design. */
.lightbox {
  position: fixed;
  inset: var(--admin-bar-h, var(--gs-admin-bar, 0px)) 0 0;
  z-index: var(--gs-z-modal, 80);
  background: rgba(10, 10, 9, 0.94);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  padding-top: max(1rem, env(safe-area-inset-top));
  color: #fff;
}
.lightbox[hidden] { display: none; }
.lightbox figure {
  max-height: calc(90vh - var(--admin-bar-h, var(--gs-admin-bar, 0px)));
  display: grid;
  justify-items: center;
  margin: 0;
}
.lightbox img {
  max-height: calc(82vh - var(--admin-bar-h, var(--gs-admin-bar, 0px)));
  width: auto;
  max-width: min(760px, 92vw);
  object-fit: contain;
}
.lightbox figcaption {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-xs, 0.8125rem);
  font-style: normal;
  display: flex;
  gap: 1rem;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  border: 0;
  background: transparent;
  color: #fff;
  /* Same glyph metrics as commercial landings (not Arial UA button default). */
  font-family: "Graphik Compact", Graphik, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}
.lightbox-close { position: absolute; top: 0.75rem; right: 0.75rem; }
.lightbox button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.no-focus-ring:focus-visible { outline: none; }
body.lightbox-open {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.ed-gallery [data-lb],
.ed-seq [data-lb] { cursor: zoom-in; }
.ed-seq [data-lb] {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
}
.ed-seq [data-lb] img {
  display: block;
  width: 100%;
  height: auto;
}
body.admin-bar { --admin-bar-h: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar { --admin-bar-h: 46px; }
}
