.gallery-section .photo-grid.gallery-loop-active {
  animation-name: divenglade-continuous-loop !important;
  animation-duration: var(--gallery-speed, 60s) !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-direction: normal !important;
  animation-fill-mode: both !important;
  animation-play-state: running !important;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

@keyframes divenglade-continuous-loop {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(var(--gallery-loop-distance), 0, 0); }
}

/* Never let mobile/touch hover freeze the reel. */
@media (hover: none) {
  .gallery-section .photo-grid.gallery-loop-active {
    animation-play-state: running !important;
  }
}
