/* =========================================================================
   css/centros2026.css - Centros de formacion 2026 (centros-formacion.php).
   Lo comun esta en css/landing2026.css y css/certificacion2026.css; aqui el
   texto y las tarjetas de ventajas.
   ========================================================================= */

.cen26 .cert26-denominacion {
	text-transform: none;
}

.cen26-texto p,
.cen26-texto > div:not(.cen26-ventajas) {
	margin: 0 0 15px;
	line-height: 1.6;
	text-align: left !important;
}

/* La frase que presenta las ventajas, destacada */
.cen26-texto > div:not(.cen26-ventajas) {
	margin-top: 25px;
	color: #333f4f;
	font-weight: 700;
}

/* ---------- Ventajas: tarjetas con icono, 3 por fila ---------- */
.cen26-ventajas {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 20px 0 30px;
}

.cen26-ventaja {
	padding: 24px 22px;
	border: 1px solid #e6e9ee;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 1px 3px rgba(35, 45, 59, .06);
	transition: box-shadow .2s ease, transform .2s ease;
}

.cen26-ventaja:hover {
	box-shadow: 0 8px 24px rgba(35, 45, 59, .12);
	transform: translateY(-2px);
}

.cen26-ventaja-icono {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: #fdf3dd;
	color: #f4b333;
}

.cen26-ventaja-icono svg {
	width: auto;
	height: 24px;
}

.landing26-contenido .cen26-ventaja-titulo {
	margin: 0 0 6px;
	padding: 0;
	background: none;
	color: #333f4f;
	font-family: var(--fuente-titulos);
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: 0;
}

.landing26-contenido .cen26-ventaja p {
	margin: 0;
	color: #5b6573;
	font-size: .92rem;
	line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
	.cen26-ventaja { transition: none; }
	.cen26-ventaja:hover { transform: none; }
}

@media (max-width: 1199.98px) {
	.cen26-ventajas { grid-template-columns: 1fr; }
}

/* ---------- Training Provider (training-provider.php) ---------- */
/* Requisitos: solo el texto, algo mas oscuro que la explicacion de las ventajas */
.landing26-contenido .cen26-ventaja .tp26-requisito {
	color: #333f4f;
	font-size: .95rem;
	font-weight: 600;
}

/* La imagen del final (div.caja_imagen_fit), a todo el ancho y sin el recorte de estilos2.css */
.tp26-texto > div.caja_imagen_fit {
	height: auto;
	margin: 0;
	overflow: visible;
	font-weight: normal;
}

.tp26-texto img {
	display: block;
	width: 100%;
	max-height: none;
	height: auto;
	border-radius: 1rem;
}

/* Testigo del idioma de la traduccion del navegador: oculto a la vista pero no con display:none
   (el traductor podria saltarse el texto no visible) */
.tp26-idioma {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
