/*
 * Mine Pligter live counters ([minepligter_counters]).
 * Numbers in dark green, not the app's light green: #37cfa0 on white is
 * too low in contrast for text (WCAG).
 */
.mp-counters {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--wp--preset--spacing--50, 1.5rem);
	width: 100%;
	/* Wider than the text column it sits in (constrained group layout). */
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.mp-counter {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.mp-counter__value {
	color: var(--wp--preset--color--accent-2, #24785e);
	font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
	font-weight: 900;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
	white-space: nowrap;
}

.mp-counter__label {
	color: var(--wp--preset--color--contrast-2, #505052);
	font-size: 1rem;
}

@media (max-width: 600px) {
	.mp-counters {
		gap: 0.75rem;
	}

	.mp-counter__value {
		font-size: 1.4rem;
		white-space: normal;
	}

	.mp-counter__label {
		font-size: 0.9rem;
	}
}
