/* Portrait review, Nov 2: preserve heads and natural proportions in reused photos. */
body #main-content :is(.content-image-frame,.nv-gallery-card,.ff-provider,.fe-photo,.cx-role-portrait,.cx-person,.md-support-main,.md-collage,.pci-photo) img{object-position:center top!important}
/* Wide cards use the complete portrait instead of cropping to a strip of face. */
body #main-content :is(.cx-role-card-photo,.md-care-cards,.ws-step) img,
.hp-service img[src*="amanda-"]{object-fit:contain!important;object-position:center center!important;background:#e4e9ee!important;padding:8px!important;transform:none!important}
body #main-content .cx-role-card-photo{background:#e4e9ee}
body #main-content .cx-role-card-photo img{height:100%!important}
body #main-content .md-care-cards picture{height:170px;background:#e4e9ee}
/* The denture journey uses a wide editorial crop; keep the face and hair in frame. */
body #main-content .ds-journey-panels img{height:260px!important;object-fit:cover!important;object-position:center top!important;padding:0!important;background:#e4e9ee!important}
body #main-content .ws-step>img{height:180px!important}
.hp-service img[src*="amanda-"]{height:150px!important}
/* Full profiles and the practice gallery keep a little breathing room above the hair. */
body #main-content .doctor-profile-frame img{object-position:center top!important}
body #main-content .practice-gallery-card:is(.gallery-card-5,.gallery-card-6) img{object-fit:contain!important;object-position:center!important;background:#e4e9ee;padding:12px}
body #main-content .av-care-grid img{object-position:center top!important}
body #main-content .av-care-grid img[src*="kempainen"]{object-position:25% top!important}
/* Group photographs keep every person in view across tablet and mobile shapes. */
body #main-content .av-valley .av-hero img,body #main-content .cx-hero-photo img{object-fit:contain!important;object-position:center!important;background:#e3e8ed}
@media(max-width:700px){body #main-content .md-care-cards picture{height:160px}body #main-content .cx-role-card-photo{height:155px!important}body #main-content .cx-role-portrait img{object-fit:contain!important;background:#e4e9ee}body #main-content .av-valley .av-hero figure{height:260px}}
