/************************************************************/
/*
/*      Colors CSS
/*
/************************************************************/
/******************************/
/* Text color override
/******************************/
body .has-text-color.has-stratos-blue-color 			{ color: var(--wp--preset--color--stratos-blue) !important; }
body .has-text-color.has-azure-blue-color 			    { color: var(--wp--preset--color--azure-blue) !important; }
body .has-text-color.has-danube-blue-color 			    { color: var(--wp--preset--color--danube-blue) !important; }
body .has-text-color.has-onahau-blue-color 			    { color: var(--wp--preset--color--onahau-blue) !important; }
body .has-text-color.has-whisper-white-color 			{ color: var(--wp--preset--color--whisper-white) !important; }
body .has-text-color.has-bridal-heath-white-color 		{ color: var(--wp--preset--color--bridal-heath-white) !important; }

body.has-stratos-blue-background-color {
    --wp--custom--color--current--bg: var(--wp--preset--color--stratos-blue);
    :is(.edit-post-visual-editor, .editor-styles-wrapper)::before { background-color: var(--wp--preset--color--stratos-blue) !important; }
}
body.has-azure-blue-background-color {
    --wp--custom--color--current--bg: var(--wp--preset--color--azure-blue);
    :is(.edit-post-visual-editor, .editor-styles-wrapper)::before { background-color: var(--wp--preset--color--azure-blue) !important; }
}
body.has-danube-blue-background-color {
    --wp--custom--color--current--bg: var(--wp--preset--color--danube-blue);
    :is(.edit-post-visual-editor, .editor-styles-wrapper)::before { background-color: var(--wp--preset--color--danube-blue) !important; }
}
body.has-onahau-blue-background-color {
    --wp--custom--color--current--bg: var(--wp--preset--color--onahau-blue);
    :is(.edit-post-visual-editor, .editor-styles-wrapper)::before { background-color: var(--wp--preset--color--onahau-blue) !important; }
}
body.has-whisper-white-background-color {
    --wp--custom--color--current--bg: var(--wp--preset--color--whisper-white);
    :is(.edit-post-visual-editor, .editor-styles-wrapper)::before { background-color: var(--wp--preset--color--whisper-white) !important; }
}
body.has-bridal-heath-white-background-color {
    --wp--custom--color--current--bg: var(--wp--preset--color--bridal-heath-white);
    :is(.edit-post-visual-editor, .editor-styles-wrapper)::before { background-color: var(--wp--preset--color--bridal-heath-white) !important; }
}


/******************************/
/* BG color adaptation
/******************************/
/* Light (default) */
:is(
	.has-azure-blue-background-color,
	.has-danube-blue-background-color,
	.has-onahau-blue-background-color,
	.has-whisper-white-background-color,
	.has-bridal-heath-white-background-color
) {
	color : var(--wp--custom--color--default--text);
}

body:is(
	.has-azure-blue-background-color,
	.has-danube-blue-background-color,
	.has-onahau-blue-background-color,
	.has-whisper-white-background-color,
	.has-bridal-heath-white-background-color
) {
    &, :is(main > .wp-block-post-content, .edit-post-visual-editor, .editor-styles-wrapper) {
        --wp--custom--color--current--text: var(--wp--custom--color--default--text);
    }
}

/* Dark */
:is(
	.has-stratos-blue-background-color
) {
	color : var(--wp--custom--color--default--bg);
}

body:is(
	.has-stratos-blue-background-color
) {
    &, :is(main > .wp-block-post-content, .edit-post-visual-editor, .editor-styles-wrapper) {
        --wp--custom--color--current--text: var(--wp--custom--color--default--bg);
    }
}