// core/calendar
// @version  1.0.7

@import '../_tools/_index';
@import '../_setup/_index';

.wp-block-calendar {

	th,
	td {
		padding: ( $ratio_maj + em ) ( $ratio_min + em );
	}

	th {
		@extend %shaded_background;
		position: relative;
		font-weight: 700;
		background: none;
	}

	table {
		color: inherit;

		th,
		td {
			border-color: inherit;
		}
	}

	caption {
		padding: ( $ratio_maj + em ) ( $ratio_min + em );
		font-size: var(--wp--preset--font-size--xs);
		font-weight: 700;
		font-style: normal;
		text-transform: uppercase;
		letter-spacing: var(--wp--custom--letter-spacing--heading);
	}
}

.wp-calendar-nav {
	margin-block-start: .25em;
}

@import '../_extend/_index';
