/**
 * Kubota Europe countdown (WPBakery element `vc_kbeu_countdown`).
 *
 * The event page's card (Figma 5013-1810, 1906 × 312 @2560): #f6f6f6, 16px corners,
 * a turquoise 28px / Light line whose cap height sits 64px under the card's top,
 * then — 39px under its baseline — four #242424 boxes (140px wide, 12px corners,
 * 20 / 32px padding) holding a 64px / Bold white number over a 20px / Light label,
 * 8px apart, with turquoise 44px colons between them, 24px gaps; 64px below.
 *
 * The number is set with `line-height: 1`: in the Bold face the ascent equals the
 * cap height (0.71em), so its ink starts at the box top like Figma's trimmed text,
 * and the 0.29em of descent below the baseline is taken back from the gap to the
 * label. Every size is a clamp() whose maximum is the Figma value (vw = px / 25.6).
 */

.kbeu-countdown {
	--kbeu-cd-num: clamp( 26px, 2.5vw, 64px );
	box-sizing: border-box;
	width: 100%;
	padding: clamp( 28px, 2.39vw, 61px ) clamp( 12px, 2.34vw, 60px ) clamp( 28px, 2.5vw, 64px );
	border-radius: 16px;
	background: var( --kbeu-color-surface );
	font-family: var( --kbeu-font-principal );
	text-align: center;
}

.kbeu-countdown__title {
	margin: 0 0 clamp( 16px, 1.1vw, 28px );
	font-weight: 300;
	font-size: clamp( 20px, 2vw, 28px );
	line-height: 1.2;
	color: var( --kbeu-color-teal );
}

.kbeu-countdown__sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect( 0 0 0 0 );
	white-space: nowrap;
	border: 0;
}

.kbeu-countdown__digits {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp( 4px, 0.94vw, 24px );
}

.kbeu-countdown__unit {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: clamp( 66px, 5.47vw, 140px );
	padding: clamp( 10px, 0.78vw, 20px ) clamp( 4px, 1.25vw, 32px );
	border-radius: 12px;
	background: #242424;
	color: #fff;
}

.kbeu-countdown__value {
	display: block;
	font-weight: 700;
	font-size: var( --kbeu-cd-num );
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.kbeu-countdown__label {
	display: block;
	margin-top: calc( clamp( 4px, 0.31vw, 8px ) - 0.29 * var( --kbeu-cd-num ) );
	font-weight: 300;
	font-size: clamp( 12px, 0.78vw, 20px );
	line-height: 1.56;
}

.kbeu-countdown__sep {
	font-weight: 700;
	font-size: clamp( 18px, 1.72vw, 44px );
	line-height: 1;
	color: var( --kbeu-color-teal );
}

.kbeu-countdown__placeholder {
	margin: 0;
	font-size: 16px;
	color: var( --kbeu-color-gray );
}
