/* Menú desplegable 2027 (paneles grandes bajo el menú principal). Lo arma pn-menu.js; se carga en todas las páginas
   desde Temas > código en head. Solo escritorio (≥992px). Sin ul/li dentro del panel: una regla global del tema
   pinta "li:first-child a" como botón azul. */
.pnm-panel{position:absolute;left:0;right:0;top:100%;z-index:1000;background:#050f2e;border-top:1px solid rgba(150,190,255,.22);border-bottom:1px solid rgba(150,190,255,.22);
  box-shadow:0 24px 40px rgba(0,0,0,.35);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s,transform .18s,visibility .18s;
  font-family:"Montserrat","Helvetica Neue",Helvetica,Arial,sans-serif;color:#F3F7FF;text-align:left}
.pnm-panel.pnm-on{opacity:1;visibility:visible;transform:none}
.pnm-in{max-width:1280px;margin:0 auto;padding:28px 24px 30px;display:grid;gap:36px}
.pnm-panel h4{margin:0 0 12px!important;font-family:inherit!important;font-size:11px!important;letter-spacing:1.4px!important;text-transform:uppercase!important;color:#8CC8E6!important;font-weight:700!important;line-height:1.3!important}
.pnm-panel a{text-decoration:none!important;background:none!important;box-shadow:none!important;transform:none!important;font-family:inherit!important;letter-spacing:0!important;text-transform:none!important}
.pnm-lista a{display:block!important;padding:8px 10px!important;margin:0 -10px!important;border-radius:8px!important;color:#F3F7FF!important;font-size:14.5px!important;font-weight:500!important;line-height:1.35!important}
.pnm-lista a small{display:block;color:#a9b6d6;font-weight:400;font-size:12.5px;margin-top:2px}
.pnm-panel .pnm-lista a:hover,.pnm-panel .pnm-lista a:focus-visible{background:rgba(140,200,230,.1)!important;color:#fff!important}
.pnm-ver{display:inline-block!important;margin-top:10px!important;color:#8CC8E6!important;font-weight:600!important;font-size:14px!important;padding:0!important}
.pnm-ver:hover{color:#fff!important}
.pnm-libros{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.pnm-libro{display:flex!important;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:10px 6px!important;border-radius:10px!important;color:#F3F7FF!important;font-size:13px!important;font-weight:600!important;line-height:1.25!important}
.pnm-panel .pnm-libro:hover,.pnm-panel .pnm-libro:focus-visible{background:rgba(140,200,230,.1)!important}
.pnm-libro img{width:72px;height:102px;object-fit:cover;border-radius:3px;box-shadow:0 6px 14px rgba(0,0,0,.4)}
.pnm-promo{background:linear-gradient(135deg,#13306f,#0b1a45);border:1px solid rgba(150,190,255,.22);border-radius:14px;padding:18px}
.pnm-promo b{display:block;font-size:16px;margin-bottom:6px;color:#F3F7FF}
.pnm-promo p{margin:0 0 12px;color:#a9b6d6;font-size:13px;line-height:1.45}
.pnm-panel a.pnm-btn{display:inline-block!important;background:#8CC8E6!important;color:#06163a!important;font-weight:700!important;font-size:13px!important;padding:9px 14px!important;border-radius:99px!important}
.pnm-panel a.pnm-btn:hover{background:#fff!important}
.pnm-promo .pnm-lista{margin-top:14px}
/* flecha en el ítem que abre panel */
.pnm-tiene>a{display:inline-flex!important;align-items:center;gap:6px}
header.header .pnm-tiene>a::after{content:"";display:inline-block!important;vertical-align:middle;margin-left:7px;width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-3px) rotate(45deg);transition:transform .2s;flex:none}
header.header .pnm-tiene.pnm-abierto>a::after{transform:translateY(1px) rotate(-135deg)}
@media (max-width:991px){.pnm-panel{display:none!important}header.header .pnm-tiene>a::after{display:none!important}}

/* ---------- Cabecera igual en toda la tienda (maqueta menu-2027) ----------
   El prefijo #component-header header.header.header... gana a pn-cabecera.css (páginas nuevas) y a la regla global
   del tema que pinta el primer ítem como botón azul. */
#component-header header.header.header.header{background:rgba(5,15,46,.96)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-bottom:1px solid rgba(150,190,255,.22)!important;box-shadow:none!important}
#component-header header.header.header.header::before,#component-header header.header.header.header::after{background:transparent!important}
#component-header header.header.header.header .header-navigation,#component-header header.header.header.header .header__container{background:transparent!important}
#component-header header.header.header.header .header__button{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#F3F7FF!important}
#component-header header.header.header.header .header__link:hover .header__button{color:#8CC8E6!important}
#component-header header.header.header.header .header__overlay{background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;opacity:0!important}
/* logo un poco más chico que antes (44px en páginas nuevas, 60px en las antiguas) */
#component-header header.header.header.header .header__logo.header__logo{height:38px!important;max-height:38px!important;width:auto!important;max-width:none!important;object-fit:contain;object-position:left center}
@media (min-width:992px){
  #component-header header.header.header.header .header-navigation nav>ul{gap:26px!important;align-items:center!important}
  #component-header header.header.header.header .header-navigation li.header-nav__item .header-nav__anchor.header-nav__anchor{
    font-family:"Montserrat","Helvetica Neue",Helvetica,Arial,sans-serif!important;font-size:15px!important;font-weight:500!important;letter-spacing:0!important;
    color:#F3F7FF!important;opacity:.92;background:transparent!important;border-radius:0!important;box-shadow:none!important;transform:none!important;
    text-decoration:none!important;padding:0!important;height:auto!important;line-height:28px!important;text-transform:none!important}
  #component-header header.header.header.header .header-navigation li.header-nav__item .header-nav__anchor.header-nav__anchor span:not(.pnm-nuevo){font:inherit!important;color:inherit!important;padding:0!important;margin:0!important;line-height:28px!important;height:auto!important}
  #component-header header.header.header.header .header-navigation li.header-nav__item .header-nav__anchor.header-nav__anchor:hover,
  #component-header header.header.header.header .header-navigation li.header-nav__item.pnm-abierto .header-nav__anchor.header-nav__anchor{opacity:1;color:#8CC8E6!important}
  /* Manuales PAES 2027: primero y destacado */
  #component-header header.header.header.header .header-navigation li.header-nav__item:has(>a[href="/manuales-paes-3ra-edicion"]){order:-1}
  #component-header header.header.header.header .header-navigation li.header-nav__item:has(>a[href="/manuales-paes-3ra-edicion"]) .header-nav__anchor.header-nav__anchor{color:#8CC8E6!important;opacity:1;font-weight:600!important}
  /* Lectura Escolar y Nosotros: en computador viven dentro de los paneles; en el menú del celular siguen visibles */
  #component-header header.header.header.header .header-navigation li.header-nav__item:has(>a[href="/vicensviveschileoficial"]),
  #component-header header.header.header.header .header-navigation li.header-nav__item:has(>a[href="/puntajenacionalmision"]){display:none!important}
  #component-header header.header.header.header .header-navigation .header-nav__anchor span.pnm-nuevo.pnm-nuevo{display:inline-block!important;margin:0 0 0 7px!important;padding:2px 7px!important;border-radius:99px;background:#d1306f;color:#fff!important;font-family:"Montserrat",Arial,sans-serif!important;font-size:10px!important;font-weight:700!important;letter-spacing:.3px!important;line-height:1.5!important;height:auto!important;vertical-align:middle!important}
}
@media (max-width:991px){.pnm-nuevo{display:none}}

/* ---------- Panel claro (2026-11-23): se distingue del primer bloque oscuro de cada página ----------
   Fondo blanco azulado, textos azul oscuro, recuadro de promo sigue azul. Franja de color abajo y la página
   de atrás se oscurece mientras el panel está abierto (::before, no recibe el mouse). */
.pnm-panel{background:#F4F8FF;color:#0b1a45;border-top:0;border-bottom:0;box-shadow:0 30px 50px rgba(0,0,0,.45)}
.pnm-panel::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:linear-gradient(90deg,#8CC8E6,#9b8cf0 50%,#e0337f)}
.pnm-panel::before{content:"";position:absolute;left:0;right:0;top:100%;height:100vh;background:rgba(2,6,20,.5);pointer-events:none}
.pnm-panel h4{color:#2563a8!important}
.pnm-panel .pnm-lista a,.pnm-panel .pnm-libro{color:#0b1a45!important}
.pnm-panel .pnm-lista a small{color:#5a6688}
.pnm-panel .pnm-lista a:hover,.pnm-panel .pnm-lista a:focus-visible,.pnm-panel .pnm-libro:hover,.pnm-panel .pnm-libro:focus-visible{background:rgba(37,99,168,.08)!important;color:#0b1a45!important}
.pnm-panel a.pnm-ver{color:#2563a8!important}
.pnm-panel a.pnm-ver:hover{color:#0b1a45!important}
.pnm-libro img{box-shadow:0 6px 14px rgba(10,30,80,.25)}
.pnm-panel .pnm-promo{color:#F3F7FF}
.pnm-panel .pnm-promo .pnm-lista a{color:#F3F7FF!important}
.pnm-panel .pnm-promo .pnm-lista a small{color:#a9b6d6}
.pnm-panel .pnm-promo .pnm-lista a:hover{background:rgba(140,200,230,.12)!important;color:#fff!important}
.pnm-panel .pnm-promo a.pnm-btn:hover{background:#fff!important;color:#06163a!important}
