/* Section style (inc/design-controls.php): readable text on an editor-chosen background.
   :not(#mcdp-surface) adds ID-level weight so the scheme outranks section-specific color
   rules. Cards, panels, buttons, and anything with its own background *inside* the
   section keep their colors. Heading fills read the heading's color when they start,
   so they follow the scheme too. */
.mcdp-section[data-mcdp-surface]:not(#mcdp-surface) :is(h1, h2, h3, h4, h5, h6):not([data-mcdp-surface] :is(a, button, [class*="card"], [class*="panel"], .has-background) *) {
	color: var(--mcdp-surface-heading) !important;
}
.mcdp-section[data-mcdp-surface]:not(#mcdp-surface) :is(p, li, dt, dd, blockquote, figcaption, summary, td, th, cite):not([data-mcdp-surface] :is(a, button, [class*="card"], [class*="panel"], .has-background) *):not(.has-primary-color) {
	color: var(--mcdp-surface-text) !important;
}
.mcdp-section[data-mcdp-surface]:not(#mcdp-surface) :is([class*="eyebrow"], .has-primary-alt-color, .has-primary-accent-color, p[style*="text-transform:uppercase"]):not([data-mcdp-surface] :is(a, button, [class*="card"], [class*="panel"], .has-background) *) {
	color: var(--mcdp-surface-accent) !important;
}
/* Components that color their own inline text. */
.mcdp-section[data-mcdp-surface]:not(#mcdp-surface) :is(.mcdp-team-tile__name, .mcdp-insights__word, .mcdp-insights__quote-reveal) {
	color: var(--mcdp-surface-heading);
}
.mcdp-section[data-mcdp-surface]:not(#mcdp-surface) .mcdp-team-tile__credentials {
	color: var(--mcdp-surface-text);
}
.mcdp-section[data-mcdp-surface]:not(#mcdp-surface) .mcdp-team-tile__role {
	color: var(--mcdp-surface-accent);
}
.mcdp-section[data-mcdp-surface="light"] {
	--mcdp-surface-heading: var(--wp--preset--color--main, #13232f);
	--mcdp-surface-text: var(--wp--preset--color--secondary, #54636e);
	--mcdp-surface-accent: var(--wp--preset--color--eyebrow, #2c6396);
}
.mcdp-section[data-mcdp-surface="dark"] {
	--mcdp-surface-heading: #ffffff;
	--mcdp-surface-text: #c4d2dc;
	--mcdp-surface-accent: var(--wp--preset--color--primary-alt, #6fb0e0);
}
