/* Base */
:root{
  --red:#7d0f12;
  --red2:#8b1215;
  --black:#0b0b0b;
  --bg:#ffffff;
  --gray:#f3f3f3;
  --line:#d9d9d9;
  --blue:#1f5fbf;
  --green:#2f8a3a;
  --shadow: 0 10px 25px rgba(0,0,0,.18);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Arial, Helvetica, sans-serif;color:#111;background:#fff}
a{color:inherit}
.link{color:#1b65c8;text-decoration:none}
.link:hover{text-decoration:underline}
.link.light{color:#fff}
.link.green{color:#1f8f3b}
strong{font-weight:700}

/* Topbar */
.topbar{
  height:34px;
  background:#000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 12px;
}
.topbar-left{display:flex;gap:10px;align-items:center}
.soc{
  width:26px;height:26px;border-radius:50%;
  display:grid;place-items:center;
  background:#1a1a1a;
}
.soc svg{width:14px;height:14px;fill:#fff}
.soc.fb{background:#1877f2}
.soc.tw{background:#111}
.soc.g{background:#db4437}
.soc.in{background:#0a66c2}
.soc.yt{background:#ff0000}
.soc.dot{background:#6f42c1}
.topbar-right{display:flex;gap:10px;align-items:center}
.select{
  background:#111;color:#fff;border:1px solid #222;border-radius:4px;
  padding:5px 10px;font-size:11px;outline:none;
}
.select.small{height:26px}

/* Header */
.header{
  display:flex;
  align-items:stretch;
  background:#000;
}
.brand{
  width:290px;
  background:linear-gradient(90deg,var(--red),#5f0a0c);
  color:#fff;
  padding:18px 16px;
  display:flex;align-items:center;
}
.brand-inner{display:flex;align-items:center;gap:12px}
.brand-title{font-size:24px;line-height:1.0;font-weight:700}
.brand-sep{width:2px;height:56px;background:#fff;opacity:.9}
.brand-sub{font-size:20px;font-weight:700}
.nav{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:60px;
}
.nav-link{
  color:#fff;
  text-decoration:none;
  font-size:18px;
}
.nav-link .caret{font-size:16px;opacity:.9}
.nav-link:hover{color:#ddd}

/* Header ADD CART button */
.nav-link.nav-cart{
  background:var(--red);
  padding:10px 16px;
  border-radius:8px;
  font-weight:800;
  letter-spacing:.2px;
  border:1px solid rgba(255,255,255,.25);
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}
.nav-link.nav-cart:hover{color:#fff;filter:brightness(1.06)}

/* BUY COURSE button next to ADD CART */
.nav-link.nav-buycourse{margin-left:-40px}

/* Hero */
.hero{
  position:relative;
  height:430px;
  background-size:cover;
  background-position:center bottom;
}
.hero-overlay{
  position:absolute;inset:0;
  padding:38px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.hero-left{
  max-width:520px;
  color:#fff;
  text-shadow:0 3px 12px rgba(0,0,0,.45);
}
.hero-left h1{margin:0 0 10px;font-size:34px;font-weight:700}
.hero-left p{margin:0;font-size:14px;opacity:.95}

.hero-form{
  width:230px;
  background:#fff;
  border-radius:3px;
  box-shadow:0 10px 25px rgba(0,0,0,.25);
  overflow:hidden;
}
.hero-form-head{
  background:linear-gradient(#a4171a,#7d0f12);
  color:#fff;
  text-align:center;
  font-size:10px;
  padding:7px 0;
  font-weight:700;
}
.hero-form form{padding:8px 10px}
.hero-form label{display:block;font-size:10px;margin-bottom:8px;color:#222}
.hero-form input[type="text"],
.hero-form input[type="email"]{
  width:100%;
  margin-top:3px;
  padding:5px 6px;
  border:1px solid #d0d0d0;
  border-radius:2px;
  font-size:11px;
}
.req{color:#c10000}
.form-subhead{font-size:11px;margin:8px 0 6px;font-weight:700}
.checklist{display:grid;gap:4px;margin-bottom:8px;max-height:110px;overflow:auto;padding-right:4px}
.checklist label{display:flex;gap:8px;align-items:center;margin:0}
.checklist input{transform:scale(.95)}
.tiny{font-size:10px;line-height:1.2;color:#444}
.fineprint{margin-top:8px}
.form-actions{margin:8px 0}
.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:0;cursor:pointer}
.btn.primary{
  width:100%;
  background:linear-gradient(#9f1417,#6f0b0d);
  color:#fff;
  padding:8px 10px;
  border-radius:2px;
  font-size:12px;
  font-weight:700;
}
.btn.primary:hover{filter:brightness(.95)}

/* Sections */
.section{padding:26px 0}
.section-wide{padding-top:18px}
.section .wrap{max-width:1120px;margin:0 auto;padding:0 16px}
.section-wide{max-width:1120px;margin:0 auto;padding:0 16px}

.two-col{display:grid;grid-template-columns:1.25fr .95fr;gap:40px;align-items:start}
.para{font-size:12px;line-height:1.5;margin:0 0 12px}
.ticks{margin:0;padding:0;list-style:none;font-size:12px}
.ticks li{
  padding-left:26px;
  position:relative;
  margin:0 0 10px;
}
.ticks li::before{
  content:"✓";
  position:absolute;left:0;top:0;
  width:18px;height:18px;
  border-radius:3px;
  background:var(--red);
  color:#fff;
  display:grid;place-items:center;
  font-size:12px;
}
.cta-row{display:grid;grid-template-columns:1.2fr .8fr;gap:30px;margin-top:18px;align-items:center}

/* Ready card */
.ready-card{
  height:120px;
  border-radius:2px;
  overflow:hidden;
  display:grid;
  grid-template-columns:170px 1fr;
  box-shadow:0 10px 20px rgba(0,0,0,.12);
}
.ready-img{
  background-image:url('assets/1ST PARAGRAPH.PNG');
  background-size:cover;
  background-position:left 75% center;
}
.ready-body{
  background:linear-gradient(90deg,#7d0f12,#6a0c0f,#7d0f12);
  color:#fff;
  padding:14px 16px;
  position:relative;
}
.ready-title{font-size:22px;font-weight:700;margin:0 0 6px}
.ready-text{font-size:14px;opacity:.95;margin-bottom:10px}
.ready-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.btn.dark{
  background:#111;color:#fff;
  padding:10px 14px;border-radius:4px;
  font-size:12px;font-weight:700;
}
.ready-email{font-size:12px}
.link.light{color:#fff;text-decoration:none}
.link.light:hover{text-decoration:underline}

/* Subscribe card */
.subscribe-card{padding:10px 0 0}
.sub-title{font-size:18px;font-weight:700;margin:0 0 12px}
.sub-price{font-size:18px;margin-bottom:14px}

.btn.op-red{
  background:linear-gradient(180deg,#a10d0d 0%,#890505 100%);
  color:#fff;
  border:1px solid #890505;
  border-radius:10px;
  padding:12px 18px;
  min-height:46px;
  font-weight:800;
  box-shadow:0 8px 18px rgba(137,5,5,.16);
}
.btn.op-red:hover{filter:brightness(1.03);box-shadow:0 10px 22px rgba(137,5,5,.22);}
.auth-footer-actions .btn{min-width:170px;}
.auth-footer-actions .btn.op-red{background:linear-gradient(180deg,#a10d0d 0%,#890505 100%);color:#fff;border:1px solid #890505;border-radius:12px;padding:12px 18px;font-weight:800;box-shadow:0 8px 18px rgba(137,5,5,.16);}
.auth-footer-actions .btn.dark{border-radius:12px;padding:12px 18px;min-height:46px;box-shadow:0 8px 18px rgba(0,0,0,.12);}
.btn.blue{
  background:var(--blue);
  color:#fff;
  padding:14px 18px;
  border-radius:3px;
  width:320px;
  font-weight:700;
  font-size:16px;
}
.sub-note{margin-top:12px;font-size:18px;color:#1f5fbf}
.blue-text{color:#1f5fbf;font-weight:700}

/* Browser */
.section-browser{background:#fff}
.browser-intro{
  max-width:1120px;margin:0 auto;
  padding:0 16px 16px;
  font-size:12px;line-height:1.5;color:#222;
}
.browser{max-width:1120px;margin:0 auto;padding:0 16px;display:grid;grid-template-columns:250px 1fr;gap:18px}
.filters-box{border:1px solid #dcdcdc;background:#fafafa}
.filters-title{padding:12px 10px;border-bottom:1px solid #e6e6e6;font-weight:700;font-size:11px}
.filters-group{padding:10px 10px;border-bottom:1px solid #ededed}
.filters-head{font-size:10px;font-weight:700;margin-bottom:8px;color:#222}
.filter-item{
  width:100%;
  text-align:left;
  border:0;background:transparent;
  padding:6px 8px;
  border-radius:3px;
  font-size:11px;
  cursor:pointer;
}
.filter-item.active{background:#ffd6e0;color:#b0002a}
.cb{display:flex;gap:8px;align-items:center;font-size:11px;margin:6px 0;color:#222}
.cb input{transform:scale(.95)}

.results-top{display:flex;justify-content:center;gap:26px;margin:4px 0 14px}
.btn.pill{
  background:linear-gradient(#1a1a1a,#000);
  color:#fff;
  padding:10px 22px;
  border-radius:6px;
  font-weight:700;
  font-size:13px;
}
.btn.pill.outline{
  background:linear-gradient(#2a2a2a,#000);
  color:#fff;
  opacity:.95;
}
.results-bar{
  display:grid;
  grid-template-columns: 200px 1fr 260px;
  gap:10px;
  align-items:center;
  margin-bottom:10px;
}
.mini{font-size:11px;color:#222}
.bar-left{display:flex;gap:10px;align-items:center}
.search{display:flex;align-items:center;border:1px solid #d0d0d0;background:#fff;border-radius:2px;overflow:hidden}
.search input{flex:1;padding:8px 10px;border:0;outline:none;font-size:12px}
.search button{width:34px;height:34px;border:0;background:#fff;cursor:pointer;border-left:1px solid #e2e2e2}
.search svg{width:16px;height:16px;fill:#c40000}
.bar-right{display:flex;gap:10px;align-items:center;justify-content:flex-end}
#perPage{margin-left:6px}
.viewtoggle{display:flex;gap:6px}
.vt{
  width:26px;height:26px;border:1px solid #d0d0d0;background:#fff;border-radius:2px;
  cursor:pointer;
}
.vt.active{background:#eaeaea}

.facet-row{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:10px;
  margin:8px 0 12px;
}
.facet{
  background:#666;
  color:#fff;
  padding:8px 10px;
  font-size:11px;
  display:flex;justify-content:space-between;align-items:center;
}
.facet.dark{background:#111}
.plus{opacity:.85}

.cards{display:grid;gap:12px}
.cards.grid{grid-template-columns:repeat(4,1fr)}
.cards.list{grid-template-columns:1fr}
.course-card{
  border:1px solid #e2e2e2;background:#fff;overflow:hidden;
}
.course-img{
  height:120px;background:#d7d7d7;
  display:flex;align-items:center;justify-content:center;
  position:relative;
}
.course-img span.price{
  position:absolute;right:10px;bottom:10px;
  font-size:12px;font-weight:700;color:#ff1f66;
  background:transparent;
}
.badge-free{
  position:absolute;right:10px;top:10px;
  background:#fff;color:#000;font-weight:700;font-size:10px;
  padding:2px 6px;border-radius:2px;border:1px solid #ddd;
}
.course-body{padding:10px 10px 12px}
.course-kind{font-size:12px;font-weight:700;text-align:center;color:#c0002a;margin-bottom:8px}
.course-title{font-size:12px;font-weight:700;text-transform:uppercase;margin:0 0 8px}
.course-desc{font-size:10px;color:#555;line-height:1.35;margin:0 0 10px;height:40px;overflow:hidden}
.course-actions{display:flex;gap:8px}
.btn.small{
  flex:1;
  padding:8px 10px;
  font-size:11px;
  border-radius:2px;
  border:1px solid #d0d0d0;
  background:#fff;
}
.btn.learn{background:#23a455;color:#fff;border-color:#23a455}
.btn.cart{background:#ff1f66;color:#fff;border-color:#ff1f66}
.btn.small:hover{filter:brightness(.98)}

.pager{display:flex;justify-content:center;gap:6px;margin:14px 0 2px;flex-wrap:wrap;align-items:center}
.pg{
  width:22px;height:18px;border:1px solid #d0d0d0;background:#fff;font-size:10px;border-radius:3px;
  cursor:pointer;
}
.pg.active{background:#ff1f66;color:#fff;border-color:#ff1f66}
.pg.next,.pg.back,.pg.last{width:auto;min-width:48px;padding:0 8px}
.pg.dots{width:auto;min-width:26px;padding:0 6px;cursor:default;border-color:transparent;background:transparent}

/* Explore section */
.section-explore{padding:30px 0}
.explore-wrap{
  max-width:1120px;margin:0 auto;
  background:linear-gradient(90deg,#55a639,#2f8a3a);
  border-radius:2px;
  padding:18px 16px 22px;
  position:relative;
}
.explore-title{color:#fff;text-align:center;font-size:22px;font-weight:700;margin-bottom:14px}
.explore-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  padding:0 60px;
}
.explore-card{
  background:#fff;border-radius:12px;
  text-decoration:none;color:#111;
  padding:14px 12px;
  text-align:center;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}
.explore-ico{font-size:18px;margin-bottom:6px}
.explore-name{font-size:11px;font-weight:700;margin-bottom:6px}
.explore-count{font-size:10px;color:#555}
.chat-mini{
  position:absolute;right:14px;bottom:14px;
  width:30px;height:30px;border-radius:50%;
  border:0;background:#fff;cursor:pointer;
  box-shadow:0 10px 25px rgba(0,0,0,.2);
}

/* Staff */
.section-staff{padding-top:10px}
.staff-head{
  max-width:1120px;margin:0 auto;padding:0 16px;
  display:flex;align-items:flex-end;justify-content:space-between;
}
.staff-head h2{
  margin:0;
  /* Keep title on ONE line (as requested) while staying responsive */
  font-size:clamp(20px, 3.1vw, 34px);
  font-weight:500;
  color:#1b6ed2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  letter-spacing:-.2px;
}
.staff-head .blue{color:#0b73ff;font-weight:700}
.staff-count{font-size:16px;color:#f3702a;padding-bottom:10px}
.staff-carousel{
  max-width:1120px;margin:10px auto 0;padding:0 16px;
  display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:8px;
}
.car-btn{
  height:60px;border:0;background:transparent;cursor:pointer;
  font-size:52px;color:#bdbdbd;
}
.staff-track{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.staff-card{
  background:#fff;border-radius:14px;overflow:hidden;
  box-shadow:0 12px 25px rgba(0,0,0,.16);
  border:1px solid #eee;
}
.staff-img{
  height:110px;
  background-size:cover;background-position:center;
}
.staff-avatar{
  width:110px;height:110px;border-radius:50%;
  border:8px solid #fff;
  background:#e6e6e6;
  margin:-62px auto 0;
  display:grid;place-items:center;
  overflow:hidden;
}
.staff-avatar img{width:100%;height:100%;object-fit:cover}
.staff-body{text-align:center;padding:10px 14px 14px}
.staff-name{font-size:12px;font-weight:700;margin:6px 0 4px}
.staff-tag{font-size:11px;color:#2a7adf;margin-bottom:8px}
.staff-role{font-size:10px;color:#666;line-height:1.35;min-height:44px}
.staff-social{display:flex;gap:8px;justify-content:center;margin-top:10px}
.staff-social a{
  width:26px;height:26px;border-radius:50%;
  display:grid;place-items:center;
  background:#1b6ed2;color:#fff;text-decoration:none;font-weight:700;font-size:12px;
}

/* App section */
.section-app{padding:0 0 24px}

/* App banner shown (cropped from 5TH PARAGRAPH.PNG) */
.app-banner{
  max-width:1120px;
  margin:0 auto;
  height:240px;
  background-image:url('assets/5TH PARAGRAPH.PNG');
  background-size:cover;
  background-position:center top;
  border:1px solid #ddd;
  border-radius:6px;
}

/* Rebuilt Credential Framework (not a screenshot) */
.cred-built{
  max-width:1120px;
  margin:14px auto 0;
  padding:10px 12px 16px;
  background:#f4f4f4;
  border:1px solid #d9d9d9;
  border-radius:6px;
}
.cred-head{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  margin:6px 0 12px;
  font-weight:900;
}
.cred-brand{
  background:#e2e2e2;
  padding:6px 10px;
  border-radius:2px;
  letter-spacing:.6px;
}
.cred-title{font-size:22px}

.cred-row{
  display:flex;
  gap:8px;
  align-items:stretch;
  justify-content:space-between;
  flex-wrap:wrap;
}
.cred-item{
  flex:1;
  min-width:150px;
  border-radius:4px;
  padding:10px 10px 8px;
  color:#fff;
  text-align:center;
  position:relative;
}
.cred-item .ci-ico{font-size:26px;margin:4px 0 8px}
.cred-item .ci-top{font-weight:900;font-size:12px;line-height:1.15}
.cred-item .ci-sub{
  margin-top:8px;
  font-size:10px;
  opacity:.9;
  letter-spacing:.6px;
  font-weight:800;
}

.cred-item.dark{background:#3a3a3a}
.cred-item.red{background:#7a0f14}
.cred-item.gold{background:#b78118}
.cred-item.gray{background:#4c4c4c}

.cred-scale{
  margin-top:12px;
  display:flex;
  align-items:center;
  gap:10px;
  justify-content:flex-end;
}
.scale-label{
  font-size:10px;
  font-weight:900;
  color:#666;
  letter-spacing:.6px;
}
.scale-line{
  height:6px;
  width:220px;
  background:#c9c9c9;
  border-radius:6px;
  position:relative;
}
.scale-arrow{
  position:absolute;
  right:-18px;
  top:-8px;
  font-size:18px;
  color:#666;
}


/* Footer */
.footer{background:#000;color:#fff;margin-top:10px}
.footer-main{
  max-width:1120px;margin:0 auto;
  padding:26px 16px 10px;
  display:grid;
  grid-template-columns: 1fr 410px;
  gap:22px;
}
.ql-title{font-weight:700;margin-bottom:10px}
.ql-links{font-size:14px;line-height:1.8}
.ql-links a{color:#fff;text-decoration:none}
.ql-links a:after{content:' | '; color:#fff; opacity:.9}
.ql-links a:last-child:after{content:''}
.ql-links a{display:inline-block}

.ql-links a:hover{text-decoration:underline}
.copy{margin-top:14px;font-size:12px;color:#ddd}
.footer-right{position:relative}
.hq-card{
  background:#f3f3f3;color:#111;
  border-radius:18px;
  padding:18px 18px 14px;
  position:relative;
}
.seal{
  width:54px;height:54px;border-radius:50%;
  background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.18);
  position:absolute;top:-26px;left:50%;transform:translateX(-50%);
}
.hq-title{text-align:center;font-size:22px;font-weight:900;margin-top:10px}
.hq-sub{text-align:center;font-size:13px;font-weight:900;margin-top:4px}
.hq-addr{text-align:center;font-size:12px;margin-top:12px}
.hq-phone{text-align:center;color:#0a8a3b;font-size:20px;font-weight:900;margin-top:8px}
.hq-social{display:flex;justify-content:center;gap:10px;margin:14px 0 6px}
.soc2{
  width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;
  text-decoration:none;
  color:#fff;font-weight:900;font-size:12px;
  background:#1877f2;
}
.soc2:nth-child(2){background:#1da1f2}
.soc2:nth-child(3){background:#db4437}
.soc2:nth-child(4){background:#0a66c2}
.soc2:nth-child(5){background:#ff0000}
.soc2:nth-child(6){background:#6f42c1}
.hq-join{text-align:center;font-weight:900;margin-top:6px}
.hq-note{text-align:center;font-size:12px;color:#333;margin-top:6px}
.dots{display:flex;justify-content:center;gap:8px;margin-top:10px}
.d{width:10px;height:10px;border-radius:50%}
.d.a{background:#0b73ff}
.d.b{background:#3bd56a}
.d.c{background:#ff3333}
.d.d{background:#ffb300}
.d.e{background:#9c27b0}

.chat-fab{
  position:absolute;right:-18px;bottom:-6px;
  width:72px;height:72px;border-radius:50%;
  border:0;background:var(--red);color:#fff;font-weight:900;
  cursor:pointer;box-shadow:0 16px 40px rgba(0,0,0,.35);
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);
  padding:12px 16px;
  text-align:center;
  font-size:14px;
  color:#ddd;
}
.footer-bottom a{color:#fff;text-decoration:none}
.footer-bottom a:hover{text-decoration:underline}

/* Chat box */
.chatbox{
  position:fixed;
  right:18px;bottom:90px;
  width:320px;
  background:#fff;border-radius:14px;
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  overflow:hidden;
  display:none;
}
.chatbox.open{display:block}
.chatbox-head{
  background:linear-gradient(#9f1417,#6f0b0d);
  color:#fff;
  padding:10px 12px;
  display:flex;justify-content:space-between;align-items:center;
  font-weight:900;
}
.chatbox-head button{border:0;background:transparent;color:#fff;font-size:22px;cursor:pointer}
.chatbox-body{padding:10px 12px;max-height:260px;overflow:auto;background:#fafafa}
.chat-msg{padding:10px 10px;border-radius:10px;margin-bottom:10px;font-size:12px;line-height:1.35;max-width:90%}
.chat-msg.bot{background:#fff;border:1px solid #e6e6e6}
.chat-msg.user{background:#1f5fbf;color:#fff;margin-left:auto}
.chatbox-foot{display:flex;gap:8px;padding:10px 10px;background:#fff;border-top:1px solid #ececec}
.chatbox-foot input{flex:1;border:1px solid #ddd;border-radius:8px;padding:10px;font-size:12px;outline:none}
.chatbox-foot button{border:0;background:#1f5fbf;color:#fff;border-radius:8px;padding:10px 12px;font-weight:900;cursor:pointer}

/* Responsive */
@media (max-width:1100px){
  .nav{gap:26px}
  .hero{height:480px}
  .cards.grid{grid-template-columns:repeat(3,1fr)}
  .explore-grid{grid-template-columns:repeat(4,1fr);padding:0 20px}
}
@media (max-width:900px){
  .header{flex-direction:column}
  .brand{width:100%}
  .nav{justify-content:flex-start;padding:10px 16px;flex-wrap:wrap}
  .hero-overlay{flex-direction:column;align-items:flex-start;gap:16px}
  .hero-form{align-self:flex-end}
  .two-col{grid-template-columns:1fr}
  .cta-row{grid-template-columns:1fr}
  .browser{grid-template-columns:1fr}
  .staff-track{grid-template-columns:repeat(2,1fr)}
  .explore-grid{grid-template-columns:repeat(2,1fr)}
  .footer-main{grid-template-columns:1fr}
  .chat-fab{right:0}
}


/* === Rounded corners (per screenshots) === */
.filters-box{border-radius:12px;overflow:hidden;}
.course-card{border-radius:12px;}
.hero-form{border-radius:12px;overflow:hidden;}


/* === OPRSE CARD VISUAL FIXES (USER REQUESTED) === */

/* Increase readability */
.course-card,
.program-card {
  font-size: 15.5px;
  line-height: 1.55;
}

.course-card h3,
.program-card h3 {
  font-size: 17px;
  font-weight: 600;
}

/* Primary course action button - BLACK */
.course-card .start-learning,
.course-card .btn-start,
.course-card .start-learning-btn {
  background:#000 !important;
  color:#fff !important;
}

/* Add to Cart button - DARK RED */
.course-card .add-to-cart,
.course-card .btn-cart,
.course-card .add-cart-btn {
  background:#8b0000 !important;
  color:#fff !important;
}

/* Slightly bigger buttons */
.course-card button {
  padding:10px 14px;
  font-size:14px;
}


/* === USER REQUESTED FIXES (DO NOT DISTURB OTHER WORK) === */

/* Buttons colors */
.course-card .btn.learn{background:#000 !important;border-color:#000 !important;color:#fff !important;}
.course-card .btn.cart{background:#8b0000 !important;border-color:#8b0000 !important;color:#fff !important;}

/* Readability improvements (slightly bigger) */
.course-card .course-kind{font-size:13px !important; font-weight:700 !important;}
.course-card .course-title{font-size:13.5px !important; font-weight:700 !important; text-transform:uppercase;}
.course-card .course-desc{font-size:12px !important; line-height:1.45 !important; height:auto !important;}

/* === OPRSE CARD SIZE NORMALIZATION (ALL PAGES) ===
   User request:
   - Title: one line
   - Description: 3–4 lines
   - Buttons: one line + oval
   - Cards: equal height (do not change width)
*/

/* Ensure equal heights inside grids/lists */
.cards.grid,
.mi-similar-grid,
.sl-morecourses {
  align-items: stretch;
}

.course-card{
  display:flex;
  flex-direction:column;
  height:100%;
}

.course-card .course-body{
  display:flex;
  flex-direction:column;
  flex:1;
}

/* 1) Title: force single line */
.course-card .course-title{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* 2) Description: clamp to 4 lines (3–4 lines) + keep card heights equal */
.course-card .course-desc{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  overflow:hidden;
  max-height:5.8em;   /* 1.45 * 4 lines */
  min-height:5.8em;   /* keep all cards equal */
}

/* 3) Buttons: one line + oval + slightly shorter height */
.course-card .course-actions{
  margin-top:auto; /* push actions to bottom to standardize card height */
}

.course-card .course-actions .btn,
.course-card .course-actions a,
.course-card .course-actions button{
  white-space:nowrap;
}

.course-card .course-actions .btn.small,
.course-card .course-actions a.btn.small,
.course-card .course-actions button.btn.small{
  border-radius:999px;
  padding:8px 12px;
  line-height:1;
}

/* Keep the full-width ADD TO CART button oval too */
.course-card .btn.cart,
.course-card button.btn.cart{
  border-radius:999px !important;
  padding:10px 12px !important;
  line-height:1.05;
}

/* Filter panel readability */
.filters-box{border-radius:12px; overflow:hidden;}
.filters-head{font-size:12px !important;}
.filt-btn, .filters-box label, .filters-box .muted{font-size:12px !important;}

/* Recommendations form readability */
.hero-form{border-radius:14px; overflow:hidden;}
.hero-form label{font-size:12px !important;}
.hero-form input{font-size:12px !important; padding:6px 8px !important;}
.hero-form .send-btn, .hero-form button{font-size:12.5px !important; font-weight:700 !important;}


/* === CENTER RECOMMENDATION FORM IN HERO === */
.hero {
  position: relative;
}

.hero .hero-form,
.hero .recommendation-form {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 340px;
}

.hero .hero-form.right,
.hero .recommendation-form.right {
  right: auto !important;
}


/* === MOVE RECOMMENDATION FORM TO LEFT & MINIMIZE === */
.hero {
  position: relative;
}

.hero .hero-form,
.hero .recommendation-form {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  z-index: 10;

  max-width: 280px;
  font-size: 13px;
}

.hero .hero-form input,
.hero .recommendation-form input,
.hero .hero-form select,
.hero .recommendation-form select {
  height: 32px;
  font-size: 12.5px;
}

.hero .hero-form button,
.hero .recommendation-form button {
  padding: 8px 10px;
  font-size: 12.5px;
}


/* === EXTRA MINIMIZATION OF HERO FORM === */
.hero .hero-form,
.hero .recommendation-form {
  max-width: 230px;
  font-size: 11.5px;
}

.hero .hero-form input,
.hero .recommendation-form input,
.hero .hero-form select,
.hero .recommendation-form select {
  height: 26px;
  font-size: 11px;
  padding: 4px 6px;
}

.hero .hero-form label,
.hero .recommendation-form label {
  font-size: 11px;
}

.hero .hero-form button,
.hero .recommendation-form button {
  padding: 6px 8px;
  font-size: 11px;
}


/* === ULTRA MINIMAL HERO FORM (SMALLEST) === */
.hero .hero-form,
.hero .recommendation-form {
  max-width: 190px;
  font-size: 10.5px;
  padding: 6px;
}

.hero .hero-form input,
.hero .recommendation-form input,
.hero .hero-form select,
.hero .recommendation-form select {
  height: 22px;
  font-size: 10px;
  padding: 3px 5px;
}

.hero .hero-form label,
.hero .recommendation-form label {
  font-size: 10px;
  margin-bottom: 2px;
}

.hero .hero-form button,
.hero .recommendation-form button {
  padding: 5px 6px;
  font-size: 10px;
}


/* === HERO FORM: WIDER & SHORTER (USER REQUEST) === */
.hero .hero-form,
.hero .recommendation-form {
  max-width: 320px;      /* wider */
  padding: 6px 10px;
}

.hero .hero-form .form-row,
.hero .recommendation-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two columns to reduce height */
  gap: 6px;
}

.hero .hero-form input,
.hero .recommendation-form input,
.hero .hero-form select,
.hero .recommendation-form select {
  height: 22px;
}

.hero .hero-form button,
.hero .recommendation-form button {
  margin-top: 6px;
}


/* === FACET (+/-) DROPDOWNS === */
.facet{
  position:relative;
  cursor:pointer;
  user-select:none;
}

.facet .plus{
  width:18px;height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(255,255,255,.55);
  border-radius:3px;
  font-weight:700;
  line-height:1;
}

.facet-panel{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  width:100%;
  background:#fff;
  color:#111;
  border:1px solid #cfcfcf;
  border-top:none;
  padding:10px 10px 8px;
  z-index:50;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

.facet.open .facet-panel{display:block;}
.facet.open{background:#333;}

.facet-opt{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  padding:4px 0;
}
.facet-opt input{transform:translateY(1px);}


/* === OpenPlus HERO IMAGE OVERRIDE (full image visible) ===
   Keeps existing text and layout unchanged; shows the entire hero image.
*/
.hero, .hero-section, .hero-banner, .hero-container, header.hero-section {
  background-image: url("assets/images/hero-professional-courses.png") !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size: contain !important;
}
/* Ensure hero has enough height to display the full image */
.hero, .hero-section, .hero-banner, header.hero-section {
  min-height: 520px !important;
}
@media (max-width: 768px){
  .hero, .hero-section, .hero-banner, header.hero-section{
    min-height: 420px !important;
  }
}





/* === OpenPlus: Pin 'Receive Your Recommendations' form to hero right corner === */
.hero-overlay{
  /* keep current layout but align to top so the form sits in the corner */
  align-items: flex-start !important;
}

/* On desktop/tablet: force form to top-right corner inside hero */
.hero-form{
  position: absolute !important;
  top: 160px !important;
  right: 30px !important;
  left: auto !important;
  margin: 0 !important;
  z-index: 5;
}

/* Give the left text space so it doesn't go under the form */
.hero-left{
  max-width: calc(100% - 290px);
}

/* On small screens: stack naturally (avoid overlapping/off-screen) */
@media (max-width: 768px){
  .hero-form{
    position: static !important;
    width: min(360px, 100%);
    margin-top: 18px !important;
  }
  .hero-left{
    max-width: 100% !important;
  }
}




/* === OpenPlus FINAL FIX: push recommendation form below top menus (NO OTHER CHANGES) === */
.hero-form{
  top: 240px !important;   /* pulled down well below black menu */
}




/* === OpenPlus FIX: restore hero text position (down-middle-left) === */
.hero-overlay{
  align-items: flex-end !important;
}

.hero-left{
  max-width: 620px !important;
  margin-bottom: 40px !important;
}




/* === OpenPlus FINAL: hero text center-left & black === */
.hero-overlay{
  align-items: center !important; /* vertical center */
}

.hero-left{
  margin-bottom: 0 !important;
  align-self: center !important;
}

.hero-left h1,
.hero-left p{
  color: #000000 !important;
}




/* === OpenPlus FINAL: pull Receive Your Recommendations form further down === */
.hero-form{
  top: 300px !important; /* pushed clearly below all menus */
}




/* === OpenPlus FINAL TUNE: pull form up slightly (balanced) === */
.hero-form{
  top: 260px !important; /* fine-tuned position */
}


/* ==========================
   MORE INFO PAGE (Course Details)
   Added without disturbing other pages
   ========================== */

.mi-page{background:#fff;}
.mi-breadcrumb{max-width:1100px;margin:0 auto;padding:10px 12px;font-size:13px;color:#222;display:flex;align-items:center;gap:6px;}
.mi-home{font-size:14px;}
.mi-crumb{opacity:.9;}

.mi-hero{background:var(--red2);}
.mi-hero-inner{max-width:1100px;margin:0 auto;padding:38px 12px;display:grid;grid-template-columns:1fr 320px;gap:24px;align-items:start;}
.mi-hero-left h1{margin:0 0 10px 0;color:#fff;font-size:40px;line-height:1.05;letter-spacing:.2px;}
.mi-sub{margin:0 0 18px 0;color:#fff;opacity:.95;max-width:640px;font-size:14px;line-height:1.45;}
.mi-offered{margin-top:8px;color:#fff;font-size:12px;}
.mi-offered-label{opacity:.85;margin-bottom:2px;}
.mi-offered-name{font-weight:800;}

.mi-hero-right{display:flex;flex-direction:column;align-items:flex-end;gap:10px;}
.mi-wishlist{border:1px solid rgba(255,255,255,.7);background:transparent;color:#fff;border-radius:20px;padding:6px 12px;font-size:12px;cursor:pointer;}
.mi-wishlist:hover{background:rgba(255,255,255,.12);}

.mi-buybox{width:260px;background:#f3b000;border-radius:2px;overflow:hidden;box-shadow:0 8px 20px rgba(0,0,0,.15);}
.mi-buybtn{padding:12px 12px;text-align:center;font-weight:900;color:#111;font-size:13px;cursor:pointer;user-select:none;}
.mi-buybtn:hover{filter:brightness(1.03)}
.mi-buybtn.mi-addcart{background:var(--red);color:#fff;}
.mi-buybtn.mi-addcart:hover{filter:brightness(1.08)}
.mi-price{padding:0 12px 12px 12px;text-align:center;font-weight:900;color:#d20b2f;font-size:14px;}

.mi-body{max-width:1100px;margin:0 auto;padding:18px 12px 8px 12px;display:grid;grid-template-columns:1fr 360px;gap:24px;align-items:start;}

.mi-tabs{display:flex;gap:22px;border-bottom:1px solid #e6e6e6;margin-bottom:14px;}
.mi-tab{appearance:none;border:0;background:transparent;padding:10px 0;font-size:13px;cursor:pointer;color:#222;}
.mi-tab.active{color:#b0002a;font-weight:800;border-bottom:3px solid #b0002a;margin-bottom:-2px;}

.mi-text{margin:0;color:#333;font-size:12.8px;line-height:1.7;max-width:740px;}

/* Additional Information content blocks (match template layout) */
.mi-divider{height:1px;background:#ececec;margin:18px 0;}
.mi-subhead{margin:0 0 8px;font-size:13.5px;font-weight:900;color:#1f1f1f;}
.mi-bullets{margin:0 0 18px 18px;padding:0;color:#222;font-size:12.8px;line-height:1.55;}
.mi-bullets li{margin:6px 0;}

.mi-info-grid{display:grid;gap:10px;max-width:520px;}
.mi-info-row{display:flex;justify-content:space-between;border-bottom:1px solid #f0f0f0;padding:8px 0;font-size:12.8px;color:#222;}
.mi-info-row span{opacity:.85;}
.mi-info-row strong{font-weight:800;}

.mi-sidecard{background:#fff;border:1px solid #eee;box-shadow:0 8px 20px rgba(0,0,0,.08);}
.mi-imgwrap{height:185px;background:#f6f6f6;display:flex;align-items:center;justify-content:center;}
.mi-imgwrap img{width:100%;height:100%;object-fit:cover;display:block;}
.mi-side-meta{padding:10px 12px;border-top:1px solid #eee;border-bottom:1px solid #eee;}
.mi-meta-row{display:flex;justify-content:space-between;font-size:12px;}
.mi-meta-row strong{font-weight:900;}
.mi-side-buy{width:100%;border:0;background:var(--red2);color:#fff;font-weight:900;padding:12px 14px;cursor:pointer;}
.mi-side-buy:hover{filter:brightness(1.05);}

.mi-similar{background:#efefef;margin-top:26px;padding:28px 0 34px 0;}
.mi-similar-head{max-width:1100px;margin:0 auto;padding:0 12px 16px 12px;text-align:center;}
.mi-similar-kicker{font-size:12px;color:#777;margin-bottom:2px;}
.mi-similar-head h2{margin:0;font-size:28px;}

.mi-similar-grid{max-width:1100px;margin:0 auto;padding:0 12px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}

/* Similar cards mimic existing course-card style but tighter */
.mi-similar-grid .course-card{box-shadow:0 10px 20px rgba(0,0,0,.12);}
.mi-similar-grid .course-body{padding:12px 14px;}
.mi-similar-grid .course-title{font-size:12.5px;}
.mi-similar-grid .course-desc{font-size:11.5px;}

@media (max-width: 1100px){
  .mi-hero-inner{grid-template-columns:1fr;}
  .mi-hero-right{align-items:flex-start;}
  .mi-body{grid-template-columns:1fr;}
  .mi-similar-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width: 600px){
  .mi-similar-grid{grid-template-columns:1fr;}
  .mi-hero-left h1{font-size:30px;}
}

/* =============================
   START LEARNING mini cards (reused on Professional Homepage - left side under filters)
   - Added without touching existing layouts
   - Uses the same OpenPlus palette and "typed" HTML for easy edits
============================= */

.pc-sidecards{margin-top:14px;display:flex;flex-direction:column;gap:12px;}

/* Local variables for the small cards only (keeps the rest of the site unchanged) */
.pc-sidecards{
  --op-red:#8b0000;
  --text:#1b1f24;
  --muted:#5b6773;
  --border:#e3e8ee;
  --shadow:0 10px 24px rgba(16,24,40,.08);
  --r:14px;
}

.pc-sidecards .sl-card{background:#fff;border:1px solid var(--border);border-radius:var(--r);box-shadow:var(--shadow);}
.pc-sidecards .sl-muted{color:var(--muted);} 
.pc-sidecards .sl-side-widget{padding:14px;}
.pc-sidecards .sl-side-widget h3{margin:0 0 10px;font-size:16px;color:var(--text);} 
.pc-sidecards .sl-side-actions{display:flex;flex-direction:column;gap:10px;}
.pc-sidecards .sl-side-actions .sl-btn{width:100%;}

.pc-sidecards .sl-btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:10px;border:1px solid #a8b6c8;background:#fff;color:var(--text);text-decoration:none;font-weight:900;}
.pc-sidecards .sl-btn.solid{background:#102a56;border-color:#102a56;color:#fff;}
.pc-sidecards .sl-btn:hover{filter:brightness(.98);} 

.pc-sidecards .sl-note{margin-top:10px;font-size:12px;color:var(--muted);font-weight:800;}

.pc-sidecards .sl-form{display:grid;gap:8px;margin-top:10px;}
.pc-sidecards .sl-lbl{font-size:12px;font-weight:900;color:var(--muted);} 
.pc-sidecards .sl-in{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:10px;font-weight:800;}

.pc-sidecards .sl-certmini{margin-top:12px;border:1px solid var(--border);border-radius:14px;background:#fff;box-shadow:var(--shadow);padding:12px;}
.pc-sidecards .sl-certmini-top{display:flex;gap:10px;align-items:center;margin-bottom:10px;}
.pc-sidecards .sl-certmini-seal{width:38px;height:38px;border-radius:999px;background:var(--op-red);color:#fff;display:grid;place-items:center;font-weight:1000;}
.pc-sidecards .sl-certmini-u{font-weight:1000;color:var(--text);} 
.pc-sidecards .sl-certmini-sub{font-size:12px;color:var(--muted);font-weight:900;}
.pc-sidecards .sl-certmini-body{border-top:1px solid var(--border);padding-top:10px;text-align:center;}
.pc-sidecards .sl-certmini-line{font-size:12px;color:var(--muted);font-weight:800;margin-top:6px;}
.pc-sidecards .sl-certmini-name{font-size:16px;font-weight:1000;color:var(--text);margin-top:6px;}
.pc-sidecards .sl-certmini-course{font-size:14px;font-weight:1000;color:var(--op-red);margin-top:4px;}
.pc-sidecards .sl-certmini-date{font-size:12px;color:var(--muted);margin-top:6px;font-weight:900;}
.pc-sidecards .sl-certdyn.is-locked .sl-in[readonly]{background:#fff;color:var(--text);cursor:default;}
.pc-sidecards .sl-certdyn.is-locked .sl-btn[disabled]{background:#102a56;color:#fff;border-color:#102a56;opacity:1;cursor:not-allowed;filter:none;}
.pc-sidecards .sl-certdyn.is-locked .sl-btn:not(.solid)[disabled]{background:#fff;color:var(--text);border-color:#a8b6c8;}
.pc-sidecards .sl-certdyn.is-locked .sl-form{pointer-events:none;}
.pc-sidecards .sl-certdyn.is-locked .sl-side-actions{pointer-events:none;}


.pc-login-hint{margin-top:10px;padding:10px 12px;border-radius:12px;border:1px dashed #c9d3df;background:#f8fafc;color:#334155;font-size:12px;line-height:1.5;}


/* 2nd card set (Diploma promo / App banner / Quick actions / Team learning path) */
.pc-sidecards .sl-certpromo--side{padding:14px;background:linear-gradient(180deg,#eafff6 0%, #f5fffb 55%, #ffffff 100%);}
.pc-sidecards .sl-certpromo--side h3{margin:0 0 10px;font-size:15px;color:var(--text);}
.pc-sidecards .sl-certpromo-points{display:grid;gap:10px;margin-top:6px;}
.pc-sidecards .sl-point{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:flex-start;}
.pc-sidecards .sl-point-ico{width:22px;height:22px;border-radius:999px;background:#d8f7ea;display:grid;place-items:center;font-size:12px;}
.pc-sidecards .sl-point-title{font-weight:1000;color:var(--text);font-size:13px;margin-bottom:2px;}

.pc-sidecards .sl-app{border:1px solid var(--border);border-radius:var(--r);background:#f5fbff;box-shadow:var(--shadow);padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;}
.pc-sidecards .sl-app-left{display:flex;gap:10px;align-items:center;}
.pc-sidecards .sl-app-ill{width:34px;height:34px;border-radius:10px;background:#dbeafe;border:1px solid #c7dcff;}
.pc-sidecards .sl-app-title{font-size:12px;font-weight:900;color:#0f172a;line-height:1.25;}
.pc-sidecards .sl-app-right{display:flex;align-items:center;gap:8px;}
.pc-sidecards .sl-x{width:30px;height:30px;border-radius:10px;border:1px solid #cbd5e1;background:#fff;font-weight:1000;cursor:pointer;}

.pc-team{position:relative;border-radius:14px;padding:12px;border:1px solid #bfe3ff;background:#e9f4ff;box-shadow:var(--shadow);}
.pc-team-x{position:absolute;top:10px;right:10px;width:28px;height:28px;border-radius:10px;border:1px solid #bcd4ea;background:#fff;font-weight:1000;cursor:pointer;}
.pc-team-title{font-weight:1000;color:#0f172a;font-size:13px;line-height:1.25;margin-bottom:8px;}
.pc-team-sub{font-size:12px;color:#334155;font-weight:800;line-height:1.25;margin-bottom:10px;}
.pc-team-actions{display:flex;flex-direction:column;gap:10px;}


/* =========================================================
   More-Info Academics & Policies (Step A) — safe add-on
   ========================================================= */
.mi-acad-grid{display:grid;gap:14px}
.mi-acad-section{border:1px solid var(--line);border-radius:12px;background:#fff;padding:14px}
.mi-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mi-instructor{display:grid;grid-template-columns:56px 1fr;gap:12px;align-items:start;margin-top:10px}
.mi-avatar{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,var(--gray),#ffffff);border:1px solid var(--line)}
.mi-instructor-name{font-size:16px;font-weight:700}
.mi-instructor-title{font-size:13px;color:#444;margin-top:2px}
.mi-kv{display:grid;gap:8px;margin-top:10px}
.mi-kv-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:8px 10px;border:1px dashed var(--line);border-radius:10px;background:#fafafa}
.mi-kv-row span{color:#555;font-size:12px}
.mi-kv-row strong{font-size:12px;color:#111;text-align:right}
.mi-actions-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}

.mi-btn{background:var(--red2);color:#fff;border:1px solid var(--red2);border-radius:10px;padding:9px 12px;font-weight:700;cursor:pointer}
.mi-btn:hover{filter:brightness(.98)}
.mi-btn:active{transform:translateY(1px)}
.mi-btn-outline{background:#fff;color:var(--red2);border:1px solid var(--red2)}
.mi-link-btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:10px;border:1px solid var(--line);text-decoration:none;font-weight:700;background:#fff}
.mi-link-btn:hover{border-color:var(--red2);color:var(--red2)}
.mi-link-btn.is-disabled{opacity:.55;cursor:not-allowed}

.mi-docs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.mi-doc{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;text-decoration:none;background:#fff}
.mi-doc:hover{border-color:var(--red2);box-shadow:0 8px 18px rgba(0,0,0,.08)}
.mi-doc:after{content:"↗";color:var(--red2);font-weight:800}

.mi-outcomes-map{display:grid;gap:10px}
.mi-outcome-row{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:10px;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff}
.mi-outcome-title{font-weight:800}
.mi-mini-label{font-size:11px;color:#555;margin-bottom:6px}
.mi-pill-row{display:flex;flex-wrap:wrap;gap:6px}
.mi-pill{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;border:1px solid var(--line);background:#fafafa;font-size:12px}

.mi-rulebox{background:#fff}
.mi-rules{margin:8px 0 0;padding-left:18px}
.mi-qa{background:#fff}
.mi-qa-list{margin:8px 0 0;padding-left:18px}

.mi-note{margin-top:10px;padding:10px 12px;border-radius:12px;border:1px solid #e5d3d3;background:#fff5f5;color:#4a0d0f;font-weight:700}

.mi-accordion{display:grid;gap:8px;margin-top:10px}
.mi-acc-item{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.mi-acc-btn{width:100%;text-align:left;padding:12px 12px;background:#fff;border:0;font-weight:800;cursor:pointer}
.mi-acc-btn[aria-expanded="true"]{background:#fafafa}
.mi-acc-panel{padding:12px;border-top:1px solid var(--line);color:#222;line-height:1.5}

.mi-modal{position:fixed;inset:0;z-index:9999}
.mi-modal[hidden]{display:none}
.mi-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.mi-modal-dialog{position:relative;margin:6vh auto 0;max-width:720px;width:calc(100% - 24px);background:#fff;border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
.mi-modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line)}
.mi-modal-title{margin:0;font-size:16px}
.mi-modal-close{border:0;background:#fff;font-size:22px;line-height:1;cursor:pointer;color:#333}
.mi-modal-body{padding:14px;max-height:60vh;overflow:auto}
.mi-modal-foot{padding:12px 14px;border-top:1px solid var(--line);display:flex;justify-content:flex-end}

.mi-quiz{display:grid;gap:12px;margin-top:10px}
.mi-quiz-q{border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff}
.mi-quiz-title{font-weight:800;margin-bottom:8px}
.mi-radio{display:flex;align-items:center;gap:8px;padding:6px 0}
.mi-radio input{accent-color:var(--red2)}
.mi-quiz-foot{display:flex;justify-content:flex-end;margin-top:6px}

@media (max-width:720px){
  .mi-docs{grid-template-columns:1fr}
  .mi-outcome-row{grid-template-columns:1fr}
  .mi-instructor{grid-template-columns:1fr}
}

/* =============================
   Step B: Technology-enhanced pages
   Safe additions only (no existing overrides)
   ============================= */

.pc-shell{max-width:1120px;margin:0 auto;padding:18px 14px;}
.pc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0 14px;}
.pc-head h1{margin:0;font-size:26px;}
.pc-muted{color:#6b6b6b;font-size:13px;line-height:1.4;}

.pc-grid{display:grid;grid-template-columns:360px 1fr;gap:14px;}
@media (max-width: 980px){.pc-grid{grid-template-columns:1fr;}}

.pc-card{background:#fff;border:1px solid #e8e8e8;border-radius:12px;box-shadow:0 10px 18px rgba(0,0,0,.05);padding:14px;}
.pc-card h2{margin:0 0 10px;font-size:18px;}

.pc-form label{display:block;font-size:13px;margin:10px 0 6px;}
.pc-form input,.pc-form select{width:100%;padding:10px;border:1px solid #d8d8d8;border-radius:10px;outline:none;}
.pc-form input:focus,.pc-form select:focus{border-color:#890505;box-shadow:0 0 0 3px rgba(137,5,5,.12);}

.pc-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;}
@media (max-width: 600px){.pc-row{grid-template-columns:1fr;}}

.pc-btn{background:#890505;color:#fff;border:none;border-radius:10px;padding:10px 12px;font-weight:700;cursor:pointer;}
.pc-btn:hover{filter:brightness(.95);} 
.pc-btn.outline{background:#fff;color:#890505;border:1px solid #890505;}

.pc-results{display:flex;flex-direction:column;gap:12px;}
.pc-top5{display:grid;grid-template-columns:1fr;gap:10px;}
.pc-rec{border:1px solid #efefef;border-radius:12px;padding:12px;}
.pc-rec-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
.pc-rec-title strong{font-size:15px;}
.pc-pillrow{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0;}
.pc-pill{display:inline-flex;align-items:center;gap:6px;background:#f7f7f7;border:1px solid #eee;border-radius:999px;padding:6px 10px;font-size:12px;}
.pc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
.pc-linkbtn{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #dcdcdc;border-radius:10px;padding:9px 12px;color:#111;text-decoration:none;font-weight:700;}
.pc-linkbtn:hover{border-color:#890505;}

.pc-roadmap{border-top:1px solid #f0f0f0;margin-top:12px;padding-top:12px;}
.pc-road-steps{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px;}
.pc-step{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border:1px solid #efefef;border-radius:12px;padding:12px;background:#fff;}
.pc-step .pc-meta{display:flex;flex-direction:column;gap:4px;}
.pc-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(137,5,5,.08);border:1px solid rgba(137,5,5,.25);color:#890505;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800;}

.pc-progress{height:10px;background:#f1f1f1;border-radius:999px;overflow:hidden;border:1px solid #eee;}
.pc-progress > div{height:100%;background:#890505;width:0%;}

.pc-table{width:100%;border-collapse:collapse;margin-top:10px;}
.pc-table th,.pc-table td{border-bottom:1px solid #f0f0f0;padding:9px 8px;text-align:left;font-size:13px;}
.pc-table th{color:#333;font-weight:800;}

/* Simple bar chart */
.pc-bars{display:grid;grid-template-columns:1fr;gap:10px;margin-top:10px;}
.pc-bar{display:grid;grid-template-columns:160px 1fr 52px;gap:10px;align-items:center;}
@media (max-width: 520px){.pc-bar{grid-template-columns:1fr;}}
.pc-bar .label{font-weight:700;font-size:13px;}
.pc-bar .rail{height:12px;border-radius:999px;background:#f1f1f1;border:1px solid #eee;overflow:hidden;}
.pc-bar .rail > div{height:100%;background:#890505;width:0%;}
.pc-bar .val{font-size:12px;color:#555;text-align:right;}

/* Verify */
.pc-verify{display:grid;grid-template-columns:1fr 220px;gap:12px;align-items:start;}
@media (max-width: 760px){.pc-verify{grid-template-columns:1fr;}}
.pc-qr{width:220px;height:220px;border:1px solid #eee;border-radius:14px;background:#fff;display:flex;align-items:center;justify-content:center;}
.pc-status{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;border:1px solid #eee;background:#f7f7f7;}
.pc-status.valid{color:#0a6d2a;border-color:rgba(10,109,42,.25);background:rgba(10,109,42,.06);} 
.pc-status.invalid{color:#7b0b0b;border-color:rgba(123,11,11,.25);background:rgba(123,11,11,.06);} 
.pc-status.revoked{color:#6b4f00;border-color:rgba(107,79,0,.25);background:rgba(107,79,0,.08);} 

/* Step B additions inside Course Details modal */
.mi-preview{display:flex;flex-direction:column;gap:10px;}
.mi-preview-badge{display:inline-flex;align-self:flex-start;background:rgba(137,5,5,.1);border:1px solid rgba(137,5,5,.25);color:#890505;border-radius:999px;padding:5px 10px;font-weight:800;font-size:12px;}
.mi-preview-card{border:1px solid #eee;border-radius:12px;padding:12px;background:#fff;}
.mi-muted{color:#6b6b6b;font-size:13px;}

.mi-quiz{display:flex;flex-direction:column;gap:10px;}
.mi-quiz-form{display:flex;flex-direction:column;gap:12px;}
.mi-quiz-item{border:1px solid #eee;border-radius:12px;padding:12px;}
.mi-quiz-q{font-weight:800;margin-bottom:8px;}
.mi-quiz-opts{display:flex;flex-direction:column;gap:8px;}
.mi-quiz-opt{display:flex;gap:10px;align-items:flex-start;font-size:13px;}
.mi-quiz-opt input{margin-top:3px;}
.mi-quiz-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;}
.mi-quiz-result{font-weight:800;color:#890505;}

.mi-session-list{display:flex;flex-direction:column;gap:10px;margin-top:10px;}
.mi-session{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #eee;border-radius:12px;padding:12px;background:#fff;}
.mi-session-title{font-weight:800;}
.mi-cohort-card{border:1px solid #eee;border-radius:12px;padding:12px;background:#fff;}
.mi-roadmini{margin-top:10px;border:1px dashed #e2e2e2;border-radius:12px;padding:12px;background:#fafafa;font-size:13px;}


/* === OpenPlus fix: prevent horizontal scroll (safe, non-invasive) === */
html, body { max-width: 100%; overflow-x: hidden; }
* { box-sizing: border-box; }

/* === Dead-click guard (Step C) === */
.dc-toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.3;
  max-width: min(520px, calc(100vw - 24px));
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.dc-toast.show{ opacity: 1; }


/* ===== Step D additions (career panel, verified reviews, docs table) ===== */

.mi-career-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media(max-width:900px){.mi-career-grid{grid-template-columns:1fr}}
.mi-career-card{border:1px solid #e6e6e6;border-radius:12px;padding:12px;background:#fff}
.mi-career-h{font-weight:700;margin-bottom:8px}
.mi-pill-wrap{display:flex;flex-wrap:wrap;gap:8px}
.mi-pill{display:inline-block;padding:6px 10px;border-radius:999px;background:#f2f2f2;font-size:12px}
.mi-review{border:1px solid #e6e6e6;border-radius:12px;padding:12px;background:#fff;margin-top:10px}
.mi-review-head{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.mi-stars{letter-spacing:1px}
.mi-badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#890505;color:#fff;font-size:12px}
.mi-review-form .mi-input{width:100%;border:1px solid #ddd;border-radius:10px;padding:10px}
.mi-review-grid{display:grid;grid-template-columns:160px 1fr;gap:12px}
@media(max-width:900px){.mi-review-grid{grid-template-columns:1fr}}
.doc-page{max-width:980px;margin:0 auto;padding:18px}
.doc-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-bottom:12px}
.doc-body{background:#fff;border:1px solid #eee;border-radius:14px;padding:16px}
.doc-table{width:100%;border-collapse:collapse;margin-top:14px}
.doc-table th,.doc-table td{border:1px solid #eee;padding:10px;vertical-align:top}
.doc-note{margin-top:12px;border-left:4px solid #890505;padding-left:12px}
.lang-switch .btn{padding:8px 10px}


/* === STEP 1 public storefront foundation === */
.auth-gateway{padding:42px 24px 24px;background:linear-gradient(180deg,#f7f7f8 0%,#fff 100%);}
.auth-shell{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:start;}
.auth-copy h1{margin:8px 0 12px;font-size:40px;line-height:1.14;color:#161616;}
.auth-copy p{font-size:17px;line-height:1.7;color:#414141;margin:0 0 18px;}
.auth-eyebrow,.value-kicker{display:inline-block;background:#f4e7e7;color:#890505;border:1px solid rgba(137,5,5,.15);padding:7px 12px;border-radius:999px;font-weight:800;font-size:12px;letter-spacing:.06em;text-transform:uppercase;}
.auth-benefits{display:grid;gap:14px;margin-top:20px;}
.auth-benefit{background:#fff;border:1px solid #eee;border-radius:18px;padding:16px 18px;box-shadow:0 10px 24px rgba(0,0,0,.04);}
.auth-benefit strong{display:block;color:#111;margin-bottom:6px;}
.auth-benefit span{display:block;color:#555;line-height:1.6;}
.auth-card{background:#fff;border:1px solid #ece7e7;border-radius:26px;padding:28px;box-shadow:0 18px 40px rgba(0,0,0,.08);}
.auth-card-head h2{margin:0 0 8px;font-size:28px;color:#111;}
.auth-card-head p{margin:0 0 18px;color:#555;line-height:1.6;}
.auth-form{display:grid;gap:14px;}
.auth-form label{display:grid;gap:8px;color:#222;font-weight:700;}
.auth-form input{height:48px;border:1px solid #d7d7d7;border-radius:14px;padding:0 14px;font-size:15px;}
.auth-submit{height:50px;border-radius:14px;font-weight:800;}
.auth-divider{position:relative;text-align:center;margin:18px 0;}
.auth-divider:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:#e8e8e8;}
.auth-divider span{position:relative;background:#fff;padding:0 12px;color:#777;}
.auth-socials{display:grid;gap:10px;}
.auth-social,.auth-org-btn{height:48px;border-radius:14px;border:1px solid #ddd;background:#fff;font-weight:700;cursor:pointer;}
.auth-google:hover,.auth-facebook:hover,.auth-apple:hover,.auth-org-btn:hover{border-color:#890505;box-shadow:0 8px 18px rgba(137,5,5,.08);}
.auth-links-row,.auth-footer-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px;}
.auth-links-row a{color:#890505;font-weight:700;text-decoration:none;}
.auth-note{margin:18px 0 0;color:#666;line-height:1.6;font-size:14px;}
.auth-bottom-strip{max-width:1200px;margin:0 auto 36px;display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0 24px;}
.auth-bottom-card{background:#111;color:#fff;border-radius:22px;padding:22px;}
.auth-bottom-card h3{margin:0 0 8px;font-size:20px;}
.auth-bottom-card p{margin:0;color:rgba(255,255,255,.82);line-height:1.6;}
.value-blocks-section{padding-top:18px;padding-bottom:42px;}
.value-section-head{max-width:880px;margin:0 auto 24px;text-align:center;}
.value-section-head h2{margin:10px 0 12px;font-size:34px;color:#111;}
.value-section-head p{margin:0 auto;color:#555;line-height:1.7;font-size:17px;}
.value-grid,.career-path-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;max-width:1200px;margin:0 auto;}
.career-path-grid{margin-top:18px;}
.value-card,.career-path-card{background:#fff;border:1px solid #ece7e7;border-radius:22px;padding:22px;box-shadow:0 12px 30px rgba(0,0,0,.04);}
.value-card h3{margin:0 0 10px;color:#111;}
.value-card p,.career-path-card p{margin:0;color:#555;line-height:1.65;}
.career-path-card span{display:block;color:#890505;font-weight:800;font-size:12px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:8px;}
.career-path-card strong{display:block;font-size:22px;color:#111;margin-bottom:10px;}
.public-helper-card{border-color:#ecdede;background:linear-gradient(180deg,#fff 0%,#fdf6f6 100%);}
.public-helper-list{margin:0;padding-left:18px;color:#444;display:grid;gap:8px;line-height:1.55;}
.course-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:10px 0 12px;}
.course-meta-item{font-size:12px;line-height:1.45;color:#444;background:#f7f7f8;border-radius:10px;padding:8px 10px;border:1px solid #ececec;}
.course-meta-item strong{display:block;color:#111;font-size:11px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:2px;}
.course-provider{font-size:12px;color:#890505;font-weight:800;letter-spacing:.02em;margin-bottom:8px;}
.course-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.course-actions + div{margin-top:8px;}
.btn.buy-now{background:#890505;color:#fff;border-color:#890505;}
.btn.plan-cta{background:#0d63d6;color:#fff;border-color:#0d63d6;}
.btn.details-cta{background:#fff;color:#111;}
.nav .nav-link[href="buy-course.html"]{font-weight:800;}
@media (max-width: 980px){.auth-shell,.auth-bottom-strip,.value-grid,.career-path-grid{grid-template-columns:1fr 1fr;}.auth-copy h1{font-size:34px;}}
@media (max-width: 720px){.auth-shell,.auth-bottom-strip,.value-grid,.career-path-grid{grid-template-columns:1fr;}.auth-gateway{padding-left:16px;padding-right:16px;}.auth-card{padding:22px;}.value-section-head h2{font-size:28px;}}

.btn.enroll-free{background:#000;color:#fff;border-color:#000;}
.btn.enroll-free:hover{background:#111;border-color:#111;}
.sl-uni-badge{font-size:10px;line-height:1.15;text-align:center;padding:8px;}


/* === Certificate & Verification System === */
.cv-shell{max-width:1180px;margin:0 auto;padding:28px 16px 42px;display:grid;gap:18px}
.cv-hero{background:linear-gradient(135deg,#fff 0%,#f9f2f2 100%);border:1px solid #eadede;border-radius:22px;padding:24px;box-shadow:0 12px 28px rgba(0,0,0,.05)}
.cv-kicker{display:inline-flex;align-items:center;gap:8px;background:rgba(137,5,5,.08);border:1px solid rgba(137,5,5,.18);color:#890505;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.cv-hero h1{margin:12px 0 10px;font-size:34px;color:#111}
.cv-hero p{margin:0;max-width:860px;color:#505050;line-height:1.7}
.cv-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}
.cv-card{background:#fff;border:1px solid #e9e9e9;border-radius:18px;padding:18px;box-shadow:0 10px 24px rgba(0,0,0,.04)}
.cv-card h2,.cv-card h3{margin:0 0 10px;color:#111}
.cv-card p{margin:0;color:#555;line-height:1.65}
.cv-stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.cv-stat{background:#fff;border:1px solid #ececec;border-radius:18px;padding:16px}
.cv-stat strong{display:block;font-size:22px;color:#111;margin-bottom:4px}
.cv-stat span{display:block;font-size:12px;color:#666;line-height:1.45}
.cv-list{margin:10px 0 0;padding-left:18px;color:#444;display:grid;gap:8px;line-height:1.6}
.cv-mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.cv-note{border-left:4px solid #890505;padding-left:12px;margin-top:10px;color:#555;line-height:1.6}
.cv-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.cv-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#f7f7f8;border:1px solid #ececec;font-size:12px;font-weight:700;color:#333}
.cv-band{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.cv-band article{background:#fff;border:1px solid #ececec;border-radius:16px;padding:14px}
.cv-band h3{font-size:15px;margin:0 0 6px}
.cv-band p{font-size:13px;line-height:1.6}
.cv-table{width:100%;border-collapse:collapse;margin-top:8px}
.cv-table th,.cv-table td{padding:10px 8px;border-bottom:1px solid #efefef;text-align:left;font-size:13px;vertical-align:top}
.cv-table th{font-weight:800;color:#222}
.cv-steps{display:grid;gap:10px;margin-top:10px}
.cv-step{display:flex;gap:12px;align-items:flex-start;border:1px solid #ececec;border-radius:16px;padding:12px;background:#fff}
.cv-step-no{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#890505;color:#fff;font-weight:800;flex:0 0 32px}
.cv-step strong{display:block;color:#111;margin-bottom:4px}
.cv-verify-layout{display:grid;grid-template-columns:1fr 300px;gap:16px;align-items:start}
.cv-formbox{background:#fff;border:1px solid #ececec;border-radius:18px;padding:18px}
.cv-formbox .pc-form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.cv-support{background:#f8f8f8;border:1px dashed #ddd;border-radius:16px;padding:14px}
.cv-result-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.cv-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cv-result-item{background:#fafafa;border:1px solid #efefef;border-radius:12px;padding:10px}
.cv-result-item span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#6b6b6b;margin-bottom:4px}
.cv-result-item strong{display:block;color:#111;line-height:1.45}
.cv-cert-preview{border:1px solid #ece3c6;background:linear-gradient(180deg,#fffef7 0%,#fff 100%);border-radius:18px;padding:18px;text-align:center;position:relative;overflow:hidden}
.cv-cert-preview:before{content:"";position:absolute;inset:10px;border:2px solid rgba(137,5,5,.12);border-radius:14px;pointer-events:none}
.cv-cert-mark{display:inline-flex;align-items:center;gap:8px;background:rgba(137,5,5,.08);color:#890505;border:1px solid rgba(137,5,5,.18);border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}
.cv-cert-preview h3{margin:14px 0 8px;font-size:24px}
.cv-cert-preview p{margin:0;color:#555;line-height:1.65}
.cv-cert-name{font-size:24px;font-weight:800;color:#111;margin:14px 0 8px}
.cv-cert-course{font-size:18px;font-weight:700;color:#890505;margin:6px 0 10px}
.cv-cert-foot{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;text-align:left}
.cv-cert-foot div{font-size:12px;color:#555}
.cv-cert-foot strong{display:block;color:#111;margin-bottom:4px}
.cv-empty{padding:16px;border:1px dashed #d8d8d8;border-radius:14px;background:#fafafa;color:#555;line-height:1.6}
.cv-modal{position:fixed;inset:0;z-index:9999}
.cv-modal[hidden]{display:none}
.cv-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.cv-modal-dialog{position:relative;margin:18px auto 0;max-width:860px;width:calc(100% - 24px);background:#fff;border-radius:18px;box-shadow:0 18px 44px rgba(0,0,0,.2);overflow:hidden}
.cv-modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid #ededed}
.cv-modal-head h3{margin:0;font-size:16px}
.cv-modal-close{width:44px;height:44px;border:1px solid #e4e4e4;border-radius:12px;background:#fff;color:#111;font-size:24px;cursor:pointer;font-weight:800}
.cv-modal-body{padding:16px;max-height:70vh;overflow:auto}
.cv-modal-grid{display:grid;gap:12px}
.cv-modal-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cv-modal label{display:grid;gap:6px;font-weight:700;color:#222}
.cv-modal input,.cv-modal select,.cv-modal textarea{width:100%;border:1px solid #d9d9d9;border-radius:12px;padding:12px 14px;font:inherit;color:#111;background:#fff}
.cv-modal textarea{min-height:110px;resize:vertical}
.cv-modal-foot{display:flex;gap:10px;flex-wrap:wrap;padding:0 16px 16px}
.cv-modal .btn.primary{background:#890505;border-color:#890505}
.cv-modal .btn.dark{background:#111;border-color:#111}
@media (max-width:980px){.cv-grid,.cv-verify-layout,.cv-band,.cv-stat-grid{grid-template-columns:1fr 1fr}.cv-band{grid-template-columns:1fr 1fr}}
@media (max-width:760px){.cv-grid,.cv-verify-layout,.cv-stat-grid,.cv-mini-grid,.cv-cert-foot,.cv-result-grid,.cv-band,.cv-modal-row{grid-template-columns:1fr}.cv-hero h1{font-size:28px}}


/* Certificate Analytics & Reporting */
.cra-shell{max-width:1200px;margin:0 auto;padding:28px 16px 48px;display:grid;gap:18px}
.cra-hero,.cra-card,.cra-stat,.cra-access{background:#fff;border:1px solid #eadede;border-radius:18px;box-shadow:0 10px 26px rgba(0,0,0,.05)}
.cra-hero{padding:24px}.cra-kicker{display:inline-flex;align-items:center;gap:8px;background:rgba(137,5,5,.08);border:1px solid rgba(137,5,5,.16);color:#890505;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.cra-hero h1{margin:12px 0 8px;font-size:34px;color:#111}.cra-hero p{margin:0;max-width:860px;color:#565656;line-height:1.7}
.cra-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.cra-actions .btn.is-disabled{pointer-events:none;opacity:.55}
.cra-access{padding:16px 18px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;color:#5a5252}.cra-access strong{color:#111}
.cra-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.cra-stat{padding:16px}.cra-stat strong{display:block;font-size:28px;line-height:1.1;color:#890505}.cra-stat span{display:block;margin-top:8px;font-weight:800;color:#1e1e1e}.cra-stat small{display:block;margin-top:5px;color:#666;line-height:1.45}
.cra-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.cra-wide{grid-column:auto}.cra-card{padding:18px}.cra-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.cra-card-head h2{margin:0 0 5px;color:#111}.cra-card-head p{margin:0;color:#666;line-height:1.6}.cra-chip{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;background:#f7f4f4;border:1px solid #e6dede;color:#5e5252;font-weight:800;font-size:12px}
.cra-chart-list,.cra-stack,.cra-rank-list,.cra-note-list{display:grid;gap:12px}.cra-bar-row{display:grid;grid-template-columns:110px 1fr 40px;gap:10px;align-items:center}.cra-bar-row span,.cra-bar-row strong{font-size:13px;color:#333}.cra-bar-track,.cra-stack-track{height:14px;border-radius:999px;background:#f1eded;overflow:hidden;position:relative}.cra-bar-fill,.cra-stack-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#890505 0%,#b84747 100%)}
.cra-stack-row{display:grid;gap:6px}.cra-stack-top{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.cra-stack-top strong{color:#111}.cra-stack-top span{font-size:13px;color:#666}
.cra-rank-item{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:flex-start;padding:12px;border:1px solid #efe7e7;border-radius:14px;background:#fcfbfb}.cra-rank-no{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#111;color:#fff;font-weight:800}.cra-rank-item strong{display:block;color:#111}.cra-rank-item small{display:block;margin-top:4px;color:#666;line-height:1.5}
.cra-note{padding:14px;border:1px solid #efe7e7;border-radius:14px;background:#fcfbfb}.cra-note strong{display:block;color:#111;margin-bottom:6px}.cra-note p{margin:0;color:#666;line-height:1.6}
.cra-table-wrap{overflow:auto}.cra-table{width:100%;border-collapse:collapse}.cra-table th,.cra-table td{padding:11px 10px;border-bottom:1px solid #eee7e7;text-align:left;vertical-align:top}.cra-table th{font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:#6f6666}.cra-empty{padding:16px;border:1px dashed #d7cece;border-radius:14px;background:#faf9f9;color:#5f5757;line-height:1.6}
@media (max-width:1080px){.cra-stats{grid-template-columns:repeat(3,1fr)}.cra-grid{grid-template-columns:1fr}}
@media (max-width:760px){.cra-stats{grid-template-columns:1fr 1fr}.cra-hero h1{font-size:28px}.cra-bar-row{grid-template-columns:1fr}.cra-card-head{flex-direction:column}.cra-actions{display:grid}}
@media (max-width:520px){.cra-stats{grid-template-columns:1fr}}


/* Phase 3 — catalog and course-page academic upgrade */
.sl-phase3-guide{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px 22px;margin:0 0 18px;box-shadow:0 10px 28px rgba(0,0,0,.06)}
.sl-phase3-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap;margin-bottom:16px}
.sl-phase3-head h2{margin:4px 0 6px;font-size:28px;color:#1f1f1f}
.sl-phase3-head p{margin:0;color:#555;max-width:760px;line-height:1.6}
.sl-phase3-kicker{display:inline-block;background:#f8e9e9;color:#890505;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.sl-phase3-actions{display:flex;gap:10px;flex-wrap:wrap}
.sl-phase3-action{display:inline-flex;align-items:center;justify-content:center;padding:11px 14px;border:1px solid #890505;border-radius:12px;color:#890505;text-decoration:none;font-weight:700;background:#fff}
.sl-phase3-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}
.sl-phase3-card{border:1px solid #ead7d7;border-radius:16px;padding:16px;background:linear-gradient(180deg,#fff,#fcf6f6)}
.sl-phase3-card h3{margin:8px 0 6px;font-size:18px}
.sl-phase3-card p,.sl-phase3-card div{margin:0;color:#555;line-height:1.6}
.sl-phase3-tag{display:inline-block;background:#890505;color:#fff;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}
.sl-phase3-filters{display:flex;gap:10px;flex-wrap:wrap;list-style:none;padding:0;margin:0}
.sl-phase3-filters span,.sl-phase3-filters li{padding:8px 12px;border-radius:999px;background:#f5f5f5;border:1px solid #e6e6e6;font-size:13px;color:#333}

.sl-phase3-guide--sidebar{padding:16px 16px 14px;margin-top:14px}
.sl-phase3-guide--sidebar .sl-phase3-head{display:block;margin-bottom:12px}
.sl-phase3-guide--sidebar .sl-phase3-head h2{font-size:22px;line-height:1.25}
.sl-phase3-guide--sidebar .sl-phase3-head p{max-width:none;font-size:14px}
.sl-phase3-guide--sidebar .sl-phase3-actions{margin-top:12px}
.sl-phase3-guide--sidebar .sl-phase3-action{width:100%;padding:10px 12px;border-radius:10px}
.sl-phase3-guide--sidebar .sl-phase3-grid{grid-template-columns:1fr;gap:10px;margin-bottom:12px}
.sl-phase3-guide--sidebar .sl-phase3-card{padding:14px;border-radius:14px}
.sl-phase3-guide--sidebar .sl-phase3-card h3{font-size:17px}
.sl-phase3-guide--sidebar .sl-phase3-card p,.sl-phase3-guide--sidebar .sl-phase3-card div{font-size:14px;line-height:1.5}
.sl-phase3-guide--sidebar .sl-phase3-filters{gap:8px}
.sl-phase3-guide--sidebar .sl-phase3-filters span,.sl-phase3-guide--sidebar .sl-phase3-filters li{font-size:12px;padding:7px 10px}
.mi-course-snapshot{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0 14px}
.mi-snapshot-item{background:#fff;border:1px solid #ead7d7;border-radius:14px;padding:12px 14px;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.mi-snapshot-item span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#777;margin-bottom:5px}
.mi-snapshot-item strong{font-size:15px;color:#1f1f1f}
.mi-quality-panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:16px}
.mi-quality-item{background:#fff;border:1px solid #ead7d7;border-radius:14px;padding:14px 15px;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.mi-quality-item strong{display:block;margin-bottom:6px;color:#890505;font-size:15px}
.mi-quality-item span{display:block;color:#555;line-height:1.55;font-size:13px}
.mi-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}
.mi-overview-card{background:#fff;border:1px solid #ead7d7;border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.mi-overview-card h3{margin:0 0 8px;font-size:18px;color:#1f1f1f}
.mi-overview-card p{margin:0;color:#555;line-height:1.7}
.mi-curriculum-alert{margin-bottom:14px;padding:13px 15px;border-radius:14px;background:#fcf6f6;border:1px solid #ead7d7;color:#4a4a4a;line-height:1.6}
.mi-sidecard-support h3{margin-top:0;margin-bottom:10px}
.mi-side-checklist{margin:0 0 12px;padding-left:18px;color:#555;line-height:1.7}
@media (max-width: 980px){.sl-phase3-grid,.mi-quality-panel,.mi-course-snapshot{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 700px){.sl-phase3-guide{padding:16px}.sl-phase3-grid,.mi-quality-panel,.mi-course-snapshot,.mi-overview-grid{grid-template-columns:1fr}.sl-phase3-head h2{font-size:24px}}


/* Phase 5 — learner success and learning intelligence */
.op-phase5-hero{background:linear-gradient(135deg,#fff 0%,#f8efef 100%);border:1px solid rgba(137,5,5,.12);border-radius:24px;padding:24px;margin-bottom:18px;box-shadow:0 14px 30px rgba(0,0,0,.06)}
.op-phase5-kicker{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:rgba(137,5,5,.08);color:#890505;font-weight:800;font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.op-phase5-grid,.op-phase5-grid-2,.op-phase5-grid-3,.op-phase5-grid-4{display:grid;gap:16px}
.op-phase5-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.op-phase5-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.op-phase5-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.op-phase5-panel{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:20px;padding:18px;box-shadow:0 10px 24px rgba(0,0,0,.05)}
.op-phase5-panel h2,.op-phase5-panel h3{margin-top:0}
.op-phase5-stat{font-size:28px;font-weight:900;color:#111;line-height:1.1}
.op-phase5-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#666}
.op-phase5-list{display:grid;gap:10px;margin-top:12px}
.op-phase5-item{padding:12px 14px;border:1px solid rgba(0,0,0,.08);border-radius:16px;background:#fafafa}
.op-phase5-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.op-phase5-tag{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#f3f3f3;border:1px solid rgba(0,0,0,.08);font-size:12px;font-weight:700;margin:4px 6px 0 0}
.op-phase5-tag.red{background:rgba(137,5,5,.08);color:#890505;border-color:rgba(137,5,5,.15)}
.op-phase5-progress{height:10px;background:#ececec;border-radius:999px;overflow:hidden}
.op-phase5-progress > span{display:block;height:100%;background:#890505;border-radius:999px}
.op-phase5-timeline{display:grid;gap:12px;position:relative}
.op-phase5-step{position:relative;padding:14px 14px 14px 42px;border:1px solid rgba(0,0,0,.08);border-radius:18px;background:#fff}
.op-phase5-step:before{content:'';position:absolute;left:18px;top:18px;width:12px;height:12px;border-radius:50%;background:#890505;box-shadow:0 0 0 4px rgba(137,5,5,.12)}
.op-phase5-empty{padding:18px;border:1px dashed rgba(0,0,0,.16);border-radius:16px;background:#fcfcfc;color:#666}
.op-phase5-note{font-size:13px;color:#666}
.op-phase5-surface{background:#fff;border-radius:20px;padding:18px;box-shadow:0 8px 22px rgba(0,0,0,.05)}
.op-phase5-table{width:100%;border-collapse:collapse;margin-top:10px}
.op-phase5-table th,.op-phase5-table td{padding:10px 12px;border-bottom:1px solid rgba(0,0,0,.08);text-align:left;vertical-align:top}
.op-phase5-table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#666}
.op-phase5-chiprow{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
@media (max-width:980px){.op-phase5-grid-4,.op-phase5-grid-3,.op-phase5-grid-2{grid-template-columns:1fr}}


/* Phase 8 — performance and production readiness */
.op-phase8-card{border:1px solid #eadede;background:linear-gradient(180deg,#fff,#fff7f7);border-radius:18px;padding:16px 18px;box-shadow:0 10px 24px rgba(17,24,39,.05);opacity:.94;transform:translateY(8px);transition:opacity .35s ease,transform .35s ease;}
.op-phase8-card.is-visible{opacity:1;transform:none;}
.op-phase8-title{margin:0 0 6px;color:#890505;font-size:18px;line-height:1.2;}
.op-phase8-text{margin:0;color:#4b5563;line-height:1.6;font-size:14px;}
.op-phase8-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:18px;}
.op-phase8-micro{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;margin-top:12px;}
.op-phase8-micro div{padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #efe2e2;}
.op-phase8-micro strong{display:block;color:#890505;font-size:18px;line-height:1.1;}
.op-phase8-micro span{display:block;color:#4b5563;font-size:12px;line-height:1.4;margin-top:4px;}


.op-final-band{margin:18px 0 0;padding:18px 20px;border:1px solid #eadede;border-radius:20px;background:linear-gradient(135deg,#fff8f8 0%,#ffffff 100%);box-shadow:0 14px 28px rgba(17,24,39,.05)}
.op-final-band h2{margin:0 0 6px;color:#890505;font-size:22px}
.op-final-band p{margin:0;color:#4b5563;line-height:1.65}.op-final-band-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.op-final-band-grid div{padding:12px 14px;border-radius:14px;background:#faf7f7;border:1px solid #efe2e2}.op-final-band-grid strong{display:block;color:#890505;font-size:13px;margin-bottom:4px}.op-final-band-grid span{display:block;color:#4b5563;font-size:13px;line-height:1.5}@media (max-width:860px){.op-final-band-grid{grid-template-columns:1fr}}


.mi-ai-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:12px 0 10px}
.mi-ai-card{border:1px solid #e7d9d9;border-radius:14px;padding:12px 14px;background:#fff8f8}
.mi-ai-card span{display:block;font-size:.78rem;color:#6b5a5a;margin-bottom:6px;text-transform:uppercase;letter-spacing:.04em}
.mi-ai-card strong{display:block;color:#2e1a1a;font-size:.96rem;line-height:1.35}
.mi-ai-sidecard .mi-side-list{display:grid;gap:10px;font-size:.94rem;color:#423434}
.op-ai-grid-mini{gap:12px}


/* Phase 6 — multilingual and regional delivery readiness */

/* === View Details width normalization === */
.mi-page{background:#f4f4f4;padding-bottom:22px;}
.mi-hero,
.mi-body,
.mi-similar{
  max-width:1200px;
  margin-left:auto;
  margin-right:auto;
  width:calc(100% - 28px);
  border-radius:22px;
  overflow:hidden;
}
.mi-hero{margin-top:10px;box-shadow:0 10px 26px rgba(0,0,0,.06);}
.mi-body{
  margin-top:16px;
  background:#fff;
  border:1px solid #ececec;
  padding:18px 18px 12px;
  box-shadow:0 8px 22px rgba(0,0,0,.04);
}
.mi-similar{
  margin-top:18px;
  margin-bottom:10px;
  background:#efefef;
  padding:28px 0 34px;
  box-shadow:0 8px 22px rgba(0,0,0,.04);
}
@media (max-width: 700px){
  .mi-hero,
  .mi-body,
  .mi-similar{width:calc(100% - 16px);border-radius:16px;}
  .mi-body{padding:16px 12px 10px;}
}


/* Homepage welcome popup */
.op-welcome-modal{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:10px}
.op-welcome-modal[hidden]{display:none}
.op-welcome-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.52)}
.op-welcome-dialog{position:relative;width:min(440px,calc(100vw - 28px));background:#f7f7f7;border:3px solid #890505;border-radius:18px;box-shadow:0 18px 42px rgba(0,0,0,.26);padding:12px 12px 14px;overflow:visible}
.op-welcome-close{position:absolute;top:8px;right:8px;width:34px;height:34px;border:0;border-radius:11px;background:#ececec;color:#111;font-size:23px;line-height:1;cursor:pointer;font-weight:800}
.op-welcome-head{text-align:center;padding:0 38px 0 6px}
.op-welcome-head h2{margin:0;color:#890505;font-size:16px;line-height:1.1;font-weight:900}
.op-welcome-head p{margin:8px 0 0;color:#222;font-size:12px;line-height:1.28;font-weight:700}
.op-welcome-offers{margin:10px 0 12px;background:#fff;border:1px solid #dfdfdf;border-radius:13px;padding:6px 12px}
.op-welcome-offer{padding:8px 0;font-size:13px;line-height:1.25;color:#2b2b2b}
.op-welcome-offer + .op-welcome-offer{border-top:1px solid #e6e6e6}
.op-welcome-offer strong{font-weight:900;color:#111}
.op-welcome-form{display:grid;gap:8px}
.op-welcome-form input,.op-welcome-form select{width:100%;border:1px solid #d6d6d6;border-radius:13px;background:#fff;padding:10px 14px;font:inherit;font-size:12px;color:#111}
.op-welcome-phone-row{display:grid;grid-template-columns:120px 1fr;gap:8px}
.op-welcome-form button{border:0;border-radius:14px;background:#890505;color:#fff;font:inherit;font-weight:900;font-size:13px;padding:11px 16px;cursor:pointer}
.op-welcome-form button:hover{filter:brightness(.96)}
@media (max-width:640px){
  .op-welcome-modal{padding:8px}
  .op-welcome-dialog{width:min(400px,calc(100vw - 16px));padding:10px 10px 12px}
  .op-welcome-head{padding:0 34px 0 4px}
  .op-welcome-head h2{font-size:15px}
  .op-welcome-head p{font-size:11px}
  .op-welcome-offers{margin:8px 0 10px;padding:5px 10px}
  .op-welcome-offer{font-size:12px;padding:7px 0}
  .op-welcome-phone-row{grid-template-columns:110px 1fr}
  .op-welcome-form input,.op-welcome-form select{padding:9px 12px;font-size:11px}
  .op-welcome-form button{padding:10px 14px;font-size:12px}
}



/* Shared Get Started CTA card */
.op-start-cta-wrap{max-width:1200px;margin:22px auto;padding:0 18px;}
.op-start-cta{background:#fff;border:2px solid #111;border-radius:20px;overflow:hidden;box-shadow:0 14px 34px rgba(0,0,0,.08);}
.op-start-cta-head{background:#890505;color:#fff;text-align:center;padding:18px 16px 16px;}
.op-start-cta-head h2{margin:0;font-size:2rem;line-height:1.05;font-weight:900;letter-spacing:-.02em;}
.op-start-cta-body{padding:20px 18px 18px;}
.op-start-cta-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;}
.op-start-cta-item{display:grid;justify-items:center;text-align:center;gap:8px;}
.op-start-cta-btn{display:inline-flex;align-items:center;justify-content:center;min-height:58px;padding:14px 26px;border-radius:10px;border:3px solid #d8c9c9;text-decoration:none;font-weight:900;font-size:1.05rem;line-height:1.1;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);transition:transform .12s ease,filter .12s ease;}
.op-start-cta-btn:hover{transform:translateY(-1px);filter:brightness(.98);}
.op-start-cta-btn.apply{background:#890505;color:#fff;border-color:#220000;}
.op-start-cta-btn.info{background:#111;color:#fff;border-color:#220000;}
.op-start-cta-sub{margin:0;color:#444;font-size:.97rem;line-height:1.4;font-weight:600;}
.op-start-cta-wrap.compact{max-width:860px;}
.op-start-cta-wrap.compact .op-start-cta-head h2{font-size:1.7rem;}
.op-start-cta-wrap.compact .op-start-cta-body{padding:18px 16px 16px;}
@media (max-width:760px){
  .op-start-cta-wrap{padding:0 14px;}
  .op-start-cta-head h2{font-size:1.5rem;}
  .op-start-cta-actions{grid-template-columns:1fr;gap:12px;}
  .op-start-cta-btn{width:100%;}
}


.op-start-cta-wrap--side{max-width:100%;margin:12px 0 0;padding:0;}
.op-start-cta--mini{border-radius:16px;box-shadow:0 8px 22px rgba(0,0,0,.08);}
.op-start-cta--mini .op-start-cta-head{padding:12px 12px 10px;}
.op-start-cta--mini .op-start-cta-head h2{font-size:1.2rem;line-height:1.05;}
.op-start-cta--mini .op-start-cta-body{padding:12px 10px 10px;}
.op-start-cta--mini .op-start-cta-actions{gap:10px;}
.op-start-cta--mini .op-start-cta-item{gap:6px;}
.op-start-cta--mini .op-start-cta-btn{min-height:42px;padding:10px 12px;font-size:.96rem;border-radius:8px;width:100%;}
.op-start-cta--mini .op-start-cta-sub{font-size:.74rem;line-height:1.25;max-width:120px;}
@media (max-width: 1100px){
  .op-start-cta--mini .op-start-cta-actions{grid-template-columns:1fr;}
  .op-start-cta--mini .op-start-cta-sub{max-width:none;}
}


/* === Responsive upgrade patch (safe overrides) === */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas,iframe{max-width:100%;height:auto}
input,select,textarea,button{max-width:100%}
.header,.nav,.topbar,.hero,.hero-overlay,.hero-left,.hero-form,.browser,.catalog-grid,.cards,.cards.grid,.cards.list,.two-col,.cta-row,.footer-main,.auth-shell,.auth-bottom-strip,.value-grid,.career-path-grid,.mi-hero-inner,.mi-body,.mi-similar-grid,.pc-grid,.pc-row,.pc-verify{min-width:0}
table{max-width:100%}

@media (max-width:1180px){
  .header{padding-left:14px;padding-right:14px;gap:18px}
  .nav{gap:14px;flex-wrap:wrap}
  .hero-form{width:min(100%,360px)}
  .cards.grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media (max-width:980px){
  .topbar{padding:10px 14px;gap:12px;align-items:flex-start}
  .topbar-left,.topbar-right{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
  .header{flex-direction:column;align-items:flex-start;padding:12px 14px}
  .brand{width:100%}
  .nav{width:100%;justify-content:flex-start;padding:0;gap:10px 14px}
  .nav-link.nav-buycourse{margin-left:0}
  .hero,.two-col,.cta-row,.browser,.footer-main,.auth-shell,.auth-bottom-strip,.value-grid,.career-path-grid,.mi-hero-inner,.mi-body,.pc-grid,.pc-row,.pc-verify{grid-template-columns:1fr !important}
  .hero-form{width:100%;max-width:none}
  .filters{order:2}
  .catalog-tools,.toolbar,.auth-grid,.op-home-focus-grid{grid-template-columns:1fr !important}
  .cards.grid,.staff-track,.explore-grid,.value-grid,.career-path-grid,.mi-similar-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}

@media (max-width:768px){
  .topbar,.header,.section .wrap,.section-wide,.browser,.mi-breadcrumb,.mi-hero-inner,.mi-body,.mi-similar-head,.mi-similar-grid,.pc-shell,.auth-bottom-strip{padding-left:12px !important;padding-right:12px !important}
  .topbar{flex-direction:column}
  .topbar-left,.topbar-right,.nav{width:100%}
  .nav-link,.btn,.nav-link.nav-cart{min-height:44px}
  .cards.grid,.staff-track,.explore-grid,.value-grid,.career-path-grid,.mi-similar-grid,.mi-docs,.course-meta-grid{grid-template-columns:1fr !important}
  .browser-intro,.mi-sub,.mi-text,.auth-copy p{max-width:none}
  .mi-buybox,.mi-hero-side,.pc-qr,.hero-form,.subscribe-card,.ready-card{width:100%;max-width:none}
  .mi-outcome-row,.mi-review-grid,.mi-instructor,.pc-bar,.auth-shell,.auth-bottom-strip{grid-template-columns:1fr !important}
  .course-rich-description img,
  .mi-text img,
  .pc-shell img,
  .doc-page img,
  .section img[style*="float:left"],
  .section img[style*="float:right"],
  .mi-body img[style*="float:left"],
  .mi-body img[style*="float:right"]{
    float:none !important;
    display:block !important;
    width:min(100%,260px) !important;
    max-width:100% !important;
    margin:0 0 12px 0 !important;
  }
  table,.acl-table{display:block;overflow-x:auto;white-space:nowrap;width:100%}
}
