.ndlp{--navy:#0a3161;--gold:#de9d52;--steel:#517fa4;--panel:#ffffff;--ink:#12263a;--sub:#55687a;--line:#eef1f5;--shadow:0 6px 20px rgba(10,49,97,.08);--hl:#517fa4;width:100%;background:var(--panel);border-radius:12px;overflow:hidden;box-shadow:var(--shadow);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;box-sizing:border-box}
.ndlp *{box-sizing:border-box}
.ndlp a{text-decoration:none;color:inherit;display:block}
.ndlp-header{background-color:var(--navy);padding:15px 18px;display:flex;align-items:center;position:relative;overflow:hidden}
.ndlp-logo{color:var(--gold);margin-right:12px;display:flex;flex-shrink:0;z-index:2}
.ndlp-logo svg{width:40px;height:40px}.ndlp-logo svg path{fill:var(--gold)}
.ndlp-titles{display:flex;flex-direction:column;z-index:2}
.ndlp-title{font-family:Georgia,serif;font-size:20px;font-weight:bold;color:#fff;margin:0 0 2px;line-height:1.15}
.ndlp-sub{font-size:11.5px;color:#cdd9e6}
.ndlp-wm{position:absolute;right:6px;top:50%;transform:translateY(-50%);pointer-events:none;z-index:1;line-height:0}
.ndlp-wm svg{width:120px;height:120px;opacity:.10}.ndlp-wm svg path{fill:#fff}
.ndlp-cat{font-size:10.5px;text-transform:uppercase;letter-spacing:.6px;color:var(--gold);font-weight:800}
.ndlp-empty{color:var(--sub);font-size:13px;text-align:center;margin:20px 0}
.ndlp-body{padding:18px}
/* Destacada fija */
.ndlp-cover{position:relative;border-radius:11px;overflow:hidden;min-height:440px;margin-bottom:18px}
.ndlp-cover-img{position:absolute;inset:0;background-color:#0a3161;background-size:cover;background-position:center;transition:transform .5s ease}
.ndlp-cover:hover .ndlp-cover-img{transform:scale(1.045)}
.ndlp-cover-ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(6,20,38,.93),rgba(6,20,38,.04) 66%);display:flex;flex-direction:column;justify-content:flex-end;padding:20px}
.ndlp-cover-title{color:#fff;font-weight:bold;font-size:23px;margin:7px 0 6px;line-height:1.25;max-width:78%}
.ndlp-cover-exc{color:#c8d4e2;font-size:13.5px;margin:0;line-height:1.5;max-width:66%}
/* Recientes */
.ndlp-recientes{display:flex;align-items:baseline;justify-content:space-between;margin:2px 2px 10px}
.ndlp-rec-lbl{font-family:Georgia,serif;font-weight:bold;font-size:15px;color:var(--ink)}
.ndlp-rec-hint{font-size:11.5px;color:var(--sub);font-weight:600}
/* Carril con scroll lateral */
.ndlp-carril{position:relative}
.ndlp-track{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:2px 2px 12px;-webkit-overflow-scrolling:touch}
.ndlp-track::-webkit-scrollbar{height:8px}
.ndlp-track::-webkit-scrollbar-track{background:transparent}
.ndlp-track::-webkit-scrollbar-thumb{background:var(--line);border-radius:8px}
.ndlp-track:hover::-webkit-scrollbar-thumb{background:var(--steel)}
/* Tarjeta vertical (4 visibles en escritorio) */
.ndlp-vcard{flex:0 0 calc((100% - 42px)/4);scroll-snap-align:start;border-radius:11px;overflow:hidden;background:var(--panel);border:1px solid var(--line);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.ndlp-vimgwrap{overflow:hidden}
.ndlp-vimg{width:100%;padding-top:120%;background-color:#0a3161;background-size:cover;background-position:center;transition:transform .5s ease}
.ndlp-vin{padding:10px 12px 13px}
.ndlp-vtitle{font-size:13px;margin:6px 0 0;line-height:1.34;font-weight:600;color:var(--ink);transition:color .2s ease}
.ndlp-vcard:hover{transform:translateY(-5px);box-shadow:0 12px 24px rgba(10,49,97,.18);border-color:var(--hl)}
.ndlp-vcard:hover .ndlp-vimg{transform:scale(1.07)}
.ndlp-vcard:hover .ndlp-vtitle{color:var(--hl)}
/* Flechas */
.ndlp-nav{position:absolute;top:calc(50% - 20px);transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:none;cursor:pointer;background:var(--navy);color:#fff;font-size:20px;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(10,49,97,.28);z-index:5;transition:background .2s}
.ndlp-nav:hover{background:var(--steel)}
.ndlp-prev{left:-8px}.ndlp-next{right:-8px}
@media (hover:none){.ndlp-nav{display:none}}
/* Responsive: cuantas tarjetas se ven */
@media (max-width:1024px){.ndlp-vcard{flex-basis:calc((100% - 28px)/2.4)}.ndlp-cover-title{max-width:100%}.ndlp-cover-exc{max-width:100%}}
@media (max-width:600px){.ndlp-vcard{flex-basis:calc((100% - 14px)/1.25)}.ndlp-cover{min-height:340px}.ndlp-cover-title{font-size:19px}.ndlp-nav{display:none}}
/* === MODO OSCURO DUAL — homologado con los demas widgets === */
html body.jnews-dark-mode .ndlp{--panel:#06223f;--ink:#ffffff;--sub:#cdd9e6;--line:rgba(255,255,255,.10);--shadow:0 6px 20px rgba(0,0,0,.35);--hl:#517fa4}
html body.jnews-dark-mode .ndlp-rec-lbl{color:#fff}
@media (max-width:1024px) and (prefers-color-scheme:dark){.ndlp{--panel:#06223f;--ink:#ffffff;--sub:#cdd9e6;--line:rgba(255,255,255,.10);--shadow:0 6px 20px rgba(0,0,0,.35);--hl:#517fa4}.ndlp-rec-lbl{color:#fff}}
/* === HOVER DEL TITULO EN AZUL ACERO — prioridad alta para ganarle al hover de enlace del tema JNews === */
.ndlp a.ndlp-vcard:hover .ndlp-vtitle{color:#517fa4 !important}
html body.jnews-dark-mode .ndlp a.ndlp-vcard:hover .ndlp-vtitle{color:#517fa4 !important}
@media (max-width:1024px) and (prefers-color-scheme:dark){html .ndlp a.ndlp-vcard:hover .ndlp-vtitle{color:#517fa4 !important}}
