.site-footer {
	box-sizing: border-box;
	border-top: 0.625rem solid var(--primary);
	padding: var(--space-xl) var(--section-gutter) var(--space-m);
	background-color: #0d0d0d;
}

.site-footer__inner {
	display: flex;
	flex-direction: column;
	gap: var(--space-m);
	width: min(100%, 85.375rem);
	margin-inline: auto;
}

.site-footer__top {
	display: grid;
	grid-template-columns: 19.9375rem 14.1875rem;
	justify-content: space-between;
	align-items: start;
	width: 100%;
}

.site-footer__details {
	display: flex;
	flex-direction: column;
	gap: var(--space-s);
}

.site-footer__contact,
.site-footer__address,
.site-footer__legal {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 400;
}

.site-footer__contact {
	color: var(--wp--preset--color--base);
	font-size: var(--text-m);
	line-height: 1.6;
}

.site-footer__highlight,
.site-footer__legal {
	color: var(--primary);
}

.site-footer__highlight a {
	color: inherit;
	text-decoration: none;
}

.site-footer__highlight a:hover,
.site-footer__highlight a:focus-visible {
	text-decoration: underline;
}

.site-footer__social {
	display: flex;
	gap: var(--space-xs);
	align-items: flex-start;
}

.site-footer__social img {
	display: block;
	width: 2.5231rem;
	height: 2.539rem;
	object-fit: contain;
	transition: filter var(--transition), transform var(--transition);
}

.site-footer__social a {
	display: block;
}

.site-footer__social a:hover img,
.site-footer__social a:focus-visible img {
	filter: drop-shadow(0 0 0.5rem var(--primary));
	transform: translateY(-0.25rem);
}

.site-footer__address {
	color: var(--wp--preset--color--base);
	font-size: var(--text-s);
	line-height: 1.5;
}

.site-footer__bottom {
	box-sizing: border-box;
	border-top: 1px solid var(--primary);
	padding-top: var(--space-s);
}

.site-footer__legal {
	font-size: var(--text-2xs);
	line-height: normal;
	white-space: nowrap;
}

.site-footer__legal-separator {
	color: var(--wp--preset--color--base);
}

.site-footer__legal a {
	color: inherit;
	text-decoration: none;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
	text-decoration: underline;
}

@media (max-width: 48rem) {
	.site-footer {
		padding-inline: var(--space-xs);
	}

	.site-footer__top {
		grid-template-columns: 1fr;
		gap: var(--space-m);
	}

	.site-footer__legal {
		white-space: normal;
	}
}
