/*
 * Home page banner: the photo drifts slowly outwards and back, like a gentle video.
 * A copy of the banner's own picture sits behind the text and the dark fade and is the part that moves,
 * so nothing else on the page shifts.
 */
.ibl-hero-zoom {
	position: relative;
	overflow: hidden !important; /* Elementor sets its own, so this must win. */
	clip-path: inset(0);
	isolation: isolate;
}

.ibl-hero-zoom::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: inherit;
	transform-origin: 70% 55%;
	animation: ibl-hero-zoom 26s ease-in-out infinite alternate;
	will-change: transform;
	pointer-events: none;
}

@keyframes ibl-hero-zoom {
	from {
		transform: scale(1);
	}

	to {
		transform: scale(1.14);
	}
}

@media (max-width: 767px) {
	.ibl-hero-zoom::after {
		animation-duration: 20s;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ibl-hero-zoom::after {
		animation: none;
	}
}
