/* Opt-in on the archive card's Image element, including image wrappers. */
img.sv-person-card-photo,
.sv-person-card-photo img,
img.sv-main-photo-square,
.sv-main-photo-square img {
    object-position: var(--sv-person-card-position, 50% 50%) !important;
    transform-origin: var(--sv-person-card-position, 50% 50%);
    scale: var(--sv-person-card-zoom, 1);
    clip-path: inset(var(--sv-person-card-clip, 0% 0% 0% 0%));
}

/* The square is opt-in on the single page and keeps the image's layout width. */
img.sv-main-photo-square,
.sv-main-photo-square img {
    aspect-ratio: 1 !important;
    height: auto !important;
    object-fit: cover !important;
}
