@font-face {
  font-family: Caveat;
  src:url(caveat.ttf) format("truetype");
  font-weight:400 700;
  font-display:swap;
}
.edition p.gallery-total {
  margin:0 0 1rem;
  color:var(--iw-muted);
  font:400 .78rem/1.4 var(--iw-type);
}
.photo-gallery {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(1.25rem,2.6vw,2.5rem);
  align-items:start;
}
.gallery-card {min-width:0}
.gallery-card .instant-print {
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  gap:clamp(.35rem,.8vw,.65rem);
  aspect-ratio: 1 / 1.12;
  padding:clamp(.42rem,.9vw,.75rem) clamp(.42rem,.9vw,.75rem) clamp(.62rem,1.2vw,1.05rem);
  background:#f6f0e1 url(fibra.svg);
  border:1px solid #d5cbb5;
  box-shadow:0 2px #aa9a7c,0 6px 16px #01050880;
  color:#1a4577;
  text-decoration:none;
  cursor:zoom-in;
}
.gallery-card .instant-print:hover {color:#16315b;background-color:#fff9e9}
.gallery-card .instant-print:focus-visible,.gallery-pagination a:focus-visible,.gallery-reader :is(a,button):focus-visible {
  outline:2px solid #9edbe0;
  outline-offset:4px;
}
.gallery-card .instant-print img {width:100%;height:100%;min-height:0;object-fit:contain;background:#242321}
.gallery-card .instant-print span {font:400 clamp(1.06rem,1.8vw,1.62rem)/1.03 Caveat,"Segoe Print",cursive;overflow-wrap:anywhere}
.gallery-card .photo-case-link,.gallery-reader .photo-case-link,.gallery-highlight .photo-case-link {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  gap:.4em;
  color:var(--iw-accent);
  text-decoration:none;
  font-size:.92rem;
}
.photo-case-link:hover,.photo-case-link:focus-visible {text-decoration:underline}
.gallery-reader {
  box-sizing:border-box;
  max-block-size:calc(100dvh - 1.5rem);
  width:min(58rem,calc(100% - 1.5rem));
  margin:auto;padding:0;border:0;
  background:transparent;
  color:#18313a;
  overflow:auto;
}
.gallery-reader::backdrop {background:#030a0dea}
.gallery-reader-paper,.gallery-highlight {padding:clamp(.85rem,2vw,1.6rem);background:#f6f0e1 url(fibra.svg);color:#18313a}
.gallery-highlight {max-width:58rem;margin:0 auto 1.5rem}
.gallery-reader figure,.gallery-highlight figure {margin:0}
.gallery-reader img,.gallery-highlight img {display:block;width:100%;max-height:68dvh;object-fit:contain;background:#151819}
.gallery-reader figcaption,.edition .gallery-highlight figcaption {margin:.8rem 0 0;color:#233942;font:400 1rem/1.45 var(--iw-font)}
.gallery-reader h2,.edition .gallery-highlight h2 {margin:0 0 .2em;color:#163c68;font:400 clamp(1.5rem,3vw,2.35rem)/1.05 Caveat,"Segoe Print",cursive}
.gallery-reader figcaption p,.edition .gallery-highlight p {margin:.4rem 0;color:#22373f}
.gallery-reader a,.edition .gallery-highlight a {color:#164c71}
.gallery-reader .photo-case-link,.edition .gallery-highlight .photo-case-link {color:#164c71}
.gallery-photo-meta,.gallery-photo-credit {font-size:.86rem}
.gallery-reader [data-gallery-close] {display:block;min-height:44px;margin:.75rem 0 0 auto;padding:.3em .85em;border:1px solid #a7987f;border-radius:3px;background:#eee3cd;color:#203a46;font:600 .9rem var(--iw-font);cursor:pointer}
.gallery-card .paper-being-read {opacity:.55}
@media(max-width:950px) {.photo-gallery {grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:630px) {.photo-gallery {grid-template-columns:repeat(2,minmax(0,1fr));gap:1.3rem .8rem}}
