/* The editor's height applies from 1280px; other widths scale it in steps (mirrored in parallax.ts),
   so the image keeps a similar proportion from phone to large desktop instead of one fixed height. */
.wp-block-theaterstuebchen-parallax-section {
	--ts-parallax-scale: 0.5;
	position: relative;
	height: min(var(--ts-parallax-height, 480px) * var(--ts-parallax-scale), 70vh);
	height: min(var(--ts-parallax-height, 480px) * var(--ts-parallax-scale), 70svh);
	min-height: 200px;
	overflow: hidden;
	background: var(--wp--preset--color--surface, #161a23);
	isolation: isolate;
}
@media (min-width: 600px) { .wp-block-theaterstuebchen-parallax-section { --ts-parallax-scale: 0.6; } }
@media (min-width: 960px) { .wp-block-theaterstuebchen-parallax-section { --ts-parallax-scale: 0.8; } }
@media (min-width: 1280px) { .wp-block-theaterstuebchen-parallax-section { --ts-parallax-scale: 1; } }
@media (min-width: 1680px) { .wp-block-theaterstuebchen-parallax-section { --ts-parallax-scale: 1.2; } }
@media (min-width: 2200px) { .wp-block-theaterstuebchen-parallax-section { --ts-parallax-scale: 1.5; } }
.wp-block-theaterstuebchen-parallax-section .ts-parallax__image {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: var(--ts-parallax-focus, 50% 50%);
}
.wp-block-theaterstuebchen-parallax-section.has-parallax-motion .ts-parallax__image {
	top: calc(-1 * var(--ts-parallax-travel, 80px) * var(--ts-parallax-scale));
	height: calc(100% + 2 * var(--ts-parallax-travel, 80px) * var(--ts-parallax-scale));
	transform: translate3d(0, var(--ts-parallax-offset, 0px), 0);
	will-change: transform;
}
.editor-styles-wrapper .wp-block-theaterstuebchen-parallax-section .components-placeholder { height: 100%; }
@media (prefers-reduced-motion: reduce) {
	.wp-block-theaterstuebchen-parallax-section.has-parallax-motion .ts-parallax__image {
		top: 0;
		height: 100%;
		transform: none;
		will-change: auto;
	}
}
