/* quienes-somos.jsp — layout: el pie no debe superponerse al texto (móvil / estilos globales) */
body.quienes-somos-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

body.quienes-somos-page .quienes-main {
	flex: 1 0 auto;
	width: 100%;
	min-width: 0;
	position: relative;
	z-index: 1;
}

/* Anula pie fijo/absoluto que a veces traen .page-footer / plantillas MDB: el footer va después del <main> */
body.quienes-somos-page footer.page-footer {
	position: static !important;
	inset: auto !important;
	width: 100% !important;
	max-width: 100% !important;
	margin-top: auto;
	flex-shrink: 0;
	z-index: 0;
}

body.quienes-somos-page .quienes-wrap {
	margin-bottom: 1.5rem;
}

/* quienes-somos.jsp — solo ajustes en pantallas pequeñas; ≥768px sin cambios de “look” del texto */

@media (max-width: 575.98px) {
	.quienes-title.display-6 {
		font-size: 1.65rem;
		line-height: 1.25;
	}

	.quienes-text {
		font-size: 0.95rem;
		line-height: 1.65;
		word-break: break-word;
	}

	.quienes-text a#anegro {
		word-break: break-all;
	}
}

@media (max-width: 767.98px) {
	body.quienes-somos-page .quienes-main {
		padding-bottom: 0.5rem;
	}

	.quienes-wrap {
		max-width: 100%;
	}
}
