/* v121 — three consistent gallery photo windows, full images stay accessible by click. */
body.amg-v106 .amg-f104-gallery .amg-f104-photo-grid a {
  display:block;
  box-sizing:border-box;
  height:290px;
  min-height:0;
  max-height:none;
  width:100%;
  padding:0;
  overflow:hidden;
  background:#eceef0;
}
body.amg-v106 .amg-f104-gallery .amg-f104-photo-grid img {
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  object-position:center center;
  transition:transform .25s ease;
}
@media (hover:hover) and (pointer:fine) {
  body.amg-v106 .amg-f104-gallery .amg-f104-photo-grid a:hover img {transform:scale(1.025)}
}
@media (max-width:900px) {
  body.amg-v106 .amg-f104-gallery .amg-f104-photo-grid a {height:260px}
}
@media (max-width:680px) {
  body.amg-v106 .amg-f104-gallery .amg-f104-photo-grid a {height:240px}
}
@media (prefers-reduced-motion:reduce) {
  body.amg-v106 .amg-f104-gallery .amg-f104-photo-grid img {transition:none}
}
