/* Keep the documentary photographs intact: frame by orientation, not crop. */
.photo-gallery { margin-top: 36px; display: grid; gap: 23px; }
.photo-row { display: grid; gap: 16px; align-items: start; }
.photo-row-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-row-portrait { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-row figure { min-width: 0; }
.photo-frame { display: block; background: #1c1a16; border: 1px solid #c9a45e38; padding: 6px; overflow: hidden; transition: border-color .2s ease; }
.photo-frame:hover, .photo-frame:focus-visible { border-color: var(--gold); }
.photo-row-wide .photo-frame { aspect-ratio: 3 / 2; }
.photo-row-portrait .photo-frame { aspect-ratio: 3 / 4; }
.photo-frame img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.photo-frame img[src$="-1600.jpg"] { filter: brightness(1.24); }
.photo-row figcaption { padding: 10px 2px 0; font-size: .83rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 700px) {
  .photo-gallery { gap: 18px; margin-top: 26px; }
  .photo-row { gap: 18px; }
  .photo-row-wide, .photo-row-portrait { grid-template-columns: 1fr; }
  .photo-row-portrait figure { width: min(100%, 420px); margin-inline: auto; }
  .photo-frame { padding: 4px; }
}
