/**
 * Matty Herrera — optional Elementor-adjacent utilities (parent theme).
 * Add class names in Elementor → widget → Advanced → CSS Classes if needed.
 */

/* Hide a posts loop only when the grid is empty (mark wrapper with class in Elementor). */
.mh-posts-strip:empty,
.mh-posts-strip .elementor-posts-container:empty {
	display: none !important;
}

/*
 * EAEL post grid: hide empty Latest Blog strip. Output-buffer removal is disabled — it corrupted
 * inline EAEL/Elementor scripts when tag patterns appeared inside <script>. See wp_footer in
 * inc/mattherrera-production-fixes.php for a no-JS fallback.
 */
#blog_section:has(.no-posts-found) {
	display: none !important;
}

/* Counters: stable numerals; labels should remain visible in Elementor (avoid icon-only meaning). */
.elementor-counter-number,
.eael-counter-number,
.happy-counter .odometer-inside {
	font-variant-numeric: tabular-nums;
}
