/**
*
* @package phpBB Extension - phpBB Countdown (Zeina style)
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
* Uses Zeina's colour variables, so it follows the theme's primary colour
* and works with the dark mode add-on without extra rules.
*/

.countdown-card {
	padding: .75rem 1rem;
	text-align: center;
}

.countdown-time {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: .25rem .875rem;
	font-size: .9375rem;
	line-height: 1.5rem;
	min-height: 1.5rem;
}

.countdown-time .cd-text {
	font-weight: 600;
}

.countdown-time .cd-part {
	white-space: nowrap;
}

.countdown-time .cd-num {
	font-size: 1.125rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	color: rgba(var(--color-text), 1);
}

.countdown-time .cd-time {
	font-size: .8125rem;
	color: rgba(var(--color-secondary), 1);
}

@media (max-width: 767.98px) {
	.countdown-card {
		padding: .625rem .75rem;
	}

	.countdown-time {
		gap: .125rem .625rem;
	}

	.countdown-time .cd-text {
		flex-basis: 100%;
	}
}
