/********************************************************/
/*
/*      Colors CSS
/*
/********************************************************/

/******************************/
/* Text color override
/******************************/
body .has-text-color.has-nebula-blue-color 		{ color: var(--wp--preset--color--nebula-blue) !important; }
body .has-text-color.has-prism-blue-color 		{ color: var(--wp--preset--color--prism-blue) !important; }
body .has-text-color.has-dark-buff-brown-color 	{ color: var(--wp--preset--color--dark-buff-brown) !important; }
body .has-text-color.has-cassius-beige-color 	{ color: var(--wp--preset--color--cassius-beige) !important; }
body .has-text-color.has-flour-beige-color 		{ color: var(--wp--preset--color--flour-beige) !important; }
body .has-text-color.has-dove-white-color 		{ color: var(--wp--preset--color--dove-white) !important; }

body.has-nebula-blue-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before
												{ background-color: var(--wp--preset--color--nebula-blue) !important; }
body.has-prism-blue-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before
												{ background-color: var(--wp--preset--color--prism-blue) !important; }
body.has-dark-buff-brown-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before
												{ background-color: var(--wp--preset--color--dark-buff-brown) !important; }
body.has-cassius-beige-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before
												{ background-color: var(--wp--preset--color--cassius-beige) !important; }
body.has-flour-beige-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before
												{ background-color: var(--wp--preset--color--flour-beige) !important; }
body.has-dove-white-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before
												{ background-color: var(--wp--preset--color--dove-white) !important; }

/******************************/
/* BG color adaptation
/******************************/
/* Light (default) */
:is(
	.has-flour-beige-background-color,
	.has-dove-white-background-color
) {
	color: var(--wp--custom--color--default--text--main);
}

body:is(
	.has-flour-beige-background-color,
	.has-dove-white-background-color
) :is(main > .wp-block-post-content, .edit-post-visual-editor, .editor-styles-wrapper) {
	--wp--custom--color--default--text: var(--wp--custom--color--default--text--main);
}

/* Dark */
:is(
	.has-nebula-blue-background-color,
	.has-prism-blue-background-color,
	.has-dark-buff-brown-background-color,
	.has-cassius-beige-background-color
) {
	color: var(--wp--custom--color--default--bg);
}

body:is(
	.has-nebula-blue-background-color,
	.has-prism-blue-background-color,
	.has-dark-buff-brown-background-color,
	.has-cassius-beige-background-color
) :is(main > .wp-block-post-content, .edit-post-visual-editor, .editor-styles-wrapper) {
	--wp--custom--color--default--text: var(--wp--custom--color--default--bg);
}