/* NextPing Gestor 0.1.6-dev3 · Próximos cursos, listado horizontal compacto.
   Alcance exclusivo .nphfm-cal; editor, Conócenos y otros módulos intactos. */
.nphfm-cal,.nphfm-cal *{box-sizing:border-box}
.nphfm-cal{--np-cal-blue:#1d61d8;--np-cal-navy:#173960;--np-cal-muted:#607995;--np-cal-stroke:#dfe8f4;width:100%;max-width:1220px;min-width:0;margin:0 auto;color:var(--np-cal-navy);font-family:inherit}
.nphfm-cal [hidden]{display:none!important}
.nphfm-cal a,.nphfm-cal button{font-family:inherit}
.nphfm-cal-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border:1px solid var(--np-cal-stroke);border-radius:16px;padding:20px 26px;margin-bottom:16px;box-shadow:0 4px 16px rgba(18,49,91,.045)}
.nphfm-cal-hero-copy{min-width:0;flex:1 1 auto}
.nphfm-cal-kicker{display:block;color:#1460d4;font-size:10px;font-weight:850;letter-spacing:.85px}
.nphfm-cal-hero h2{color:#133760;font-size:clamp(22px,2.5vw,29px);font-weight:800;line-height:1.2;margin:6px 0!important}
.nphfm-cal-hero p{color:#526b88;font-size:12.7px;line-height:1.55;margin:0!important;max-width:760px}
.nphfm-cal-hero-symbol{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border:1px solid #d4e5fb;border-radius:12px;background:#eaf3ff;color:#1765d6}
.nphfm-cal-hero-symbol svg{width:29px;height:29px}
.nphfm-cal-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.nphfm-cal-tab{appearance:none;background:#fff!important;color:#315376!important;border:1px solid #d2e1f2!important;border-radius:9px!important;display:inline-flex!important;justify-content:center;align-items:center;gap:7px;padding:9px 14px!important;font-weight:750!important;font-size:12.5px!important;line-height:1.2!important;min-height:39px!important;cursor:pointer;box-shadow:0 2px 6px rgba(17,56,106,.03)}
.nphfm-cal-tab span{font-size:11px;color:#5c7593;background:#edf3fb;border-radius:99px;min-width:22px;padding:3px 6px}
.nphfm-cal-tab.is-active{color:#fff!important;background:#1962d6!important;border-color:#1962d6!important}
.nphfm-cal-tab.is-active span{background:#fff;color:#1758be}
.nphfm-cal-tab:focus-visible,.nphfm-cal-action:focus-visible,.nphfm-cal-more:focus-visible{outline:3px solid #8ebaff;outline-offset:3px}
.nphfm-cal-cards{display:flex;flex-direction:column;gap:9px}
.nphfm-cal-card{overflow:hidden;min-width:0;background:#fff;border:1px solid #e0e9f5;border-radius:12px;box-shadow:0 3px 12px rgba(18,52,94,.048)}
.nphfm-cal-card:nth-child(2n){background:#f7faff}
.nphfm-cal-card-body{min-width:0;display:grid;grid-template-columns:116px minmax(0,1fr) 197px;align-items:center;column-gap:18px;padding:16px 20px}
.nphfm-cal-dates{display:flex;flex-direction:column;align-items:flex-start;gap:3px;border-right:1px solid #dce6f1;align-self:stretch;justify-content:center;padding-right:15px;font-variant-numeric:tabular-nums}
.nphfm-cal-dates-caption{font-size:9px;letter-spacing:.85px;color:#69839e;font-weight:850;margin-bottom:3px}
.nphfm-cal-date-start,.nphfm-cal-date-end{font-size:13.5px;line-height:1.2;color:#224869;font-weight:700;white-space:nowrap}
.nphfm-cal-date-end{color:#496c8d}
.nphfm-cal-date-line{width:34px;height:1px;background:#b5c9df;margin:1px 0}
.nphfm-cal-card-content{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:6px}
.nphfm-cal-title-line{min-width:0;display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 9px}
.nphfm-cal-status{font-size:11px;line-height:1.4;color:#14724b;font-weight:850;text-transform:uppercase;white-space:nowrap;flex:0 0 auto}
.nphfm-cal-status--proximas{color:#1769c5}
.nphfm-cal-status--historico{color:#6c798a}
.nphfm-cal-title-sep{height:13px;width:1px;background:#b9ccdf;display:inline-block;align-self:center}
.nphfm-cal-title-line h3{color:#2162a9;font-size:clamp(14px,1.3vw,17px);line-height:1.38;font-weight:750;margin:0!important;min-width:0;overflow-wrap:anywhere;flex:1 1 230px}
.nphfm-cal-subline{display:flex;gap:4px 12px;align-items:center;flex-wrap:wrap;font-size:10.8px;color:#54708d;line-height:1.4}
.nphfm-cal-platform{font-weight:750;color:#2b5f9f}
.nphfm-cal-edition{font-weight:700;color:#597998}
.nphfm-cal-enrollment strong{color:#375a7c;font-weight:800}
.nphfm-cal-facts{display:flex;align-items:center;flex-wrap:wrap;gap:5px 13px;margin-top:2px;min-width:0}
.nphfm-cal-fact{display:inline-flex;align-items:center;gap:4px;color:#445d79;font-size:11.2px;line-height:1.4;overflow-wrap:anywhere}
.nphfm-cal-fact-icon{color:#266ba9;font-weight:850;font-size:13px;line-height:1}
.nphfm-cal-price{color:#173b68;font-size:11.8px;font-weight:850;line-height:1.4}
.nphfm-cal-actions{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:9px;min-width:0}
.nphfm-cal-action{display:inline-flex;justify-content:center;align-items:center;gap:10px;min-width:0;min-height:42px;padding:10px 12px;background:#1764d7;color:#fff!important;border-radius:7px;text-align:center;text-decoration:none!important;font-size:11.5px;font-weight:850;line-height:1.35;transition:background-color .15s ease}
.nphfm-cal-action:hover{background:#0e4ba9;color:#fff!important}
.nphfm-cal-action span{font-size:19px;font-weight:500;line-height:.8}
.nphfm-cal-more{align-self:center;color:#1d578f!important;text-decoration:none!important;font-size:11.3px;font-weight:850;letter-spacing:.15px}
.nphfm-cal-more:hover{text-decoration:underline!important;color:#0d4ca5!important}
.nphfm-cal-cta-pending{display:inline-block;text-align:center;background:#eaf1fa;color:#5e7899;padding:11px 10px;border-radius:7px;font-size:11.5px;font-weight:750}
.nphfm-cal-note{margin:0!important;padding:8px 20px;background:#fff8ef;color:#936127;font-size:11px;border-top:1px solid #f4e8d4}
.nphfm-cal-empty{border:1px dashed #cad9ec;border-radius:12px;background:#fff;color:#607993;text-align:center;font-size:13px;padding:34px 16px}
.nphfm-cal-footnote{color:#6a8099;font-size:11px!important;line-height:1.55;margin:17px 1px 0!important}
@media(max-width:1050px){.nphfm-cal-card-body{grid-template-columns:100px minmax(0,1fr) 165px;gap:13px;padding:15px}.nphfm-cal-title-line h3{flex-basis:180px}.nphfm-cal-facts{gap:5px 10px}}
@media(max-width:800px){.nphfm-cal-card-body{grid-template-columns:88px minmax(0,1fr);gap:14px}.nphfm-cal-dates{grid-row:1 / span 2}.nphfm-cal-actions{grid-column:2;flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:wrap}.nphfm-cal-action{min-height:38px;max-width:230px}.nphfm-cal-title-line h3{flex-basis:200px}}
@media(max-width:580px){.nphfm-cal-hero{padding:15px 17px;gap:8px}.nphfm-cal-hero h2{font-size:23px}.nphfm-cal-hero p{font-size:12px}.nphfm-cal-hero-symbol{width:44px;height:44px;flex-basis:44px}.nphfm-cal-hero-symbol svg{width:26px;height:26px}.nphfm-cal-card-body{display:grid;grid-template-columns:77px minmax(0,1fr);column-gap:12px;padding:13px 12px}.nphfm-cal-dates{grid-row:1 / span 2;padding-right:8px;justify-content:start;padding-top:3px}.nphfm-cal-date-start,.nphfm-cal-date-end{font-size:11.5px}.nphfm-cal-dates-caption{font-size:8px}.nphfm-cal-card-content{gap:5px}.nphfm-cal-title-line{gap:2px 6px}.nphfm-cal-title-line h3{flex-basis:100%;font-size:14px;line-height:1.34}.nphfm-cal-title-sep{display:none}.nphfm-cal-status{font-size:10px}.nphfm-cal-subline{font-size:10px;gap:3px 8px}.nphfm-cal-facts{gap:4px 9px}.nphfm-cal-fact,.nphfm-cal-price{font-size:10.5px}.nphfm-cal-actions{grid-column:2;gap:9px;margin-top:1px}.nphfm-cal-action{font-size:11px;min-height:35px;padding:7px 11px;max-width:none}.nphfm-cal-more{font-size:11px}.nphfm-cal-tabs{gap:6px}.nphfm-cal-tab{font-size:11.2px!important;padding:9px 11px!important;gap:5px}}
@media(max-width:380px){.nphfm-cal-hero-symbol{display:none}.nphfm-cal-tabs{gap:4px}.nphfm-cal-tab{font-size:10.3px!important;padding:8px 8px!important}.nphfm-cal-tab span{font-size:10px;min-width:18px;padding:2px 5px}.nphfm-cal-card-body{grid-template-columns:72px minmax(0,1fr);gap:10px;padding:11px 10px}.nphfm-cal-date-start,.nphfm-cal-date-end{font-size:10.5px}.nphfm-cal-title-line h3{font-size:13px}.nphfm-cal-actions{align-items:stretch}.nphfm-cal-action{width:100%}}
@media(prefers-reduced-motion:reduce){.nphfm-cal-action{transition:none}}

/* dev4: matrícula cerrada mantiene el estilo de estado sin anunciar plazas abiertas */
.nphfm-cal .nphfm-cal-status--actuales{color:#156a50}
.nphfm-cal .nphfm-cal-status--proximas{color:#2468bc}

/* dev5 · Bloque de Noticias. Selectores totalmente aislados del listado completo. */
.nphfm-cal-spotlight,.nphfm-cal-spotlight *{box-sizing:border-box}
.nphfm-cal-spotlight{--cal-accent:#1964d6;--cal-navy:#173960;font-family:inherit;min-width:0;width:100%;color:var(--cal-navy);background:#fff;border:1px solid #dfe8f4;border-radius:14px;padding:17px 18px 15px;box-shadow:0 4px 16px rgba(18,49,91,.055);margin:0 0 16px}
.nphfm-cal-spotlight-head{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:10px}
.nphfm-cal-spotlight-eyebrow{display:block;font-size:10px;letter-spacing:.8px;font-weight:800;color:#1760ca}
.nphfm-cal-spotlight-head h2{font-size:20px!important;line-height:1.2!important;margin:3px 0 4px!important;color:#173960!important;font-weight:800!important}
.nphfm-cal-spotlight-head p{font-size:12px!important;color:#58738f!important;line-height:1.4!important;margin:0!important}
.nphfm-cal-spotlight-icon{display:grid;place-items:center;flex:0 0 39px;height:39px;background:#eef5ff;border:1px solid #d7e7fc;border-radius:10px;color:#1d61d8}
.nphfm-cal-spotlight-icon svg{width:23px;height:23px;max-width:23px;max-height:23px}
.nphfm-cal-spotlight-list{margin:0!important;padding:0!important;list-style:none!important;display:flex;flex-direction:column;gap:0}
.nphfm-cal-spotlight-item{list-style:none!important;min-width:0;display:flex;align-items:center;gap:10px;justify-content:space-between;padding:11px 0;border-bottom:1px solid #e8eef6}
.nphfm-cal-spotlight-info{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:3px}
.nphfm-cal-spotlight-platform{font-size:10px;line-height:1.3;color:#2c67ac;font-weight:750}
.nphfm-cal-spotlight-info strong{font-size:13.5px;line-height:1.4;color:#173960;font-weight:760;overflow-wrap:anywhere}
.nphfm-cal-spotlight-dates{font-size:11px;line-height:1.5;color:#52708e;font-variant-numeric:tabular-nums}
.nphfm-cal-spotlight-deadline-badge{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;max-width:100%;padding:5px 9px;border-radius:8px;background:#edf4ff;border:1px solid #c8ddff;color:#175ac0;font-size:10.5px;font-weight:780;line-height:1.3;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.nphfm-cal-spotlight-deadline-badge svg{width:13px;height:13px;flex:none;color:#1764d6}
.nphfm-cal-spotlight-deadline-badge span{min-width:0}
.nphfm-cal-spotlight-cta{background:#1964d6;color:#fff!important;text-decoration:none!important;border-radius:7px;padding:9px 11px;font-size:11px;font-weight:750;line-height:1.25;min-width:94px;text-align:center;white-space:nowrap;flex:0 0 auto}
.nphfm-cal-spotlight-cta:hover{color:#fff!important;background:#0d50b6}
.nphfm-cal-spotlight-cta span{font-size:17px;margin-left:3px}
.nphfm-cal-spotlight-all{display:inline-flex;align-items:center;gap:8px;margin-top:12px;font-size:12px;font-weight:800;color:#1763d2!important;text-decoration:none!important}
.nphfm-cal-spotlight-all:hover{text-decoration:underline!important}
.nphfm-cal-spotlight a:focus-visible{outline:3px solid #8ebaff;outline-offset:3px}
@media(max-width:520px){.nphfm-cal-spotlight{padding:14px 12px}.nphfm-cal-spotlight-head h2{font-size:18px!important}.nphfm-cal-spotlight-item{align-items:flex-start;flex-direction:column;gap:8px}.nphfm-cal-spotlight-cta{min-width:0}.nphfm-cal-spotlight-dates{display:block}.nphfm-cal-spotlight-deadline-badge{font-size:10px}}

@media(min-width:641px) and (max-width:900px){.npfnb-actualidad-sidebar .npfnb-sidebar-extra .nphfm-cal-spotlight-item{grid-template-columns:minmax(0,1fr)!important}.npfnb-actualidad-sidebar .npfnb-sidebar-extra .nphfm-cal-spotlight-cta{grid-column:1;justify-self:end}}
