/* V22 — current staff photographs. Source JPG/PNG files remain unmodified.
   Page white, 1700px containers and the V21 button system stay authoritative. */
#alfa-v17 .staff-photo-v22{position:relative;display:block;overflow:hidden;isolation:isolate}
#alfa-v17 .staff-photo-v22>img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:50% 20%!important;display:block!important;margin:0!important;transform:none!important;translate:none!important;scale:none!important;filter:none!important;transition:opacity .3s ease!important;pointer-events:none}
#alfa-v17 .staff-photo-v22>.staff-default-v22{opacity:1!important;z-index:0}
#alfa-v17 .staff-photo-v22>.staff-hover-v22{opacity:0!important;z-index:1}
#alfa-v17 .team-strip-photo.staff-photo-v22{position:absolute!important;inset:0}
#alfa-v17 .staff-photo--case-v22{width:100%;aspect-ratio:3/3.45;flex-shrink:0}
#alfa-v17 .staff-photo--service-v22{width:100%;height:auto;aspect-ratio:3/4;flex-shrink:0}
#alfa-v17 .staff-photo--service-v22>img{object-position:50% 50%!important}
#alfa-v17 .staff-photo--author-v22{width:88px;height:88px;flex:0 0 88px}
/* Pair swaps use opacity only; hover never zooms, tints or resizes a portrait. */
@media(hover:hover) and (pointer:fine){
  #alfa-v17 .staff-photo-v22:hover>.staff-hover-v22,
  #alfa-v17 :is(.person-card,.team-strip-card,.company-person-link-v7,.case-person,.v14-team-card):hover .staff-photo-v22>.staff-hover-v22{opacity:1!important}
}
/* The JPG stays underneath until the new image decodes, avoiding a blank flash. */
#alfa-v17 :is(.person-card-link-v7,.company-person-link-v7,.case-person-link-v7):focus-visible .staff-hover-v22{opacity:1!important}
/* Keep the whole team in the frame at every width, with no hover motion. */
#alfa-v17 .proof-photo-v17.team-group-link-v22{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1672/941;background:#fff!important;transform:none!important;translate:none!important;transition:none!important}
#alfa-v17 .proof-photo-v17.team-group-link-v22>img{display:block!important;width:100%!important;height:auto!important;object-fit:contain!important;object-position:center!important;filter:none!important;transform:none!important;translate:none!important;scale:none!important;transition:none!important}
#alfa-v17 .team-group-link-v22:focus-visible{outline:3px solid #ffc800;outline-offset:4px}
/* Customer reviews must not display a staff portrait beneath another name. */
#alfa-v17 .review-author .review-avatar-v22{display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;border:1px solid #cbd0c9;background:#fff;color:#171918;font-size:17px;font-weight:600;line-height:1}
@media(max-width:760px){#alfa-v17 .staff-photo--author-v22{width:64px;height:64px;flex-basis:64px}}
@media(prefers-reduced-motion:reduce){#alfa-v17 .staff-photo-v22>img{transition:none!important}}
