/* Only the reviewed factory/gallery additions; the retained site remains authoritative. */

#gallery .gallery-img-wrapper{padding-top:75%;background:#edece9}
#gallery .gallery-img{object-fit:contain}
#gallery .gallery-item:hover .gallery-img{transform:none}
#gallery .gallery-overlay{background:#0002;justify-content:center;pointer-events:none}
#gallery .gallery-overlay i{margin:0;transform:none}
#gallery .gp-gallery-caption{padding:14px 16px;margin:0;font-size:1rem;line-height:1.45;min-height:4.7em;color:var(--text-primary)}
#gallery .gallery-item:focus-visible{outline:3px solid var(--primary-color);outline-offset:4px}
.fac-inline-img{height:auto;aspect-ratio:4/3;object-fit:contain;background:#edece9;display:block}
.img-label{font-size:1rem;line-height:1.45}
@media(max-width:600px){#gallery .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#gallery .gp-gallery-caption{font-size:.9rem;line-height:1.4;padding:10px 10px;min-height:4.2em}#gallery .gallery-filter{gap:8px}}
