/* Shared photograph radius: matches the children-in-the-hammock reference.
 * Loaded after Block Forge on the public sites and in the editor canvas.
 * Explicit inline border settings and WordPress' circular styles still win.
 * Full-bleed hero/banner backgrounds, logos and icons keep their own shapes.
 */
:root { --movendi-photo-radius: 1rem; }

.wp-block-image:not(.is-style-rounded):not(.is-style-circle-mask) img:not(.is-style-rounded),
.wp-block-gallery img,
.wp-block-media-text__media img,
.wp-block-post-featured-image img,
:is(.entry-content, .page-content) > p > img,
:is(.entry-content, .page-content) > p > a > img {
    border-radius: var(--movendi-photo-radius);
}

/* Content photos in the custom blocks, including their clipping containers. */
:is(
    .wp-block-block-forge-cards-grid,
    .wp-block-block-forge-news-grid,
    .wp-block-block-forge-services-grid,
    .wp-block-block-forge-text-image,
    .wp-block-block-forge-image,
    .wp-block-block-forge-image-block,
    .wp-block-block-forge-contacts
) img.object-cover,
:is(
    .wp-block-block-forge-cards-grid,
    .wp-block-block-forge-news-grid,
    .wp-block-block-forge-services-grid,
    .wp-block-block-forge-text-image,
    .wp-block-block-forge-image,
    .wp-block-block-forge-image-block,
    .wp-block-block-forge-contacts
) :is(div, a):has(> img.object-cover):not(.contacts-card),
.wp-block-block-forge-banner img.banner-image--composed:not(.absolute) {
    border-radius: var(--movendi-photo-radius);
}
