/* SPM / NexttCareer brand alignment and full-viewport responsive corrections - v2.1 */
:root{
  --spm-navy:#142b48;
  --spm-blue:#234f80;
  --spm-blue-bright:#1769aa;
  --spm-cyan:#19b8c4;
  --spm-teal:#18a6a9;
  --spm-gold:#e6ad47;
  --spm-orange:#f29a38;
  --spm-ink:#1b2a3a;
  --spm-muted:#64778b;
  --spm-soft:#f3f7fb;
  --spm-border:#e2eaf1;
  --spm-radius:18px;
}

/* Make the plugin homepage the whole page, regardless of the active theme wrapper. */
html:has(body.spm-full-site), body.spm-full-site{margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important;background:#fff!important}
body.spm-full-site{position:relative;inset:auto!important;top:auto!important}
body.spm-full-site #page,
body.spm-full-site .site,
body.spm-full-site .wp-site-blocks,
body.spm-full-site #content,
body.spm-full-site .site-content,
body.spm-full-site .content-area,
body.spm-full-site .site-main,
body.spm-full-site main,
body.spm-full-site .hentry,
body.spm-full-site article.page,
body.spm-full-site .entry,
body.spm-full-site .entry-content,
body.spm-full-site .wp-block-post-content,
body.spm-full-site .wp-block-group.alignfull,
body.spm-full-site .wp-block-cover.alignfull{
  width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;
}
body.spm-full-site .wp-site-blocks{gap:0!important;}
body.spm-full-site .site-header,
body.spm-full-site #masthead,
body.spm-full-site .site-branding,
body.spm-full-site .main-navigation,
body.spm-full-site .primary-navigation,
body.spm-full-site .wp-site-blocks>header,
body.spm-full-site .wp-site-blocks>footer,
body.spm-full-site .wp-site-blocks>nav,
body.spm-full-site header:not(.spm-modern-header),
body.spm-full-site footer:not(.spm-modern-footer),
body.spm-full-site .wp-block-template-part,
body.spm-full-site .entry-header,
body.spm-full-site .page-header,
body.spm-full-site .wp-block-post-title,
body.spm-full-site .entry-title,
body.spm-full-site .page-title,
body.spm-full-site .wp-block-query-title,
body.spm-full-site .post-thumbnail,
body.spm-full-site .comments-area,
body.spm-full-site .widget-area{display:none!important}
body.spm-full-site .spm-homepage{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow:clip!important;isolation:isolate}
body.spm-full-site .spm-modern-header{display:block!important;margin:0!important;top:var(--wp-admin--admin-bar--height,0px)!important}
body.spm-full-site .spm-modern-hero{margin-top:0!important}
body.spm-full-site .spm-modern-container{width:min(1180px,calc(100% - 48px));max-width:1180px;margin-left:auto!important;margin-right:auto!important}

/* NexttCareer-style identity: strong navy/blue, crisp white, cyan highlights, restrained warm CTA accents. */
.spm-modern{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--spm-ink);background:#fff;width:100%;max-width:100%;overflow-wrap:anywhere}
.spm-modern *{box-sizing:border-box}
.spm-modern a{text-decoration:none}
.spm-modern-header{position:relative;top:auto;z-index:1000;width:100%;background:#fff;border:0;border-bottom:1px solid #e8eef4;box-shadow:0 4px 18px rgba(20,43,72,.06);}
.spm-header-row{width:min(1180px,calc(100% - 48px));min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 auto}
.spm-logo{display:flex;align-items:center;gap:11px;min-width:0;color:var(--spm-navy)}
.spm-logo-mark{flex:0 0 48px;width:48px;height:48px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,var(--spm-navy),var(--spm-blue-bright));color:#fff;font-size:15px;font-weight:900;letter-spacing:-.5px;box-shadow:0 6px 15px rgba(35,79,128,.18)}
.spm-logo strong{display:block;color:var(--spm-navy);font-size:clamp(12px,1.1vw,15px);font-weight:850;line-height:1.2;white-space:normal}
.spm-logo small{display:block;margin-top:4px;color:#718197;font-size:11px;line-height:1.3}
.spm-modern-nav{display:flex;align-items:center;justify-content:center;gap:clamp(12px,1.8vw,24px);min-width:0}
.spm-modern-nav a{color:#344b63;font-size:13px;font-weight:750;white-space:nowrap;transition:color .18s ease}
.spm-modern-nav a:hover,.spm-modern-nav a:focus-visible{color:var(--spm-cyan)}
.spm-nav-cta{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:12px 19px;border-radius:7px;background:var(--spm-gold);color:var(--spm-navy)!important;font-size:13px;font-weight:900;box-shadow:0 6px 14px rgba(230,173,71,.2)}
.spm-mobile-menu{display:none;flex:0 0 auto;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #dce7ef;border-radius:9px;background:#f4f8fb;color:var(--spm-navy);font-size:23px;line-height:1;cursor:pointer}
.spm-mobile-apply{display:none}

.spm-modern-hero{position:relative;isolation:isolate;overflow:hidden;margin:0!important;padding:clamp(48px,6vw,82px) 0 clamp(44px,5vw,72px);background:linear-gradient(112deg,#f1f7fc 0%,#fff 58%,#edf8fa 100%)}
.spm-modern-hero:before{content:"";position:absolute;z-index:-1;width:390px;height:390px;right:-145px;top:-180px;border-radius:50%;background:rgba(25,184,196,.10)}
.spm-hero-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);align-items:center;gap:clamp(28px,5vw,64px)}
.spm-kicker,.spm-section-label{display:inline-flex;align-items:center;gap:9px;margin:0 0 15px;color:var(--spm-blue);font-size:11px;font-weight:900;letter-spacing:1.35px;text-transform:uppercase}
.spm-kicker span{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--spm-cyan)}
.spm-modern h1,.spm-modern h2,.spm-modern h3{font-family:inherit;color:var(--spm-navy);letter-spacing:-.035em}
.spm-modern h1{max-width:700px;margin:0 0 20px;font-size:clamp(2.55rem,5vw,4.85rem);line-height:1.035;font-weight:850}
.spm-modern h1 em,.spm-modern h2 em{color:var(--spm-cyan);font-style:normal}
.spm-hero-copy>p{max-width:570px;margin:0 0 25px;color:#52677d;font-size:clamp(15px,1.3vw,18px);line-height:1.75}
.spm-hero-buttons{display:flex;flex-wrap:wrap;gap:12px}
.spm-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:13px 20px;border:1px solid transparent;border-radius:7px;font-size:13px;font-weight:850;line-height:1.25;text-align:center;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
.spm-btn:hover{transform:translateY(-2px)}
.spm-btn-primary{background:var(--spm-blue);color:#fff!important;box-shadow:0 7px 16px rgba(35,79,128,.18)}
.spm-btn-primary:hover{background:var(--spm-navy);box-shadow:0 10px 20px rgba(20,43,72,.2)}
.spm-btn-outline{border-color:#cad9e6;background:#fff;color:var(--spm-navy)!important}
.spm-btn-outline:hover{border-color:var(--spm-cyan)}
.spm-hero-points{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:24px}
.spm-hero-points span{color:#4c6278;font-size:12px;font-weight:750}
.spm-hero-visual{position:relative;width:100%;min-width:0;min-height:clamp(300px,34vw,430px)}
.spm-hero-photo{position:absolute;z-index:2;inset:12px 25px 28px 35px;border-radius:24px;background-image:linear-gradient(0deg,rgba(20,43,72,.15),rgba(20,43,72,0)),url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1300&q=85');background-position:center;background-size:cover;box-shadow:0 22px 48px rgba(20,43,72,.18)}
.spm-hero-shape{position:absolute;z-index:1;top:0;right:0;width:clamp(130px,18vw,220px);height:clamp(130px,18vw,220px);border-radius:50%;background:linear-gradient(135deg,#d9f2f4,#dceaf6)}
.spm-floating-card{position:absolute;z-index:4;left:0;bottom:0;width:min(260px,75%);padding:16px 18px;border:1px solid #e4edf4;border-radius:13px;background:#fff;box-shadow:0 12px 32px rgba(20,43,72,.15)}
.spm-card-icon{display:grid;place-items:center;width:34px;height:34px;margin-bottom:9px;border-radius:9px;background:#e7f7f8;color:#098b9a}
.spm-floating-card strong{display:block;color:var(--spm-navy);font-size:14px;line-height:1.35}
.spm-floating-card small{display:block;margin-top:5px;color:#718197;font-size:11px;line-height:1.4}
.spm-trust-strip{padding:17px 0;background:var(--spm-navy);color:#e1eaf2}
.spm-trust-strip .spm-modern-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:9px 20px}
.spm-trust-strip span{font-size:12px;font-weight:750;letter-spacing:.15px}
.spm-trust-strip b{color:var(--spm-cyan)}
.spm-modern-section{padding:clamp(48px,6vw,82px) 0}
.spm-split,.spm-learning-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(28px,5.5vw,70px)}
.spm-about-image{position:relative;min-width:0}
.spm-about-image img{display:block;width:100%;height:clamp(270px,34vw,450px);object-fit:cover;border-radius:18px;box-shadow:0 12px 32px rgba(20,43,72,.13)}
.spm-image-caption{position:absolute;left:18px;bottom:18px;max-width:calc(100% - 36px);padding:13px 17px;border:1px solid #e7edf3;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(20,43,72,.12)}
.spm-image-caption strong,.spm-image-caption span{display:block}.spm-image-caption strong{color:var(--spm-navy);font-size:14px}.spm-image-caption span{color:var(--spm-muted);font-size:12px}
.spm-section-copy h2,.spm-learning-grid h2,.spm-section-heading h2{margin:0 0 16px;font-size:clamp(1.9rem,3.8vw,3.15rem);line-height:1.1;font-weight:850}
.spm-modern p{color:var(--spm-muted);line-height:1.75}
.spm-text-link{display:inline-flex;align-items:center;gap:8px;margin:8px 0 20px;color:var(--spm-blue);font-size:13px;font-weight:900}
.spm-feature-list{display:grid;gap:12px}.spm-feature-list div{display:grid;grid-template-columns:35px minmax(0,1fr);gap:3px 11px;padding-top:12px;border-top:1px solid var(--spm-border)}.spm-feature-list span{grid-row:span 2;color:var(--spm-cyan);font-size:12px;font-weight:900}.spm-feature-list strong{color:var(--spm-navy);font-size:13px}.spm-feature-list small{color:var(--spm-muted);font-size:12px}
.spm-programmes{background:#f3f7fb}.spm-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.spm-section-heading p{max-width:590px;margin:0}
.spm-modern .spm-catalogue .course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.spm-modern .course-card{position:relative;display:flex;flex-direction:column;min-width:0;min-height:275px;padding:21px;border:1px solid var(--spm-border);border-radius:13px;background:#fff;box-shadow:0 7px 20px rgba(20,43,72,.055);transition:transform .18s ease,box-shadow .18s ease}
.spm-modern .course-card:before{content:"";position:absolute;top:0;left:0;width:100%;height:4px;border-radius:13px 13px 0 0;background:linear-gradient(90deg,var(--spm-blue),var(--spm-cyan))}
.spm-modern .course-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(20,43,72,.11)}
.spm-modern .course-category{display:inline-block;align-self:flex-start;max-width:100%;margin:5px 0 12px;padding:6px 10px;border-radius:4px;background:#e8f5f7;color:#137d8b;font-size:10px;font-weight:900;line-height:1.35}
.spm-modern .course-card h3{margin:0 0 9px;font-size:18px;line-height:1.3}.spm-modern .course-card p{margin:0 0 13px;font-size:13px;line-height:1.6}.spm-modern .course-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;color:#52677d;font-size:11px}.spm-modern .course-meta span{padding:6px 8px;border-radius:5px;background:#f2f6f9}.spm-modern .course-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid #e8eef4}.spm-modern .course-card-bottom strong{color:var(--spm-navy);font-size:15px}.spm-modern .course-card-bottom a{color:var(--spm-blue);font-size:12px;font-weight:900}
.spm-modern .course-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}.spm-modern .course-filters input,.spm-modern .course-filters select{flex:1 1 220px;min-width:0;min-height:47px;padding:11px 13px;border:1px solid #cfdae4;border-radius:7px;background:#fff;color:var(--spm-ink);font:inherit}
.spm-learning{background:#fff}.spm-learning-grid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.spm-learning-grid>div:first-child p{max-width:540px;margin-bottom:22px}.spm-learning-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.spm-learning-cards article{min-width:0;min-height:168px;padding:20px;border-radius:13px;background:#edf5fb}.spm-learning-cards article:nth-child(2){background:#fff5e7}.spm-learning-cards article:nth-child(3){grid-column:1/-1;min-height:130px;background:#e9f8f7}.spm-learning-icon{display:grid;place-items:center;width:39px;height:39px;margin-bottom:11px;border-radius:9px;background:#fff;color:var(--spm-blue);font-size:20px}.spm-learning-cards h3{margin:0 0 7px;font-size:16px}.spm-learning-cards p{margin:0;font-size:12px;line-height:1.6}
.spm-steps{background:#f2f6fa}.centered{text-align:center;display:block}.spm-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.spm-step-grid article{min-width:0;padding:23px;border:1px solid var(--spm-border);border-radius:13px;background:#fff;box-shadow:0 6px 18px rgba(20,43,72,.04)}.spm-step-grid article:nth-child(1){border-top:4px solid var(--spm-blue)}.spm-step-grid article:nth-child(2){border-top:4px solid var(--spm-gold)}.spm-step-grid article:nth-child(3){border-top:4px solid var(--spm-cyan)}.spm-step-grid article>span{display:grid;place-items:center;width:40px;height:40px;margin-bottom:14px;border-radius:9px;background:#eaf2f9;color:var(--spm-blue);font-weight:900}.spm-step-grid h3{margin:0 0 7px;font-size:18px}.spm-step-grid p{margin:0;font-size:13px}
.spm-modern-cta{padding:clamp(38px,5vw,58px) 0;background:linear-gradient(110deg,#142b48 0%,#234f80 68%,#157d8e 100%);color:#fff}.spm-cta-box{display:flex;align-items:center;justify-content:space-between;gap:24px}.spm-cta-box h2{margin:0 0 10px;color:#fff;font-size:clamp(1.9rem,3.6vw,3rem);line-height:1.1}.spm-cta-box h2 em{color:#7de0e1}.spm-cta-box p{margin:0;color:#dce8f2}.spm-btn-white{flex:0 0 auto;background:var(--spm-gold);color:var(--spm-navy)!important;white-space:normal}
.spm-modern-contact{padding:clamp(35px,4.5vw,55px) 0;background:#fff}.spm-contact-row{display:flex;align-items:center;justify-content:space-between;gap:25px}.spm-contact-row h2{margin:0 0 8px;font-size:clamp(1.8rem,3vw,2.4rem)}.spm-contact-row p{margin:0}.spm-contact-details{display:grid;gap:9px}.spm-contact-details a,.spm-contact-details span{color:#40566d;font-size:13px;overflow-wrap:anywhere}
.spm-modern-footer{padding:27px 0;background:#10253d;color:#d0dfeb}.spm-footer-row{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.spm-footer-logo strong{color:#fff}.spm-footer-logo small{color:#b8c9d7}.spm-footer-links{display:flex;flex-wrap:wrap;gap:14px 18px}.spm-footer-links a{color:#d0dfeb;font-size:12px}.spm-footer-row>small{color:#a7bdcf;font-size:11px}

/* Course, application and secondary page layouts */
.spm-modern .application-wrap{padding:clamp(18px,3vw,32px);border:1px solid var(--spm-border);border-radius:15px;background:#f4f8fb}
.spm-modern .spm-form label{display:block;color:var(--spm-navy);font-size:13px;font-weight:800}.spm-modern .spm-form input,.spm-modern .spm-form select,.spm-modern .spm-form textarea{width:100%;min-width:0;margin-top:7px;padding:12px;border:1px solid #cfdae4;border-radius:7px;background:#fff;font:inherit}.spm-modern .spm-form button{min-height:46px;margin-top:15px;padding:12px 22px;border:0;border-radius:7px;background:var(--spm-blue);color:#fff;font-weight:900;cursor:pointer}.spm-modern .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.spm-modern .course-detail{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:26px;width:min(1180px,calc(100% - 48px));margin:0 auto;padding:clamp(28px,4vw,48px) 0}.spm-modern .course-enquiry{position:sticky;top:20px;align-self:start;padding:22px;border-radius:13px;background:#f0f6fa}.spm-modern .course-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.spm-modern .course-detail-facts>div{min-width:0;padding:13px;border-radius:8px;background:#eaf4f7;overflow-wrap:anywhere}

/* Tablet: collapse navigation early enough to prevent header collisions. */
@media(max-width:1020px){
 .spm-header-row{min-height:74px;gap:14px}.spm-modern-nav{gap:12px}.spm-modern-nav a{font-size:12px}.spm-logo strong{font-size:13px}.spm-logo small{font-size:10px}.spm-nav-cta{padding:11px 14px;font-size:12px}
 .spm-modern .spm-catalogue .course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 .spm-header-row{position:relative;min-height:72px}.spm-modern-nav{display:none;position:absolute;z-index:1002;top:100%;left:-24px;right:-24px;padding:12px 24px 18px;border-top:1px solid #e9eff4;background:#fff;box-shadow:0 15px 22px rgba(20,43,72,.14);flex-direction:column;align-items:stretch;gap:0}
 .spm-modern-nav.spm-nav-open{display:flex}.spm-modern-nav a{display:block;padding:12px 4px;border-bottom:1px solid #edf1f5;font-size:14px;white-space:normal}.spm-mobile-menu{display:inline-flex}.spm-nav-cta{display:none}.spm-mobile-apply{display:block!important;margin-top:11px;padding:12px 15px!important;border:0!important;border-radius:7px;background:var(--spm-gold);color:var(--spm-navy)!important;text-align:center;font-weight:900}
 .spm-hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:25px}.spm-split,.spm-learning-grid{gap:30px}
}
@media(max-width:760px){
 body.spm-full-site .spm-modern-container{width:calc(100% - 32px)}
 .spm-modern-hero{padding:42px 0 38px}.spm-hero-grid,.spm-split,.spm-learning-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 .spm-modern h1{font-size:clamp(2.35rem,9.8vw,3.55rem)}.spm-hero-copy>p{font-size:15px}.spm-hero-visual{min-height:clamp(240px,68vw,340px);max-width:620px;margin:0 auto}
 .spm-hero-photo{inset:7px 8px 23px 20px;border-radius:18px}.spm-hero-shape{width:145px;height:145px}.spm-floating-card{left:0;bottom:0;max-width:230px;padding:12px 14px}
 .spm-hero-points{gap:9px 14px}.spm-hero-points span{font-size:11px}.spm-trust-strip .spm-modern-container{gap:8px 12px}.spm-trust-strip span{font-size:10px}
 .spm-modern-section{padding:48px 0}.spm-about-image img{height:clamp(230px,65vw,340px)}.spm-section-heading{display:block;margin-bottom:22px}.spm-section-heading .spm-text-link{margin-top:14px}
 .spm-modern .spm-catalogue .course-grid,.spm-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.spm-learning-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .spm-cta-box,.spm-contact-row{align-items:flex-start;flex-direction:column}.spm-btn-white{white-space:normal}.spm-footer-row{align-items:flex-start;flex-direction:column}.spm-modern .course-detail{grid-template-columns:minmax(0,1fr);width:calc(100% - 32px);padding:28px 0}.spm-modern .course-enquiry{position:static}.spm-modern .form-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:520px){
 .spm-modern-container,.spm-header-row{width:calc(100% - 28px)}.spm-header-row{min-height:66px;gap:9px}.spm-modern-nav{left:-14px;right:-14px;padding-left:14px;padding-right:14px}
 .spm-logo{gap:8px}.spm-logo-mark{flex-basis:40px;width:40px;height:40px;border-radius:10px;font-size:13px}.spm-logo strong{max-width:205px;font-size:11px}.spm-logo small{font-size:9px}.spm-mobile-menu{width:41px;height:41px}
 .spm-modern h1{font-size:clamp(2.15rem,10vw,2.9rem)}.spm-hero-buttons{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.spm-hero-buttons .spm-btn{width:100%}
 .spm-hero-visual{min-height:245px}.spm-hero-shape{width:120px;height:120px}.spm-floating-card{width:min(205px,78%)}.spm-modern .spm-catalogue .course-grid,.spm-step-grid,.spm-learning-cards{grid-template-columns:minmax(0,1fr)}.spm-learning-cards article:nth-child(3){grid-column:auto}.spm-modern .course-card{min-height:0;padding:19px}.spm-modern .course-filters{display:grid;grid-template-columns:minmax(0,1fr)}.spm-modern .course-filters input,.spm-modern .course-filters select{width:100%;min-width:0}.spm-modern .course-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.spm-footer-links{gap:10px 14px}
}
@media(max-width:360px){
 .spm-logo strong{max-width:170px;font-size:10px}.spm-logo small{font-size:8px}.spm-modern h1{font-size:2.05rem}.spm-modern .course-detail-facts{grid-template-columns:minmax(0,1fr)}.spm-hero-points{display:grid;grid-template-columns:minmax(0,1fr);gap:7px}
}
@media(prefers-reduced-motion:reduce){.spm-modern *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Final theme spacing and intermediate-tablet safety fixes. */
body.spm-full-site .wp-site-blocks>*{margin-block-start:0!important;margin-block-end:0!important}
body.spm-full-site .wp-site-blocks>main,
body.spm-full-site main.wp-block-group,
body.spm-full-site .wp-block-post-content{padding-block-start:0!important;padding-block-end:0!important}
@media(max-width:820px){
 .spm-hero-grid,.spm-split,.spm-learning-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 .spm-hero-visual{width:100%;max-width:620px;margin-inline:auto}
 .spm-about-image{max-width:680px}
}

/* v2.2 — a coherent NexttCareer-inspired design system across every SPM page. */
body.spm-full-site,
body.spm-full-site #page,
body.spm-full-site .site,
body.spm-full-site .wp-site-blocks,
body.spm-full-site #content,
body.spm-full-site .site-content,
body.spm-full-site .content-area,
body.spm-full-site .site-main,
body.spm-full-site main,
body.spm-full-site article,
body.spm-full-site .entry-content,
body.spm-full-site .wp-block-post-content{
  width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
}
body.spm-full-site{overflow-x:hidden!important;background:#fff!important}
body.spm-full-site .spm-subpage,
body.spm-full-site .spm-homepage{display:block;width:100%;max-width:100%;min-width:0;margin:0!important;padding:0!important;overflow:hidden;background:#fff}
body.spm-full-site .wp-site-blocks{gap:0!important}
body.spm-full-site header:not(.spm-modern-header),
body.spm-full-site footer:not(.spm-modern-footer),
body.spm-full-site .wp-block-template-part,
body.spm-full-site .entry-header,
body.spm-full-site .page-header,
body.spm-full-site .entry-title,
body.spm-full-site .page-title,
body.spm-full-site .wp-block-post-title,
body.spm-full-site .wp-block-query-title,
body.spm-full-site .post-thumbnail,
body.spm-full-site .comments-area,
body.spm-full-site .widget-area{display:none!important}
body.spm-full-site .spm-modern-header{display:block!important;width:100%;margin:0!important;padding:0!important;background:#fff;z-index:1000}
.spm-subpage,.spm-subpage *{box-sizing:border-box}
.spm-subpage{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--spm-ink);line-height:1.6}
.spm-subpage a{transition:color .18s ease,background .18s ease,transform .18s ease}
.spm-subpage .spm-inner-hero{position:relative;isolation:isolate;overflow:hidden;margin:0!important;padding:clamp(42px,6vw,78px) 0 clamp(42px,5vw,66px);background:linear-gradient(112deg,#eaf4fb 0%,#f8fbfd 54%,#eaf8f8 100%);border:0}
.spm-subpage .spm-inner-hero:before{content:"";position:absolute;z-index:-1;inset:auto -8% -170px auto;width:440px;height:440px;border-radius:50%;background:rgba(25,184,196,.10)}
.spm-subpage .spm-inner-hero-orb{position:absolute;z-index:-1;display:block;border-radius:50%;pointer-events:none}
.spm-subpage .spm-orb-one{width:180px;height:180px;right:12%;top:-110px;background:rgba(35,79,128,.07)}
.spm-subpage .spm-orb-two{width:90px;height:90px;right:5%;bottom:14%;background:rgba(230,173,71,.12)}
.spm-subpage .spm-inner-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-bottom:22px;color:#76879a;font-size:12px;font-weight:700}
.spm-subpage .spm-inner-breadcrumb a{color:var(--spm-blue);font-weight:850}
.spm-subpage .spm-inner-hero .spm-section-label{margin-bottom:12px}
.spm-subpage .spm-inner-hero h1{position:relative;max-width:850px;margin:0 0 12px;color:var(--spm-navy);font-size:clamp(2.2rem,5vw,4rem);font-weight:850;line-height:1.08;letter-spacing:-.045em}
.spm-subpage .spm-inner-hero>div>p{position:relative;max-width:740px;margin:0;color:#596e83;font-size:clamp(14px,1.35vw,17px);line-height:1.75}
.spm-subpage-main{display:block;width:100%;margin:0!important;padding:0!important}
.spm-subpage .spm-inner-section{padding:clamp(42px,6vw,76px) 0;background:#fff}
.spm-subpage .spm-inner-tint{background:#f3f7fb}
.spm-subpage .spm-inner-section-heading{max-width:760px;margin:0 auto 28px;text-align:center}
.spm-subpage .spm-inner-section-heading h2,
.spm-subpage .spm-inner-copy h2,
.spm-subpage .spm-two-callouts h2,
.spm-subpage .spm-faq-intro h2,
.spm-subpage .spm-contact-form-layout h2,
.spm-subpage .spm-apply-intro h2{margin:0 0 14px;color:var(--spm-navy);font-size:clamp(1.8rem,3.5vw,2.8rem);font-weight:850;line-height:1.13;letter-spacing:-.04em}
.spm-subpage .spm-inner-section-heading>p{max-width:680px;margin:0 auto;color:var(--spm-muted);font-size:14px}
.spm-subpage .spm-inner-copy>p,.spm-subpage .spm-two-callouts>div>p,.spm-subpage .spm-faq-intro>p,.spm-subpage .spm-apply-intro>p{font-size:14px;line-height:1.8}
.spm-subpage .spm-inner-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(28px,5vw,66px)}
.spm-subpage .spm-inner-photo{position:relative;min-width:0}
.spm-subpage .spm-inner-photo img{display:block;width:100%;height:clamp(270px,34vw,440px);object-fit:cover;border-radius:18px;box-shadow:0 14px 35px rgba(20,43,72,.13)}
.spm-subpage .spm-photo-tag{position:absolute;left:16px;bottom:16px;max-width:calc(100% - 32px);padding:12px 15px;border:1px solid #e4edf4;border-radius:9px;background:#fff;color:var(--spm-navy);font-size:13px;font-weight:850;box-shadow:0 8px 20px rgba(20,43,72,.12)}
.spm-subpage .spm-inner-copy h2{margin-top:0}
.spm-subpage .spm-info-grid{display:grid;gap:17px}
.spm-subpage .spm-info-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.spm-subpage .spm-info-card{position:relative;min-width:0;padding:25px 23px;border:1px solid var(--spm-border);border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(20,43,72,.055)}
.spm-subpage .spm-info-card:before{content:"";position:absolute;left:0;top:0;width:100%;height:4px;border-radius:15px 15px 0 0;background:var(--spm-blue)}
.spm-subpage .spm-info-card.accent-gold:before{background:var(--spm-gold)}
.spm-subpage .spm-info-card.accent-teal:before{background:var(--spm-cyan)}
.spm-subpage .spm-info-icon{display:grid;place-items:center;width:43px;height:43px;margin-bottom:13px;border-radius:11px;background:#e8f4fb;color:var(--spm-blue);font-size:21px;font-weight:800}
.spm-subpage .accent-gold .spm-info-icon{background:#fff4e1;color:#a76a0c}
.spm-subpage .accent-teal .spm-info-icon{background:#e6f8f7;color:#078b91}
.spm-subpage .spm-info-card h3,.spm-subpage .spm-payment-notice h3{margin:0 0 8px;color:var(--spm-navy);font-size:18px;font-weight:850}
.spm-subpage .spm-info-card p,.spm-subpage .spm-payment-notice p{margin:0;color:var(--spm-muted);font-size:13px;line-height:1.75}
.spm-subpage .spm-inner-cta-band{padding:clamp(35px,5vw,55px) 0;background:linear-gradient(110deg,#142b48 0%,#234f80 65%,#157d8e 100%);color:#fff}
.spm-subpage .spm-inner-cta-band>.spm-modern-container{display:flex;align-items:center;justify-content:space-between;gap:24px}
.spm-subpage .spm-inner-cta-band .spm-section-label{color:#b8e9ee}
.spm-subpage .spm-inner-cta-band h2{max-width:680px;margin:0;color:#fff;font-size:clamp(1.7rem,3.4vw,2.7rem);line-height:1.12}
.spm-subpage .spm-inner-cta-band h2 em{color:#75e0df;font-style:normal}
.spm-subpage .spm-btn-white{background:var(--spm-gold);color:var(--spm-navy)!important}
.spm-subpage .spm-admissions-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
.spm-subpage .spm-admissions-steps article{display:flex;flex-direction:column;min-width:0;padding:23px;border:1px solid var(--spm-border);border-radius:13px;background:#fff;box-shadow:0 7px 22px rgba(20,43,72,.05)}
.spm-subpage .spm-admissions-steps article:nth-child(1){border-top:4px solid var(--spm-blue)}
.spm-subpage .spm-admissions-steps article:nth-child(2){border-top:4px solid var(--spm-gold)}
.spm-subpage .spm-admissions-steps article:nth-child(3){border-top:4px solid var(--spm-cyan)}
.spm-subpage .spm-admissions-steps article:nth-child(4){border-top:4px solid #80a8ce}
.spm-subpage .spm-admissions-steps article>span{display:grid;place-items:center;width:39px;height:39px;margin-bottom:14px;border-radius:10px;background:#eaf3fa;color:var(--spm-blue);font-size:13px;font-weight:900}
.spm-subpage .spm-admissions-steps h3{margin:0 0 8px;color:var(--spm-navy);font-size:17px}
.spm-subpage .spm-admissions-steps p{flex:1;margin:0 0 13px;font-size:13px;line-height:1.7}
.spm-subpage .spm-admissions-steps a{color:var(--spm-blue);font-size:12px;font-weight:900}
.spm-subpage .spm-two-callouts{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:35px}
.spm-subpage .spm-two-callouts h2{max-width:640px}
.spm-subpage .spm-check-list{padding:21px 23px;border:1px solid #d9e8ef;border-radius:14px;background:#fff}
.spm-subpage .spm-check-list p{margin:8px 0;color:#40566d;font-size:13px;font-weight:750}
.spm-subpage .spm-apply-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:start;gap:clamp(25px,4vw,55px)}
.spm-subpage .spm-apply-intro{position:sticky;top:25px}
.spm-subpage .spm-apply-help{display:grid;gap:8px;margin-top:24px;padding:18px;border-left:4px solid var(--spm-cyan);border-radius:0 10px 10px 0;background:#eff8fa}
.spm-subpage .spm-apply-help strong{color:var(--spm-navy);font-size:14px}
.spm-subpage .spm-apply-help a{width:fit-content;color:var(--spm-blue);font-size:13px;font-weight:800;overflow-wrap:anywhere}
.spm-subpage .spm-apply-form-card{min-width:0;padding:clamp(18px,3vw,28px);border:1px solid var(--spm-border);border-radius:16px;background:#fff;box-shadow:0 12px 32px rgba(20,43,72,.07)}
.spm-subpage .spm-apply-form-card>h3{margin:0 0 15px;color:var(--spm-navy);font-size:21px}
.spm-subpage .application-wrap{padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.spm-subpage .spm-form label{display:block;margin-bottom:13px;color:var(--spm-navy);font-size:13px;font-weight:800}
.spm-subpage .spm-form input,.spm-subpage .spm-form select,.spm-subpage .spm-form textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:46px;margin-top:7px;padding:12px 13px;border:1px solid #cbd9e4;border-radius:8px;background:#fff;color:var(--spm-ink);font:inherit;font-size:14px;box-shadow:none}
.spm-subpage .spm-form textarea{min-height:120px;resize:vertical}
.spm-subpage .spm-form input:focus,.spm-subpage .spm-form select:focus,.spm-subpage .spm-form textarea:focus{outline:3px solid rgba(25,184,196,.18);border-color:var(--spm-cyan)}
.spm-subpage .spm-form button,.spm-subpage .spm-form .button{display:inline-flex;align-items:center;justify-content:center;min-height:47px;margin-top:7px;padding:12px 22px;border:0;border-radius:8px;background:var(--spm-blue);color:#fff;font-size:13px;font-weight:900;cursor:pointer}
.spm-subpage .spm-form button:hover{background:var(--spm-navy)}
.spm-subpage .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
.spm-subpage .form-alert{margin:0 0 16px;padding:12px 14px;border-radius:8px;font-size:13px}
.spm-subpage .form-alert.success{background:#e9f7ef;color:#17643a}
.spm-subpage .form-alert.error{background:#fff0ef;color:#a42e25}
.spm-subpage .spm-faq-layout{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);align-items:start;gap:clamp(24px,4vw,50px)}
.spm-subpage .spm-faq-intro{position:sticky;top:25px}
.spm-subpage .spm-faq-list{display:grid;gap:11px}
.spm-subpage .spm-faq-list details{border:1px solid var(--spm-border);border-radius:11px;background:#fff;box-shadow:0 5px 17px rgba(20,43,72,.035)}
.spm-subpage .spm-faq-list summary{position:relative;padding:17px 45px 17px 18px;color:var(--spm-navy);font-size:14px;font-weight:850;cursor:pointer;list-style:none}
.spm-subpage .spm-faq-list summary::-webkit-details-marker{display:none}
.spm-subpage .spm-faq-list summary:after{content:"+";position:absolute;right:17px;top:50%;transform:translateY(-50%);color:var(--spm-cyan);font-size:23px;font-weight:500}
.spm-subpage .spm-faq-list details[open] summary:after{content:"−"}
.spm-subpage .spm-faq-list details p{margin:0;padding:0 18px 17px;color:var(--spm-muted);font-size:13px;line-height:1.75}
.spm-subpage .spm-contact-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:45px}
.spm-subpage .spm-contact-cards article{min-width:0;padding:20px;border:1px solid var(--spm-border);border-radius:13px;background:#fff;box-shadow:0 7px 22px rgba(20,43,72,.045)}
.spm-subpage .spm-contact-cards h3{margin:0 0 5px;color:var(--spm-navy);font-size:17px}
.spm-subpage .spm-contact-cards a,.spm-subpage .spm-contact-cards p{display:block;margin:0 0 5px;color:var(--spm-blue);font-size:13px;font-weight:800;overflow-wrap:anywhere}
.spm-subpage .spm-contact-cards small{color:var(--spm-muted);font-size:11px}
.spm-subpage .spm-contact-form-layout{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);align-items:start;gap:30px}
.spm-subpage .spm-contact-form-layout>div:first-child p{font-size:14px}
.spm-subpage .spm-payment-notice{padding:24px;border:1px solid #f1dfba;border-radius:14px;background:#fff8eb}
.spm-subpage .spm-payment-notice .spm-info-icon{background:#ffedc8;color:#9d690f}
.spm-subpage .spm-inner-footer{padding:48px 0 0;background:#10253d;color:#d0dfeb}
.spm-subpage .spm-footer-columns{display:grid;grid-template-columns:1.35fr .8fr .8fr 1fr;gap:28px;padding-bottom:35px}
.spm-subpage .spm-footer-brand p{max-width:310px;margin:15px 0 0;color:#afc1d0;font-size:12px;line-height:1.75}
.spm-subpage .spm-inner-footer h3{margin:5px 0 13px;color:#fff;font-size:14px;font-weight:850}
.spm-subpage .spm-inner-footer .spm-footer-columns>div:not(:first-child){display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.spm-subpage .spm-inner-footer a:not(.spm-logo){color:#c8d8e5;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.spm-subpage .spm-inner-footer a:not(.spm-logo):hover{color:#7de0e1}
.spm-subpage .spm-inner-footer .spm-logo strong{color:#fff}
.spm-subpage .spm-inner-footer .spm-logo small{color:#b8c9d7}
.spm-subpage .spm-footer-contact span{color:#afc1d0;font-size:12px;line-height:1.6}
.spm-subpage .spm-footer-bottom{display:flex;justify-content:space-between;gap:15px;padding:17px 0;border-top:1px solid rgba(255,255,255,.12);color:#9fb3c5;font-size:11px}
.spm-subpage .course-detail{width:min(1180px,calc(100% - 48px));margin:0 auto!important;padding:clamp(28px,4vw,46px) 0}
.spm-subpage .spm-course-main{min-width:0;padding:26px;border:1px solid var(--spm-border);border-radius:15px;background:#fff;box-shadow:0 8px 22px rgba(20,43,72,.04)}
.spm-subpage .spm-course-main h2{margin:26px 0 10px;font-size:22px}
.spm-subpage .spm-course-main p,.spm-subpage .spm-course-main li{font-size:14px;line-height:1.8}
.spm-subpage .spm-course-main a{color:var(--spm-blue);font-weight:800;text-decoration:underline}
.spm-subpage .course-enquiry{position:sticky;top:22px;padding:24px;border:1px solid #dce8ef;border-radius:15px;background:#f2f8fb;box-shadow:0 8px 22px rgba(20,43,72,.045)}
.spm-subpage .course-enquiry h2{margin:0 0 10px;font-size:23px;line-height:1.15}
.spm-subpage .course-enquiry p{font-size:13px}
.spm-subpage .course-enquiry>a:last-child{color:var(--spm-blue);font-size:12px;font-weight:800}
.spm-subpage .course-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:20px}
.spm-subpage .course-detail-facts>div{min-width:0;padding:15px;border:1px solid #dce9f0;border-radius:9px;background:#f2f8fb;font-size:13px;overflow-wrap:anywhere}
.spm-subpage .course-detail-facts strong{color:var(--spm-navy)}
@media(max-width:1100px){
 .spm-subpage .spm-modern-container{width:min(100% - 40px,1180px)}
 .spm-subpage .spm-admissions-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
 .spm-subpage .spm-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
 .spm-subpage .spm-inner-split,.spm-subpage .spm-two-callouts,.spm-subpage .spm-apply-layout,.spm-subpage .spm-faq-layout,.spm-subpage .spm-contact-form-layout{grid-template-columns:minmax(0,1fr)}
 .spm-subpage .spm-apply-intro,.spm-subpage .spm-faq-intro,.spm-subpage .course-enquiry{position:static}
 .spm-subpage .spm-info-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}
 .spm-subpage .spm-contact-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 .spm-subpage .spm-modern-container{width:calc(100% - 32px)}
 .spm-subpage .spm-inner-hero{padding:36px 0 40px}
 .spm-subpage .spm-inner-breadcrumb{margin-bottom:15px}
 .spm-subpage .spm-inner-section{padding:42px 0}
 .spm-subpage .spm-inner-split{gap:24px}
 .spm-subpage .spm-inner-photo img{height:clamp(220px,64vw,340px)}
 .spm-subpage .spm-inner-cta-band>.spm-modern-container{align-items:flex-start;flex-direction:column}
 .spm-subpage .spm-contact-cards{grid-template-columns:minmax(0,1fr)}
 .spm-subpage .spm-footer-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 18px}
 .spm-subpage .course-detail{grid-template-columns:minmax(0,1fr);width:calc(100% - 32px);gap:17px;padding:25px 0}
 .spm-subpage .spm-course-main{padding:19px}
}
@media(max-width:520px){
 .spm-subpage .spm-modern-container{width:calc(100% - 28px)}
 .spm-subpage .spm-inner-hero h1{font-size:clamp(2rem,10vw,2.8rem)}
 .spm-subpage .spm-info-grid-three,.spm-subpage .spm-admissions-steps,.spm-subpage .spm-footer-columns{grid-template-columns:minmax(0,1fr)}
 .spm-subpage .spm-apply-form-card{padding:17px}
 .spm-subpage .form-grid{grid-template-columns:minmax(0,1fr)}
 .spm-subpage .spm-footer-bottom{flex-direction:column;gap:6px}
 .spm-subpage .spm-footer-logo .spm-logo-mark{flex-basis:42px;width:42px;height:42px}
 .spm-subpage .course-detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){
 .spm-subpage .spm-modern-container{width:calc(100% - 24px)}
 .spm-subpage .spm-inner-hero h1{font-size:1.95rem}
 .spm-subpage .course-detail-facts{grid-template-columns:minmax(0,1fr)}
 .spm-subpage .spm-form button{width:100%}
}
@media(prefers-reduced-motion:reduce){.spm-subpage *{scroll-behavior:auto!important;transition:none!important}}
