.emlabs-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	isolation: isolate;
	min-height: 32rem;
}

.emlabs-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.emlabs-hero-media picture {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.emlabs-hero-poster,
.emlabs-hero-video,
.emlabs-hero-media picture img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 78% 50%;
}

.emlabs-hero-video {
	opacity: 0;
}

.emlabs-hero-is-active .emlabs-hero-video {
	opacity: 1;
}

.emlabs-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-image: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.92) 0%,
		rgba(255, 255, 255, 0.78) 35%,
		rgba(255, 255, 255, 0.3) 62%,
		rgba(255, 255, 255, 0.1) 100%
	);
}

.emlabs-hero-media::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	height: clamp(7rem, 12vw, 11rem);
	pointer-events: none;
	background-image: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.45) 45%,
		rgba(255, 255, 255, 0.85) 75%,
		#ffffff 100%
	);
}

.emlabs-hero-inner {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	padding-inline: clamp(1.25rem, 5.5vw, 8rem);
	text-align: left;
}

.emlabs-hero-copy {
	position: relative;
	width: 100%;
	max-width: 100%;
}

.emlabs-hero-title {
	max-width: min(50rem, 100%);
}

.emlabs-hero-kicker {
	font-weight: 400;
}

.emlabs-hero-claim {
	display: block;
	font-weight: 700;
}

.emlabs-hero-lead {
	max-width: min(40rem, 100%);
	overflow: visible;
	max-height: none;
	-webkit-line-clamp: unset;
	line-clamp: unset;
	text-overflow: clip;
}

.emlabs-hero-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-top: 2rem;
}

.emlabs-hero-continue {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	margin-top: auto;
	padding-inline: clamp(1.25rem, 5.5vw, 8rem);
	padding-block: 1.25rem 1.5rem;
}

.emlabs-hero-explore {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	min-height: 2.75rem;
	padding: 0.25rem 0.15rem;
	border-radius: 0.25rem;
	color: #0e1e38;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
}

.emlabs-hero-explore-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	flex-shrink: 0;
	border: 1px solid #ff246d;
	border-radius: 9999px;
	color: #ff246d;
}

.emlabs-hero-explore:hover {
	color: #0e1e38;
}

.emlabs-hero-explore:hover .emlabs-hero-explore-icon {
	border-color: #9a165c;
	color: #9a165c;
}

.emlabs-hero-explore:focus {
	outline: none;
}

.emlabs-hero-explore:focus-visible {
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #ff246d;
}

#nuestro-laboratorio {
	scroll-margin-top: 1.25rem;
}

.admin-bar #nuestro-laboratorio {
	scroll-margin-top: 3.25rem;
}

@media screen and (max-width: 782px) {
	.admin-bar #nuestro-laboratorio {
		scroll-margin-top: 4.25rem;
	}
}

.emlabs-hero-toggle {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	z-index: 3;
	margin: 0;
	border: 0;
	border-radius: 9999px;
	background-color: rgba(255, 255, 255, 0.92);
	padding: 0.35rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.25;
	color: #0e1e38;
	cursor: pointer;
}

.emlabs-hero-toggle:focus {
	outline: none;
}

.emlabs-hero-toggle:focus-visible {
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #ff246d;
}

@media (min-width: 1024px) {
	.emlabs-hero {
		min-height: clamp(38rem, 70vh, 46rem);
	}

	.emlabs-hero-inner {
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.emlabs-hero-continue {
		padding-bottom: 1.75rem;
	}
}

@media (max-width: 1023px) {
	.emlabs-hero-poster,
	.emlabs-hero-video,
	.emlabs-hero-media picture img {
		object-position: 92% 48%;
	}

	.emlabs-hero-overlay {
		background-image: linear-gradient(
			90deg,
			rgba(255, 255, 255, 0.96) 0%,
			rgba(255, 255, 255, 0.92) 52%,
			rgba(255, 255, 255, 0.7) 78%,
			rgba(255, 255, 255, 0.35) 100%
		);
	}
}

@media (max-width: 1023px), (prefers-reduced-motion: reduce) {
	.emlabs-hero-video {
		display: none;
	}

	.emlabs-hero-toggle {
		display: none;
	}
}
