/*
 * SECTION:  Footer
 * File:     assets/css/sections/sol-footer.css
 * Used by:  [sol_footer] shortcode and the Footer widget (inc/header-footer.php)
 * To remove: delete this file and its line in inc/assets.php (handle "sol-footer").
 */

.sol-footer {
	max-width: var(--sol-container);
	margin-inline: auto;
	padding: 36px var(--sol-gutter) 24px;
	font-size: var(--sol-text-sm);
}

/* Phone: brand on top, three menu columns below in two columns. */
.sol-footer__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 20px;
}

.sol-footer__grid > :first-child {
	grid-column: 1 / -1;
}

.sol-footer strong {
	display: block;
	margin-bottom: 10px;
}

.sol-footer .sol-menu {
	display: block;
	height: auto;
	padding: 0;
	overflow: visible;
	white-space: normal;
}

.sol-footer .sol-menu a {
	display: block;
	padding: 6px 0;
}

.sol-footer__bottom {
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid var(--sol-line);
	color: var(--sol-muted);
}

@media (min-width: 900px) {
	.sol-footer__grid {
		grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
	}

	.sol-footer__grid > :first-child {
		grid-column: auto;
	}
}
