/*
 * Use the theme's colors for the Calendar borders. Same selector as core's
 * rule, so a text color set on the block still turns it off.
 */
.wp-block-calendar :where(table:not(.has-text-color)) td,
.wp-block-calendar :where(table:not(.has-text-color)) th {
	border-color: var(--wp--preset--color--theme-4);
}

/* Header background, at zero specificity so a background set in Styles wins. */
:where(.wp-block-calendar table:not(.has-background) th) {
	background-color: var(--wp--preset--color--theme-4);
}
