/* Dark color mode. Loaded last so these tokens and overrides always win. */

body.sp-mode-dark {
	--sp-bg: #101826;
	--sp-ink: #f1f5fc;
	--sp-muted: #c2cede;
	--sp-border: #38475b;
	--sp-surface: #182336;
	--sp-brand-soft: #172f55;
	--sp-link: #9bbcff;
	--sp-field-border: #8c99ab;
	--sp-focus: #ec9e29;
	color: var(--sp-ink);
}

body.sp-mode-dark .site-header,
body.sp-mode-dark .primary-navigation .sub-menu,
body.sp-mode-dark .primary-navigation .children {
	background: var(--sp-bg);
}

body.sp-mode-dark .site-footer {
	background: #090e17;
}

body.sp-mode-dark .site-header a,
body.sp-mode-dark .entry-title a {
	color: var(--sp-ink);
}

body.sp-mode-dark .site-header a.sp-header-cta {
	color: #fff;
}

body.sp-mode-dark .post-card {
	border-color: var(--sp-border);
}
