.specialists .pts-team-avatars { overflow:visible; position:relative; isolation:isolate; }
.specialists .pts-team-avatars img {
  position:relative;
  object-fit:cover;
  object-position:50% 25%;
  transform-origin:center;
  transition:transform 350ms cubic-bezier(.2,.7,.2,1), box-shadow 350ms ease;
}
@media (hover:hover) and (pointer:fine) {
  .specialists:has(.pts-team-avatars:hover) { position:relative; z-index:20; }
  .specialists .pts-team-avatars img:has(+ img:hover),
  .specialists .pts-team-avatars img:hover + img { transform:scale(1.45); z-index:2; }
  .specialists .pts-team-avatars img:has(+ img + img:hover),
  .specialists .pts-team-avatars img:hover + img + img { transform:scale(1.15); z-index:1; }
  .specialists .pts-team-avatars img:hover { transform:scale(3); z-index:3; box-shadow:0 4px 15px #0003; }
}
@media (prefers-reduced-motion:reduce) {
  .specialists .pts-team-avatars img { transition:none; }
}
