/* Imágenes independientes por dispositivo y altura móvil estable, v1.3.1. */
.hte-hero__media {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	display: block;
	width: 50%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
}

.hte-hero__media--desktop {
	display: block;
}

.hte-hero__media--mobile {
	display: none;
}

.hte-hero__media .hte-hero__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
}

.hte-hero__image--desktop {
	object-fit: contain;
	object-position: center center;
}

.hte-hero__image-overlay {
	right: auto;
	width: 50%;
}

@media (max-width: 767px) {
	.elementor-widget-hte_talent_hero,
	.elementor-widget-hte_talent_hero > .elementor-widget-container {
		align-self: flex-start !important;
		flex-grow: 0 !important;
		width: 100%;
		height: auto !important;
		min-height: 0 !important;
		max-height: none !important;
	}

	.hte-hero {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
		align-content: start;
		width: 100%;
		height: fit-content !important;
		min-height: 0 !important;
		max-height: none !important;
		min-block-size: 0 !important;
		aspect-ratio: auto !important;
		overflow: hidden;
	}

	.hte-hero.hte-hero--mobile-measured {
		height: var(--hte-mobile-natural-height) !important;
	}

	.hte-hero--has-mobile-image {
		grid-template-rows: auto auto;
	}

	.hte-hero__media--desktop {
		display: none !important;
	}

	.hte-hero__media--mobile {
		position: relative;
		inset: auto;
		grid-column: 1;
		grid-row: 1;
		display: block;
		width: 100% !important;
		height: auto;
		min-height: 0;
		max-height: none;
		aspect-ratio: var(--hte-mobile-image-ratio, 12 / 7);
	}

	.hte-hero__media--mobile .hte-hero__image--mobile {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center center;
	}

	.hte-hero__image-overlay,
	.hte-hero__shapes {
		display: none;
	}

	.hte-hero__content {
		position: relative;
		top: auto !important;
		left: auto !important;
		grid-column: 1;
		grid-row: 1;
		width: 100% !important;
		min-height: 0;
		max-height: none;
		margin: 0;
		padding: 24px 22px 28px;
		text-align: center;
	}

	.hte-hero--has-mobile-image .hte-hero__content {
		grid-row: 2;
	}
}
