/* Safe layout for the source-confirmed passive gallery block. */
body.dd-visual-galleries .historical-photo-gallery{margin:32px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.dd-visual-galleries .historical-photo-gallery figure{margin:0;padding:0;min-width:0}
body.dd-visual-galleries .historical-photo-gallery img{display:block;width:100%;height:265px;object-fit:contain;background:#f4f9fc;border-radius:4px}
body.dd-visual-galleries .historical-photo-gallery figcaption{font-size:12px;color:#617d83;text-align:center;margin-top:8px}
body.dd-visual-galleries .historical-photo-gallery-note{font-size:13px;color:#617d83;margin:0 0 20px}
@media(max-width:1024px){body.dd-visual-galleries .historical-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body.dd-visual-galleries .historical-photo-gallery{grid-template-columns:1fr;gap:18px}body.dd-visual-galleries .historical-photo-gallery img{height:auto;max-height:390px}}
