/* Shared site surfaces. Individual articles deliberately keep their light palette. */
body.moritz-dark-site {
	color-scheme: dark;
	background: #0b1019;
	color: #e6e9ef;
}
.moritz-dark-site #main,
.moritz-dark-site .service-context-nav-section {
	background: #0b1019;
	color: #e6e9ef;
}
.moritz-dark-site section[data-nav-theme="dark"] {
	--section-copy: #d3d8e1;
	--section-muted: #a2acbd;
	--section-subtle: #8d99ab;
}
.moritz-dark-site :is(.blog-index-shell, .archive-index-shell)::before {
	background: radial-gradient(ellipse at top right, #14232b, transparent 60%), #0b1019;
}
.moritz-dark-site :is(.blog-card, .blog-empty-state, .archive-empty-state, .archive-hero__meta) {
	background: #141d2a;
	border-color: #2c3545;
	box-shadow: 0 16px 40px #00000020;
	color: #d3d8e1;
}
body.moritz-dark-site .blog-card:hover {
	background: #1a2534;
	border-color: #455065;
}
.moritz-dark-site :is(.blog-card__link, .blog-card__more, .blog-index-title, .archive-hero__title, .archive-hero__meta strong) {
	color: #f4f6fa;
}
.moritz-dark-site :is(.blog-card__excerpt, .blog-index-intro, .archive-hero__intro, .archive-empty-state p) {
	color: #c5ceda;
}
.moritz-dark-site :is(.blog-card__meta, .archive-term-nav__label, .archive-hero__meta > span) {
	color: #a2acbd;
}
.moritz-dark-site .archive-term-nav {
	border-color: #2c3545;
}
.moritz-dark-site :is(.archive-term-nav__list a, .blog-index-pagination a, .archive-hero__back) {
	background: #17212f;
	border-color: #354054;
	color: #e3e8f0;
	box-shadow: none;
}
.moritz-dark-site :is(.archive-term-nav__list a, .blog-index-pagination a, .archive-hero__back):hover {
	background: #243248;
	color: #fff;
}
.moritz-dark-site .standard-page .glass-panel {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
}
.moritz-dark-site .standard-page-content {
	--tw-prose-body: #d3d8e1;
	--tw-prose-headings: #f4f6fa;
	--tw-prose-links: #99f5db;
	--tw-prose-bold: #f4f6fa;
	--tw-prose-bullets: #a2acbd;
	background: #141d2a;
	border-color: #2c3545;
	box-shadow: none;
	color: #d3d8e1;
}
.moritz-dark-site .standard-page-content :is(p, li, td, th) {
	color: #d3d8e1;
}
.moritz-dark-site .standard-page-content :is(h1, h2, h3, h4, strong) {
	color: #f4f6fa;
}
.moritz-dark-site .standard-page-content a {
	color: #99f5db;
}
.moritz-dark-site .standard-page-content :is(input, textarea, select) {
	background: #0b1019;
	border-color: #455065;
	color: #f4f6fa;
}
/* Keep the navigation dark even before its scroll observer has run. */
.moritz-dark-site .site-header .site-nav {
	background: #090f1de8;
	border: 1px solid #ffffff1a;
}
.moritz-dark-site .site-header .site-nav-links {
	background: transparent;
}
.moritz-dark-site .site-header :is(.site-nav-links a, .site-menu-toggle) {
	color: #e6e9ef;
}
.moritz-dark-site .site-header .site-nav-links a:hover,
.moritz-dark-site .site-header :is(.current-menu-item, .current_page_item, .current-menu-ancestor) > a {
	background: #ffffff16;
	color: #fff;
}
.moritz-dark-site .site-header :is(.sub-menu, .site-menu-toggle) {
	background: #121b2b;
	border-color: #ffffff24;
}
/* Match the consent surface to the site without changing consent behavior. */
.moritz-dark-site .cmplz-cookiebanner {
	background: #141d2a !important;
	color: #e6e9ef !important;
	border: 1px solid #354054 !important;
}
.moritz-dark-site .cmplz-cookiebanner :is(.cmplz-title, .cmplz-message, .cmplz-link, .cmplz-close) {
	color: #e6e9ef !important;
}
.moritz-dark-site .cmplz-cookiebanner .cmplz-btn {
	background: #243248 !important;
	border-color: #455065 !important;
	color: #fff !important;
}
.moritz-dark-site .cmplz-cookiebanner .cmplz-accept {
	background: #00eac4 !important;
	color: #05261f !important;
}
.moritz-dark-site .cmplz-manage-consent {
	background: #141d2a !important;
	border-color: #354054 !important;
	color: #e6e9ef !important;
}

.moritz-dark-site .archive-hero__intro p {
	color: #c5ceda;
}
