/* ==========================================================================
   Villa Arina — full-screen photo viewer (PhotoSwipe 5 skin)
   Loaded after assets/vendor/photoswipe/photoswipe.css.
   ========================================================================== */

.pswp--va {
  --pswp-bg: #161918;
  --pswp-placeholder-bg: #222524;
  --pswp-icon-color: #f3eee4;
  --pswp-icon-color-secondary: rgba(22, 25, 24, 0.6);
  --pswp-icon-stroke-color: rgba(22, 25, 24, 0.6);
  --pswp-icon-stroke-width: 1px;
  --pswp-error-text-color: rgba(243, 238, 228, 0.65);
  font-family: Figtree, system-ui, sans-serif;
}

/* "3 / 9" in the site's small capitals */
.pswp--va .pswp__counter {
  height: 30px;
  margin: 15px 0 0 20px;
  font-size: 0.72rem;
  line-height: 30px;
  letter-spacing: 0.22em;
  color: rgba(243, 238, 228, 0.65);
  text-shadow: none;
  font-variant-numeric: tabular-nums;
}

.pswp--va .pswp__button {
  opacity: 0.8;
}

.pswp--va .pswp__button:hover,
.pswp--va .pswp__button:focus-visible {
  opacity: 1;
}

.pswp--va .pswp__button:focus-visible {
  outline: 1px solid rgba(243, 238, 228, 0.65);
  outline-offset: -6px;
}

/* Caption under the photo */
.pswp__va-caption {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(100% - 2.5rem, 44rem);
  transform: translateX(-50%);
  padding: 1.25rem 0 max(1.5rem, env(safe-area-inset-bottom));
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
  color: rgba(243, 238, 228, 0.72);
  pointer-events: none;
}

.pswp__va-caption:empty {
  display: none;
}

/* Phones: swipe instead of arrows */
@media (max-width: 767px) {
  .pswp--va .pswp__button--arrow {
    display: none;
  }
}
