/**
 * Gentle cover parallax. Same numbers as Toby's page CTA:
 * the photo is a little taller than the frame and shifts at most 28px.
 * background-attachment:fixed is the locked full-speed reveal, so it stays off.
 */

.wp-block-cover {
	overflow: hidden;
}

.wp-block-cover__image-background.has-parallax {
	background-attachment: scroll !important;
	height: 112%;
	top: -6%;
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-cover__image-background.has-parallax {
		height: 100%;
		top: 0;
		transform: none !important;
	}
}
