.mbb-footer {
	color: var(--mbb-footer-text);
}

.mbb-footer__edge {
	position: relative;
	height: 40px;
}

.mbb-footer__edge::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/dividers/blacktop.png") no-repeat;
	background-size: 100% 100%;
	transform: rotate(180deg);
}

.mbb-footer__body {
	background: var(--mbb-black);
}

.mbb-footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	max-width: 1280px;
	margin: -1px auto 0; /* hide sub-pixel seam under the edge */
	padding: 37px 40px 44px;
}

.mbb-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 560px;
}

.mbb-footer__disclaimer {
	font-size: 14px;
	line-height: 22px;
}

.mbb-footer__copyright {
	font-size: 14px;
	line-height: 18px;
}

.mbb-footer__link {
	font-size: 16px;
	font-weight: 800;
	line-height: 20.8px;
	color: var(--mbb-yellow);
	text-decoration: none;
}

.mbb-footer__link:hover {
	color: var(--mbb-hot-pink);
}

.mbb-footer__links {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
}

.mbb-socials {
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mbb-social {
	display: block;
	color: var(--mbb-yellow);
	transition: color 120ms ease;
}

.mbb-social svg {
	fill: currentColor;
}

.mbb-social:hover {
	color: var(--mbb-hot-pink);
}

.mbb-social:focus-visible {
	outline: 3px solid var(--mbb-cyan);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.mbb-social {
		transition: none;
	}
}

@media (max-width: 1023px) {
	.mbb-footer__edge {
		height: 22px;
	}

	.mbb-footer__inner {
		flex-direction: column;
		gap: 16px;
		padding: 25px 20px 36px;
	}

	.mbb-footer__brand {
		display: contents;
	}

	.mbb-footer__brand > a { order: 1; }
	.mbb-footer__links {
		order: 2;
		align-items: flex-start;
	}
	.mbb-footer__disclaimer { order: 3; }
	.mbb-footer__copyright { order: 4; }
}
