/**
 * windfonts — dark brand accent overrides for wenpai-theme-kit appearance.
 * Light palette stays in theme.json; only html.wenpai-dark tokens here.
 * Sticky keeps light-mode secondary stone (header uses has-secondary-background).
 */
html.wenpai-dark {
	--wp--preset--color--primary: #a8a29e;
	--wp--preset--color--secondary: #d6d3d1;
	--wp--preset--color--tertiary: #e7e5e4;
	--wp--preset--color--accent: #a8a29e;
	--wp--preset--color--accent-80: #a8a29ecc;
	--wp--preset--color--accent-60: #a8a29e99;
	--wp--preset--color--accent-50: #a8a29e80;
	--wp--preset--color--accent-20: #a8a29e33;
	--wp--preset--color--accent-10: #a8a29e1a;
}

/* Sticky header: pin stone secondary (token secondary flips light for accents). */
html.wenpai-dark header.site-header .has-secondary-background-color,
html.wenpai-dark .site-header .wp-block-group.has-secondary-background-color {
	background-color: #57534e !important;
}

/*
 * section-2 links use preset base; base is #1c1c1c in dark — force light ink
 * on the stone sticky. Do not invert header logo (already light-on-stone).
 */
html.wenpai-dark header.site-header .is-style-section-2 a:where(:not(.wp-element-button)),
html.wenpai-dark header.site-header .wp-block-navigation a,
html.wenpai-dark header.site-header .wp-block-navigation .wp-block-navigation-item__content,
html.wenpai-dark header.site-header .wp-block-loginout a,
html.wenpai-dark header.site-header .wenpai-appearance-toggle {
	color: #f5f5f4 !important;
}

html.wenpai-dark header.site-header .wp-block-site-logo img,
html.wenpai-dark header.site-header .custom-logo {
	filter: none;
}

/* News / post titles: primary as text must stay readable on #1c1c1c. */
html.wenpai-dark .wp-block-post-title,
html.wenpai-dark .wp-block-post-title a,
html.wenpai-dark .has-primary-color {
	color: #e7e5e4 !important;
}

/* Body/copy: never inherit surface #242424 as text. */
html.wenpai-dark body,
html.wenpai-dark .entry-content,
html.wenpai-dark .wp-block-post-content {
	color: #e8e8e8;
}
