/*
 * Footer - one template part (parts/footer.html).
 *
 * 374:3176, 406:565, 418:1825, 441:539 (frame 1440):
 *   box x 50..1390 (1340 wide), rule 1 px #424242 at 20 % (rendered on the row above the drawn
 *   line), content row 15 px under the line, 28 px tall, 25 px to the frame bottom
 *   text Geist 400 10/10 #424242, 7 px from the row top; Facebook mark 28 x 28 at the right
 * 499:427 (Kas mes esame) draws its own box: 58 px above the line, rule 0.5 px #424242 (renders
 *   as 1 px at 50 %), content 24 px under the line, text centred in the row. Its wrapper carries
 *   .mn-chrome-footer--499.
 */

.mn-footer .mn-footer__rule {
	display: block;
	width: min(var(--mn-wide, 1340px), 100% - 40px);
	max-width: none;
	height: 1px;
	margin: 0 auto;
	padding: 0;
	border: 0;
	background-color: var(--mn-rule-footer, rgb(66 66 66 / 0.2));
	opacity: 1;
}

.mn-footer__inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	width: min(var(--mn-wide, 1340px), 100% - 40px);
	margin-inline: auto;
	padding: 15px 0 25px;
}

.mn-footer .mn-footer__copy {
	margin: 7px 0 0;
	font-family: var(--wp--preset--font-family--geist);
	font-weight: 400;
	font-size: var(--wp--preset--font-size--s-01);
	line-height: 10px;
	color: var(--wp--preset--color--c-02);
}

.mn-footer .mn-footer__facebook {
	flex: 0 0 auto;
	margin: 0;
}

.mn-footer .mn-footer__facebook a {
	display: block;
	line-height: 0;
}

.mn-footer .mn-footer__facebook img {
	display: block;
	width: 28px;
	height: 28px;
}

/* 499:427 */
.mn-chrome-footer--499 .mn-footer .mn-footer__rule {
	margin-top: 57px;
	background-color: rgb(66 66 66 / 0.5);
}

.mn-chrome-footer--499 .mn-footer__inner {
	padding-top: 24px;
	align-items: center;
}

.mn-chrome-footer--499 .mn-footer .mn-footer__copy {
	margin-top: 0;
}

@media (max-width: 781px) {
	.mn-footer__inner {
		align-items: center;
	}

	.mn-footer .mn-footer__copy {
		margin-top: 0;
		line-height: 14px;
	}
}
