/*
 * Steiner_Mitarbeiter: contact box on the right ("Kontakt Rechts", SHOP-69). Box styles come from the theme
 * (Steiner/Josefsteiner web/css/contactright.css); this file only adds the image frame.
 *
 * Image frame: fixed 165 x 165 (the size of the existing contact images), right-aligned like the box text.
 * Uploads with another size/ratio are scaled and cropped to the frame (head stays visible); cut-out images
 * (transparent PNG/WebP) show the box background behind the person. No shadow here (unlike the team page).
 */
.contact_right .contact_img_frame {
    display: block;
    width: 165px;
    max-width: 100%;
    aspect-ratio: 1;
    margin-left: auto;
    overflow: hidden;

    picture {
        display: contents;
    }

    img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
}
