/*
 * Placeholder shown over a Video widget until marketing consent is given.
 * Cookiebot toggles .cookieconsent-optout-marketing, so its display is left alone here.
 */
.elementor-widget-video .elementor-wrapper {
	position: relative;
}

.hello-elementor-child-video-consent {
	position: absolute;
	inset: 0;
	background-color: #000;
	color: #fff;
}

.hello-elementor-child-video-consent__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1em;
	height: 100%;
	padding: 1.5em;
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.4;
}

.hello-elementor-child-video-consent__inner p {
	max-width: 32em;
	margin: 0;
}

.hello-elementor-child-video-consent .hello-elementor-child-video-consent__button {
	padding: 0.75em 1.5em;
	border: 0;
	border-radius: 0;
	background-color: #fc0;
	color: #000;
	font-weight: 700;
	cursor: pointer;
}

.hello-elementor-child-video-consent .hello-elementor-child-video-consent__button:hover,
.hello-elementor-child-video-consent .hello-elementor-child-video-consent__button:focus {
	background-color: #fff;
	color: #000;
}

.hello-elementor-child-video-consent .hello-elementor-child-video-consent__button:focus-visible {
	outline: 2px solid #fc0;
	outline-offset: 3px;
}

/*
 * Homepage hero: a still of its Vimeo background video (self-hosted, slightly
 * darkened for text contrast), shown until the video plays after marketing
 * consent. Matched on the video ID, so it drops away if the hero video changes.
 * An Elementor "Background Fallback" image set on the container takes precedence.
 */
.elementor-element[data-settings*="1231296689"] {
	background-image: url("hero-video-poster.jpg");
	background-position: center;
	background-size: cover;
}
