/*
 * O7 stage grid (patterns/section-stages.php, section-stages-intro.php),
 * Figma 2928:510 / 2941:1464. The grid itself is a core Grid group
 * (4 columns, 14rem minimum). Explore's button lines up with the H2, not
 * the eyebrow, so it drops by the eyebrow's height plus its 12 px gap.
 */

.meckup-stages__header > .meckup-stages__action {
	margin-block-start: calc(var(--wp--preset--font-size--x-large) * 1.36 + var(--wp--preset--spacing--30));
}

/*
 * R-STG-1: between ~820 and ~1165 the core grid fits three 14rem columns, so the
 * four cards went 3 + 1. Two columns (2 + 2) from 600 to 1099, four from 1100
 * (213 px at 1100; core already gives four from ~1166, so nothing changes there).
 * Below 600 the core grid stacks them.
 */
@media (min-width: 600px) and (max-width: 1099px) {
	.meckup-stages__grid.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) and (max-width: 1279px) {
	.meckup-stages__grid.is-layout-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}
