/*
 * Site footer. Figma: 14px / 1.9, umber; column headings and legal row semibold
 * (Eudoxus has no 600, so 700 is used).
 */

.site-footer {
	padding-block: 18px 32px;
	color: var(--wp--preset--color--umber);
	background: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.9;

	& a:hover {
		text-decoration: underline;
		text-underline-offset: 3px;
	}
}

.site-footer__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 24px;

	@media (min-width: 768px) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Column starts match the 1294px Figma frame: 0, 148, 402, 911, 1151. */
	@media (min-width: 1200px) {
		grid-template-columns: 148fr 254fr 509fr 240fr 143fr;
		gap: 0;
	}
}

.site-footer__heading {
	font-family: inherit;
	font-size: inherit;
	font-weight: 700;
	line-height: inherit;
	letter-spacing: normal;
	color: inherit;
}

.site-footer__menu,
.site-footer__legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__column--address address {
	font-style: normal;
}

/* Phone/email line up with the first menu item, below the heading row. */
.site-footer__column--contact {
	@media (min-width: 1200px) {
		padding-top: 1.9em;
	}
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 32px;
	margin-top: 35px;
	font-weight: 700;
}

.site-footer__copyright {
	text-transform: uppercase;
}

.site-footer__legal-list {
	display: flex;
	gap: 32px;
}
