/* Restaurant page footer (ManO2 Figma 1:1472 + 1:1515, Kaptol 1:2237 + 1:2262): the site footer (parts
   footer-hr/en), then the restaurant's wordmark at the bottom.
   ManO2 (template "Restoran: ManO2"): dark band, warm-white text, light wordmark 1248 wide, 61px above
   the page's end. ManO ("Restoran: Kaptol", --kaptol; Figma 242:923): sage band, dark text, dark "ManO"
   wordmark 1248 wide, 36px above the end. In Figma the footer with the wordmark is 1024 tall. */

.mano-restoran-footer.mano-restoran-footer {
	margin-block-start: 0; /* no block gap between the page and its footer */
	background: var(--wp--preset--color--dark-kaptol);
	color: var(--wp--preset--color--topla-bijela);
}

.mano-restoran-footer .mano-footer {
	padding-top: 80px; /* Figma 296:3744 */
	background: transparent;
	color: inherit;
	/* Light text on the dark band renders bolder than Figma with subpixel smoothing. */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.mano-restoran-footer__wordmark.mano-restoran-footer__wordmark {
	margin: 0;
	padding: 200px var(--wp--preset--spacing--gutter) 61px;
}

.mano-restoran-footer__wordmark img {
	display: block;
	width: 100%;
	max-width: 1248px;
	height: auto;
	margin: 0 auto;
}

@media (max-width: 1023px) {
	.mano-restoran-footer__wordmark.mano-restoran-footer__wordmark {
		padding-top: clamp(64px, 20vw, 200px);
		padding-bottom: clamp(32px, 6vw, 61px);
	}
}

.mano-restoran-footer--kaptol.mano-restoran-footer--kaptol {
	background: var(--wp--preset--color--mano-kadulja);
	color: var(--wp--preset--color--dark-kaptol);
}

.mano-restoran-footer--kaptol .mano-footer {
	padding-top: 61px; /* Figma 296:3617 */
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;
}

.mano-restoran-footer--kaptol .mano-restoran-footer__wordmark.mano-restoran-footer__wordmark {
	padding-bottom: 36px;
}

@media (max-width: 1023px) {
	.mano-restoran-footer--kaptol .mano-restoran-footer__wordmark.mano-restoran-footer__wordmark {
		padding-bottom: clamp(24px, 4vw, 36px);
	}
}

/* Desktop: the footer with the wordmark is exactly one screen tall (owner, 2026-10-21). The footer
   stays at the top, the wordmark keeps its distance to the page's end, the space between them takes
   up the rest; on short screens the space under the wordmark shrinks too. Portrait tablets keep the
   fixed spacing. */
@media (min-width: 1024px) and (orientation: landscape) {
	.mano-restoran-footer.mano-restoran-footer {
		display: flex;
		box-sizing: border-box;
		min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
		flex-direction: column;
	}

	.mano-restoran-footer .mano-restoran-footer__wordmark.mano-restoran-footer__wordmark {
		margin-top: auto;
		padding-top: 24px;
		padding-bottom: clamp(24px, 100svh - 562px, 61px); /* Figma 296:3744: 61 wherever it fits (footer ~210 + 24 + wordmark 292 + 59) */
	}

	.mano-restoran-footer--kaptol .mano-restoran-footer__wordmark.mano-restoran-footer__wordmark {
		padding-bottom: clamp(24px, 100svh - 731px, 36px); /* footer ~210 + 24 + wordmark 461 + 36 */
	}
}

/* Phones (Figma 359:767 ManO2, 370:1754 ManO): the footer with the wordmark is 874 tall; columns
   146px under its top, the wordmark 370 wide (gutter 16), ManO2 269px under the last rule and 70
   above the end, ManO 260 under and 28 above. */
@media (max-width: 781px) {
	.mano-restoran-footer .mano-footer,
	.mano-restoran-footer--kaptol .mano-footer {
		padding-top: 146px;
		padding-bottom: 0;
	}

	.mano-restoran-footer .mano-restoran-footer__wordmark.mano-restoran-footer__wordmark {
		padding: 269px 16px 70px;
	}

	.mano-restoran-footer--kaptol .mano-restoran-footer__wordmark.mano-restoran-footer__wordmark {
		padding: 260px 16px 28px;
	}
}
