/* Only image pixels move; existing frames, text and links retain their layout. */
body.hereditas-site #main-content .hpa-photo-frame {
  overflow: hidden;
}
body.hereditas-site #main-content img.hpa-photo {
  transform: scale(var(--hpa-scale, 1)) !important;
  transform-origin: 50% 50%;
  transition: none !important;
  backface-visibility: hidden;
}
body.hereditas-site #main-content img.hpa-photo.hpa-active {
  will-change: transform;
}
body.hereditas-site #main-content .hero__image img.hpa-photo {
  transform-origin: 65% 50%;
}
@media (prefers-reduced-motion: reduce) {
  body.hereditas-site #main-content img.hpa-photo {
    transform: none !important;
    will-change: auto !important;
  }
}
@media print {
  body.hereditas-site #main-content img.hpa-photo {
    transform: none !important;
    will-change: auto !important;
  }
}
