/* Minimal PhotoSwipe-compatible shim styles (Agency Artists)
 * This is NOT the original PhotoSwipe distribution.
 * It exists to provide a lightweight, self-hosted lightbox.
 */

.pswp-shim {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.88);
  padding: 24px;
}

.pswp-shim.is-open { display: flex; }

.pswp-shim__img {
  max-width: min(1200px, 100%);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.45);
}

.pswp-shim__close,
.pswp-shim__prev,
.pswp-shim__next {
  position: absolute;
  top: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}

.pswp-shim__close { right: 16px; }
.pswp-shim__prev,
.pswp-shim__next {
  top: 50%;
  transform: translateY(-50%);
}
.pswp-shim__prev { left: 16px; }
.pswp-shim__next { right: 16px; }

.pswp-shim__caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  text-align: center;
}

/* Caption lines (we render HTML via data-pswp-caption in templates). */
.pswp-caption__line1 {
  font-weight: 600;
}
.pswp-caption__line2 {
  opacity: 0.85;
  font-size: 12px;
  margin-top: 2px;
}
