/* Scope the correction to individual posts. Cards, cover blocks and cropped galleries retain their own layout. */
html body.single main .single-featured img,
html body.single main .entry-content img:not(.emoji,.wp-smiley,.wp-block-cover__image-background,.wp-block-gallery *, .gallery *),
html body.single main img.ma-aif-content-image {
    max-width:100%!important;
    height:auto!important;
    aspect-ratio:auto!important;
    object-fit:contain!important;
}
html body.single main img.ma-aif-portrait {
    width:auto!important;
    max-height: min(62vh, 520px)!important;
    max-height: min(62svh, 520px)!important;
}
html body.single main .single-featured img.ma-aif-portrait {
    margin-inline:auto;
}
@media (max-width:640px) {
    html body.single main img.ma-aif-portrait {
        max-height:min(52vh, 380px)!important;
        max-height:min(52svh, 380px)!important;
    }
}
