/**
 * Image-related blocks: square corners.
 * Loaded after WordPress global-styles (see functions.php) so Site Editor / theme.json
 * border radius does not override the main stylesheet.
 */

/* ── Core Image (incl. linked image + default “rounded” style) ───────────── */
figure.wp-block-image,
.wp-block-image,
.wp-block-image figure,
.wp-block-image a,
.wp-block-image img,
.wp-block-image.is-style-rounded,
.wp-block-image.is-style-rounded img,
figure.wp-block-image.is-style-rounded {
	border-radius: 0 !important;
}

/* ── Gallery (classic grid + nested) ───────────────────────────────────── */
.wp-block-gallery,
.wp-block-gallery figure,
.wp-block-gallery .wp-block-image,
.wp-block-gallery .wp-block-image img,
.wp-block-gallery.has-nested-images .wp-block-image,
.wp-block-gallery.has-nested-images figure,
.wp-block-gallery.has-nested-images img,
.blocks-gallery-item,
.blocks-gallery-item figure,
.blocks-gallery-item img {
	border-radius: 0 !important;
}

/* ── Featured image ─────────────────────────────────────────────────────── */
.wp-block-post-featured-image,
.wp-block-post-featured-image .wp-block-post-featured-image__wrapper,
.wp-block-post-featured-image img,
.wp-block-post-featured-image a {
	border-radius: 0 !important;
}

/* ── Media & text ───────────────────────────────────────────────────────── */
.wp-block-media-text__media,
.wp-block-media-text__media img,
.wp-block-media-text__media video {
	border-radius: 0 !important;
}

/* ── Cover (image/video background) ─────────────────────────────────────── */
.wp-block-cover,
.wp-block-cover__image-background,
img.wp-block-cover__image-background,
video.wp-block-cover__video-background {
	border-radius: 0 !important;
}

/* ── WooCommerce block ───────────────────────────────────────────────────── */
.wp-block-woocommerce-product-image,
.wp-block-woocommerce-product-image img {
	border-radius: 0 !important;
}

/* ── Company page custom containers ─────────────────────────────────────── */
.co-body-section__media,
.co-body-section__media img,
.co-founder__image,
.co-founder__image img {
	border-radius: 0 !important;
}
