.npcm-course-sidebar{display:flex;flex-direction:column;gap:22px;width:100%;font-family:inherit;color:#14213d}.npcm-course-sidebar section{margin:0!important}.npcm-side-heading{display:flex;align-items:center;gap:10px;margin:0 0 13px}.npcm-side-heading span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#eef5ff;font-size:15px}.npcm-side-heading h3{margin:0!important;font-size:18px!important;line-height:1.25!important;color:#14213d!important;font-weight:800!important}.npcm-side-featured-card{padding:22px 18px 18px;border-radius:15px;background:linear-gradient(145deg,#0a2d64 0%,#123f8d 100%);color:#fff;box-shadow:0 12px 28px rgba(15,51,112,.18);overflow:hidden;position:relative}.npcm-side-featured-card:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.12);border-radius:50%;right:-78px;top:-40px}.npcm-side-badge{display:inline-flex;padding:6px 10px;border-radius:999px;background:rgba(27,196,122,.15);border:1px solid rgba(91,226,163,.35);color:#8ff0bd;font-size:10px;font-weight:800;letter-spacing:.06em}.npcm-side-featured-card h4{position:relative;margin:16px 0 10px!important;color:var(--npcm-featured-title-color,#fff)!important;font-size:21px!important;line-height:1.12!important;font-weight:850!important}.npcm-side-featured-card p{position:relative;margin:0 0 14px!important;color:#dce8fb!important;font-size:13px!important;line-height:1.55!important}.npcm-side-featured-card ul{position:relative;margin:0 0 16px!important;padding:0!important;list-style:none!important}.npcm-side-featured-card li{display:flex;gap:7px;align-items:flex-start;margin:8px 0!important;color:#f4f8ff!important;font-size:12px!important;line-height:1.4!important}.npcm-side-featured-card li span{display:grid;place-items:center;flex:0 0 15px;width:15px;height:15px;margin-top:1px;border-radius:50%;background:#28d17c;color:#fff;font-size:10px;font-weight:900}.npcm-side-button{position:relative;display:flex;justify-content:center;align-items:center;width:100%;padding:12px 14px;border-radius:9px;background:#2468ee;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:800;box-shadow:0 8px 18px rgba(9,43,113,.22);transition:.2s}.npcm-side-button:hover{transform:translateY(-1px);background:#155eef;color:#fff!important}.npcm-side-card{padding:18px;border:1px solid #dfe8f2;border-radius:15px;background:#fff;box-shadow:0 9px 24px rgba(15,23,42,.06)}.npcm-route-list{position:relative;margin-left:5px}.npcm-route-list:before{content:"";position:absolute;left:7px;top:8px;bottom:18px;width:2px;background:#d9e3ef}.npcm-route-item{position:relative;display:flex;gap:12px;padding:0 0 17px}.npcm-route-dot{position:relative;z-index:2;flex:0 0 16px;width:16px;height:16px;margin-top:2px;border-radius:50%;border:2px solid #94a3b8;background:#fff}.npcm-route-item.available .npcm-route-dot{border-color:#25c875;box-shadow:0 0 0 3px #e9fbf1}.npcm-route-item.production .npcm-route-dot{border-color:#f59e0b}.npcm-route-item strong{display:block;color:#14213d;font-size:13px;line-height:1.3}.npcm-route-item small{display:block;margin-top:2px;color:#7b8ca4;font-size:10.5px;line-height:1.35}.npcm-route-item em{display:inline-flex;margin-top:7px;padding:4px 7px;border-radius:999px;background:#edf1f6;color:#708197;font-size:8px;font-style:normal;font-weight:800}.npcm-route-item.available em{background:#e4f8eb;color:#2d9b58}.npcm-route-item.production em{background:#fff0d5;color:#b97300}.npcm-side-link{display:block;margin-top:4px;color:#155eef!important;text-align:center;text-decoration:none!important;font-size:11px;font-weight:800}.npcm-article-list{margin:0!important;padding:0!important;list-style:none!important}.npcm-article-list li{display:flex;gap:10px;align-items:flex-start;padding:11px 0!important;margin:0!important;border-bottom:1px solid #edf2f7}.npcm-article-list li:last-child{border-bottom:0}.npcm-article-list li>span{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#edf4ff;color:#155eef;font-size:10px;font-weight:800}.npcm-article-list a{color:#155eef!important;text-decoration:none!important;font-size:11px;font-weight:750;line-height:1.4}.npcm-instructor-card{text-align:center}.npcm-instructor-photo{width:88px;height:88px;object-fit:cover;border-radius:50%;border:4px solid #edf4ff;margin:2px auto 12px}.npcm-instructor-card h4{margin:0 0 3px!important;font-size:18px!important}.npcm-instructor-card>strong{display:block;color:#155eef;font-size:12px}.npcm-instructor-card p,.npcm-help-card p{color:#64748b!important;font-size:12px!important;line-height:1.55!important}.npcm-help-card{background:linear-gradient(145deg,#f8fbff,#eef5ff)}

/* v3.3.0 — integración automática con la barra lateral de Astra */
body.single-sfwd-courses .npcm-auto-sidebar-widget,
body.single-sfwd-courses .npcm-auto-sidebar-source {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
body.single-sfwd-courses .widget.npcm-auto-sidebar-widget {
    width: 100% !important;
}

/* v3.4.0 — personalización avanzada y mejoras móviles */
.npcm-side-featured-card{background:linear-gradient(145deg,var(--npcm-featured-bg-start,#0a2d64),var(--npcm-featured-bg-end,#123f8d))!important;padding-top:26px!important}
.npcm-side-featured-card .npcm-side-button{background:var(--npcm-featured-button-bg,#2468ee)!important;color:var(--npcm-featured-button-text,#fff)!important}
.npcm-side-badge{background:var(--npcm-featured-badge-bg,rgba(27,196,122,.15))!important;color:var(--npcm-featured-badge-text,#8ff0bd)!important}
.npcm-article-list li>div{min-width:0}.npcm-article-list small{display:block;margin-top:3px;color:#8a98aa;font-size:9px;line-height:1.3}
.npcm-instructor-photo{width:104px!important;height:104px!important;box-shadow:0 8px 22px rgba(15,23,42,.12)}
.npcm-side-card,.npcm-side-featured-card{transition:transform .2s ease,box-shadow .2s ease}.npcm-side-card:hover,.npcm-side-featured-card:hover{transform:translateY(-2px)}
@media(max-width:768px){
  .npcm-course-sidebar{gap:22px!important}
  .npcm-side-featured-card{padding:30px 24px 24px!important;border-radius:18px!important}
  .npcm-side-featured-card h4{font-size:23px!important;margin-top:20px!important}
  .npcm-side-featured-card p{font-size:15px!important}
  .npcm-side-featured-card li{font-size:14px!important}
  .npcm-side-button{min-height:52px;font-size:16px!important}
  .npcm-side-card{padding:24px!important;border-radius:18px!important}
  .npcm-side-heading h3{font-size:21px!important}
  .npcm-route-item strong{font-size:16px!important}
  .npcm-route-item small{font-size:13px!important}
  .npcm-instructor-photo{width:118px!important;height:118px!important}
  .npcm-instructor-card h4{font-size:23px!important}
  .npcm-instructor-card>strong{font-size:15px!important}
  .npcm-instructor-card p,.npcm-help-card p{font-size:15px!important}
  .npcm-article-list a{font-size:14px!important}
  .npcm-article-list small{font-size:11px!important}
  body.single-sfwd-courses #ast-scroll-top{width:42px!important;height:42px!important;right:14px!important;bottom:18px!important;font-size:18px!important}
}

/* 3.4.1 - Foto de instructor nítida */
.npcm-instructor-photo{display:block;max-width:none!important;image-rendering:auto!important;object-position:center!important;}


/* v3.5.0 — Tarjeta premium del instructor */
.npcm-instructor-card{position:relative;overflow:hidden;padding:22px!important}
.npcm-instructor-card:before{content:"";position:absolute;inset:0 0 auto;height:92px;background:linear-gradient(135deg,#eef5ff,#f8fbff);z-index:0}
.npcm-instructor-card>*{position:relative;z-index:1}
.npcm-instructor-card .npcm-side-heading{justify-content:flex-start}
.npcm-instructor-photo{width:130px!important;height:130px!important;margin:10px auto 14px!important;border:5px solid #fff!important;box-shadow:0 12px 30px rgba(15,23,42,.16)!important;background:#fff}
.npcm-instructor-card h4{font-size:21px!important;font-weight:850!important;letter-spacing:-.02em}
.npcm-instructor-verified{display:inline-flex;align-items:center;justify-content:center;gap:6px;margin:8px auto 5px;padding:6px 10px;border:1px solid #bfd3ff;border-radius:999px;background:#edf4ff;color:#155eef!important;font-size:10px!important;font-weight:850!important;line-height:1.2!important;letter-spacing:.035em;text-transform:uppercase;box-shadow:0 4px 12px rgba(21,94,239,.08)}
.npcm-instructor-verified>span{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border-radius:50%;background:#2563eb;color:#fff;font-size:12px;font-weight:900;line-height:1}
.npcm-instructor-role{display:block;margin-top:2px;color:#155eef!important;font-size:13px!important;font-weight:800!important}
.npcm-instructor-rating{display:flex;flex-direction:column;align-items:center;gap:3px;margin:12px 0 10px}
.npcm-stars{--npcm-rating:5;position:relative;display:inline-block;font-size:20px;line-height:1;letter-spacing:2px;color:#d8e0ea}
.npcm-stars:before{content:"★★★★★";position:absolute;inset:0 auto 0 0;width:calc(var(--npcm-rating) / 5 * 100%);overflow:hidden;color:#f6b800;white-space:nowrap}
.npcm-instructor-rating small{color:#64748b;font-size:10.5px;font-weight:750}
.npcm-instructor-description{margin:0 0 14px!important;color:#55657a!important;font-size:12px!important;line-height:1.6!important}
.npcm-instructor-badges{display:grid;gap:8px;margin:0 0 14px!important;padding:0!important;list-style:none!important;text-align:left}
.npcm-instructor-badges li{margin:0!important;padding:8px 10px!important;border:1px solid #e4ebf3;border-radius:9px;background:#f8fbff;color:#24344d!important;font-size:11px!important;font-weight:700!important;line-height:1.35!important}
.npcm-instructor-motto{margin:14px 0!important;padding:12px 14px!important;border-left:3px solid #155eef;border-radius:0 9px 9px 0;background:#eef5ff;color:#17315d!important;font-size:12px!important;font-weight:800!important;font-style:normal!important;line-height:1.45!important;text-align:left}
.npcm-instructor-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;padding:10px 12px;border-radius:9px;background:#155eef;color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:800;box-shadow:0 8px 18px rgba(21,94,239,.18);transition:.2s}
.npcm-instructor-button:hover{transform:translateY(-1px);background:#0d47b5;color:#fff!important}
@media(max-width:768px){
  .npcm-instructor-card{padding:28px 24px!important}
  .npcm-instructor-card:before{height:112px}
  .npcm-instructor-photo{width:150px!important;height:150px!important;margin-top:12px!important}
  .npcm-instructor-card h4{font-size:26px!important}
  .npcm-instructor-verified{margin-top:9px;padding:7px 12px;font-size:12px!important}
  .npcm-instructor-verified>span{width:20px;height:20px;flex-basis:20px;font-size:13px}
  .npcm-instructor-role{font-size:16px!important}
  .npcm-stars{font-size:24px}
  .npcm-instructor-rating small{font-size:13px}
  .npcm-instructor-description{font-size:15px!important;line-height:1.65!important}
  .npcm-instructor-badges li{padding:11px 13px!important;font-size:14px!important}
  .npcm-instructor-motto{padding:15px 16px!important;font-size:15px!important}
  .npcm-instructor-button{min-height:52px;font-size:16px}
}


/* v3.5.1 — Corrección definitiva de emojis/iconos en el frontend
   WordPress puede convertir los emojis en imágenes Twemoji. Algunos estilos
   globales de Astra/LearnDash ampliaban esas imágenes al ancho del panel. */
.npcm-course-sidebar img.emoji,
.npcm-course-sidebar img.wp-smiley,
.npcm-course-sidebar .npcm-instructor-badges img.emoji,
.npcm-course-sidebar .npcm-instructor-badges img.wp-smiley,
.npcm-course-sidebar .npcm-side-heading img.emoji,
.npcm-course-sidebar .npcm-side-heading img.wp-smiley {
  display:inline-block!important;
  width:1.15em!important;
  height:1.15em!important;
  min-width:0!important;
  max-width:1.15em!important;
  min-height:0!important;
  max-height:1.15em!important;
  margin:0 .22em 0 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  object-fit:contain!important;
  vertical-align:-.16em!important;
}
.npcm-course-sidebar .npcm-side-heading>span img.emoji,
.npcm-course-sidebar .npcm-side-heading>span img.wp-smiley {
  width:1em!important;
  height:1em!important;
  max-width:1em!important;
  max-height:1em!important;
  margin:0!important;
}
.npcm-instructor-badges li {
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  overflow:hidden!important;
}
.npcm-instructor-badges li img.emoji,
.npcm-instructor-badges li img.wp-smiley {
  flex:0 0 1.15em!important;
}

/* =========================================================
   SMART SIDEBAR — v3.6.0
   ========================================================= */
.npcm-smart-card{background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);overflow:hidden}
.npcm-smart-progress{padding:4px 0 16px}
.npcm-smart-progress>div:first-child{display:flex;align-items:end;justify-content:space-between;margin-bottom:8px}
.npcm-smart-progress strong{font-size:28px;line-height:1;color:#155eef}
.npcm-smart-progress span{font-size:12px;color:#64748b;font-weight:700}
.npcm-smart-progress-track{height:9px;background:#e4ebf5;border-radius:999px;overflow:hidden}
.npcm-smart-progress-track i{display:block;height:100%;background:linear-gradient(90deg,#155eef,#4f8cff);border-radius:999px}
.npcm-smart-next{display:flex;align-items:center;gap:10px;padding:13px 12px;margin:3px 0 12px;background:#0f2f67;color:#fff!important;border-radius:12px;text-decoration:none!important;box-shadow:0 7px 18px rgba(15,47,103,.14)}
.npcm-smart-next>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.12);font-size:13px}
.npcm-smart-next div{min-width:0;flex:1}.npcm-smart-next small{display:block;color:#bcd2ff;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.npcm-smart-next strong{display:block;color:#fff;font-size:13px;line-height:1.25;margin-top:3px}.npcm-smart-next b{font-size:18px}
.npcm-smart-tip{display:flex;gap:10px;padding:12px;margin:0 0 10px;background:#fff8df;border:1px solid #f6e6a9;border-radius:11px}
.npcm-smart-tip>span{font-size:18px;line-height:1}.npcm-smart-tip p{margin:0!important;color:#5d5130!important;font-size:12px!important;line-height:1.45!important}
.npcm-smart-forum{display:flex;align-items:center;gap:8px;padding:11px 12px;border:1px solid #d7e5ff;border-radius:10px;color:#155eef!important;font-size:12px;font-weight:800;text-decoration:none!important;background:#f5f9ff}
.npcm-smart-forum b{margin-left:auto;font-size:16px}.npcm-smart-forum:hover{background:#eaf2ff}
.npcm-smart-guest{text-align:center;padding:6px 0 2px}.npcm-smart-guest strong{display:block;color:#14213d;font-size:14px}.npcm-smart-guest p{font-size:12px!important;color:#64748b!important;line-height:1.45!important;margin:7px 0 12px!important}
@media(max-width:768px){.npcm-smart-progress strong{font-size:32px}.npcm-smart-next{padding:16px 14px}.npcm-smart-next strong{font-size:16px}.npcm-smart-tip p,.npcm-smart-forum{font-size:15px!important}}
