/* Lightbox caption (assets/js/lightbox.js). PhotoSwipe's own BEM block, hence "pswp". */

.pswp__caption {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 60%);
  color: #fff;
  font-size: 0.9375rem;
  white-space: nowrap;
}

.pswp__caption:empty {
  display: none;
}
