/* Encabezado y pie unicos (inc/header-unico.php). Va despues de menu-movil.css. */
html body header.vd-header.vdu { background: #101A3D; border-bottom: 3px solid #E4232C; position: sticky; top: 0; z-index: 100; }
html body .vdu .vd-header-inner { max-width: 1248px; margin: 0 auto; display: flex; flex-wrap: nowrap; align-items: center; padding: 8px 24px; min-height: 64px; }
html body .vdu .vd-logo-link { display: flex; align-items: center; gap: 10px; margin-right: 18px; flex-shrink: 0; text-decoration: none; }
html body .vdu-lema { font-family: 'Roboto Slab', serif; font-size: 11px; font-weight: 700; line-height: 1.35; color: #C7CCDA; border-left: 2px solid #E4232C; padding-left: 9px; white-space: nowrap; }
html body .vdu-footer-lema { font-family: 'Roboto Slab', serif; font-weight: 700; color: #fff; margin-bottom: 8px; }
html body .vdu .vd-logo { height: 44px; width: auto; }
html body .vdu .vd-header-right { display: flex; align-items: center; flex: 1; margin-left: 0; gap: 12px; }
html body .vdu .vd-nav { display: flex; flex-wrap: nowrap; gap: 2px; flex: 1; width: auto; border: 0; padding: 0; justify-content: flex-start; }
html body .vdu .vd-nav a { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; color: #D5DAEA; padding: 12px 10px; border: 0; border-bottom: 3px solid transparent; white-space: nowrap; text-decoration: none; }
html body .vdu .vd-nav a:hover, html body .vdu .vd-nav a.active { color: #fff; border-bottom-color: #E4232C; }
html body .vdu-cta { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: #fff; background: #C4141D; border-radius: 6px; padding: 11px 16px; white-space: nowrap; text-decoration: none; }
html body .vdu-cta:hover { background: #A91118; color: #fff; }
html body .vdu .vd-social { display: none; }

/* Escritorio angosto: el menu pasa a un segundo renglon */
@media (min-width: 961px) and (max-width: 1279px) {
    html body .vdu .vd-header-inner { flex-wrap: wrap; padding: 8px 16px 0; }
    html body .vdu .vd-header-right { display: contents; }
    html body .vdu-cta { margin-left: auto; order: 2; }
    html body .vdu .vd-nav { order: 3; flex: 0 0 100%; justify-content: space-between; border-top: 1px solid #2A3564; margin-top: 6px; }
}

/* Celular y tableta: el boton lo crea menu-movil.js */
@media (max-width: 960px) {
    html body .vdu .vd-header-inner { flex-wrap: wrap; padding: 8px 16px; min-height: 60px; }
    html body .vdu .vd-logo { height: 38px; }
    html body header.vd-header.vdu.vd-menu-ready .vd-menu-btn { color: #fff; border-color: #4A5580; }
    html body header.vd-header.vdu .vd-header-right { flex-wrap: wrap; flex: 0 0 100%; }
    html body header.vd-header.vdu.vd-menu-ready .vd-header-right { display: none; }
    html body header.vd-header.vdu.vd-menu-ready.vd-menu-open .vd-header-right { display: block; background: #101A3D; border-bottom: 3px solid #E4232C; box-shadow: 0 12px 24px rgba(0, 0, 0, .3); }
    html body .vdu .vd-header-right .vd-nav { flex-wrap: wrap; }
    html body header.vd-header.vdu.vd-menu-open .vd-nav { flex-direction: column; gap: 0; width: 100%; }
    html body header.vd-header.vdu.vd-menu-open .vd-nav a { font-size: 16px; padding: 13px 0; border: 0; border-bottom: 1px solid #2A3564; }
    html body header.vd-header.vdu.vd-menu-open .vd-nav a.active { border-left: 4px solid #E4232C; padding-left: 10px; }
    html body .vdu.vd-menu-open .vdu-cta { display: block; text-align: center; margin-top: 14px; padding: 14px; }
    html body header.vd-header.vdu.vd-menu-open .vd-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin: 18px 0 4px; padding: 0; border: 0; }
    html body header.vd-header.vdu .vd-social a { color: #fff; }
}

/* Pie */
html body .vdu-footer { background: #101A3D; color: #C7CCDA; text-align: center; font-family: 'Inter', sans-serif; font-size: 13px; padding: 24px 16px; margin-top: 48px; }
html body .vdu-footer .vd-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin: 0 0 14px; padding: 0; border: 0; }
html body .vdu-footer a { color: #C7CCDA; text-decoration: none; }
html body .vdu-footer a:hover { color: #fff; }

/* Desborde de Lideres en celular (titulo largo y pestanas de fase) */
@media (max-width: 600px) {
    html body h1.display { overflow-wrap: anywhere; min-width: 0; font-size: 22px; }
    html body .lid-phase-tabs { flex-wrap: wrap; max-width: 100%; }
    html body .lid-phase-tabs .lid-phase-tab { flex: 1; padding: 9px 10px; }
}
