/* Restores the first stock card photo frame to the same dimensions and fitting rules as the other cards. */
.moto-gallery-grid > .moto-gallery-card:first-child .moto-slides{
  aspect-ratio:3 / 4 !important;
  min-height:540px !important;
  height:auto !important;
}
.moto-gallery-grid > .moto-gallery-card:first-child .moto-slide > img:not(.moto-slide-backdrop){
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  padding:10px !important;
  margin:0 !important;
}
@media(max-width:1280px){
  .moto-gallery-grid > .moto-gallery-card:first-child .moto-slides{min-height:520px !important;}
}
@media(max-width:980px){
  .moto-gallery-grid > .moto-gallery-card:first-child .moto-slides{min-height:500px !important;}
}
@media(max-width:680px){
  .moto-gallery-grid > .moto-gallery-card:first-child .moto-slides{min-height:0 !important;height:auto !important;}
  .moto-gallery-grid > .moto-gallery-card:first-child .moto-slide > img:not(.moto-slide-backdrop){padding:8px !important;}
}

/* Hero XRE: keep the photo completely still at a fixed 103% scale. */
.hero-photo{
  animation:none !important;
  transform:scale(1.03) !important;
  will-change:auto !important;
}
