/* MESH Clips — shared frame styles */
.mesh-clip {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;            /* "wide" frame: matches the theme's image boxes */
	overflow: hidden;
	border-radius: inherit;
	isolation: isolate;
}
.mesh-clip--tall {
	aspect-ratio: var(--mesh-clip-ratio, 4 / 5);   /* "tall" frame: the clip's own proportions */
}
/* Hide the unscaled stage until the runtime has fitted it (prevents a flash of oversized content) */
.mesh-clip:not(.is-fit) [data-mesh-stage] {
	visibility: hidden;
}
.mesh-clip__poster,
.mesh-clip__poster img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
