.is-cumulus-duotone {
	--cumulus-duotone-color: #011a5f;

	.cumulus-duotone__frame,
	.components-resizable-box__container,
	.wp-block-media-text__media,
	&.wp-block-image:has(> img) {
		background-color: var(--cumulus-duotone-color);
	}

	.cumulus-duotone__frame {
		display: inline-block;
		max-width: 100%;
		line-height: 0;
		vertical-align: top;
	}

	&.alignwide .cumulus-duotone__frame,
	&.alignfull .cumulus-duotone__frame {
		display: block;
	}

	&.wp-block-image img,
	.wp-block-media-text__media img,
	.wp-block-media-text__media video {
		filter: grayscale(1);
		mix-blend-mode: screen;
	}
}
