/* The Commix themes' shared styles. The site's colors are theme.json's palette (the active Commix Style); dark
   mode swaps them under html.dark (inc/palette.php). */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.commix-mode-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: 1px solid var(--wp--preset--color--border);
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.commix-mode-toggle:hover {
	background: var(--wp--preset--color--muted);
}

.commix-mode-toggle .commix-mode-dark,
html.dark .commix-mode-toggle .commix-mode-light {
	display: none;
}

html.dark .commix-mode-toggle .commix-mode-dark {
	display: inline;
}

/* A Commix page fills the width between the header and the footer; its sections bring their own
   spacing. */
.commix-template-main {
	padding: 0 !important;
}
