/* Article body scopes also work in the block editor's content iframe. */
:is(#primary .content, .umg-article .wp-block-post-content, .editor-styles-wrapper) figure.wp-block-image.aligncenter:not(:is(.wp-block-gallery, .gallery, [data-type="core/gallery"]) figure) {
    float: none;
    display: table;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Raw HTML and images left inside a paragraph receive the same visible default. */
:is(#primary .content, .umg-article .wp-block-post-content, .editor-styles-wrapper) img:not(.wp-post-image, .custom-logo, [class*="align"], [align], [style*="float" i], [style*="text-align" i]):not(:is(.wp-block-gallery, .gallery, .wp-block-media-text, .wp-block-cover, .wp-block-post-featured-image, .wp-block-site-logo, .wp-block-avatar, .umg-artist, .umg-artist-grid, .owl-carousel, #slides, [data-type="core/gallery"], [data-type="core/post-featured-image"], [data-type="core/site-logo"], .alignleft, .alignright, .alignwide, .alignfull, .alignnone, .umg-image-explicit-none, .has-text-align-left, .has-text-align-right, .has-text-align-justify, [align], [style*="text-align" i], [style*="float" i]) img) {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto !important;
    margin-right: auto !important;
}
