/* Crédito da Mosten e redes sociais na faixa inferior do rodapé. */
.site-footer__bottom-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
	gap: 0.875rem;
}

.site-footer__copyright,
.site-footer__photo-credit {
	margin: 0;
	min-width: 0;
	text-align: center;
}

.site-footer__photo-credit {
	max-width: 100%;
}

.footer-credit {
	display: flex;
	align-items: center;
	justify-self: center;
	gap: 0.625rem;
	min-height: 2rem;
	color: var(--muted-color);
	font-size: 0.875rem;
	line-height: 1.25rem;
}

.footer-credit__label {
	white-space: nowrap;
}

.footer-credit__brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	min-height: 2rem;
	border-radius: 2px;
}

.footer-credit__brand img {
	display: block;
	width: 5.375rem;
	height: auto;
}

.footer-credit__divider {
	width: 1px;
	height: 1.25rem;
	margin-inline: 0.125rem;
	background: var(--border-color);
}

.footer-credit__social {
	display: inline-flex;
	width: 2rem;
	height: 2rem;
	flex: 0 0 2rem;
	align-items: center;
	justify-content: center;
	border-radius: 2px;
	color: var(--muted-color);
	transition: color 160ms ease, background-color 160ms ease;
}

.footer-credit__social svg {
	display: block;
	width: 1rem;
	height: 1rem;
}

.footer-credit__brand:hover,
.footer-credit__social:hover {
	color: var(--navy);
}

.footer-credit__social:hover {
	background-color: rgba(0, 31, 78, 0.06);
}

.footer-credit__brand:focus-visible,
.footer-credit__social:focus-visible {
	outline: 2px solid var(--navy-mid);
	outline-offset: 3px;
}

@media (max-width: 639px) {
	.site-footer__bottom-inner {
		gap: 0.75rem;
	}
}

@media (min-width: 768px) and (max-width: 1279px) {
	.site-footer__bottom-inner {
		grid-template-columns: minmax(0, 1fr) max-content;
		grid-template-rows: auto auto;
		align-items: center;
		column-gap: 1.5rem;
		row-gap: 0.875rem;
	}

	.site-footer__copyright {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		text-align: left;
	}

	.footer-credit {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}

	.site-footer__photo-credit {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-self: center;
		text-align: center;
		white-space: normal;
		max-width: 100%;
	}
}

@media (min-width: 1280px) {
	.site-footer__bottom-inner {
		grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
		align-items: center;
		column-gap: 1.5rem;
	}

	.site-footer__copyright {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		text-align: left;
	}

	.site-footer__photo-credit {
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
		text-align: center;
		white-space: nowrap;
	}

	.footer-credit {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
	}
}

@media (max-width: 359px) {
	.site-footer__bottom-inner {
		padding-block: 1.25rem;
	}

	.footer-credit {
		gap: 0.375rem;
		font-size: 0.75rem;
	}

	.footer-credit__label {
		line-height: 1rem;
	}

	.footer-credit__divider {
		flex: 0 0 1px;
		margin-inline: 0;
	}

	.footer-credit__social {
		width: 1.75rem;
		height: 1.75rem;
		flex-basis: 1.75rem;
	}

	.footer-credit__brand {
		min-height: 1.75rem;
	}
}
