/**
 * Pattern: nordnatur-com/site-footer.
 * Mirrors nordnatur-tech/site-footer rules 1–6 (footer-grid 4-col → 2-col,
 * site-logo baseline, polish-pass MT-zero on the first non-heading sibling
 * of each column, link-list reset, footer-link inverse colour pair,
 * sub-footer 1px-white-10% top border). Scoped to .ncom-site-footer__*
 * so it does not leak onto other surfaces.
 */

body .wp-site-blocks > footer.wp-block-template-part {
	margin-block-start: 0;
}

.ncom-site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 2.5rem;
}
@media (max-width: 768px) {
	.ncom-site-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2rem;
	}
}

.ncom-site-footer__logo {
	width: 220px;
}
.ncom-site-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
}

.ncom-site-footer__col > .wp-block-list,
.ncom-site-footer__col-brand > .ncom-site-footer__blurb {
	margin-top: 0;
}

.ncom-site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ncom-site-footer__links li {
	margin-bottom: var(--wp--preset--spacing--20);
}
.ncom-site-footer__links li:last-child {
	margin-bottom: 0;
}

.ncom-site-footer a {
	color: var(--wp--preset--color--base);
}
.ncom-site-footer a:hover {
	color: var(--wp--preset--color--base-3);
}

.ncom-site-footer__sub {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}
