/**
 * footer.css — Protomiq footer (parts/footer.html).
 *
 * Block attributes own colors, type, padding and the grid/legal layouts. This file covers what blocks
 * can't express: the 1.5fr brand column, the token-rendered menu lists, and the link hover/focus states.
 */

/* Footer sits flush under the last section (no global blockGap above the part). */
.wp-site-blocks > footer.wp-block-template-part {
	margin-block-start: 0;
}

/* Brand column is 1.5× the menu columns (a grid block only does equal tracks). */
@media (min-width: 651px) {
	.protomiq-footer__grid {
		grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
	}
}

.protomiq-footer a {
	text-decoration: none;
}

.protomiq-footer a:hover,
.protomiq-footer a:focus-visible {
	color: var(--wp--preset--color--white);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.protomiq-footer a:focus-visible {
	outline: 2px solid var(--wp--preset--color--secondary);
	outline-offset: 3px;
	border-radius: 2px;
}

.protomiq-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.protomiq-footer__menu--column {
	display: grid;
	gap: 12px;
	font-size: 13px;
	line-height: 1.41; /* 18.3px rows, 30.3px pitch — matches the old footer */
}

.protomiq-footer__menu--legal {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
}
