.nm-section-palette[data-nm-palette] { --nm-section-fg:var(--nm-section-fg-light);--nm-section-bg:var(--nm-section-bg-light);--nm-section-accent:var(--nm-section-accent-light);--nm-section-link:var(--nm-section-link-light); }
html[data-nm-theme="dark"] .nm-section-palette[data-nm-palette],html[data-nm-section-preview="dark"] .nm-section-palette[data-nm-palette] { --nm-section-fg:var(--nm-section-fg-dark);--nm-section-bg:var(--nm-section-bg-dark);--nm-section-accent:var(--nm-section-accent-dark);--nm-section-link:var(--nm-section-link-dark); }
@media (prefers-color-scheme:dark) { html:not([data-nm-theme]):not([data-nm-section-preview]) .nm-section-palette[data-nm-palette] { --nm-section-fg:var(--nm-section-fg-dark);--nm-section-bg:var(--nm-section-bg-dark);--nm-section-accent:var(--nm-section-accent-dark);--nm-section-link:var(--nm-section-link-dark); } }
.nm-section { padding-block:clamp(3rem,7vw,7rem); }
.nm-section-palette[data-nm-palette] { color:var(--nm-section-fg)!important; background:var(--nm-section-bg)!important; --nm-ui-text:var(--nm-section-fg); --nm-ui-bg:var(--nm-section-bg); --nm-ui-accent:var(--nm-section-accent); }
.nm-section-palette[data-nm-palette] :is(p,h1,h2,h3,h4,h5,h6,li,blockquote,figcaption,.nm-typewriter) { color:var(--nm-section-fg)!important; }
.nm-section-palette[data-nm-palette] :is(em,.nm-heading-accent,.nm-eyebrow,.nm-section-number,.nm-highlight) { color:var(--nm-section-accent)!important; }
.nm-section-palette[data-nm-palette] a:not(.wp-block-button__link) { color:var(--nm-section-link)!important; }
.nm-section-palette[data-nm-palette] a:not(.wp-block-button__link):hover { text-decoration:underline; text-underline-offset:.2em; }
.nm-section-palette[data-nm-palette] .wp-block-button__link { background:var(--nm-section-link)!important; color:var(--nm-section-bg)!important; border-color:var(--nm-section-link)!important; }
.nm-section-palette[data-nm-palette] .is-style-outline .wp-block-button__link { background:transparent!important; color:var(--nm-section-link)!important; }
.nm-section-palette[data-nm-palette] .wp-block-button__link:hover { text-decoration:underline; text-underline-offset:.2em; }
.nm-section-palette[data-nm-palette] :is(a,button):focus-visible { outline:3px solid var(--nm-section-accent)!important; outline-offset:4px; }
.nm-section-palette[data-nm-palette] :where(.wp-block-group.has-background,[class*="-card"],.nm-product) { background:color-mix(in srgb,var(--nm-section-bg) 94%,var(--nm-section-fg))!important; }
