/* KJF PhotoSwipe */

.wp-block-gallery a.kjf-pswp-link {
  cursor: zoom-in;
}

.pswp {
  --pswp-bg: #111b13;
  --pswp-icon-color: #fff;
  z-index: 999999;
}

.kjf-pswp-caption {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 8px 15px;
  border-radius: 8px;
  background: rgba(0, 0, 0, .65);
  color: #fff;
  font: 14px/1.5 inherit;
  text-align: center;
  pointer-events: none;
}

.kjf-pswp-caption:empty {
  display: none;
}

.pswp__button--kjf-download {
  cursor: pointer;
}

@media (max-width: 600px) {
  .kjf-pswp-caption {
    bottom: 10px;
    font-size: 12px;
    padding: 7px 11px;
  }
}
