/* photo-tiers-20261101: the shared photo gallery (src/photo_gallery.html.j2). Captions at the site's small-text size (16px, Sam: no small type). */
.pg-section{border-top:1px solid var(--line,#ddd)}
.pg-section.wrap{padding-top:46px;padding-bottom:46px}
.pg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}
.pg-grid figure{margin:0;min-width:0}
.pg-grid img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#ebe8e1;border-radius:6px}
.pg-grid figcaption{font-size:16px;line-height:1.45;color:var(--muted,#555);padding-top:8px;overflow-wrap:anywhere}
@media(max-width:1000px){.pg-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.pg-section.wrap{padding-top:34px;padding-bottom:34px}.pg-grid{gap:18px 14px}}
@media(max-width:340px){.pg-grid{grid-template-columns:1fr}}
.case-lead.is-narrow img{width:auto;max-width:100%}
