/**
 * Correct DesignSetGo's blanket contrast fallback for light Cover blocks.
 *
 * DesignSetGo assigns contrast-3 to every Cover without an explicit text
 * color. WordPress marks light image covers with .is-light, so these should
 * use the regular contrast color instead.
 */
body .wp-site-blocks .wp-block-cover.is-light:not(.has-text-color) {
	--dsgo-text-color: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--contrast) !important;
}

body .wp-site-blocks .wp-block-cover.is-light:not(.has-text-color) :is(h1, h2, h3, h4, h5, h6, p, li, blockquote, cite):not(.has-text-color) {
	color: var(--wp--preset--color--contrast) !important;
}

body .wp-site-blocks .wp-block-cover.is-light:not(.has-text-color) a:not(.wp-element-button):not(.wp-block-social-link-anchor):not(.has-text-color) {
	color: var(--wp--preset--color--contrast) !important;
}
