/* MAISHA_DISENO_INSTITUCIONAL_AUDITADO_V1 */
html{min-height:100%}
body.ma-library{margin:0!important;min-height:100vh;display:flex;flex-direction:column}
body.ma-library>main,body.ma-library>.ma-admin-shell{flex:1 0 auto}
[data-maisha-shell="header"],[data-maisha-shell="footer"]{display:block;width:100%;max-width:none;flex:0 0 auto}
[data-maisha-shell="footer"][hidden]{display:none!important}
/* Navegación interna de Biblioteca, independiente del encabezado institucional */
.ma-library-sections{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px 19px;margin:0;padding:11px 18px;background:#21172f;border-bottom:1px solid #4a3959;color:#f5e3c3;font:500 13px/1.4 system-ui,-apple-system,Segoe UI,sans-serif}
.ma-library-sections a{color:#f0d6a9;text-decoration:none;white-space:nowrap}
.ma-library-sections a:hover{text-decoration:underline}
body.ma-library>.ma-library-sections{flex:0 0 auto}
@media(max-width:650px){.ma-library-sections{padding:10px;gap:9px 13px;font-size:12px}}
/* MAISHA_NAVEGACION_BIBLIOTECA_20261111_V1 - menú propio alineado a la derecha */
body.ma-library>.ma-library-sections {
  justify-content:flex-end!important;
  gap:clamp(12px,2.1vw,29px)!important;
  padding:12px clamp(22px,3.8vw,76px)!important;
}
body.ma-library>.ma-library-sections a {font-weight:650;white-space:nowrap}
@media(max-width:620px) {
  body.ma-library>.ma-library-sections{justify-content:center!important;gap:9px 15px!important}
}
