.wp-block-lazyblock-home-hero-video-v6 {
	width: 100%;
	max-width: none;
	margin: 0;
}

.palmetto-hero {
	--hero-overlay: 0.45;
	--hero-desktop-height: 900px;
	--hero-mobile-height: 720px;
	--hero-reveal-duration: 600ms;

	position: relative;
	width: 100%;
	min-height: min(var(--hero-desktop-height), 100svh);
	overflow: hidden;
	background: #111;
	color: #fff;
	isolation: isolate;
}

.palmetto-hero__media,
.palmetto-hero__poster,
.palmetto-hero__video,
.palmetto-hero__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.palmetto-hero__media {
	z-index: 1;
}

.palmetto-hero__poster {
	z-index: 1;
	display: block;
	opacity: 1;
	transition: opacity 400ms ease;
}

.palmetto-hero__poster-image,
.palmetto-hero__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.palmetto-hero__video {
	z-index: 2;
	opacity: 0;
	transition: opacity 400ms ease;
}

.palmetto-hero__overlay {
	z-index: 3;
	opacity: 0;
	background:
		linear-gradient(
			90deg,
			rgba(0, 0, 0, calc(var(--hero-overlay) * 0.45)) 0%,
			rgba(0, 0, 0, calc(var(--hero-overlay) * 0.65)) 55%,
			rgba(0, 0, 0, var(--hero-overlay)) 100%
		);
	transition: opacity var(--hero-reveal-duration) ease;
	pointer-events: none;
}

.palmetto-hero--overlay-visible .palmetto-hero__overlay {
	opacity: 1;
}

.palmetto-hero__content {
	position: relative;
	z-index: 4;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	min-height: min(var(--hero-desktop-height), 100svh);
	padding: 0 0 clamp(56px, 7vh, 92px);
	pointer-events: none;
}

.palmetto-hero__container {
	display: flex;
	width: min(100% - 64px, 1320px);
	margin-inline: auto;
	flex-direction: column;
	align-items: flex-end;
}

.palmetto-hero__text {
	width: min(100%, 560px);
	text-align: right;
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity var(--hero-reveal-duration) ease,
		transform var(--hero-reveal-duration) ease;
}

.palmetto-hero--overlay-visible .palmetto-hero__text {
	opacity: 1;
	transform: translateY(0);
}

.palmetto-hero__eyebrow {
	margin: 0 0 8px !important;
	color: inherit;
	font-size: clamp(26px, 2.15vw, 40px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.palmetto-hero__title {
	margin: 0;
	color: inherit;
	font-size: clamp(18px, 1.35vw, 25px);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.palmetto-hero__play {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 36px;
	padding: 0;
	border: 0;
	color: inherit;
	background: transparent;
	cursor: pointer;
	pointer-events: auto;
}

.palmetto-hero__play-icon {
	position: relative;
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.18);
	backdrop-filter: blur(4px);
}

.palmetto-hero__play-icon::before {
	content: "";
	display: block;
	margin-left: 4px;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid currentColor;
}

.palmetto-hero__play-text {
	font-size: 16px;
}

.palmetto-hero--video-playing .palmetto-hero__video {
	opacity: 1;
}

.palmetto-hero--video-playing .palmetto-hero__poster {
	opacity: 0;
}

@media (max-width: 767px) {
	.palmetto-hero {
		min-height: var(--hero-mobile-height);
	}

	.palmetto-hero__content {
		min-height: var(--hero-mobile-height);
		padding-bottom: 36px;
	}

	.palmetto-hero__container {
		width: min(100% - 32px, 1320px);
	}

	.palmetto-hero__text {
		width: min(100%, 420px);
	}

	.palmetto-hero__eyebrow {
		margin-bottom: 7px !important;
		font-size: clamp(24px, 8vw, 34px);
	}

	.palmetto-hero__title {
		font-size: clamp(17px, 4.8vw, 21px);
		line-height: 1.3;
	}
}

@media (prefers-reduced-motion: reduce) {
	.palmetto-hero__poster,
	.palmetto-hero__video,
	.palmetto-hero__overlay,
	.palmetto-hero__text {
		transition: none;
	}

	.palmetto-hero__video {
		display: none;
	}
}
