/* Keep the existing image in flow: identical card position, size and crop at every breakpoint. */
.treatments-home .picture-card > a:first-child { position: relative; }
.treatments-home .treatment-loop {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%; pointer-events: none;
  border-radius: 38% 62% 42% 58% / 52% 40% 60% 48%;
  opacity: 0;
}
.treatments-home a[data-loop-playing="true"] > .treatment-loop { opacity: 1; }
/* Keep both the playing video and its image fallback stable on hover and touch. */
.treatments-home .picture-card > a:first-child > img,
.treatments-home .picture-card > a:first-child > .treatment-loop {
  transform: none; transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .treatments-home a > .treatment-loop { opacity: 0 !important; transition: none; transform: none !important; }
}
