main:has(> .sdash-video-hero) {
	margin-top: 0;
}

.sdash-video-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	overflow: hidden;
	background-color: var(--wp--preset--color--primary);
}

.sdash-video-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sdash-video-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(23, 21, 18, 0.55) 0%, rgba(23, 21, 18, 0.35) 45%, rgba(23, 21, 18, 0.75) 100%);
}

.sdash-video-hero__content {
	position: relative;
	z-index: 1;
	max-width: 1140px;
	margin-inline: auto;
	padding: var(--wp--preset--spacing--xl) var(--wp--preset--spacing--md);
	text-align: center;
}

.sdash-video-hero__heading {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 0.28em;
	row-gap: 0.05em;
	margin: 0;
	color: var(--wp--preset--color--background);
	font-size: clamp(2.5rem, 1rem + 4vw, 5.5rem);
	line-height: 1.08;
	letter-spacing: -0.01em;
}

.sdash-video-hero__word {
	display: inline-block;
	opacity: 0;
	transform: translateY(0.4em);
	transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sdash-video-hero__heading.is-visible .sdash-video-hero__word {
	opacity: 1;
	transform: translateY(0);
}

.sdash-video-hero__text {
	margin-top: var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--medium);
	opacity: 0.85;
}

.sdash-video-hero__cta {
	display: flex;
	justify-content: center;
	margin-top: var(--wp--preset--spacing--lg);
}

@media (prefers-reduced-motion: reduce) {
	.sdash-video-hero__word {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.sdash-video-hero--editor {
	min-height: auto;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
	padding: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--md);
}
