/**
 * 3D FlipBook singles (Hochzeiten / Magazin).
 *
 * The Elementor header bar (.elementor-element-5034bbe3) is position:absolute,
 * so the book starts at y=0 and is clipped. Add inner padding below that header
 * and above the footer CTA. --wt-header-h is measured in fb3d-page.js.
 */

body.single-3d-flip-book {
	--wt-flip-gap-top: 48px;
	--wt-flip-gap-bottom: 64px;
}

@media (max-width: 767px) {
	body.single-3d-flip-book {
		--wt-flip-gap-top: 24px;
		--wt-flip-gap-bottom: 48px;
	}
}

body.single-3d-flip-book ._3d-flip-book.fb3d-default-page.full-size {
	box-sizing: border-box;
	width: 100%;
	height: 100vh;
	min-height: 100vh;
	padding-top: calc(var(--wt-header-h, 196px) + var(--wt-flip-gap-top));
	padding-right: 0;
	padding-bottom: var(--wt-flip-gap-bottom);
	padding-left: 0;
}

body.single-3d-flip-book ._3d-flip-book.fb3d-default-page .book-widget,
body.single-3d-flip-book ._3d-flip-book.fb3d-default-page .book-widget > .full-size,
body.single-3d-flip-book ._3d-flip-book.fb3d-default-page .book-widget iframe {
	height: 100% !important;
}

@media (max-width: 767px) {
	body.single-3d-flip-book ._3d-flip-book.fb3d-default-page.full-size {
		height: 100svh;
		min-height: 100svh;
		padding-top: calc(var(--wt-header-h, 130px) + var(--wt-flip-gap-top));
		padding-left: 12px;
		padding-right: 12px;
	}
}

body.single-3d-flip-book ._3d-flip-book.fb3d-default-page .main {
	height: 100%;
}
