/* APPSUR Autores EEAT — usa los colores y tipografías globales del kit de Elementor, con valores de reserva. */

.eeat-firma,
.eeat-caja,
.eeat-perfil,
.eeat-articulos {
	--eeat-azul: var(--e-global-color-primary, #2C3779);
	--eeat-fondo: var(--e-global-color-secondary, #FAFAF8);
	--eeat-texto: var(--e-global-color-text, #424242);
	--eeat-turquesa: var(--e-global-color-accent, #88C3C5);
	--eeat-crema: #F4E9D8;
	--eeat-borde: #ECE7DC;
	--eeat-etiqueta: #8A5A35;
	--eeat-gris: #5E5E5E;
	--eeat-serif: var(--e-global-typography-primary-font-family, "Libre Baskerville"), Georgia, serif;
	--eeat-sans: var(--e-global-typography-text-font-family, "Inter"), system-ui, sans-serif;
	font-family: var(--eeat-sans);
	color: var(--eeat-texto);
	box-sizing: border-box;
}

.eeat-firma *,
.eeat-caja *,
.eeat-perfil * {
	box-sizing: border-box;
}

/* Avatar */
.eeat-avatar {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	object-fit: cover;
	background: var(--eeat-crema, #F4E9D8);
	border: 3px solid var(--eeat-turquesa, #88C3C5);
	color: var(--eeat-azul, #2C3779);
	font-family: var(--eeat-serif, Georgia, serif);
	font-weight: 700;
}

img.eeat-avatar {
	aspect-ratio: 1 / 1;
	height: auto;
	object-position: center top;
}

.eeat-etiqueta {
	display: block;
	margin: 0;
	font-family: var(--eeat-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--eeat-etiqueta);
}

/* ---------- Firma de cabecera ---------- */
.eeat-firma {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 28px;
	font-size: 15px;
	line-height: 1.4;
}

.eeat-firma__persona {
	display: flex;
	align-items: center;
	gap: 12px;
	text-align: left;
}

.eeat-firma .eeat-avatar--iniciales {
	font-size: 16px;
}

.eeat-firma__rol {
	display: block;
	font-size: 13px;
	opacity: 0.8;
}

.eeat-firma .eeat-nombre {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: inherit;
}

.eeat-firma__sep {
	width: 1px;
	height: 36px;
	background: currentColor;
	opacity: 0.3;
}

.eeat-firma__fechas {
	font-size: 14px;
	text-align: left;
	opacity: 0.9;
}

.eeat-firma--oscuro {
	color: #FFFFFF;
}

.eeat-firma--claro {
	color: var(--eeat-texto);
}

.eeat-firma--claro .eeat-nombre {
	color: var(--eeat-azul);
}

/* ---------- Caja de autor ---------- */
.eeat-caja {
	background: #FFFFFF;
	border: 1px solid var(--eeat-borde);
	border-radius: 24px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.eeat-caja__autor {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.eeat-caja__autor .eeat-avatar--iniciales {
	font-size: 30px;
	border-width: 4px;
}

.eeat-caja__cuerpo {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.eeat-caja__nombre {
	font-family: var(--eeat-serif);
	font-size: 22px;
	color: var(--eeat-azul);
	text-decoration: none;
}

.eeat-caja__cargo {
	display: block;
	font-size: 15px;
	font-weight: 500;
}

.eeat-caja__bio {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.eeat-caja__enlaces {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 15px;
	font-weight: 600;
}

.eeat-caja__enlaces a {
	color: var(--eeat-azul);
}

.eeat-caja__enlaces .eeat-caja__secundario {
	color: var(--eeat-gris);
}

.eeat-caja__revisor {
	display: flex;
	gap: 16px;
	align-items: center;
	padding-top: 22px;
	border-top: 1px solid var(--eeat-borde);
	line-height: 1.4;
}

.eeat-caja__revisor .eeat-nombre {
	font-weight: 600;
	font-size: 17px;
	color: var(--eeat-azul);
}

.eeat-caja__fecha {
	display: block;
	font-size: 14px;
	color: var(--eeat-gris);
	margin-top: 4px;
}

@media (max-width: 600px) {
	.eeat-caja {
		padding: 24px;
	}
	.eeat-caja__autor {
		flex-direction: column;
	}
}

/* ---------- Página de autor ---------- */
.eeat-perfil__hero {
	background: var(--eeat-azul);
	color: #FFFFFF;
	border-radius: 32px;
	padding: 64px 24px;
}

.eeat-perfil__hero-in {
	max-width: 1040px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
}

.eeat-perfil__hero .eeat-avatar {
	border-width: 6px;
	font-size: 64px;
}

.eeat-perfil__intro {
	flex: 999 1 420px;
	min-width: 0;
}

.eeat-perfil__antetitulo {
	margin: 0 0 12px;
	font-family: var(--eeat-serif);
	font-size: 14px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--eeat-turquesa);
}

.eeat-perfil__nombre {
	margin: 0 0 12px;
	font-family: var(--eeat-serif);
	font-weight: 400;
	font-size: clamp(34px, 5vw, 52px);
	line-height: 1.1;
	color: #FFFFFF;
}

.eeat-perfil__cargo {
	margin: 0 0 24px;
	font-size: 20px;
	color: #E3E7F7;
}

.eeat-chips {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
}

.eeat-chips li {
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.3);
	padding: 8px 16px;
	border-radius: 999px;
}

.eeat-boton-borde {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: #FFFFFF;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #FFFFFF;
	padding: 10px 22px;
	border-radius: 999px;
	font-size: 15px;
}

.eeat-boton-borde:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #FFFFFF;
}

.eeat-perfil__contenido {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 24px;
}

.eeat-perfil__seccion {
	padding: 56px 0;
	border-bottom: 1px solid #E6E1D6;
}

.eeat-perfil__seccion:last-child {
	border-bottom: 0;
}

.eeat-perfil__seccion h2 {
	margin: 0 0 24px;
	font-family: var(--eeat-serif);
	font-weight: 400;
	color: var(--eeat-azul);
	font-size: 32px;
}

.eeat-perfil__sobre {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	padding-top: 72px;
}

.eeat-perfil__bio {
	flex: 999 1 520px;
	min-width: 0;
	font-size: 18px;
	line-height: 1.65;
}

.eeat-perfil__areas {
	flex: 1 1 280px;
	align-self: flex-start;
	background: var(--eeat-crema);
	border-radius: 24px;
	padding: 28px;
}

.eeat-perfil__areas h3 {
	margin: 0 0 16px;
	font-family: var(--eeat-serif);
	font-weight: 400;
	color: var(--eeat-azul);
	font-size: 20px;
}

.eeat-perfil__areas ul {
	margin: 0;
	padding-left: 20px;
	line-height: 1.9;
}

.eeat-rejilla {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.eeat-tarjeta {
	background: #FFFFFF;
	border: 1px solid var(--eeat-borde);
	border-radius: 20px;
	padding: 28px;
}

.eeat-tarjeta .eeat-etiqueta {
	margin-bottom: 18px;
}

.eeat-tarjeta__lista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
	line-height: 1.5;
}

.eeat-tarjeta__lista strong {
	color: var(--eeat-azul);
}

.eeat-medios {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.eeat-medio {
	display: block;
	background: #FFFFFF;
	border: 1px solid var(--eeat-borde);
	border-radius: 20px;
	padding: 24px 28px;
	text-decoration: none;
	color: var(--eeat-texto);
}

.eeat-medio .eeat-etiqueta {
	margin-bottom: 6px;
}

.eeat-medio__titulo {
	display: block;
	font-family: var(--eeat-serif);
	font-size: 20px;
	line-height: 1.4;
	color: var(--eeat-azul);
}

.eeat-medio__leer {
	display: inline-block;
	margin-top: 10px;
	font-weight: 600;
	color: var(--eeat-azul);
}

/* ---------- Rejilla de artículos ---------- */
.eeat-articulos {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.eeat-articulo {
	display: flex;
	flex-direction: column;
	background: #FFFFFF;
	border: 1px solid var(--eeat-borde, #ECE7DC);
	border-radius: 20px;
	overflow: hidden;
	text-decoration: none;
}

.eeat-articulo__img {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.eeat-articulo__img--vacia {
	background: var(--eeat-crema, #F4E9D8);
}

.eeat-articulo__cuerpo {
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex-grow: 1;
	padding: 22px 24px 24px;
}

.eeat-articulo__titulo {
	font-family: var(--eeat-serif);
	font-size: 19px;
	line-height: 1.35;
	color: var(--eeat-azul);
}

.eeat-articulo__meta {
	margin-top: auto;
	font-size: 14px;
	color: var(--eeat-gris);
}

@media (max-width: 767px) {
	.eeat-perfil__hero {
		padding: 48px 20px;
		border-radius: 24px;
	}
	.eeat-perfil__hero-in {
		gap: 28px;
	}
	.eeat-perfil__hero .eeat-avatar {
		width: 160px !important;
		height: 160px !important;
		font-size: 44px;
	}
	.eeat-perfil__contenido {
		padding: 0 4px;
	}
	.eeat-perfil__seccion h2 {
		font-size: 26px;
	}
}

/* ---------- Prioridad sobre los estilos globales del kit (.elementor-kit-N h1, h2, img…) ---------- */
body .eeat-perfil .eeat-perfil__nombre {
	margin: 0 0 12px;
	font-family: var(--eeat-serif);
	font-weight: 400;
	font-size: clamp(34px, 5vw, 52px);
	line-height: 1.1;
	color: #FFFFFF;
	text-transform: none;
	letter-spacing: normal;
}

body .eeat-perfil .eeat-perfil__seccion h2 {
	margin: 0 0 24px;
	font-family: var(--eeat-serif);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.25;
	color: var(--eeat-azul);
	text-transform: none;
	letter-spacing: normal;
}

body .eeat-perfil .eeat-perfil__areas h3 {
	margin: 0 0 16px;
	font-family: var(--eeat-serif);
	font-weight: 400;
	font-size: 20px;
	line-height: 1.3;
	color: var(--eeat-azul);
	text-transform: none;
	letter-spacing: normal;
}

body .eeat-perfil h3.eeat-etiqueta,
body .eeat-caja .eeat-etiqueta,
body .eeat-perfil .eeat-etiqueta {
	font-family: var(--eeat-sans);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--eeat-etiqueta);
}

body .eeat-perfil p,
body .eeat-caja p {
	margin-top: 0;
}

body .eeat-articulos img.eeat-articulo__img,
body .eeat-articulos .eeat-articulo__img {
	width: 100%;
	height: 180px;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
	margin: 0;
}

body .eeat-firma img.eeat-avatar,
body .eeat-caja img.eeat-avatar,
body .eeat-perfil img.eeat-avatar {
	max-width: none;
	border-radius: 50%;
	margin: 0;
}

body .eeat-perfil .eeat-perfil__hero img.eeat-avatar {
	width: 240px;
	height: 240px;
}

body .eeat-caja .eeat-caja__nombre {
	font-family: var(--eeat-serif);
	font-size: 22px;
	color: var(--eeat-azul);
}

@media (max-width: 767px) {
	body .eeat-perfil .eeat-perfil__seccion h2 {
		font-size: 26px;
	}
	body .eeat-perfil .eeat-perfil__hero img.eeat-avatar {
		width: 160px;
		height: 160px;
	}
}
