/**
 * Shared section/column primitives for the columned mega-menu variants
 * (two-column, full-width, full-width two-column).
 *
 * A partial `@import`ed by each of those module entries rather than shipped in
 * the base sheet, so a site running only the single-column variants (stacked,
 * footer-*) never downloads column CSS. Each importing module sets its own
 * `.aureon-mega__cols` grid-template-columns; everything else — column
 * spacing, the section heading — is identical and lives here.
 */

.aureon-mega__cols {
	display: grid;

	/* Row gap then column gap, each overridable per-variant from the admin via
	   --aureon-mega-row-gap / --aureon-mega-col-gap. Importing variants may set a
	   different fallback (e.g. two-column defaults to 0). */
	gap:
		var(--aureon-mega-row-gap, var(--aureon-space-md, 1.5rem))
		var(--aureon-mega-col-gap, var(--aureon-space-lg, 2rem));
}

.aureon-mega__col {
	min-width: 0;
}

/* Section heading — the second-level item's title, sat above its links and
   aligned to the link text's left padding. */
.aureon-mega__heading {
	margin: 0 0 0.35rem;
	padding: 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: color-mix(in srgb, var(--aureon-submenu-text, var(--aureon-color-text)) 55%, transparent);
}
