/*
 * `nomon-buttons` — grid step-ups live here, not as `min-[…]:` utilities: Blockstudio's editor
 * Tailwind scan drops them, and no comment directly before an `@media`: the editor-style prefixer breaks on it.
 */

/* Every child bowed out (no link or text): drop the empty box and its margin. `.wp-block` = editor canvas. */
.nomon-buttons:not(.wp-block):not(:has(.nomon-button)) {
	display: none;
}

@media (min-width: 479px) {
	.nomon-buttons--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.nomon-buttons--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
	.nomon-buttons--grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
