.leonlab-hero-countdown {
	border-radius: 18px;
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.leonlab-hero-countdown__bgOverlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 1;
}

.leonlab-hero-countdown__content {
	position: relative;
	z-index: 2;
}

.leonlab-hero-countdown__headline {
	margin: 0 0 16px;
	font-size: var(--leonlab-countdown-headline-size, clamp(26px, 3vw, 44px));
	line-height: 1.1;
	text-align: center;
}

.leonlab-hero-countdown__timer {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.leonlab-hero-countdown--inline .leonlab-hero-countdown__timer {
	grid-template-columns: repeat(4, auto);
	justify-content: center;
}

.leonlab-hero-countdown__unit {
	background: var(--leonlab-countdown-unit-bg, rgba(255,255,255,0.65));
	border: 1px solid var(--leonlab-countdown-unit-border, rgba(0,0,0,0.10));
	border-radius: var(--leonlab-countdown-unit-radius, 16px);
	padding: 12px 10px;
	text-align: center;
	color: var(--leonlab-countdown-unit-text, inherit);
}

.leonlab-hero-countdown__num {
	font-size: var(--leonlab-countdown-number-size, 26px);
	font-weight: 700;
	line-height: 1;
}

.leonlab-hero-countdown__label {
	margin-top: 6px;
	font-size: var(--leonlab-countdown-label-size, 12px);
	opacity: 0.75;
}

@media (max-width: 620px) {
	.leonlab-hero-countdown__timer {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.leonlab-hero-countdown--inline .leonlab-hero-countdown__timer {
		grid-template-columns: repeat(2, auto);
	}
}
