/*
 * Countdown: one column per unit, the number above its label, in a wrapping row. Tabular figures keep the numbers from
 * shifting as they tick. The original theme: rtthemes/countdown with its own original-theme-only CSS; the row, gap, type and colours are
 * the block's settings (flex layout, block spacing, typography, colour).
 */
:where(.rt-countdown) {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rt-spacing-40);
	font-size: var(--rt-font-size-xx-large);
	font-weight: 700;
	line-height: 1;
}

.rt-countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	min-width: 2ch;
}

.rt-countdown__unit[hidden],
.rt-countdown__message[hidden],
.rt-countdown[hidden] {
	display: none;
}

.rt-countdown__value {
	font-variant-numeric: tabular-nums;
}

.rt-countdown__label {
	font-size: var(--rt-font-size-small);
	font-weight: 400;
	line-height: 1.4;
}

.rt-countdown__message {
	margin: 0;
}
