/* Course Manager Pro — Course Pages — Scoped CSS */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

.cm-course-wrap{
  font-family:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif !important;
  color:#1e293b !important;
  line-height:1.6 !important;
  max-width:1100px;
  margin:0 auto;
  padding:0 16px 60px;
}
.cm-course-wrap *{box-sizing:border-box}
.cm-course-wrap a{text-decoration:none}
.cm-course-wrap img{display:block}

/* Breadcrumb */
.cm-bc{display:flex;align-items:center;gap:7px;font-size:13px;color:#64748b;margin-bottom:20px;flex-wrap:wrap}
.cm-bc a{color:#64748b;transition:color .15s}.cm-bc a:hover{color:#1e40af}
.cm-bc-sep{color:#cbd5e1;font-size:11px}
.cm-bc-cur{color:#1e293b;font-weight:600}

/* ── HERO ─────────────────────────────── */
.cm-shero{
  display:grid;grid-template-columns:1fr 360px;gap:0;align-items:stretch;
  background:#0f172a;border-radius:18px;
  overflow:hidden;margin-bottom:32px;
  min-height:320px;position:relative;
}
.cm-shero-left{
  padding:40px 44px;
  background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 100%);
  position:relative;z-index:1;
  text-align:left !important;
}
.cm-shero-left::before{
  content:'';position:absolute;inset:0;
  background-image:radial-gradient(circle at 20% 50%,rgba(99,102,241,.15) 0%,transparent 60%),
    radial-gradient(circle at 80% 20%,rgba(6,182,212,.1) 0%,transparent 50%);
  pointer-events:none;
}
.cm-shero-content{position:relative;z-index:1}
.cm-shero-badges{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 14px !important;text-align:left !important;justify-content:flex-start !important}
.cm-shero-badge-type{
  display:inline-block;padding:4px 12px;border-radius:20px;font-size:11px;
  font-weight:700;text-transform:uppercase;letter-spacing:.6px;
  background:rgba(255,255,255,.12);color:rgba(255,255,255,.9);
  border:1px solid rgba(255,255,255,.2);
}
.cm-shero-badge-aff{
  display:inline-block;padding:4px 12px;border-radius:20px;font-size:11px;font-weight:600;
  background:rgba(251,146,60,.18);color:#fed7aa;border:1px solid rgba(251,146,60,.3);
}
.cm-shero h1{
  font-size:clamp(22px,3.5vw,40px);font-weight:800;color:#fff;
  line-height:1.15;margin:0 0 12px !important;letter-spacing:-.8px;text-align:left !important;
}
.cm-shero-desc{
  font-size:15px;color:rgba(255,255,255,.68);line-height:1.7;
  margin:0 0 22px !important;max-width:480px;font-weight:400;text-align:left !important;
}
.cm-shero-stats{
  display:flex;gap:0;margin:0 0 26px !important;
  border:1px solid rgba(255,255,255,.12);border-radius:10px;
  overflow:hidden;width:fit-content;align-items:stretch;
  text-align:left !important;justify-content:flex-start !important;
}
.cm-hstat{
  padding:10px 18px;border-right:1px solid rgba(255,255,255,.1);
  background:rgba(255,255,255,.06);
  display:flex;flex-direction:column;justify-content:center;
  min-height:52px;box-sizing:border-box;text-align:left !important;
}
.cm-hstat:last-child{border-right:none}
.cm-hstat-val{font-size:16px;font-weight:700;color:#fff;line-height:1.25;word-break:break-word}
.cm-hstat-lbl{font-size:10px;color:rgba(255,255,255,.45);margin-top:3px;text-transform:uppercase;letter-spacing:.4px}
.cm-shero-ctas{display:flex;gap:10px;flex-wrap:wrap;margin:0 !important;justify-content:flex-start !important}
.cm-btn-enq{
  display:inline-flex;align-items:center;gap:7px;
  padding:12px 24px;background:#f97316 !important;color:#fff !important;border:none;
  border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;
  font-family:inherit;transition:all .15s;text-decoration:none !important;
}
.cm-btn-enq:hover{background:#ea580c !important;transform:translateY(-1px);box-shadow:0 6px 20px rgba(249,115,22,.4)}
.cm-btn-brochure{
  display:inline-flex;align-items:center;gap:7px;
  padding:12px 22px;background:rgba(255,255,255,.1) !important;color:rgba(255,255,255,.88) !important;
  border:1.5px solid rgba(255,255,255,.25);border-radius:10px;
  font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;transition:.15s;
  backdrop-filter:blur(4px);text-decoration:none !important;
}
.cm-btn-brochure:hover{background:rgba(255,255,255,.18) !important}

/* Hero Image Side */
.cm-shero-right{
  position:relative;overflow:hidden;
  background:#1e3a8a;
  display:flex;align-items:stretch;
}
.cm-shero-img{
  width:100%;height:100%;object-fit:cover;
  display:block;opacity:.9;
}
.cm-shero-placeholder{
  width:100%;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#1e3a8a,#1e40af);font-size:80px;
}
.cm-shero-price-float{
  position:absolute;bottom:20px;right:20px;
  background:#f97316;color:#fff;
  font-size:20px;font-weight:800;
  padding:10px 18px;border-radius:12px;
  box-shadow:0 6px 24px rgba(249,115,22,.5);
  border:3px solid #fff;
  letter-spacing:-.3px;
}

/* ── BODY LAYOUT ────────────────────── */
.cm-body{display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start}
.cm-main{display:flex;flex-direction:column;gap:18px}

/* Sections */
.cm-sec{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:26px 28px;
  box-shadow:0 1px 4px rgba(15,23,42,.04);
}
.cm-sec-title{
  font-size:17px;font-weight:800;color:#0f172a;
  margin:0 0 18px;display:flex;align-items:center;gap:9px;
  letter-spacing:-.2px;padding-bottom:14px;
  border-bottom:1.5px solid #f1f5f9;
}

/* Workshop/Webinar: Agenda */
.cm-agenda-item{display:flex;gap:16px;padding:14px 0;border-bottom:1px solid #f1f5f9}
.cm-agenda-item:last-child{border-bottom:none}
.cm-agenda-time{font-size:12px;font-weight:800;color:var(--cm-accent,#1e40af);white-space:nowrap;width:78px;flex-shrink:0}
.cm-agenda-title{font-size:13.5px;color:#334155;font-weight:700}
.cm-agenda-sub{font-size:12px;color:#94a3b8;margin-top:2px}

/* Workshop/Webinar: Seats */
.cm-seats-row{display:flex;justify-content:space-between;font-size:12px;font-weight:700;color:#64748b;margin-bottom:8px}
.cm-seats-bar{height:8px;background:#f1f5f9;border-radius:100px;overflow:hidden}
.cm-seats-fill{height:100%;background:#f97316;border-radius:100px}

/* Highlights */
.cm-hl-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cm-hl-item{
  display:flex;align-items:flex-start;gap:10px;
  background:#f8fafc;border:1px solid #e2e8f0;
  border-radius:10px;padding:11px 14px;
  font-size:13px;color:#334155;line-height:1.5;
  transition:.15s;
}
.cm-hl-item:hover{background:#eff6ff;border-color:#c7d2fe}
.cm-hl-check{
  width:22px;height:22px;border-radius:50%;
  background:#dcfce7;color:#16a34a;
  display:flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:800;flex-shrink:0;margin-top:1px;
}

/* About prose */
.cm-prose{font-size:14px;color:#374151;line-height:1.85}
.cm-prose p{margin:0 0 12px}.cm-prose p:last-child{margin:0}

/* Batches */
.cm-batches{display:flex;flex-direction:column;gap:12px}
.cm-batch{
  background:#f8fafc;border:1.5px solid #e2e8f0;
  border-radius:12px;padding:16px 18px;
  transition:.15s;
}
.cm-batch:hover{border-color:#93c5fd;background:#eff6ff}
.cm-batch-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.cm-batch-name{font-size:14px;font-weight:700;color:#0f172a}
.cm-batch-pill{font-size:11px;font-weight:700;padding:4px 10px;border-radius:20px}
.cm-pill-open{background:#dcfce7;color:#166534}
.cm-pill-few{background:#fef9c3;color:#92400e}
.cm-pill-full{background:#fee2e2;color:#991b1b}
.cm-batch-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.cm-btag{font-size:10px;font-weight:700;padding:3px 9px;border-radius:20px;text-transform:uppercase;letter-spacing:.3px}
.cm-btag-shift{background:#dbeafe;color:#1e40af}
.cm-btag-mode-reg{background:#dcfce7;color:#166534}
.cm-btag-mode-online{background:#f3e8ff;color:#7e22ce}
.cm-btag-mode-hybrid{background:#fff7ed;color:#c2410c}
.cm-batch-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:#64748b;margin-bottom:10px}
.cm-batch-meta span{display:flex;align-items:center;gap:4px}
.cm-batch-cta{
  display:block;text-align:center;padding:8px;
  background:#1e40af !important;color:#fff !important;border-radius:8px;
  font-size:12px;font-weight:700;transition:.15s;text-decoration:none !important;
}
.cm-batch-cta:hover{background:#1e3a8a !important}

/* Career */
.cm-career-tags{display:flex;flex-wrap:wrap;gap:8px}
.cm-career-tag{
  background:#eff6ff;color:#1e40af;padding:7px 16px;
  border-radius:8px;font-size:13px;font-weight:600;
  border:1px solid #c7d2fe;transition:.15s;
}
.cm-career-tag:hover{background:#dbeafe}

/* Gallery */
.cm-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.cm-gallery img,.cm-gallery-ph{
  width:100%;height:130px;border-radius:10px;object-fit:cover;
  cursor:zoom-in;transition:.2s;border:1px solid #e2e8f0;
}
.cm-gallery img:hover{transform:scale(1.03);box-shadow:0 4px 16px rgba(0,0,0,.12)}
.cm-gallery-ph{
  background:linear-gradient(135deg,#f1f5f9,#e2e8f0);
  display:flex;align-items:center;justify-content:center;font-size:28px;
}

/* ── SIDEBAR ────────────────────────── */
.cm-sidebar{display:flex;flex-direction:column;gap:14px;position:sticky;top:20px}
.cm-scard{
  background:#fff;border:1px solid #e2e8f0;
  border-radius:14px;padding:22px;
  box-shadow:0 1px 4px rgba(15,23,42,.04);
}
.cm-sidebar-price{
  font-size:34px;font-weight:900;color:#1e40af;
  letter-spacing:-1px;line-height:1;margin-bottom:4px;
}
.cm-sidebar-price-note{font-size:12px;color:#94a3b8;margin-bottom:16px}
.cm-scta-primary{
  display:block;text-align:center;padding:13px;
  background:#1e40af !important;color:#fff !important;border-radius:10px;
  font-size:14px;font-weight:700;margin-bottom:8px;
  border:none;cursor:pointer;font-family:inherit;
  transition:.15s;width:100%;text-decoration:none !important;
}
.cm-scta-primary:hover{background:#1e3a8a !important;box-shadow:0 4px 14px rgba(30,64,175,.35)}
.cm-scta-sec{
  display:block;text-align:center;padding:11px;
  background:#f8fafc !important;color:#1e293b !important;
  border:1.5px solid #e2e8f0;border-radius:10px;
  font-size:13px;font-weight:600;cursor:pointer;
  font-family:inherit;transition:.15s;width:100%;text-decoration:none !important;
}
.cm-scta-sec:hover{background:#f1f5f9 !important}
.cm-sdivider{height:1px;background:#f1f5f9;margin:16px 0}
.cm-srows{display:flex;flex-direction:column}
.cm-srow{
  display:flex;justify-content:space-between;align-items:center;
  padding:9px 0;border-bottom:1px solid #f8fafc;font-size:13px;
}
.cm-srow:last-child{border:none}
.cm-srow-lbl{color:#64748b;display:flex;align-items:center;gap:5px}
.cm-srow-val{font-weight:600;color:#1e293b;text-align:right;font-size:13px}

/* Institute card */
.cm-inst-card{text-align:center}
.cm-inst-logo{
  width:48px;height:48px;border-radius:50%;
  background:linear-gradient(135deg,#1e40af,#3b82f6);
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:16px;font-weight:800;
  margin:0 auto 10px;
}
.cm-inst-name{font-size:14px;font-weight:700;color:#0f172a;margin-bottom:6px}
.cm-inst-contact{font-size:12px;color:#64748b;margin-top:3px;display:flex;align-items:center;justify-content:center;gap:5px}

/* Lightbox */
.cm-lightbox{
  display:none;position:fixed;inset:0;
  background:rgba(0,0,0,.9);z-index:99999;
  align-items:center;justify-content:center;cursor:zoom-out;
}
.cm-lightbox.open{display:flex}
.cm-lightbox img{max-width:90vw;max-height:90vh;border-radius:10px}

/* ── RESPONSIVE ─────────────────────── */
@media(max-width:960px){
  .cm-shero{grid-template-columns:1fr}
  .cm-shero-right{height:240px}
  .cm-shero-placeholder{height:240px}
  .cm-body{grid-template-columns:1fr}
  .cm-sidebar{position:static}
}
@media(max-width:600px){
  .cm-shero-left{padding:28px 20px}
  .cm-shero h1{font-size:24px}
  .cm-shero-stats{flex-wrap:wrap}
  .cm-hl-grid{grid-template-columns:1fr}
  .cm-gallery{grid-template-columns:1fr 1fr}
  .cm-shero-ctas{flex-direction:column}
  .cm-btn-enq,.cm-btn-brochure{justify-content:center}
}

/* ── FAQ ─────────────────────────────── */
.cm-faq-list{display:flex;flex-direction:column;gap:0;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}
.cm-faq-item{border-bottom:1px solid #f1f5f9}
.cm-faq-item:last-child{border-bottom:none}
.cm-faq-item.cm-faq-open .cm-faq-q{background:#eff6ff;color:#1e40af}
.cm-faq-q{
  width:100%;background:none;border:none;padding:16px 20px;
  display:flex;justify-content:space-between;align-items:center;
  cursor:pointer;font-family:inherit;font-size:14px;font-weight:600;
  color:#1e293b;text-align:left;gap:16px;transition:background .15s,color .15s;
}
.cm-faq-q:hover{background:#f8fafc;color:#1e40af}
.cm-faq-icon{
  font-size:20px;color:#94a3b8;flex-shrink:0;
  transition:transform .25s;font-weight:400;line-height:1;
  width:24px;height:24px;display:flex;align-items:center;justify-content:center;
}
.cm-faq-item.cm-faq-open .cm-faq-icon{color:#1e40af}
.cm-faq-a{
  padding:0 20px 16px;font-size:14px;color:#475569;
  line-height:1.75;border-top:1px solid #f1f5f9;
  padding-top:12px;background:#fafbff;
}
