.member-photo-frame {
    overflow: hidden;
    height: 250px;
    background: #f8f9fa;
}

.member-photo-frame > .team-member-image {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: var(--photo-x, 50%) var(--photo-y, 25%);
    transform-origin: var(--photo-x, 50%) var(--photo-y, 25%);
    transform: scale(var(--photo-zoom, 1));
}

.member-photo-frame > .team-member-image[hidden] {
    display: none;
}

@media (max-width: 768px) {
    .member-photo-frame {
        height: 200px;
    }
}

.member-photo-preview-desktop {
    width: 203.2px;
    max-width: 100%;
    height: 250px;
}

.member-photo-preview-mobile {
    width: 358px;
    max-width: 100%;
    height: 200px;
}
