/* Short courses: a strip under News & Updates and a pop-up with the three courses starting soon. IDM colours. */
.sc-strip{padding:clamp(28px,4vw,48px) 0;background:linear-gradient(180deg,#fff,#FFFFFF)}
.sc-strip .wrap{max-width:1160px;margin:0 auto;padding:0 20px}
.sc-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-bottom:20px}
.sc-head h2{margin:0;font-size:clamp(1.3rem,2.2vw,1.7rem);color:#000000}
.sc-head p{margin:0;flex:1 1 280px;color:#000000;font-size:.95rem}
.sc-live{display:inline-flex;align-items:center;gap:8px;background:#DF9137;color:#000;border-radius:999px;padding:5px 12px;font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.sc-live i{width:8px;height:8px;border-radius:50%;background:var(--brand-primary,#307C48);animation:scPulse 1.4s ease-in-out infinite}
@keyframes scPulse{0%,100%{box-shadow:0 0 0 0 rgba(0,107,65,.55)}50%{box-shadow:0 0 0 7px rgba(0,107,65,0)}}
.sc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sc-card{display:flex;flex-direction:column;background:#fff;border:1px solid #FFFFFF;border-bottom:5px solid var(--brand-primary,#307C48);border-radius:20px;overflow:hidden;text-decoration:none;color:#000000;box-shadow:0 18px 36px -26px rgba(0,60,35,.55);transition:transform .25s,box-shadow .25s}
.sc-card:hover,.sc-card:focus-visible{transform:translateY(-3px);box-shadow:0 26px 44px -24px rgba(0,60,35,.7);outline:none}
.sc-img{display:block;aspect-ratio:1/1;background:#FFFFFF;overflow:hidden}
.sc-img img{display:block;width:100%;height:100%;object-fit:cover}
.sc-body{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px}
.sc-body b{font-size:1rem;line-height:1.3}
.sc-body small{color:#000000;font-size:.86rem}
.sc-body em{margin-top:6px;font-style:normal;color:var(--brand-primary,#307C48);font-weight:700;font-size:.9rem}
@media(max-width:900px){.sc-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.sc-grid{grid-template-columns:1fr}}

/* Business Development Unit page: live course cards */
#scLive{margin-bottom:28px}
.sc-grid-view{grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:22px}
.sc-card-v{display:flex;flex-direction:column;cursor:default}
.sc-card-v:hover{transform:translateY(-3px)}
.sc-card-v .sc-body{flex:1}
.sc-tag{align-self:flex-start;display:inline-block;background:#FFFFFF;color:var(--brand-primary,#307C48);border-radius:999px;padding:3px 10px;font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.sc-prog{height:8px;border-radius:8px;background:#FFFFFF;overflow:hidden;margin-top:6px}
.sc-prog i{display:block;height:100%;background:linear-gradient(90deg,var(--brand-primary,#307C48),#DF9137);border-radius:8px}
.sc-left{color:#000000;font-size:.84rem}
.sc-card-v .btn{align-self:flex-start;margin-top:8px}
/* pop-up: bottom-right, flashes softly (a pulsing gold edge) and closes with one click */
.sc-pop{position:fixed;right:18px;bottom:18px;z-index:200;width:min(340px,calc(100vw - 36px));background:#fff;border-radius:22px;border-top:5px solid #DF9137;box-shadow:0 30px 60px -20px rgba(0,40,25,.6);padding:16px 16px 14px;animation:scIn .45s cubic-bezier(.2,.8,.2,1) both,scGlow 2.4s ease-in-out .5s infinite}
.sc-pop.out{animation:scOut .3s ease forwards}
@keyframes scIn{from{opacity:0;transform:translateY(24px) scale(.97)}to{opacity:1;transform:none}}
@keyframes scOut{to{opacity:0;transform:translateY(16px)}}
@keyframes scGlow{0%,100%{box-shadow:0 30px 60px -20px rgba(0,40,25,.6),0 0 0 0 rgba(223,145,55,0)}50%{box-shadow:0 30px 60px -20px rgba(0,40,25,.6),0 0 0 6px rgba(223,145,55,.35)}}
.sc-x{position:absolute;right:10px;top:10px;width:30px;height:30px;border:0;border-radius:50%;background:#FFFFFF;color:#000000;font-size:.85rem;cursor:pointer}
.sc-x:hover{background:#FFFFFF}
.sc-pop-h{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:10px;padding-right:30px}
.sc-pop-h b{font-size:1.05rem;color:var(--brand-primary,#307C48)}
.sc-slides{position:relative;min-height:250px}
.sc-s{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .5s,visibility 0s .5s}
.sc-s.on{opacity:1;visibility:visible;transition:opacity .5s}
.sc-s img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px}
.sc-s div{padding-top:10px}
.sc-s b{display:block;font-size:.95rem;line-height:1.3;color:#000000}
.sc-s small{color:#000000;font-size:.84rem}
.sc-s{top:0;bottom:auto}
.sc-slides{height:auto;min-height:0}
.sc-s{position:relative;display:none}
.sc-s.on{display:block;animation:scFade .5s ease both}
@keyframes scFade{from{opacity:0}to{opacity:1}}
.sc-dots{display:flex;justify-content:center;gap:7px;margin:10px 0}
.sc-dots button{width:8px;height:8px;border-radius:50%;border:0;background:#FFFFFF;padding:0;cursor:pointer}
.sc-dots button.on{background:var(--brand-primary,#307C48);width:22px;border-radius:6px}
.sc-go{width:100%;justify-content:center}
@media(max-width:600px){.sc-pop{right:10px;bottom:10px}}
@media (prefers-reduced-motion:reduce){.sc-pop,.sc-live i{animation:none}}

/* ---- compact pop-up (9 Nov 2026): small, bottom-left, hidden over the slideshow and on every page but Home ---- */
html body .sc-pop{left:16px;right:auto;bottom:16px;width:min(318px,calc(100vw - 32px));padding:10px 12px 8px;border-radius:16px;border-top:0;border-left:4px solid #DF9137;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 10px;animation:none;opacity:1;transform:none;transition:opacity .3s,transform .3s;box-shadow:0 14px 34px -14px rgba(0,40,25,.5)}
html body .sc-pop.sc-away{opacity:0;transform:translateY(16px);pointer-events:none}
html body .sc-pop.out{opacity:0;transform:translateY(16px)}
html body .sc-pop .sc-x{width:24px;height:24px;right:6px;top:6px;font-size:.7rem;background:#fff;border:1px solid #D8E2DB}
html body .sc-pop .sc-slides{grid-column:1 / -1;padding-right:22px}
html body .sc-pop .sc-s.on{display:flex;gap:10px;align-items:center}
html body .sc-pop .sc-s img{width:60px;height:60px;aspect-ratio:auto;border-radius:10px;flex:none}
html body .sc-pop .sc-s div{padding:0;min-width:0}
html body .sc-pop .sc-s b{font-size:.86rem;line-height:1.25;margin:2px 0}
html body .sc-pop .sc-s small{font-size:.76rem;display:block;line-height:1.3}
html body .sc-pop .sc-live{font-size:.66rem}
html body .sc-pop .sc-dots{margin:0;justify-content:flex-start}
html body .sc-pop .sc-go{width:auto;padding:6px 12px;font-size:.8rem;min-height:0;margin:0}
@media (max-width:600px){html body .sc-pop{left:10px;bottom:10px}}


/* ---- final compact pop-up (9 Nov 2026): slim card, bottom-left, always visible on Home, closes with one click ---- */
html body .sc-pop{width:min(292px,calc(100vw - 28px));padding:8px 10px 7px;border-radius:14px;left:14px;bottom:14px;gap:2px 8px;box-shadow:0 10px 26px -12px rgba(0,40,25,.5)}
html body .sc-pop .sc-slides{padding-right:20px}
html body .sc-pop .sc-s img{width:48px;height:48px;border-radius:8px}
html body .sc-pop .sc-s b{font-size:.8rem;margin:1px 0}
html body .sc-pop .sc-s small{font-size:.72rem}
html body .sc-pop .sc-live{font-size:.62rem;padding:2px 8px}
html body .sc-pop .sc-go{padding:5px 11px;font-size:.76rem}
html body .sc-pop .sc-x{width:22px;height:22px;top:5px;right:5px}
html body .sc-pop .sc-dots button{width:6px;height:6px}html body .sc-pop .sc-dots button.on{width:16px}

html body .sc-pop{left:calc(50% - 146px);right:auto;bottom:12px}
@media (max-width:640px){html body .sc-pop{left:10px;right:10px;width:auto;bottom:10px}}

/* pop-up on the right-hand side, just above the chat button */
html body .sc-pop{left:auto;right:16px;bottom:88px}
@media (max-width:640px){html body .sc-pop{left:10px;right:10px;width:auto;bottom:84px}}

html body .sc-pop{bottom:84px}

/* Compact tab by default: the pop-up never covers page text */
html body .sc-pop .sc-tab{display:none;align-items:center;gap:8px;width:100%;background:none;border:0;padding:0;font:700 .84rem/1.2 "Poppins",Arial,sans-serif;color:var(--brand-deep,#235934);cursor:pointer;text-align:left}
html body .sc-pop .sc-tab i{width:9px;height:9px;border-radius:50%;background:#DF9137;flex:none}
html body .sc-pop .sc-tab em{font-style:normal;font-size:.7rem;margin-left:auto;color:var(--brand-primary,#307C48);transition:transform .2s}
html body .sc-pop:not(.sc-min) .sc-tab{display:none}
html body .sc-pop.sc-min{width:auto!important;max-width:240px;padding:8px 14px!important;border-radius:999px!important;border-left-width:4px;display:flex!important;box-shadow:0 8px 20px -10px rgba(0,40,25,.45)!important}
html body .sc-pop.sc-min .sc-tab{display:flex}
html body .sc-pop.sc-min .sc-slides,html body .sc-pop.sc-min .sc-dots,html body .sc-pop.sc-min .sc-go,html body .sc-pop.sc-min .sc-x{display:none!important}
html body .sc-pop:not(.sc-min){bottom:16px}
