/**
 * Header unificado - Menú izq | Logo centro | Elementos dcha
 * Tema hijo Talento Corporativo / Movedo
 */

/* Contenedor principal: una sola fila */
.movedo-child-header-unified {
	width: 100%;
	border-top: none;
}

.movedo-child-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	position: relative;
	min-height: 70px;
}

/* Sección menú - izquierda */
.movedo-child-header-nav {
	flex: 0 0 auto;
	z-index: 2;
	min-width: 0;
}

.movedo-child-header-nav #grve-main-menu {
	float: none;
	margin: 0;
}

.movedo-child-header-nav #grve-main-menu .grve-wrapper {
	display: flex;
	align-items: center;
}

.movedo-child-header-nav #grve-main-menu .grve-menu {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.movedo-child-header-nav #grve-main-menu .grve-menu > li {
	margin: 0;
}

.movedo-child-header-nav #grve-main-menu .grve-menu > li > a {
	padding: 0 1.5em 0 0;
}

/* Logo - centrado absoluto */
.movedo-child-header-logo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	pointer-events: auto;
}

.movedo-child-header-logo .grve-logo {
	position: relative;
	height: auto;
	float: none;
}

.movedo-child-header-logo .grve-logo.grve-position-center {
	position: relative;
	left: auto;
	top: auto;
	width: auto;
	height: auto;
	text-align: center;
}

.movedo-child-header-logo .grve-logo .grve-wrapper {
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.movedo-child-header-logo .grve-logo .grve-wrapper img {
	top: 0;
}

/* Elementos - derecha */
.movedo-child-header-elements {
	flex: 0 0 auto;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.movedo-child-header-elements .grve-header-elements-wrapper {
	float: none;
	display: flex;
	align-items: center;
}

.movedo-child-header-elements .grve-header-elements,
.movedo-child-header-elements .grve-header-text-element {
	display: flex;
	align-items: center;
}

/* Asegurar que el contenedor padre tiene altura */
#grve-main-header:not(.grve-header-side) .movedo-child-header-unified {
	height: inherit;
}

#grve-main-header:not(.grve-header-side) .movedo-child-header-unified .grve-wrapper {
	height: inherit;
}
