body.gallery-page{padding:0;text-align:left;background:var(--cream)}.gallery-page h1{margin:0;font-size:clamp(35px,5vw,55px)}.gallery-intro{color:var(--muted);margin-bottom:30px}.gallery-page #gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:30px 0 45px}.gallery-page .media{width:auto;min-width:0;padding:10px;background:#fff;border:1px solid #e2e6e3;box-shadow:none;border-radius:15px;text-align:center;align-self:start}.gallery-page .media img,.gallery-page .media video{max-width:100%;border-radius:9px}.gallery-page a.download-btn{font-size:11px;padding:10px 14px;background:var(--blue);border-radius:8px;min-height:40px}.media-fallback{display:grid;place-items:center;min-height:180px;border-radius:9px;background:#eaf2f7;color:#466179;padding:24px;font-size:13px}.media-notice{font-size:12px;background:#fff0c5;padding:15px 20px;border-radius:12px;line-height:1.7}.media-notice[hidden]{display:none}@media(max-width:900px){.gallery-page #gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.gallery-page #gallery{grid-template-columns:1fr}}
/* Poster images keep previews visible without preloading the MP4 files. */
.gallery-page .media video[poster]{aspect-ratio:4/3;object-fit:contain;background:#172938}
