/* Footer CSS. */

.site-footer {
	padding-block: var(--space-s);
	background: var(--primary-semi-dark);
	color: var(--white);
	font-size: var(--text-s);
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-s);
	width: min(
		calc(100% - (var(--wp--custom--layout--gutter) * 2)),
		var(--wp--style--global--wide-size)
	);
	margin-inline: auto;
}

.site-footer__name {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

.site-footer__copyright {
	margin: 0;
	text-align: right;
}

.site-footer__name:hover,
.site-footer__name:focus-visible {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

@media (max-width: 48rem) {
	.site-footer__inner {
		flex-direction: column;
		gap: var(--space-xxs);
		width: calc(100% - (var(--space-xs) * 2));
		text-align: center;
	}

	.site-footer__copyright {
		text-align: center;
	}
}
