.image-lightbox {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 56px 16px 16px;
  border: 0;
  background: transparent;
  overflow: auto;
  cursor: zoom-out;
}
.image-lightbox[open] {
  display: flex;
}
.image-lightbox::backdrop {
  background: rgba(15, 23, 42, 0.86);
}
.image-lightbox img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18), 0 24px 48px rgba(15, 23, 42, 0.22);
}
.image-lightbox-close {
  position: fixed;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  cursor: pointer;
}
.image-lightbox-close:hover {
  background: #fff;
}
.image-lightbox-close:focus-visible {
  outline: 2px solid #156082;
  outline-offset: 2px;
}
.image-lightbox-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html:has(.image-lightbox[open]) {
  overflow: hidden;
}
