/* Per-block shim: Circle image style (is-style-circle on core/image) - crops the image
   to a perfect circle, the social-avatar look. Forces a 1:1 box and object-fit:cover so
   any source ratio becomes a circle; pair with the block's focal-point picker to center a
   face. Radius/aspect/object-fit can't come from theme.json (no image aspect/object-fit
   preset), so this is a token-free geometric shim. */
.wp-block-image.is-style-circle img {
	border-radius: 50%;
	aspect-ratio: 1;
	object-fit: cover;
}

/* Testimonial avatars (blockwright-avatar-sm / -md on core/image, set by the Testimonial and
   Testimonials Grid patterns): a small round photo instead of a full-column image. Width
   only, with a 1:1 box: a width set with the Image block's own control is an inline style
   on the img, so it still wins, and the height follows. */
.blockwright-avatar-sm img,
.blockwright-avatar-md img {
	height: auto;
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
}

.blockwright-avatar-sm img {
	width: var(--wp--custom--avatar--sm);
}

.blockwright-avatar-md img {
	width: var(--wp--custom--avatar--md);
}
