.hcv-career-hero {
	--hcv-video-width: 38%;
	--hcv-orange-anchor: min(max(var(--hcv-video-width), 28%), 65%);
	--hcv-static-wave-width: 265px;
	--hcv-content-background: #ff620e;
	background: #111318;
	display: block;
	min-height: 0;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.hcv-career-hero *,
.hcv-career-hero *::before,
.hcv-career-hero *::after {
	box-sizing: border-box;
}

.hcv-career-hero__video-panel {
	align-items: center;
	aspect-ratio: 4 / 5;
	background: #111318;
	display: flex;
	justify-content: center;
	min-height: 0;
	overflow: hidden;
	position: relative;
	width: var(--hcv-orange-anchor);
	z-index: 1;
}

.hcv-career-hero__video {
	--hcv-video-x: 50%;
	--hcv-video-y: 50%;
	display: block;
	height: 100% !important;
	max-height: none !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: var(--hcv-video-x) var(--hcv-video-y) !important;
	width: 100% !important;
}

.hcv-career-hero--portrait-4-5 .hcv-career-hero__video {
	aspect-ratio: 4 / 5 !important;
}

.hcv-career-hero__video-overlay {
	background: #08282c;
	inset: 0;
	opacity: 0.08;
	pointer-events: none;
	position: absolute;
	z-index: 2;
}

.hcv-career-hero__video-placeholder {
	align-items: center;
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 8px;
	justify-content: center;
	padding: 30px;
	text-align: center;
}

.hcv-career-hero__video-placeholder > span {
	font-size: 44px;
	line-height: 1;
	opacity: 0.85;
}

.hcv-career-hero__video-placeholder strong {
	font-size: 19px;
}

.hcv-career-hero__video-placeholder small {
	font-size: 13px;
	opacity: 0.72;
}

.hcv-career-hero__media-buttons {
	--hcv-media-buttons-x: 0px;
	align-items: center;
	display: flex;
	gap: 7px;
	left: calc(var(--hcv-orange-anchor) - 74px);
	position: absolute;
	right: auto;
	top: 16px;
	transform: translateX(var(--hcv-media-buttons-x));
	z-index: 6;
}

.hcv-career-hero__media-button {
	align-items: center;
	appearance: none;
	background: #30343a;
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	height: 36px;
	justify-content: center;
	margin: 0;
	padding: 0;
	transition: background-color 180ms ease, transform 180ms ease;
	width: 36px;
}

.hcv-career-hero__media-button:hover,
.hcv-career-hero__media-button:focus-visible {
	background: #006b68;
	transform: scale(1.06);
}

.hcv-career-hero__media-button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.hcv-career-hero__media-button svg {
	fill: currentColor;
	height: 1em;
	width: 1em;
}

.hcv-career-hero__pause-icon {
	display: none;
}

.hcv-career-hero.is-playing .hcv-career-hero__play-icon {
	display: none;
}

.hcv-career-hero.is-playing .hcv-career-hero__pause-icon {
	display: inline-flex;
}

.hcv-career-hero__content {
	background: var(--hcv-content-background);
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	left: var(--hcv-orange-anchor);
	min-height: 0;
	padding: 28px 48px 28px 64px !important;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 2;
}

.hcv-career-hero__content-inner {
	--hcv-content-x: 0px;
	--hcv-content-y: 0px;
	max-width: 520px;
	position: relative;
	transform: translate(var(--hcv-content-x), var(--hcv-content-y));
	width: 100%;
	z-index: 4;
}

.hcv-career-hero__headline {
	--hcv-headline-x: 0px;
	--hcv-headline-y: 0px;
	line-height: 0.92;
	position: relative;
	transform: translate(var(--hcv-headline-x), var(--hcv-headline-y));
}

.hcv-career-hero__line {
	--hcv-line-x: 0px;
	--hcv-line-y: 0px;
	position: relative;
	transform: translate(var(--hcv-line-x), var(--hcv-line-y));
}

.hcv-career-hero__line-text {
	color: #111;
	font-family: Arial, Helvetica, sans-serif;
	font-size: clamp(34px, 4vw, 66px);
	font-weight: 300;
	letter-spacing: -0.045em;
	line-height: 0.92;
	margin: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
	padding: 0;
}

.hcv-career-hero__description {
	--hcv-description-x: 0px;
	--hcv-description-y: 0px;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 21px;
	font-style: italic;
	line-height: 1.25;
	margin-top: 28px;
	position: relative;
	transform: translate(var(--hcv-description-x), var(--hcv-description-y));
}

.hcv-career-hero__description > :first-child {
	margin-top: 0;
}

.hcv-career-hero__description > :last-child {
	margin-bottom: 0;
}

.hcv-career-hero__button-wrap {
	--hcv-button-x: 0px;
	--hcv-button-y: 0px;
	display: flex;
	margin-top: 42px;
	position: relative;
	transform: translate(var(--hcv-button-x), var(--hcv-button-y));
}

.hcv-career-hero__button {
	align-items: center;
	background: #006b68;
	border-radius: 10px;
	color: #fff;
	display: inline-flex;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 600;
	gap: 24px;
	justify-content: center;
	line-height: 1.2;
	min-height: 46px;
	padding: 14px 20px;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
	width: 235px;
}

.hcv-career-hero__button:hover,
.hcv-career-hero__button:focus-visible {
	background: #004c3f;
	color: #fff;
	transform: translateY(-2px);
}

.hcv-career-hero__button:focus-visible {
	outline: 3px solid rgba(255, 255, 255, 0.86);
	outline-offset: 3px;
}

.hcv-career-hero__button-icon {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 24px;
	justify-content: center;
}

.hcv-career-hero__button-icon svg {
	fill: currentColor;
	height: 1em;
	width: 1em;
}

.hcv-career-hero__content-edge {
	height: 100%;
	pointer-events: none;
	position: absolute;
	right: calc(100% - 1px);
	top: 50%;
	transform: translateY(-50%);
	width: var(--hcv-static-wave-width);
	z-index: 1;
}

.hcv-career-hero__content-edge svg {
	display: block;
	height: 100%;
	overflow: visible;
	width: 100%;
}

.hcv-career-hero__wave-primary {
	fill: var(--hcv-content-background) !important;
}

.hcv-career-hero__content-edge--mobile {
	display: none;
}

.hcv-career-hero__wave-secondary {
	fill: #006b68;
	opacity: 0.67;
}

@media (prefers-reduced-motion: reduce) {
	.hcv-career-hero__button,
	.hcv-career-hero__media-button {
		transition: none;
	}
}

@media (max-width: 1024px) {
	.hcv-career-hero__line-text {
		font-size: clamp(30px, 5vw, 58px);
	}

	.hcv-career-hero__content {
		padding-left: 13%;
		padding-right: 7%;
	}
}

@media (max-width: 900px) {
	/*
	 * Elementor puede conservar una altura fija en el widget o en el contenedor
	 * flex que lo aloja. JavaScript marca únicamente esos ancestros para que el
	 * hero vuelva a participar en el flujo y empuje al siguiente apartado.
	 */
	.hcv-career-hero-flow-host {
		height: auto !important;
		max-height: none !important;
		min-height: 0 !important;
		overflow: visible !important;
	}

	.elementor-widget.hcv-career-hero-flow-host,
	.elementor-widget-container.hcv-career-hero-flow-host {
		align-self: stretch !important;
		flex-basis: auto !important;
		inset: auto !important;
		position: relative !important;
		transform: none !important;
		width: 100% !important;
	}

	.hcv-career-hero {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto;
		height: auto !important;
		inset: auto !important;
		max-height: none !important;
		max-width: 100% !important;
		min-height: 0 !important;
		min-width: 0 !important;
		overflow: hidden !important;
		position: relative !important;
		transform: none !important;
		width: 100% !important;
	}

	.hcv-career-hero__video-panel {
		aspect-ratio: 4 / 5;
		flex: none !important;
		grid-column: 1;
		grid-row: 1;
		height: auto !important;
		inset: auto !important;
		max-height: none !important;
		max-width: 100% !important;
		min-height: 0 !important;
		min-width: 0 !important;
		position: relative !important;
		transform: none !important;
		width: 100% !important;
	}

	.hcv-career-hero__video {
		aspect-ratio: 4 / 5 !important;
		height: 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.hcv-career-hero__content {
		bottom: auto !important;
		grid-column: 1;
		grid-row: 2;
		height: auto !important;
		left: auto !important;
		max-height: none !important;
		max-width: 100% !important;
		min-height: 0 !important;
		min-width: 0 !important;
		padding: clamp(38px, 10vw, 54px) clamp(20px, 6vw, 32px) clamp(44px, 11vw, 60px) !important;
		position: relative !important;
		right: auto !important;
		top: auto !important;
		transform: none !important;
		width: 100% !important;
	}

	.hcv-career-hero__content-inner {
		margin-inline: auto;
		max-width: 100% !important;
		min-width: 0 !important;
		transform: none !important;
	}

	.hcv-career-hero__media-buttons {
		left: auto !important;
		right: 8px !important;
		top: 16px !important;
		transform: none !important;
	}

	.hcv-career-hero__content-edge--desktop {
		display: none;
	}

	.hcv-career-hero__content-edge--mobile {
		display: block;
		height: min(var(--hcv-static-wave-width), 75vw);
		left: 0;
		right: auto;
		top: 1px;
		transform: translateY(-100%);
		width: 100%;
	}

	.hcv-career-hero__headline {
		line-height: 1;
		max-width: 100% !important;
		min-width: 0 !important;
		transform: none !important;
	}

	.hcv-career-hero__line {
		max-width: 100% !important;
		min-width: 0 !important;
		transform: none !important;
	}

	.hcv-career-hero__line-text {
		font-size: clamp(32px, 11vw, 56px);
		line-height: 1;
		max-width: 100% !important;
		overflow-wrap: anywhere;
		word-break: normal;
	}

	.hcv-career-hero__description {
		font-size: 18px;
		line-height: 1.3;
		max-width: 100% !important;
		min-width: 0 !important;
		transform: none !important;
	}

	.hcv-career-hero__button-wrap {
		max-width: 100% !important;
		min-width: 0 !important;
		transform: none !important;
		width: 100%;
	}

	.hcv-career-hero__button {
		max-width: 100%;
	}
}
