/********************************************************/
/*
/*      Colors CSS
/*
/********************************************************/
	
	/******************************/
	/* Text color override
	/******************************/
	body .has-text-color.has-black-color 				{ color: var(--wp--preset--color--black) !important; }
	body .has-text-color.has-mine-shaft-black-color 	{ color: var(--wp--preset--color--mine-shaft-black) !important; }
	body .has-text-color.has-malibu-blue-color 			{ color: var(--wp--preset--color--malibu-blue) !important; }
	body .has-text-color.has-elephant-blue-color 		{ color: var(--wp--preset--color--elephant-blue) !important; }
	body .has-text-color.has-astral-blue-color 			{ color: var(--wp--preset--color--astral-blue) !important; }
	body .has-text-color.has-yellow-color				{ color: var(--wp--preset--color--yellow) !important; }
	body .has-text-color.has-orange-peel-color 			{ color: var(--wp--preset--color--orange-peel) !important; }
	body .has-text-color.has-pampas-white-color 		{ color: var(--wp--preset--color--pampas-white) !important; }
	body .has-text-color.has-white-color 				{ color: var(--wp--preset--color--white) !important; }
	
	body.wp-admin.has-black-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before
														{ background-color: var(--wp--preset--color--black) !important; }
	body.wp-admin.has-mine-shaft-black-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before 
														{ background-color: var(--wp--preset--color--mine-shaft-black) !important; }
	body.wp-admin.has-malibu-blue-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before 		
														{ background-color: var(--wp--preset--color--malibu-blue) !important; }
	body.wp-admin.has-elephant-blue-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before 	
														{ background-color: var(--wp--preset--color--elephant-blue) !important; }
	body.wp-admin.has-astral-blue-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before 		
														{ background-color: var(--wp--preset--color--astral-blue) !important; }
	body.wp-admin.has-yellow-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before			
														{ background-color: var(--wp--preset--color--yellow) !important; }
	body.wp-admin.has-orange-peel-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before 		
														{ background-color: var(--wp--preset--color--orange-peel) !important; }
	body.wp-admin.has-pampas-white-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before 	
														{ background-color: var(--wp--preset--color--pampas-white) !important; }
	body.wp-admin.has-white-background-color :is(.edit-post-visual-editor, .editor-styles-wrapper)::before 			
														{ background-color: var(--wp--preset--color--white) !important; }
	
	/******************************/
	/* BG color adaptation
	/******************************/
	/* Light (default) */
	:is(
		.has-malibu-blue-background-color,
		.has-yellow-background-color,
		.has-orange-peel-background-color,
		.has-pampas-white-background-color,
		.has-white-background-color
	) {
		color: var(--wp--custom--color--default--text);
	}
	
	/* body:is(
		.has-malibu-blue-background-color,
		.has-yellow-background-color,
		.has-orange-peel-background-color,
		.has-pampas-white-background-color,
		.has-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);
	} */
	
	/* Dark */
	:is(
		.has-black-background-color,
		.has-mine-shaft-black-background-color,
		.has-elephant-blue-background-color,
		.has-astral-blue-background-color
	) {
		color: var(--wp--custom--color--default--bg);
	}
	
	body:is(
		.has-black-background-color,
		.has-mine-shaft-black-background-color,
		.has-elephant-blue-background-color,
		.has-astral-blue-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);
	}
	
	body:is(
		.has-black-background-color,
		.has-mine-shaft-black-background-color,
		.has-elephant-blue-background-color,
		.has-astral-blue-background-color
	) .site-head > :is(.site-head-main) {
		background-color: var(--wp--preset--color--elephant-blue);
		border: 2px solid var(--wp--preset--color--pampas-white);
	}
	
	body:is(
		.has-black-background-color,
		.has-mine-shaft-black-background-color,
		.has-elephant-blue-background-color,
		.has-astral-blue-background-color
	) .site-head > .site-head-secondary > * {
		border: 2px solid var(--wp--preset--color--elephant-blue);
	}
	
	body:is(
		.has-black-background-color,
		.has-mine-shaft-black-background-color,
		.has-elephant-blue-background-color,
		.has-astral-blue-background-color
	) .site-head .site-nav .menu-item:not(:hover, :focus) > a,
	body:is(
		.has-black-background-color,
		.has-mine-shaft-black-background-color,
		.has-elephant-blue-background-color,
		.has-astral-blue-background-color
	) .site-foot-credits > p {
		color: var(--wp--custom--color--default--bg);
	}
	
	body:is(
		.has-black-background-color,
		.has-mine-shaft-black-background-color,
		.has-elephant-blue-background-color,
		.has-astral-blue-background-color
	) .site-foot-credits > .cake {
		filter: var(--wp--custom--color--filter--pampas-white);
	}
	
	body:is(
		.has-black-background-color,
		.has-mine-shaft-black-background-color,
		.has-elephant-blue-background-color,
		.has-astral-blue-background-color
	) .site-head-secondary > .burger {
		color: var(--wp--preset--color--elephant-blue);
	}
	
	body:is(
		.has-black-background-color,
		.has-mine-shaft-black-background-color,
		.has-elephant-blue-background-color,
		.has-astral-blue-background-color
	) .site-head > .site-head-main .wp-block-site-logo {
		background: url(../images/imcp-logo-light.svg) no-repeat center / 100%;
	}
	
	body:is(
		.has-black-background-color,
		.has-mine-shaft-black-background-color,
		.has-elephant-blue-background-color,
		.has-astral-blue-background-color
	) .site-head > .site-head-main .wp-block-site-logo img {
		opacity: 0;
	}
	
	body:is(
		.has-black-background-color,
		.has-mine-shaft-black-background-color,
		.has-elephant-blue-background-color,
		.has-astral-blue-background-color
	):not(.wp-admin, .login) .wp-block-post-content .gform_footer {
		--text-color: var(--wp--custom--color--default--accent);
		--text-color-active: var(--wp--preset--color--elephant-blue);
		--bg-color: var(--wp--custom--color--rgb-values--yellow);
		--arrow-svg: url(../images/arrow-light.svg);
		--arrow-bg-color: var(--wp--custom--color--rgb-values--astral-blue);
	}
	
	@media (width <= 1100px) {
		body:is(
			.has-black-background-color,
			.has-mine-shaft-black-background-color,
			.has-elephant-blue-background-color,
			.has-astral-blue-background-color,
			:has(.wp-block-post-content > .wp-block-cover:first-child)
		) .site-head-main > .wp-block-site-logo {
			background: url(../images/imcp-logo-light.svg) no-repeat center / 100%;
			padding-block: unset;
		}
		
		body:is(
			.has-black-background-color,
			.has-mine-shaft-black-background-color,
			.has-elephant-blue-background-color,
			.has-astral-blue-background-color,
			:has(.wp-block-post-content > .wp-block-cover:first-child)
		) .site-head-main > .wp-block-site-logo img {
			opacity: 0;
		}
	}