/* PhotoSwipe restyle for the postcard design — loaded after the stock
   photoswipe.css + dynamic-caption css (album pages only) so these
   overrides win at equal specificity. The lightbox is deliberately the
   same warm near-black in both color schemes: photos on gallery walls. */

.pswp {
  --pswp-bg: #171310;
}
/* Backdrop opacity is set via the bgOpacity option in scripts/lightbox.js —
   PhotoSwipe applies it inline, so a .pswp__bg rule here would lose. */

/* Dynamic caption (type: "below"): postcard-caption typography. */
.pswp__dynamic-caption {
  color: #efe8dc;
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
}
.pswp__dynamic-caption strong {
  display: block;
  font-family: "Parkly", "Avenir Next", sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.15em;
}
.pswp__dynamic-caption .caption-desc {
  display: block;
  color: #cfc5b6;
}
.pswp__dynamic-caption time {
  display: block;
  font-family: "Parkly Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #f2bb4a;
  margin-top: 0.3em;
}
.pswp__dynamic-caption--below {
  padding: 0.75rem 0.5rem 1rem;
  max-width: 700px;
}
.pswp__dynamic-caption--mobile {
  background: rgb(23 19 16 / 0.85);
  padding: 0.75rem 1rem 1rem;
}

/* Counter in Parkly Condensed to match the chrome. */
.pswp__counter {
  font-family: "Parkly Condensed", sans-serif;
  letter-spacing: 0.08em;
}
