/**
 * Flipping Boxes Listing Counter — count line under listing-type cards.
 *
 * Override in Customizer → Additional CSS, e.g.:
 * .choose-type .cat-card .mlpro-flipping-boxes-listing-counter {
 *   --mlpro-fblc-color: #fff;
 *   --mlpro-fblc-font-base: 0.9375rem;
 * }
 */

.choose-type .cat-card .mlpro-flipping-boxes-listing-counter {
	display: block;
	margin-block-start: 0.625rem;

	/* Fallback only when inline variables are absent; live sites resolve accent via PHP. */
	color: var(--mlpro-fblc-color, rgba(255, 255, 255, 0.92));

	/*
	 * Single scale axis from --mlpro-fblc-font-base (default 0.813rem ≈ 13px).
	 * Bounds derive from base × factors so admins only set one size.
	 */
	font-size: clamp(
		calc(var(--mlpro-fblc-font-base, 0.813rem) * 0.93),
		0.74rem + 0.45vw,
		calc(var(--mlpro-fblc-font-base, 0.813rem) * 1.07)
	);
	font-weight: var(--mlpro-fblc-font-weight, 500);
	line-height: var(--mlpro-fblc-line-height, 1.35);
	letter-spacing: 0.02em;
	text-align: inherit;

	-webkit-font-smoothing: antialiased;
}
