/*
Theme Name: StudyPathway Elementor Child
Theme URI: https://example.com/
Description: Production-ready Hello Elementor child theme converted from the supplied StudyPathway static HTML website. Hardened build.
Author: AR
Template: hello-elementor
Version: 1.1.0
Text Domain: studypathway
*/


:root{
  --ink:#17152f;
  --navy:#24194a;
  --navy-soft:#51456f;
  --teal:#c62562;
  --teal-deep:#9f174f;
  --teal-soft:#edb9cb;
  --paper:#ffffff;
  --mist:#f8f6fb;
  --line:#e5dfeb;
  --text:#3d3850;
  --muted:#746d83;
  --wrap:1220px;
  --gut:clamp(20px,5vw,40px);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--paper);
  color:var(--text);
  font-family:'Source Sans 3','Segoe UI',-apple-system,BlinkMacSystemFont,Roboto,'Helvetica Neue',Arial,sans-serif;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--teal-deep);text-decoration:none}
a:hover{color:var(--ink)}
:focus-visible{outline:2px solid var(--teal);outline-offset:3px;border-radius:2px}
.skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:12px 18px;z-index:200}
.skip:focus{left:0}

h1,h2,h3,h4{
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;
  color:var(--ink);
  font-weight:300;
  line-height:1.18;
  letter-spacing:-.01em;
  margin:0 0 .5em;
}
h1{font-size:clamp(2.1rem,5.2vw,3.6rem)}
h2{font-size:clamp(1.65rem,3.4vw,2.5rem)}
h3{font-size:clamp(1.15rem,2vw,1.4rem);font-weight:400}
p{margin:0 0 1.1em}
p:last-child{margin-bottom:0}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.narrow{max-width:760px}

/* ---------- eyebrow: the logo's rule-flanked label, reused as the site's structural motif ---------- */
.eyebrow{
  display:flex;align-items:center;gap:14px;
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;
  font-size:.72rem;font-weight:500;
  letter-spacing:.24em;text-transform:uppercase;
  color:var(--teal-deep);
  margin:0 0 1.4rem;
}
.eyebrow::after{content:"";flex:1;height:1px;background:var(--line)}
.eyebrow--center{justify-content:center}
.eyebrow--center::before{content:"";width:36px;height:1px;background:var(--teal-soft)}
.eyebrow--center::after{flex:0 0 36px;background:var(--teal-soft)}

/* ---------- header ---------- */
.site-head{
  position:sticky;top:0;z-index:60;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(150%) blur(8px);
  border-bottom:1px solid var(--line);
}
.head-in{display:flex;align-items:center;gap:28px;height:78px}
.brand{display:block;line-height:1}
.brand-mark{
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;
  font-size:1.16rem;font-weight:500;
  letter-spacing:.22em;color:var(--ink);
  white-space:nowrap;
}
.brand-mark .dot{color:var(--teal)}
.brand-sub{
  display:flex;align-items:center;gap:8px;
  margin-top:5px;
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;
  font-size:.53rem;font-weight:400;letter-spacing:.2em;
  text-transform:uppercase;color:var(--teal);
}
.brand-sub::before,.brand-sub::after{content:"";width:14px;height:1px;background:var(--teal-soft)}

.nav{margin-left:auto;display:flex;align-items:center;gap:4px}
.nav a{
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;
  font-size:.86rem;letter-spacing:.04em;color:var(--navy);
  padding:10px 12px;border-radius:3px;display:inline-block;
}
.nav a:hover{color:var(--teal-deep);background:var(--mist)}
.has-sub{position:relative}
.has-sub>a::after{content:"";display:inline-block;width:5px;height:5px;margin-left:7px;vertical-align:2px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg)}
.sub{
  position:absolute;top:100%;left:0;min-width:290px;
  background:#fff;border:1px solid var(--line);border-top:2px solid var(--teal);
  padding:8px;opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
  box-shadow:0 14px 34px -20px rgba(20,38,63,.4);
}
.has-sub:hover .sub,.has-sub:focus-within .sub{opacity:1;visibility:visible;transform:translateY(0)}
.sub a{display:block;padding:9px 12px;font-size:.85rem;color:var(--text)}
.sub a:hover{background:var(--mist);color:var(--ink)}

.btn{
  display:inline-block;
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;font-size:.86rem;letter-spacing:.09em;
  text-transform:uppercase;
  padding:13px 26px;border:1px solid var(--ink);background:var(--ink);color:#fff;
  transition:background .18s,border-color .18s,color .18s;
  cursor:pointer;
}
.btn:hover{background:var(--teal-deep);border-color:var(--teal-deep);color:#fff}
.btn--ghost{background:transparent;color:var(--ink)}
.btn--ghost:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.btn--light{background:#fff;border-color:#fff;color:var(--ink)}
.btn--light:hover{background:var(--teal);border-color:var(--teal);color:#fff}
.nav-cta{margin-left:10px}

.burger{display:none;margin-left:auto;width:42px;height:42px;border:1px solid var(--line);background:#fff;cursor:pointer;padding:0}
.burger span{display:block;width:18px;height:1px;background:var(--ink);margin:4px auto}

/* ---------- hero ---------- */
.hero{padding:clamp(64px,10vw,118px) 0 clamp(48px,6vw,72px);text-align:center}
.hero h1{max-width:16ch;margin-inline:auto}
.hero h1 em{font-style:normal;color:var(--teal-deep)}
.hero-sub{max-width:56ch;margin:0 auto 2.4rem;color:var(--muted);font-size:1.09rem}
.hero-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* signature: the pathway rail — the brand name made literal */
.path{margin:clamp(52px,7vw,84px) auto 0;max-width:820px;position:relative}
.path-line{position:relative;height:1px;background:var(--line)}
.path-line::after{
  content:"";position:absolute;inset:0 auto 0 0;height:1px;background:var(--teal);
  animation:draw 1.5s cubic-bezier(.65,0,.35,1) forwards;
}
@keyframes draw{from{width:0}to{width:100%}}
.path-stops{display:flex;justify-content:space-between;margin-top:-5px}
.path-stop{display:flex;flex-direction:column;align-items:center;gap:14px;flex:1}
.path-stop i{width:9px;height:9px;border-radius:50%;background:#fff;border:1px solid var(--teal);display:block}
.path-stop b{
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;font-weight:400;font-size:.82rem;
  letter-spacing:.17em;text-transform:uppercase;color:var(--navy);
}
.path-note{
  margin-top:18px;text-align:center;font-size:.8rem;color:var(--muted);
  letter-spacing:.05em;
}

/* ---------- stat strip ---------- */
.stats{border-block:1px solid var(--line);background:var(--mist)}
.stats-in{display:grid;grid-template-columns:repeat(3,1fr)}
.stat{padding:34px 20px;text-align:center;border-left:1px solid var(--line)}
.stat:first-child{border-left:0}
.stat b{
  display:block;font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;font-weight:300;
  font-size:clamp(1.9rem,4vw,2.7rem);color:var(--ink);line-height:1;
}
.stat span{
  display:block;margin-top:10px;font-size:.72rem;letter-spacing:.19em;
  text-transform:uppercase;color:var(--muted);font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;
}

/* ---------- sections ---------- */
.sec{padding:clamp(58px,8vw,96px) 0}
.sec--mist{background:var(--mist);border-block:1px solid var(--line)}
.sec-head{max-width:62ch;margin-bottom:clamp(32px,4vw,48px)}
.sec-head p{color:var(--muted)}
.sec-head--center{text-align:center;margin-inline:auto}
.sec-head--center .eyebrow{justify-content:center}

/* ---------- cards ---------- */
.grid{display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--2{grid-template-columns:repeat(2,1fr)}
.card{background:#fff;padding:32px 30px;display:flex;flex-direction:column;transition:background .18s}
.card:hover{background:var(--mist)}
.card h3{margin-bottom:.45em}
.card p{color:var(--muted);font-size:.95rem;flex:1}
.card-link{
  margin-top:20px;font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;font-size:.78rem;
  letter-spacing:.14em;text-transform:uppercase;color:var(--teal-deep);
}
.card-link::after{content:" \2192"}
.card-num{
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;font-size:.72rem;letter-spacing:.18em;
  color:var(--teal-soft);margin-bottom:14px;
}

/* ---------- journey / pathway steps ---------- */
.journey{position:relative;padding-left:0;list-style:none;margin:0;counter-reset:s}
.step{position:relative;padding:0 0 34px 62px;counter-increment:s}
.step::before{
  content:"";position:absolute;left:15px;top:8px;bottom:-8px;width:1px;background:var(--line);
}
.step:last-child{padding-bottom:0}
.step:last-child::before{display:none}
.step::after{
  content:counter(s,decimal-leading-zero);
  position:absolute;left:0;top:0;
  width:31px;height:31px;border:1px solid var(--teal-soft);border-radius:50%;
  background:#fff;color:var(--teal-deep);
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;font-size:.7rem;letter-spacing:.03em;
  display:flex;align-items:center;justify-content:center;
}
.step h3{font-size:1.08rem;margin-bottom:.25em}
.step p{color:var(--muted);font-size:.95rem}

/* ---------- lists ---------- */
.offers{list-style:none;padding:0;margin:0;display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
.offers li{background:#fff;padding:22px 26px;display:flex;gap:16px;align-items:flex-start}
.offers li::before{content:"";flex:0 0 18px;height:1px;background:var(--teal);margin-top:14px}
.offers b{display:block;color:var(--ink);font-weight:600}
.offers span{color:var(--muted);font-size:.95rem}

/* ---------- universities ---------- */
.uni-group + .uni-group{margin-top:52px}
.uni-list{
  list-style:none;padding:0;margin:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(272px,1fr));
  gap:1px;background:var(--line);border:1px solid var(--line);
}
.uni-list li{
  background:#fff;padding:20px 22px;font-size:.94rem;color:var(--navy);
  display:flex;align-items:center;min-height:74px;transition:background .18s;
}
.uni-list li:hover{background:var(--mist)}

/* ---------- page head (interior) ---------- */
.page-head{padding:clamp(52px,7vw,84px) 0 clamp(30px,4vw,44px);border-bottom:1px solid var(--line)}
.crumb{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:1.4rem;font-family:'Jost',sans-serif}
.crumb a{color:var(--muted)}
.crumb a:hover{color:var(--teal-deep)}
.page-head h1{max-width:20ch}
.page-head .lede{max-width:62ch;color:var(--muted);font-size:1.06rem;margin-top:1.1rem}

/* ---------- cta band ---------- */
.band{background:var(--ink);color:#fff;padding:clamp(52px,7vw,84px) 0;text-align:center}
.band h2{color:#fff}
.band p{color:rgba(255,255,255,.72);max-width:52ch;margin:0 auto 2rem}
.band .eyebrow{color:var(--teal-soft)}
.band .eyebrow::after,.band .eyebrow::before{background:rgba(255,255,255,.22)}

/* ---------- contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,64px)}
.dl{margin:0}
.dl div{padding:18px 0;border-bottom:1px solid var(--line);display:flex;gap:20px}
.dl div:first-child{border-top:1px solid var(--line)}
.dl dt{
  flex:0 0 34%;font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;font-size:.74rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--muted);margin:0;
}
.dl dd{margin:0;color:var(--ink)}
.field{margin-bottom:18px}
.field label{
  display:block;font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;font-size:.74rem;letter-spacing:.14em;
  text-transform:uppercase;color:var(--muted);margin-bottom:7px;
}
.field input,.field select,.field textarea{
  width:100%;padding:13px 14px;border:1px solid var(--line);background:#fff;
  font-family:inherit;font-size:.97rem;color:var(--ink);border-radius:0;
}
.field textarea{min-height:132px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--teal)}

/* ---------- placeholder marker ---------- */
.todo{
  border:1px dashed var(--teal-soft);background:#fbfdfd;
  padding:18px 22px;font-size:.9rem;color:var(--muted);
}
.todo b{color:var(--teal-deep);font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;letter-spacing:.12em;text-transform:uppercase;font-size:.72rem;display:block;margin-bottom:6px}

/* ---------- footer ---------- */
.site-foot{background:var(--ink);color:rgba(255,255,255,.66);padding:clamp(52px,6vw,76px) 0 0;font-size:.92rem}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;padding-bottom:52px}
.site-foot h4{
  color:#fff;font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;font-size:.74rem;letter-spacing:.19em;
  text-transform:uppercase;font-weight:500;margin:0 0 18px;
}
.site-foot ul{list-style:none;padding:0;margin:0}
.site-foot li{margin-bottom:10px}
.site-foot a{color:rgba(255,255,255,.66)}
.site-foot a:hover{color:#fff}
.foot-brand .brand-mark{color:#fff;font-size:1.05rem}
.foot-brand .brand-sub{color:var(--teal-soft)}
.foot-brand .brand-sub::before,.foot-brand .brand-sub::after{background:rgba(255,255,255,.28)}
.foot-brand p{margin-top:20px;max-width:34ch;font-size:.9rem}
.foot-base{
  border-top:1px solid rgba(255,255,255,.13);padding:22px 0;
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.84rem;
}

/* ---------- reveal ---------- */
.rv{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
.rv.in{opacity:1;transform:none}

/* ---------- responsive ---------- */
@media(max-width:980px){
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .foot-grid{grid-template-columns:1fr 1fr;gap:34px}
  .contact-grid{grid-template-columns:1fr}
}
@media(max-width:820px){
  .burger{display:block}
  .nav{
    position:fixed;inset:78px 0 auto;background:#fff;border-bottom:1px solid var(--line);
    flex-direction:column;align-items:stretch;gap:0;padding:10px var(--gut) 26px;
    margin:0;display:none;max-height:calc(100vh - 78px);overflow-y:auto;
  }
  .nav.open{display:flex}
  .nav a{padding:14px 0;border-bottom:1px solid var(--line)}
  .sub{
    position:static;opacity:1;visibility:visible;transform:none;border:0;box-shadow:none;
    padding:0 0 0 16px;min-width:0;display:none;
  }
  .has-sub.open .sub{display:block}
  .sub a{font-size:.84rem;padding:12px 0}
  .nav-cta{margin:18px 0 0;text-align:center;border:0!important}
}
@media(max-width:680px){
  .grid--3,.grid--2{grid-template-columns:1fr}
  .stats-in{grid-template-columns:1fr}
  .stat{border-left:0;border-top:1px solid var(--line);padding:26px 20px}
  .stat:first-child{border-top:0}
  .path-stops{flex-direction:column;gap:26px;align-items:flex-start;margin-top:22px}
  .path-stop{flex-direction:row;align-items:center;gap:14px}
  .path-line{display:none}
  .foot-grid{grid-template-columns:1fr}
  .dl div{flex-direction:column;gap:6px}
  .brand-sub{display:none}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}
  .rv{opacity:1;transform:none}
  .path-line::after{animation:none;width:100%}
}

/* ---------- icons ---------- */
.ico{color:var(--teal-deep);flex:0 0 auto}
.card .ico{margin-bottom:16px}
.stat .ico{color:var(--teal);margin:0 auto 12px;display:block}

/* ---------- hero split ---------- */
.hero--split{text-align:left}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(32px,5vw,72px);align-items:center}
.hero--split h1{margin-inline:0;max-width:14ch}
.hero--split .hero-sub{margin-inline:0}
.hero--split .hero-actions{justify-content:flex-start}
.hero--split .eyebrow{justify-content:flex-start}
.route{width:100%;height:auto;display:block;overflow:visible}
.route text{font-family:'Jost','Futura','Century Gothic',Verdana,sans-serif;fill:var(--ink);font-size:14px;letter-spacing:.04em}
.route .rt-sub{fill:var(--muted);font-size:11.5px;letter-spacing:.09em;text-transform:uppercase}
.route .rt-origin{fill:var(--ink);font-size:11.5px;letter-spacing:.2em}
.route .rt{stroke-dasharray:520;stroke-dashoffset:520;animation:fly 1.9s cubic-bezier(.6,0,.3,1) forwards}
.route .rt:nth-child(2){animation-delay:.16s}
.route .rt:nth-child(3){animation-delay:.32s}
@keyframes fly{to{stroke-dashoffset:0}}
.route .pulse{animation:pulse 2.8s ease-out infinite}
@keyframes pulse{0%{r:6.5;opacity:.9}70%{r:26;opacity:0}100%{opacity:0}}

/* ---------- photo slots ---------- */
.photo{
  margin:0;position:relative;border:1px solid var(--line);
  background:
    repeating-linear-gradient(135deg,#f7fafb 0 10px,#f2f6f8 10px 20px);
  display:flex;align-items:center;justify-content:center;overflow:hidden;
}
.photo--wide{aspect-ratio:16/10}
.photo--tall{aspect-ratio:4/5}
.photo--sq{aspect-ratio:1/1}
.photo--band{aspect-ratio:21/8}
.photo-in{text-align:center;padding:22px;max-width:34ch}
.photo-in b{
  display:block;font-family:'Jost','Futura','Century Gothic',Verdana,sans-serif;
  font-size:.72rem;letter-spacing:.19em;text-transform:uppercase;color:var(--teal-deep);margin-bottom:8px;
}
.photo-in span{display:block;font-size:.86rem;color:var(--muted)}
.photo-in em{display:block;margin-top:8px;font-size:.8rem;color:var(--muted);font-style:italic}
.photo img{width:100%;height:100%;object-fit:cover;display:block}

/* ---------- at-a-glance figures ---------- */
.facts{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}
.fact{background:#fff;padding:26px 22px;text-align:center}
.fact .ico{margin:0 auto 12px;display:block;color:var(--teal)}
.fact b{display:block;font-family:'Jost','Futura','Century Gothic',Verdana,sans-serif;font-weight:300;font-size:1.7rem;color:var(--ink);line-height:1.1}
.fact span{display:block;margin-top:8px;font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
.fact.is-todo b{font-size:1rem;color:var(--teal-deep)}

/* ---------- media object ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,64px);align-items:center}
.split--narrow{grid-template-columns:.9fr 1.1fr}

@media(max-width:980px){
  .facts{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:820px){
  .hero-grid{grid-template-columns:1fr;gap:44px}
  .hero--split{text-align:center}
  .hero--split h1{max-width:16ch;margin-inline:auto}
  .hero--split .hero-sub{margin-inline:auto}
  .hero--split .hero-actions{justify-content:center}
  .hero--split .eyebrow{justify-content:center}
  .split,.split--narrow{grid-template-columns:1fr}
}
@media(max-width:680px){
  .facts{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .route .rt{animation:none;stroke-dashoffset:0}
  .route .pulse{animation:none;opacity:0}
}


/* WordPress integration additions */
.admin-bar .site-head{top:32px}
.sp-custom-logo .custom-logo-link{padding:0;display:block}
.sp-custom-logo img{max-height:58px;width:auto}
.sp-form-notice{padding:12px 14px;border:1px solid var(--line);background:var(--mist);margin-bottom:18px}
@media(max-width:782px){.admin-bar .site-head{top:46px}}


/* ============================================================
   StudyPathway Premium Structure — v1.1
   Keeps the original content while strengthening visual hierarchy.
   ============================================================ */

:root{
  --sp-accent:#c62562;
  --sp-accent-dark:#9f174f;
  --sp-plum:#5f1b68;
  --sp-indigo:#24194a;
  --sp-shadow:0 18px 55px rgba(36,25,74,.10);
  --sp-shadow-sm:0 10px 32px rgba(36,25,74,.08);
  --sp-radius:18px;
}

body{
  font-size:17px;
  line-height:1.68;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-weight:500;
  letter-spacing:-.025em;
}
h1{font-weight:600}
h2{font-weight:600}

.site-head{
  background:rgba(255,255,255,.97);
  border-bottom:1px solid rgba(36,25,74,.08);
  box-shadow:0 8px 28px rgba(36,25,74,.05);
  backdrop-filter:saturate(180%) blur(14px);
}
.head-in{
  height:86px;
  gap:34px;
}
.brand-mark{
  font-weight:600;
  letter-spacing:.17em;
  color:var(--sp-indigo);
}
.brand-sub{
  color:var(--sp-accent);
  font-weight:500;
}
.nav{gap:7px}
.nav > a,
.nav > .has-sub > a{
  color:var(--sp-indigo);
  font-weight:500;
  letter-spacing:.015em;
  border-radius:9px;
  padding:11px 10px;
}
.nav > a:hover,
.nav > .has-sub > a:hover{
  color:var(--sp-accent);
  background:#faf7fb;
}

/* Explicit high-specificity rule fixes Elementor/Hello link-color overrides. */
.site-head .nav a.nav-cta,
.site-head .nav a.nav-cta:visited,
.site-head .nav a.nav-cta:hover,
.site-head .nav a.nav-cta:focus{
  color:#fff !important;
}
.site-head .nav a.nav-cta{
  margin-left:14px;
  padding:13px 22px;
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,var(--sp-accent),var(--sp-plum));
  border:0;
  border-radius:10px;
  box-shadow:0 10px 24px rgba(198,37,98,.22);
  font-weight:600;
  letter-spacing:.055em;
}
.site-head .nav a.nav-cta:hover{
  background:linear-gradient(135deg,var(--sp-accent-dark),var(--sp-indigo));
  transform:translateY(-1px);
}

.sub{
  border:1px solid rgba(36,25,74,.08);
  border-radius:14px;
  box-shadow:0 20px 50px rgba(36,25,74,.13);
  overflow:hidden;
}
.sub a:hover{
  background:#faf6fb;
  color:var(--sp-accent-dark);
}

.btn{
  border-radius:10px;
  border-color:var(--sp-indigo);
  background:var(--sp-indigo);
  color:#fff !important;
  font-weight:600;
  letter-spacing:.065em;
  box-shadow:0 8px 22px rgba(36,25,74,.12);
}
.btn:hover{
  background:var(--sp-accent);
  border-color:var(--sp-accent);
  color:#fff !important;
  transform:translateY(-1px);
}
.btn--ghost{
  background:#fff;
  color:var(--sp-indigo) !important;
  box-shadow:none;
}
.btn--ghost:hover{color:#fff !important}
.btn--light{
  background:#fff;
  color:var(--sp-indigo) !important;
  border-color:#fff;
}
.btn--light:hover{color:#fff !important}

/* Homepage hero: same text/content, stronger two-column marketing structure. */
.hero{
  position:relative;
  padding:clamp(72px,9vw,120px) 0 clamp(70px,8vw,108px);
  background:
    radial-gradient(circle at 88% 18%,rgba(198,37,98,.12),transparent 31%),
    radial-gradient(circle at 68% 82%,rgba(95,27,104,.08),transparent 26%),
    linear-gradient(180deg,#fff 0%,#fbf9fd 100%);
}
.hero::before{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(198,37,98,.28),transparent);
}
.hero-grid{
  align-items:center;
  gap:clamp(40px,7vw,90px);
}
.hero h1{
  max-width:13ch;
  margin-inline:0;
  font-size:clamp(2.75rem,5.4vw,4.65rem);
  line-height:1.03;
}
.hero h1 em{color:var(--sp-accent-dark)}
.hero-sub{
  max-width:59ch;
  margin:1.45rem 0 2rem;
  font-size:1.12rem;
}
.hero-actions{justify-content:flex-start}
.hero .route{
  background:rgba(255,255,255,.72);
  border:1px solid rgba(36,25,74,.08);
  border-radius:26px;
  padding:18px;
  box-shadow:var(--sp-shadow);
}

/* Page title structure on internal pages. */
.page-head{
  position:relative;
  overflow:hidden;
  padding:clamp(68px,8vw,104px) 0;
  background:
    radial-gradient(circle at 85% 15%,rgba(198,37,98,.18),transparent 32%),
    linear-gradient(125deg,#211746 0%,#4f1b63 72%,#772052 100%);
}
.page-head::after{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  right:-120px;
  top:-170px;
}
.page-head h1,
.page-head .lede,
.page-head .crumb,
.page-head .crumb a{
  color:#fff;
}
.page-head h1{
  max-width:14ch;
  font-size:clamp(2.45rem,4.7vw,4rem);
}
.page-head .lede{
  max-width:66ch;
  color:rgba(255,255,255,.82);
  font-size:1.1rem;
}
.page-head .crumb{
  color:rgba(255,255,255,.68);
}
.page-head .crumb a:hover{color:#fff}

/* Premium card system. */
.card{
  border:1px solid rgba(36,25,74,.09);
  border-radius:var(--sp-radius);
  background:#fff;
  box-shadow:var(--sp-shadow-sm);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.card:hover{
  transform:translateY(-5px);
  box-shadow:0 22px 55px rgba(36,25,74,.14);
  border-color:rgba(198,37,98,.25);
}
.card .ico{color:var(--sp-accent)}
.card-link{
  color:var(--sp-accent-dark);
  font-weight:600;
}

.sec{
  padding-top:clamp(72px,8vw,112px);
  padding-bottom:clamp(72px,8vw,112px);
}
.sec--mist{
  background:
    linear-gradient(180deg,#faf8fc 0%,#f6f2f8 100%);
}
.sec-head{
  margin-bottom:clamp(34px,5vw,54px);
}
.eyebrow{
  color:var(--sp-accent-dark);
  font-weight:600;
}

.stats{
  position:relative;
  z-index:2;
  background:#fff;
}
.stats-in{
  border:1px solid rgba(36,25,74,.08);
  border-radius:18px;
  box-shadow:var(--sp-shadow-sm);
  overflow:hidden;
}
.stat{
  padding-top:30px;
  padding-bottom:30px;
}
.stat b{
  color:var(--sp-indigo);
  font-weight:600;
}
.stat .ico{color:var(--sp-accent)}

.photo,
.photo-in{
  border-radius:20px;
}
.photo{
  overflow:hidden;
  border:1px solid rgba(36,25,74,.08);
  box-shadow:var(--sp-shadow-sm);
}

.band{
  background:linear-gradient(125deg,var(--sp-indigo),#51205f 72%,#791f53);
}
.band h2,.band h3,.band p,.band .eyebrow{color:#fff}
.band p{color:rgba(255,255,255,.82)}
.band .eyebrow::after{background:rgba(255,255,255,.25)}

.site-foot{
  background:linear-gradient(135deg,#17122e,#24194a 58%,#401849);
}
.site-foot,
.site-foot p,
.site-foot a,
.site-foot h4,
.site-foot .brand-mark{
  color:#fff;
}
.site-foot p,
.site-foot a{
  color:rgba(255,255,255,.72);
}
.site-foot a:hover{color:#fff}
.site-foot .brand-sub{color:#f09ab8}
.site-foot .foot-base{
  border-top-color:rgba(255,255,255,.12);
  color:rgba(255,255,255,.55);
}

/* Forms */
input,select,textarea{
  border-radius:10px !important;
}
input:focus,select:focus,textarea:focus{
  border-color:var(--sp-accent) !important;
  box-shadow:0 0 0 3px rgba(198,37,98,.10);
  outline:none;
}

/* Improve mobile CTA visibility and structure. */
@media(max-width:900px){
  .head-in{height:74px}
  .nav{
    background:#fff;
    box-shadow:0 18px 50px rgba(36,25,74,.16);
  }
  .site-head .nav a.nav-cta{
    margin:12px 16px 18px;
    width:calc(100% - 32px);
  }
  .hero{
    padding-top:58px;
  }
  .hero h1{
    max-width:15ch;
  }
}
@media(max-width:620px){
  .page-head{padding:58px 0 64px}
  .hero .route{padding:8px;border-radius:18px}
  .btn{width:auto;max-width:100%}
}


/* ============================================================
   StudyPathway Brand & Testimonial Refinement — v1.2
   Logo-led navy/teal palette + visibly separated testimonial cards.
   ============================================================ */

:root{
  --ink:#14263f;
  --navy:#1b3a5c;
  --navy-soft:#365777;
  --teal:#4f9aa5;
  --teal-deep:#357d88;
  --teal-soft:#d9ecef;
  --mist:#f5f8f9;
  --line:#dfe6ea;
  --text:#33465a;
  --muted:#6d8395;

  --sp-accent:#4f9aa5;
  --sp-accent-dark:#357d88;
  --sp-plum:#365777;
  --sp-indigo:#14263f;
  --sp-shadow:0 18px 48px rgba(20,38,63,.10);
  --sp-shadow-sm:0 10px 30px rgba(20,38,63,.08);
}

/* Header: keep the premium structure, restore brand-led colours */
.brand-mark{color:var(--navy)}
.brand-sub{color:var(--teal-deep)}
.nav > a,
.nav > .has-sub > a{color:var(--navy)}
.nav > a:hover,
.nav > .has-sub > a:hover{
  color:var(--teal-deep);
  background:#f5fafb;
}
.site-head .nav a.nav-cta{
  background:linear-gradient(135deg,var(--teal-deep),var(--navy));
  box-shadow:0 10px 24px rgba(53,125,136,.22);
}
.site-head .nav a.nav-cta:hover{
  background:linear-gradient(135deg,var(--navy),#264a6d);
}

/* Internal page headers: premium but aligned with logo colours */
.page-head{
  background:
    radial-gradient(circle at 85% 15%,rgba(79,154,165,.20),transparent 32%),
    linear-gradient(125deg,#14263f 0%,#1b3a5c 68%,#357d88 100%);
}
.page-head::after{border-color:rgba(255,255,255,.14)}

.eyebrow{color:var(--teal-deep)}
.card .ico{color:var(--teal)}
.card-link{color:var(--teal-deep)}
.card:hover{border-color:rgba(79,154,165,.32)}
.stat .ico{color:var(--teal)}
.band{
  background:linear-gradient(125deg,#14263f,#1b3a5c 64%,#357d88);
}
.site-foot{
  background:linear-gradient(135deg,#101f34,#14263f 58%,#1f5262);
}
.site-foot .brand-sub{color:#a9d0d5}
input:focus,select:focus,textarea:focus{
  border-color:var(--teal) !important;
  box-shadow:0 0 0 3px rgba(79,154,165,.12);
}

/* ------------------------------------------------------------
   Testimonials
   Fixes cards visually merging into one large rectangle.
   Works with common class names used by the supplied HTML.
   ------------------------------------------------------------ */

/* Any 3-column testimonial grid gets real breathing room */
.testimonials-grid,
.testimonial-grid,
.students-grid,
.stories-grid,
.quote-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:28px !important;
  align-items:stretch;
}

/* Fallback for the supplied generic grid/card combination around student quotes */
.sec:has(h2) .grid-3{
  gap:28px;
}

/* Strongly separate individual quote/testimonial cards */
.testimonial,
.testimonial-card,
.student-card,
.story-card,
.quote-card,
.sec:has(h2) .grid-3 > .card{
  background:#fff !important;
  border:1px solid rgba(20,38,63,.10) !important;
  border-radius:22px !important;
  box-shadow:0 16px 38px rgba(20,38,63,.09) !important;
  overflow:hidden;
  padding:34px !important;
  position:relative;
}

/* Prevent adjacent cards from visually sharing borders */
.testimonial + .testimonial,
.testimonial-card + .testimonial-card,
.student-card + .student-card,
.story-card + .story-card,
.quote-card + .quote-card{
  margin-left:0 !important;
}

/* Refined first-card treatment without a pink border */
.testimonial:first-child,
.testimonial-card:first-child,
.student-card:first-child,
.story-card:first-child,
.quote-card:first-child{
  border-color:rgba(79,154,165,.35) !important;
}

/* Student/photo placeholders become compact and intentional */
.testimonial .photo,
.testimonial-card .photo,
.student-card .photo,
.story-card .photo,
.quote-card .photo,
.testimonial .student-photo,
.testimonial-card .student-photo,
.student-card .student-photo{
  width:150px !important;
  height:150px !important;
  margin:0 auto 24px !important;
  border-radius:50% !important;
  border:6px solid #f3f8f9 !important;
  box-shadow:0 8px 24px rgba(20,38,63,.08) !important;
  overflow:hidden;
}

/* Generic placeholder blocks inside testimonial cards */
.testimonial [class*="placeholder"],
.testimonial-card [class*="placeholder"],
.student-card [class*="placeholder"],
.story-card [class*="placeholder"],
.quote-card [class*="placeholder"]{
  border-color:rgba(79,154,165,.25) !important;
}

/* Quote/name hierarchy */
.testimonial blockquote,
.testimonial-card blockquote,
.student-card blockquote,
.story-card blockquote,
.quote-card blockquote{
  margin:0 0 22px;
  color:var(--text);
  font-size:1.04rem;
  line-height:1.7;
}
.testimonial cite,
.testimonial-card cite,
.student-card cite,
.story-card cite,
.quote-card cite{
  color:var(--teal-deep);
  font-style:normal;
  font-weight:600;
}

/* If quote/name are plain paragraphs, improve the visual rhythm */
.testimonial p,
.testimonial-card p,
.student-card p,
.story-card p,
.quote-card p{
  max-width:34ch;
  margin-left:auto;
  margin-right:auto;
}

/* Section backdrop and heading */
.testimonials,
.testimonial-section,
.students-say,
.student-stories{
  background:linear-gradient(180deg,#f8fbfc 0%,#f2f7f8 100%);
}
.testimonials h2,
.testimonial-section h2,
.students-say h2,
.student-stories h2{
  color:var(--navy);
}

/* Placeholder/content warning beneath testimonials should not look like a fourth card */
.testimonials-grid + .placeholder,
.testimonial-grid + .placeholder,
.students-grid + .placeholder,
.stories-grid + .placeholder,
.quote-grid + .placeholder{
  margin-top:32px !important;
  border-radius:14px !important;
}

/* Responsive: cards stack with clean separation */
@media(max-width:900px){
  .testimonials-grid,
  .testimonial-grid,
  .students-grid,
  .stories-grid,
  .quote-grid{
    grid-template-columns:1fr !important;
    gap:22px !important;
  }
  .sec:has(h2) .grid-3{
    gap:22px;
  }
}

@media(max-width:620px){
  .testimonial,
  .testimonial-card,
  .student-card,
  .story-card,
  .quote-card,
  .sec:has(h2) .grid-3 > .card{
    padding:26px 22px !important;
    border-radius:18px !important;
  }
}


/* ============================================================
   StudyPathway Global UI Cleanup — v1.3
   Professional spacing and card system across all pages.
   ============================================================ */

/* The original HTML used a 1px grid gap + grid background to create
   joined panels. Override that globally so every card stands alone. */
.grid{
  display:grid;
  gap:28px !important;
  background:transparent !important;
  border:0 !important;
  overflow:visible !important;
}
.grid--3{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

/* Consistent professional card treatment across Services, Research,
   Blogs, Homepage sections and destination content. */
.grid > .card{
  position:relative;
  min-width:0;
  padding:34px 32px 30px !important;
  background:#fff !important;
  border:1px solid rgba(20,38,63,.09) !important;
  border-radius:18px !important;
  box-shadow:0 12px 30px rgba(20,38,63,.07) !important;
  overflow:hidden;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease !important;
}
.grid > .card:hover{
  background:#fff !important;
  transform:translateY(-5px);
  border-color:rgba(79,154,165,.35) !important;
  box-shadow:0 20px 45px rgba(20,38,63,.12) !important;
}

/* Small brand line gives cards visual hierarchy without making them heavy. */
.grid > .card::after{
  content:"";
  position:absolute;
  left:32px;
  top:0;
  width:48px;
  height:3px;
  border-radius:0 0 8px 8px;
  background:linear-gradient(90deg,var(--teal),var(--navy));
  opacity:.8;
}

/* Existing SVG icons become compact branded badges. */
.grid > .card > .ico,
.card .ico{
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 0 22px !important;
  padding:10px;
  border-radius:12px;
  color:var(--teal-deep) !important;
  background:#eef7f8;
  border:1px solid rgba(79,154,165,.18);
}
.grid > .card > .ico svg,
.card .ico svg{
  width:22px;
  height:22px;
}

/* Cards that do not already contain an icon (notably Blog cards) get
   a subtle editorial icon. Modern browsers support :has(). */
.grid > .card:not(:has(.ico))::before{
  content:"";
  width:44px;
  height:44px;
  display:block;
  margin:0 0 22px;
  border-radius:12px;
  border:1px solid rgba(79,154,165,.18);
  background-color:#eef7f8;
  background-repeat:no-repeat;
  background-position:center;
  background-size:21px 21px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23357d88' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
}

/* Better card typography and spacing. */
.grid > .card h3{
  margin:0 0 12px;
  color:var(--navy);
  font-size:clamp(1.25rem,1.8vw,1.55rem);
  line-height:1.2;
}
.grid > .card p{
  color:var(--muted);
  line-height:1.65;
  margin-bottom:22px;
}
.grid > .card .card-link{
  margin-top:auto;
  padding-top:10px;
  color:var(--teal-deep);
  font-weight:600;
  letter-spacing:.085em;
  font-size:.82rem;
}
.grid > .card .card-link:hover{
  color:var(--navy);
}

/* Make sections feel intentionally separated instead of one continuous
   sheet of cards. */
.sec{
  position:relative;
}
.sec + .sec{
  border-top:1px solid rgba(20,38,63,.055);
}
.sec--mist{
  background:linear-gradient(180deg,#f7fafb 0%,#f2f7f8 100%) !important;
}
.sec-head{
  max-width:760px;
}
.sec-head h2{
  color:var(--navy);
  line-height:1.08;
}
.sec-head p{
  color:var(--muted);
}

/* Eyebrows receive a small icon marker for a more polished system. */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  color:var(--teal-deep) !important;
  font-size:.78rem;
  font-weight:600;
  letter-spacing:.16em;
}
.eyebrow::before{
  content:"";
  width:20px;
  height:20px;
  flex:0 0 20px;
  border-radius:50%;
  background:
    center/11px 11px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23357d88' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E"),
    #eaf5f6;
  border:1px solid rgba(79,154,165,.18);
}

/* Testimonials: explicit selector for the actual supplied grid classes. */
.grid.grid--3 > .card{
  margin:0 !important;
}
.grid.grid--3{
  column-gap:28px !important;
  row-gap:28px !important;
}

/* Keep student/testimonial cards visually independent and slightly softer. */
.testimonial,
.testimonial-card,
.student-card,
.story-card,
.quote-card{
  margin:0 !important;
}

/* Blog/editorial cards gain a little more vertical rhythm. */
body .grid > .card h3 + p{
  margin-top:0;
}

/* Contact layout refinement */
.contact-grid{
  gap:42px !important;
  align-items:start;
}
.contact-grid form{
  background:#fff;
  border:1px solid rgba(20,38,63,.09);
  border-radius:18px;
  box-shadow:0 12px 32px rgba(20,38,63,.07);
  padding:30px;
}

/* Buttons remain clear and consistent */
.btn,
.site-head .nav a.nav-cta{
  border-radius:10px !important;
}
.btn:focus-visible,
.site-head .nav a.nav-cta:focus-visible,
.card-link:focus-visible{
  outline:3px solid rgba(79,154,165,.28);
  outline-offset:3px;
}

/* Responsive card system */
@media(max-width:1024px){
  .grid--3{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:720px){
  .grid,
  .grid.grid--3{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  .grid > .card{
    padding:28px 24px 26px !important;
    border-radius:16px !important;
  }
  .grid > .card::after{
    left:24px;
  }
  .contact-grid{
    gap:24px !important;
  }
  .contact-grid form{
    padding:24px 20px;
  }
}

/* v1.4 verified-content cleanup */
.facts{gap:18px !important;background:transparent !important}
.fact{border:1px solid rgba(20,38,63,.09) !important;border-radius:16px !important;background:#fff !important;box-shadow:0 10px 28px rgba(20,38,63,.06);padding:28px 20px !important}
.fact b{color:var(--navy);font-size:1.35rem}


/* ============================================================
   StudyPathway v1.5 — professional imagery system
   ============================================================ */
.sp-image-band{
  padding:30px 0 8px;
  background:#fff;
}
.sp-page-image{
  position:relative;
  margin:0 0 38px;
  overflow:hidden;
  border-radius:22px;
  background:#eef4f5;
  border:1px solid rgba(20,38,63,.08);
  box-shadow:0 18px 46px rgba(20,38,63,.10);
}
.sp-page-image::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
}
.sp-page-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}
.sp-page-image:hover img{transform:scale(1.025)}
.sp-hero-photo{
  aspect-ratio:16/10;
  margin-bottom:20px;
}
.sp-destination-image{
  aspect-ratio:21/8;
  max-height:440px;
}
.sp-section-image{
  aspect-ratio:21/7;
  max-height:390px;
  margin-bottom:42px;
}
.sp-detail-image{
  aspect-ratio:21/8;
  max-height:420px;
}
.sp-wide-image{
  aspect-ratio:16/8;
  max-height:420px;
  margin-top:30px;
}
.sp-image-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}
.sp-image-pair .sp-page-image{
  aspect-ratio:16/10;
  margin-bottom:24px;
}
@media(max-width:760px){
  .sp-image-pair{grid-template-columns:1fr}
  .sp-hero-photo,
  .sp-destination-image,
  .sp-section-image,
  .sp-detail-image,
  .sp-wide-image{
    aspect-ratio:4/3;
    max-height:none;
  }
}

/* ============================================================
   StudyPathway v1.6 - complete content + FAQ accordion
   ============================================================ */
.grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.sp-value-grid .card{min-height:220px}
.choice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.choice-list>div{padding:24px;border:1px solid rgba(20,38,63,.09);border-radius:16px;background:#fff;box-shadow:0 10px 26px rgba(20,38,63,.05)}
.choice-list b,.choice-list span{display:block}
.choice-list b{color:var(--navy);margin-bottom:7px}
.choice-list span{color:var(--muted)}
.faq-list{display:grid;gap:14px}
.faq-item{border:1px solid rgba(20,38,63,.10);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(20,38,63,.05);overflow:hidden}
.faq-item summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;color:var(--navy);font-weight:600;font-size:1.04rem}
.faq-item summary::-webkit-details-marker{display:none}
.faq-plus{position:relative;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#edf7f8;border:1px solid rgba(79,154,165,.20)}
.faq-plus::before,.faq-plus::after{content:"";position:absolute;left:7px;right:7px;top:13px;height:2px;background:var(--teal-deep);transition:transform .2s ease}
.faq-plus::after{transform:rotate(90deg)}
.faq-item[open] .faq-plus::after{transform:rotate(0)}
.faq-answer{padding:0 24px 22px}
.faq-answer p{margin:0;color:var(--muted);line-height:1.7}
.faq-item[open] summary{color:var(--teal-deep)}
.related-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.related-chip{display:inline-flex;padding:11px 16px;border:1px solid rgba(79,154,165,.25);border-radius:999px;background:#fff;color:var(--navy);font-weight:600;font-size:.9rem}
.related-chip:hover{background:#eef7f8;color:var(--teal-deep)}
.sp-closing-note{padding:30px;border-left:4px solid var(--teal);background:#f4f9fa;border-radius:0 14px 14px 0}
.step-no{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:28px;padding:0 8px;border-radius:999px;background:#eaf5f6;color:var(--teal-deep);font-size:.75rem;font-weight:700;letter-spacing:.08em;margin-bottom:14px}
@media(max-width:820px){.grid--2,.choice-list{grid-template-columns:1fr}.faq-item summary{padding:19px 18px}.faq-answer{padding:0 18px 19px}}


/* ============================================================
   v1.7 — Dynamic WordPress header/footer menus + supplied logo
   ============================================================ */
.sp-header-brand{flex:0 0 auto;display:flex;align-items:center}
.sp-header-brand .custom-logo-link,
.sp-default-logo{display:block;padding:0!important}
.sp-header-brand img{
  display:block;
  width:auto;
  height:auto;
  max-width:285px;
  max-height:54px;
}
.sp-footer-logo{
  display:block;
  width:min(100%,305px);
  margin:0 0 25px;
}
.sp-footer-logo img{
  display:block;
  width:100%;
  height:auto;
}

/* WordPress primary menu markup */
.sp-primary-menu{
  list-style:none;
  display:flex;
  align-items:center;
  gap:7px;
  margin:0;
  padding:0;
}
.sp-primary-menu > li{position:relative;margin:0;padding:0}
.sp-primary-menu > li > a{
  display:inline-flex;
  align-items:center;
  color:var(--navy);
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;
  font-size:.86rem;
  font-weight:500;
  letter-spacing:.015em;
  border-radius:9px;
  padding:11px 10px;
}
.sp-primary-menu > li > a:hover,
.sp-primary-menu > li.current-menu-item > a,
.sp-primary-menu > li.current-menu-ancestor > a{
  color:var(--teal-deep);
  background:#f5fafb;
}
.sp-primary-menu .menu-item-has-children > a::after{
  content:"";
  display:inline-block;
  width:5px;
  height:5px;
  margin-left:8px;
  border-right:1px solid currentColor;
  border-bottom:1px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
}
.sp-primary-menu .sub-menu{
  position:absolute;
  left:0;
  top:calc(100% + 3px);
  z-index:80;
  min-width:315px;
  list-style:none;
  margin:0;
  padding:9px;
  background:#fff;
  border:1px solid rgba(20,38,63,.09);
  border-top:3px solid var(--teal);
  border-radius:14px;
  box-shadow:0 20px 50px rgba(20,38,63,.14);
  opacity:0;
  visibility:hidden;
  transform:translateY(8px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
}
.sp-primary-menu .menu-item-has-children:hover > .sub-menu,
.sp-primary-menu .menu-item-has-children:focus-within > .sub-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.sp-primary-menu .sub-menu li{margin:0;padding:0}
.sp-primary-menu .sub-menu a{
  display:block;
  padding:10px 12px;
  border-radius:8px;
  color:var(--text);
  font-size:.85rem;
  line-height:1.35;
}
.sp-primary-menu .sub-menu a:hover{
  color:var(--navy);
  background:var(--mist);
}

/* Preserve existing footer layout while WordPress renders the ULs. */
.site-foot .foot-menu{
  list-style:none;
  margin:0;
  padding:0;
}
.site-foot .foot-menu li{margin:0;padding:0}
.site-foot .foot-menu a{display:inline-block}

/* Header CTA stays separate from the editable WordPress menu. */
.site-head .nav > .nav-cta{flex:0 0 auto}

/* Mobile dynamic dropdowns */
@media(max-width:820px){
  .sp-header-brand img{max-width:230px;max-height:46px}
  .sp-primary-menu{
    display:block;
    width:100%;
  }
  .sp-primary-menu > li{
    display:block;
    width:100%;
  }
  .sp-primary-menu > li > a{
    display:flex;
    justify-content:space-between;
    width:100%;
    padding:14px 0;
    border-bottom:1px solid var(--line);
    border-radius:0;
  }
  .sp-primary-menu .sub-menu{
    position:static;
    display:none;
    min-width:0;
    width:100%;
    opacity:1;
    visibility:visible;
    transform:none;
    border:0;
    border-radius:0;
    box-shadow:none;
    padding:0 0 0 16px;
  }
  .sp-primary-menu .menu-item-has-children.open > .sub-menu{
    display:block;
  }
  .sp-primary-menu .sub-menu a{
    padding:12px 0;
    border-bottom:1px solid var(--line);
    border-radius:0;
  }
  .site-head .nav > .nav-cta{
    width:100%;
    margin:18px 0 0!important;
  }
}
@media(max-width:480px){
  .sp-header-brand img{max-width:190px;max-height:40px}
}


/* ============================================================
   v1.9 — client-editable structured content + WordPress blog
   ============================================================ */
.sp-post-grid{align-items:stretch}
.grid > .sp-post-card{padding:0!important;overflow:hidden}
.grid > .sp-post-card::before,
.grid > .sp-post-card::after{display:none!important}
.sp-post-thumb{
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:var(--mist);
}
.sp-post-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}
.sp-post-card:hover .sp-post-thumb img{transform:scale(1.035)}
.sp-post-body{padding:26px 28px 28px}
.sp-post-meta{
  margin:0 0 10px!important;
  font-size:.78rem!important;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--teal-deep)!important;
}
.sp-post-card h3 a{color:var(--navy)}
.sp-pagination{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:42px;
}
.sp-pagination .page-numbers{
  min-width:40px;
  height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
}
.sp-pagination .current,
.sp-pagination a:hover{
  background:var(--navy);
  color:#fff;
  border-color:var(--navy);
}

.sp-post-head .sp-article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 24px;
  margin-top:24px;
  color:rgba(255,255,255,.7);
  font-size:.9rem;
}
.sp-article-hero{aspect-ratio:21/9;max-height:560px}
.sp-article-layout{
  display:grid;
  grid-template-columns:minmax(0,760px) minmax(250px,330px);
  gap:64px;
  align-items:start;
  justify-content:center;
}
.sp-article-content{
  font-size:1.08rem;
  line-height:1.82;
}
.sp-article-content h2,
.sp-article-content h3,
.sp-article-content h4{
  color:var(--navy);
  margin-top:1.8em;
}
.sp-article-content img{
  max-width:100%;
  height:auto;
  border-radius:16px;
}
.sp-article-content blockquote{
  margin:32px 0;
  padding:22px 26px;
  border-left:4px solid var(--teal);
  background:var(--mist);
  border-radius:0 12px 12px 0;
}
.sp-article-side{position:sticky;top:120px}
.sp-article-side .card{padding:28px!important}
@media(max-width:900px){
  .sp-article-layout{grid-template-columns:1fr;gap:32px}
  .sp-article-side{position:static}
}


/* ============================================================
   v2.0 — full dynamic-content visual QA / defensive layout layer
   Keeps editor-generated/repeater content inside the design system.
   ============================================================ */
:root{
  --sp-card-border:rgba(20,38,63,.09);
  --sp-card-shadow:0 12px 32px rgba(20,38,63,.07);
}

/* Never allow dynamic content to escape its container. */
.site-main, main, .sec, .wrap, .narrow,
.grid, .facts, .steps, .faq-list, .uni-group,
.sp-field-section, .sp-repeat, .sp-repeat-grid{
  min-width:0;
}
.wrap, .narrow{width:100%}
img, svg, video, iframe{max-width:100%}

/* Normalize every generated grid/repeater. */
.grid,
.sp-repeat-grid,
.uni-grid,
.partner-grid{
  background:transparent !important;
  border:0 !important;
  overflow:visible !important;
  gap:24px !important;
}

/* University/partner lists: replace the flat grey spreadsheet appearance
   with clean individual cards. */
.uni-group{margin-top:46px}
.uni-group > h3{
  margin:0 0 20px;
  color:var(--navy);
  font-size:1.45rem;
}
.uni-grid,
.uni-list,
.partner-list{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
  padding:0 !important;
  margin:0 !important;
  list-style:none !important;
  background:transparent !important;
}
.uni-grid > *,
.uni-list > *,
.partner-list > *{
  display:flex;
  align-items:center;
  min-height:74px;
  margin:0 !important;
  padding:18px 20px !important;
  background:#fff !important;
  color:var(--text);
  border:1px solid var(--sp-card-border) !important;
  border-radius:14px !important;
  box-shadow:0 8px 24px rgba(20,38,63,.055);
  line-height:1.45;
}
.uni-grid > *::before,
.uni-list > *::before,
.partner-list > *::before{
  content:"";
  width:8px;
  height:8px;
  flex:0 0 8px;
  margin-right:12px;
  border-radius:50%;
  background:var(--teal);
}

/* If v1.9 renders university names as generic repeater cells/divs,
   normalize those too. */
.uni-group .sp-repeat,
.uni-group .sp-repeat-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:16px !important;
  background:transparent !important;
}
.uni-group .sp-repeat > *,
.uni-group .sp-repeat-grid > *{
  padding:18px 20px !important;
  background:#fff !important;
  border:1px solid var(--sp-card-border) !important;
  border-radius:14px !important;
  box-shadow:0 8px 24px rgba(20,38,63,.055);
}

/* Dynamic rich text: predictable spacing instead of browser defaults. */
.sp-richtext > :first-child,
.entry-content > :first-child{margin-top:0}
.sp-richtext > :last-child,
.entry-content > :last-child{margin-bottom:0}
.sp-richtext ul, .sp-richtext ol,
.entry-content ul, .entry-content ol{
  padding-left:1.25em;
}
.sp-richtext li + li,
.entry-content li + li{margin-top:.45em}

/* Facts/stats must be standalone cards, never a connected strip. */
.facts{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px !important;
  background:transparent !important;
  border:0 !important;
}
.fact{
  min-width:0;
  border:1px solid var(--sp-card-border) !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 10px 28px rgba(20,38,63,.06);
}

/* Process/steps defensive layout. */
.steps{
  gap:18px !important;
  background:transparent !important;
}
.step{
  border:1px solid var(--sp-card-border) !important;
  border-radius:16px !important;
  background:#fff !important;
  box-shadow:0 10px 28px rgba(20,38,63,.055);
}

/* FAQ accordions: consistent widths and no joined borders. */
.faq-list{
  display:grid;
  gap:12px;
}
.faq-item{
  margin:0 !important;
  overflow:hidden;
  border:1px solid var(--sp-card-border) !important;
  border-radius:14px !important;
  background:#fff !important;
  box-shadow:0 7px 20px rgba(20,38,63,.045);
}
.faq-item + .faq-item{margin-top:0 !important}

/* Dynamic card content should remain balanced even with longer client copy. */
.grid > .card,
.sp-repeat-grid > .card{
  height:100%;
  display:flex;
  flex-direction:column;
  overflow-wrap:anywhere;
}
.grid > .card .card-link,
.sp-repeat-grid > .card .card-link{margin-top:auto}

/* Blog cards and single post defensive styling. */
.post-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--sp-card-border);
  border-radius:18px;
  box-shadow:var(--sp-card-shadow);
}
.entry-content{
  overflow-wrap:anywhere;
}
.entry-content table{
  display:block;
  max-width:100%;
  overflow-x:auto;
  border-collapse:collapse;
}
.entry-content th,.entry-content td{
  padding:12px 14px;
  border:1px solid var(--line);
}

/* Long headings/names from repeaters must wrap instead of breaking columns. */
.card h2,.card h3,.card h4,
.uni-group *, .fact *, .step *,
.faq-item summary{
  overflow-wrap:anywhere;
  word-break:normal;
}

/* Responsive QA across all dynamic components. */
@media(max-width:1024px){
  .uni-grid,.uni-list,.partner-list,
  .uni-group .sp-repeat,.uni-group .sp-repeat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .facts{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media(max-width:720px){
  .uni-grid,.uni-list,.partner-list,
  .uni-group .sp-repeat,.uni-group .sp-repeat-grid,
  .facts{
    grid-template-columns:1fr !important;
  }
  .uni-group{margin-top:34px}
  .uni-grid > *,.uni-list > *,.partner-list > *,
  .uni-group .sp-repeat > *,.uni-group .sp-repeat-grid > *{
    min-height:0;
    padding:16px 17px !important;
  }
  .sec{overflow:hidden}
}


/* ============================================================
   v2.1 — ORIGINAL HTML STRUCTURE LOCK
   Dynamic fields may change content; these rules keep layout stable.
   ============================================================ */

/* JOURNEY / PROCESS — original vertical timeline, never boxed cards */
body .journey{
  position:relative !important;
  display:block !important;
  padding:0 !important;
  margin:0 !important;
  list-style:none !important;
  counter-reset:sp-step !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
body .journey > .step{
  position:relative !important;
  display:block !important;
  min-height:0 !important;
  padding:0 0 34px 62px !important;
  margin:0 !important;
  counter-increment:sp-step !important;
  background:transparent !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
body .journey > .step::before{
  content:"" !important;
  position:absolute !important;
  left:15px !important;
  top:8px !important;
  bottom:-8px !important;
  width:1px !important;
  height:auto !important;
  border:0 !important;
  border-radius:0 !important;
  background:var(--line) !important;
}
body .journey > .step:last-child{
  padding-bottom:0 !important;
}
body .journey > .step:last-child::before{
  display:none !important;
}
body .journey > .step::after{
  content:counter(sp-step, decimal-leading-zero) !important;
  position:absolute !important;
  left:0 !important;
  top:0 !important;
  width:34px !important;
  height:34px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border:1px solid var(--teal-soft) !important;
  border-radius:50% !important;
  background:#fff !important;
  color:var(--teal-deep) !important;
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif !important;
  font-size:.72rem !important;
  letter-spacing:.03em !important;
  box-shadow:none !important;
}
body .journey > .step h3{
  margin:0 0 .25em !important;
  font-size:1.08rem !important;
  line-height:1.35 !important;
}
body .journey > .step p{
  margin:0 !important;
  max-width:70ch;
  color:var(--muted) !important;
  font-size:.95rem !important;
  line-height:1.65 !important;
}

/* UNIVERSITY LISTS — no accidental outer box; each item is clean and independent */
body .uni-group{
  margin:0 !important;
}
body .uni-group + .uni-group{
  margin-top:52px !important;
}
body .uni-group > h3{
  margin:0 0 10px !important;
}
body .uni-list{
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr)) !important;
  gap:16px !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
}
body .uni-list > li{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  min-width:0 !important;
  min-height:74px !important;
  margin:0 !important;
  padding:18px 20px 18px 42px !important;
  background:#fff !important;
  color:var(--navy) !important;
  border:1px solid rgba(20,38,63,.09) !important;
  border-radius:14px !important;
  box-shadow:0 8px 24px rgba(20,38,63,.055) !important;
  font-size:.94rem !important;
  line-height:1.45 !important;
  overflow-wrap:anywhere !important;
}
body .uni-list > li::before{
  content:"" !important;
  position:absolute !important;
  left:20px !important;
  top:50% !important;
  width:8px !important;
  height:8px !important;
  margin:0 !important;
  transform:translateY(-50%) !important;
  border-radius:50% !important;
  background:var(--teal) !important;
}
body .uni-list > li:hover{
  background:var(--mist) !important;
  border-color:rgba(79,154,165,.28) !important;
}

/* OFFER / FEATURE LISTS — original list semantics, stable spacing */
body .offers{
  list-style:none !important;
  padding:0 !important;
  margin:0 !important;
  display:grid !important;
  gap:12px !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
body .offers > li{
  position:relative !important;
  display:flex !important;
  align-items:flex-start !important;
  gap:16px !important;
  margin:0 !important;
  padding:20px 22px 20px 48px !important;
  background:#fff !important;
  border:1px solid rgba(20,38,63,.09) !important;
  border-radius:14px !important;
  box-shadow:0 7px 22px rgba(20,38,63,.045) !important;
}
body .offers > li::before{
  content:"" !important;
  position:absolute !important;
  left:22px !important;
  top:29px !important;
  width:14px !important;
  height:1px !important;
  margin:0 !important;
  background:var(--teal) !important;
}

/* FACTS — bounded cards only, no shared wrapper border */
body .facts{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
body .facts > .fact{
  min-width:0 !important;
  margin:0 !important;
  padding:26px 22px !important;
  background:#fff !important;
  border:1px solid rgba(20,38,63,.09) !important;
  border-radius:15px !important;
  box-shadow:0 8px 24px rgba(20,38,63,.05) !important;
  text-align:center !important;
}

/* CARDS — dynamic text cannot merge or stretch outside its own card */
body .grid{
  min-width:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
  gap:24px !important;
}
body .grid.grid--3{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}
body .grid.grid--2{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
body .grid > .card{
  min-width:0 !important;
  height:100% !important;
  margin:0 !important;
  padding:30px !important;
  border:1px solid rgba(20,38,63,.09) !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 10px 28px rgba(20,38,63,.055) !important;
  overflow-wrap:anywhere !important;
}

/* FAQ — one border per accordion item, never nested/shared borders */
body .faq-list{
  display:grid !important;
  gap:12px !important;
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
}
body .faq-item{
  margin:0 !important;
  border:1px solid rgba(20,38,63,.09) !important;
  border-radius:14px !important;
  background:#fff !important;
  box-shadow:0 6px 20px rgba(20,38,63,.04) !important;
  overflow:hidden !important;
}

/* Generic containment for client-entered dynamic copy */
body .sec .wrap,
body .sec .narrow,
body .card,
body .fact,
body .step,
body .faq-item,
body .uni-list > li{
  min-width:0 !important;
}
body .sec h1,
body .sec h2,
body .sec h3,
body .sec p,
body .card *,
body .fact *,
body .step *,
body .faq-item *,
body .uni-list > li{
  overflow-wrap:anywhere;
}

/* Tablet / mobile */
@media(max-width:1024px){
  body .grid.grid--3{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  body .facts{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  body .uni-list{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media(max-width:720px){
  body .grid.grid--3,
  body .grid.grid--2,
  body .facts,
  body .uni-list{
    grid-template-columns:1fr !important;
  }
  body .journey > .step{
    padding-left:52px !important;
  }
  body .grid > .card{
    padding:25px 22px !important;
  }
}


/* ============================================================
   v2.2 — component integrity: one icon, one arrow, real links
   ============================================================ */

/* Card links: renderer owns the single arrow. Disable legacy pseudo-arrow. */
body .card-link{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  width:max-content !important;
  max-width:100% !important;
  text-decoration:none !important;
}
body .card-link::after{
  content:none !important;
  display:none !important;
}
body .card-link .link-arrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s ease;
}
body .card-link:hover .link-arrow{
  transform:translateX(4px);
}

/* Contextual card icons are decorative and never duplicate the action arrow. */
body .grid > .card > .ico{
  width:46px !important;
  height:46px !important;
  flex:0 0 46px !important;
  padding:11px !important;
  border-radius:13px !important;
  background:#eef7f8 !important;
  color:var(--teal-deep) !important;
  border:1px solid rgba(79,154,165,.20) !important;
}
body .grid > .card > .ico svg{
  width:23px !important;
  height:23px !important;
}

/* FAQ: CSS draws the symbol; suppress all native/literal markers. */
body .faq-item summary{
  list-style:none !important;
}
body .faq-item summary::marker{
  content:"" !important;
  display:none !important;
}
body .faq-item summary::-webkit-details-marker{
  display:none !important;
}
body .faq-plus{
  font-size:0 !important;
  color:transparent !important;
}
body .faq-plus::before,
body .faq-plus::after{
  display:block !important;
}

/* Dark CTA band: all eyebrow elements are deliberately white. */
body .band .eyebrow{
  color:#fff !important;
}
body .band .eyebrow::after{
  background:rgba(255,255,255,.34) !important;
}
body .band .eyebrow::before{
  border-color:rgba(255,255,255,.35) !important;
  background-color:rgba(255,255,255,.10) !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") !important;
}

/* Premium CTA band without changing PDF-backed content. */
body .band{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 82% 30%,rgba(79,154,165,.22),transparent 26%),
    linear-gradient(125deg,#14263f 0%,#183a55 64%,#205b67 100%) !important;
}
body .band .wrap{
  position:relative;
  z-index:1;
}
body .band h2{
  color:#fff !important;
}
body .band p{
  color:rgba(255,255,255,.80) !important;
}

/* Clickable controls get clear keyboard affordance. */
body a.card-link:focus-visible,
body .faq-item summary:focus-visible,
body .btn:focus-visible{
  outline:3px solid rgba(79,154,165,.34) !important;
  outline-offset:4px !important;
}


/* ============================================================
   v2.3 — Professional content/image composition
   Plain copy sections become balanced editorial split sections.
   ============================================================ */

/* Content sections no longer feel like isolated strips. */
body .sec{
  padding-top:clamp(64px,7vw,96px) !important;
  padding-bottom:clamp(64px,7vw,96px) !important;
}
body .sec > .wrap.narrow:has(.sp-content-split){
  max-width:1220px !important;
}

/* Main editorial split */
body .sp-content-split{
  display:grid !important;
  grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr) !important;
  gap:clamp(42px,6vw,82px) !important;
  align-items:center !important;
}
body .sp-content-split--reverse .sp-content-copy{
  order:2;
}
body .sp-content-split--reverse .sp-content-media{
  order:1;
}
body .sp-content-copy{
  min-width:0;
}
body .sp-content-copy > .eyebrow{
  margin-bottom:20px !important;
}
body .sp-content-copy > h2{
  margin-top:0 !important;
  margin-bottom:22px !important;
  font-size:clamp(2rem,3.2vw,3rem) !important;
  line-height:1.08 !important;
  color:var(--navy) !important;
}
body .sp-content-copy > p{
  max-width:64ch;
  color:var(--text) !important;
  font-size:1.02rem !important;
  line-height:1.75 !important;
}
body .sp-content-copy > p + p{
  margin-top:18px !important;
}
body .sp-content-action{
  margin-top:28px !important;
}

/* Image now belongs to the section instead of floating in a separate band. */
body .sp-content-media{
  position:relative !important;
  width:100% !important;
  min-height:420px !important;
  height:clamp(420px,36vw,520px) !important;
  margin:0 !important;
  overflow:hidden !important;
  border-radius:24px !important;
  background:#eaf1f3 !important;
  border:1px solid rgba(20,38,63,.08) !important;
  box-shadow:0 22px 54px rgba(20,38,63,.12) !important;
}
body .sp-content-media::before{
  content:"";
  position:absolute;
  z-index:1;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
}
body .sp-content-media img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center center !important;
  transition:transform .45s ease !important;
}
body .sp-content-media.sp-focus-top img{
  object-position:center 20% !important;
}
body .sp-content-media.sp-focus-bottom img{
  object-position:center 80% !important;
}
body .sp-content-media:hover img{
  transform:scale(1.025);
}

/* Legacy standalone image bands that remain on Home/Partners are not cropped too aggressively. */
body .sp-image-band{
  padding:40px 0 !important;
}
body .sp-image-band .sp-section-image{
  height:clamp(400px,42vw,580px) !important;
  max-height:none !important;
  aspect-ratio:auto !important;
}
body .sp-image-band .sp-section-image img{
  object-fit:cover !important;
  object-position:center 30% !important;
}

/* "Related / Continue your journey" is now a real composed section,
   not a giant empty panel followed by disconnected body copy. */
body .sp-content-copy .eyebrow + h2{
  margin-bottom:22px !important;
}
body .sec--mist .sp-content-media{
  box-shadow:0 22px 50px rgba(20,38,63,.09) !important;
}

/* Tighten transitions between major content components. */
body .sec + .band{
  margin-top:0 !important;
}
body .band{
  padding-top:clamp(66px,7vw,94px) !important;
  padding-bottom:clamp(66px,7vw,94px) !important;
}
body .band .narrow{
  max-width:820px !important;
}

/* Tablet */
@media(max-width:960px){
  body .sp-content-split{
    grid-template-columns:1fr 1fr !important;
    gap:34px !important;
  }
  body .sp-content-media{
    min-height:360px !important;
    height:440px !important;
  }
}

/* Mobile: copy first, image second regardless of alternating desktop layout. */
@media(max-width:760px){
  body .sp-content-split{
    grid-template-columns:1fr !important;
    gap:30px !important;
  }
  body .sp-content-split--reverse .sp-content-copy{
    order:1 !important;
  }
  body .sp-content-split--reverse .sp-content-media{
    order:2 !important;
  }
  body .sp-content-media{
    min-height:300px !important;
    height:clamp(300px,82vw,420px) !important;
    border-radius:18px !important;
  }
  body .sp-content-copy > h2{
    font-size:clamp(1.75rem,8vw,2.35rem) !important;
  }
  body .sp-image-band .sp-section-image{
    height:360px !important;
  }
}


/* ============================================================
   v2.4 — Active submenu states + deterministic alternating splits
   ============================================================ */

/* Top-level current page / ancestor */
body .sp-primary-menu > li.current-menu-item > a,
body .sp-primary-menu > li.current-menu-ancestor > a,
body .sp-primary-menu > li.current_page_item > a,
body .sp-primary-menu > li.current_page_ancestor > a{
  color:var(--teal-deep) !important;
  background:#eef7f8 !important;
}

/* Current submenu page gets its own visible active background */
body .sp-primary-menu .sub-menu li.current-menu-item > a,
body .sp-primary-menu .sub-menu li.current_page_item > a,
body .sp-primary-menu .sub-menu li.current-menu-ancestor > a,
body .sp-primary-menu .sub-menu li.current_page_ancestor > a{
  color:var(--navy) !important;
  background:#e8f4f5 !important;
  font-weight:600 !important;
  box-shadow:inset 3px 0 0 var(--teal) !important;
}

/* Hover remains distinct from the active state */
body .sp-primary-menu .sub-menu a:hover{
  color:var(--navy) !important;
  background:#f3f8f9 !important;
}

/* Deterministic alternating split layout:
   first split = content left / image right
   second split = image left / content right, etc. */
body .sp-content-split{
  grid-template-areas:"copy media";
}
body .sp-content-split .sp-content-copy{
  grid-area:copy;
}
body .sp-content-split .sp-content-media{
  grid-area:media;
}
body .sp-content-split--reverse{
  grid-template-areas:"media copy";
}
body .sp-content-split--reverse .sp-content-copy,
body .sp-content-split--reverse .sp-content-media{
  order:initial !important;
}

/* Give alternating sections a subtle editorial rhythm */
body .sec:nth-of-type(even) .sp-content-split{
  position:relative;
}
body .sp-content-split .sp-content-media{
  isolation:isolate;
}

/* Mobile always returns to copy first, image second */
@media(max-width:760px){
  body .sp-content-split,
  body .sp-content-split--reverse{
    grid-template-areas:
      "copy"
      "media" !important;
  }
}

/* Mobile submenu active state remains obvious */
@media(max-width:820px){
  body .sp-primary-menu .sub-menu li.current-menu-item > a,
  body .sp-primary-menu .sub-menu li.current_page_item > a{
    padding-left:12px !important;
    border-left:3px solid var(--teal) !important;
    box-shadow:none !important;
  }
}


/* ============================================================
   v2.5 — Contact redesign, aligned article layout, motion + loader
   ============================================================ */

/* ---------- Contact page ---------- */
body .sp-contact-shell{
  display:grid !important;
  grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr) !important;
  gap:clamp(42px,6vw,82px) !important;
  align-items:start !important;
  width:100% !important;
}
body .sp-contact-copy{
  min-width:0;
  padding-top:8px;
}
body .sp-contact-copy .eyebrow{
  margin-bottom:20px !important;
}
body .sp-contact-copy h2{
  margin:0 0 18px !important;
  color:var(--navy) !important;
  font-size:clamp(2rem,3.2vw,3rem) !important;
  line-height:1.08 !important;
}
body .sp-contact-intro{
  max-width:58ch;
  color:var(--text);
  font-size:1.05rem;
  line-height:1.75;
}
body .sp-contact-intro p{
  margin:0 0 20px;
}
body .contact-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:30px 0 26px;
}
body .contact-list > div{
  min-width:0;
  padding:17px 18px;
  border:1px solid rgba(20,38,63,.08);
  border-radius:13px;
  background:#fff;
  box-shadow:0 7px 22px rgba(20,38,63,.045);
}
body .contact-list dt{
  margin:0 0 4px;
  color:var(--teal-deep);
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body .contact-list dd{
  margin:0;
  color:var(--navy);
  font-size:.94rem;
  overflow-wrap:anywhere;
}
body .sp-contact-media{
  position:relative;
  width:100%;
  height:clamp(260px,27vw,360px);
  margin:30px 0 0;
  overflow:hidden;
  border-radius:20px;
  background:#eaf1f3;
  border:1px solid rgba(20,38,63,.08);
  box-shadow:0 18px 42px rgba(20,38,63,.10);
}
body .sp-contact-media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
}
body .sp-contact-media.sp-focus-top img{object-position:center 20%}
body .sp-contact-media.sp-focus-bottom img{object-position:center 80%}

body .sp-contact-form-card{
  position:relative;
  padding:clamp(28px,4vw,44px) !important;
  background:#fff;
  border:1px solid rgba(20,38,63,.09);
  border-radius:22px;
  box-shadow:0 22px 54px rgba(20,38,63,.10);
}
body .sp-contact-form-card::before{
  content:"";
  position:absolute;
  left:38px;
  top:0;
  width:58px;
  height:3px;
  border-radius:0 0 8px 8px;
  background:linear-gradient(90deg,var(--teal),var(--navy));
}
body .sp-form-head{
  margin-bottom:28px;
}
body .sp-form-kicker{
  display:block;
  margin-bottom:7px;
  color:var(--teal-deep);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.14em;
  text-transform:uppercase;
}
body .sp-form-head h3{
  margin:0;
  color:var(--navy);
  font-size:clamp(1.55rem,2.4vw,2rem);
}
body .sp-form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px 18px;
}
body .sp-contact-form label{
  display:grid !important;
  gap:8px !important;
  min-width:0;
  margin:0 !important;
  color:var(--navy);
  font-size:.86rem;
  font-weight:600;
}
body .sp-contact-form label > span{
  display:block;
}
body .sp-contact-form input,
body .sp-contact-form select,
body .sp-contact-form textarea{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  border:1px solid #cfd9df !important;
  border-radius:10px !important;
  background:#fbfcfd !important;
  color:var(--text) !important;
  font:inherit !important;
  box-shadow:none !important;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}
body .sp-contact-form input,
body .sp-contact-form select{
  height:52px !important;
  padding:0 14px !important;
}
body .sp-contact-form textarea{
  min-height:150px !important;
  padding:13px 14px !important;
  resize:vertical;
}
body .sp-contact-form input:focus,
body .sp-contact-form select:focus,
body .sp-contact-form textarea:focus{
  outline:none !important;
  border-color:var(--teal) !important;
  background:#fff !important;
  box-shadow:0 0 0 4px rgba(79,154,165,.11) !important;
}
body .sp-field-full{
  grid-column:1/-1;
}
body .sp-submit{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-width:190px;
  margin-top:24px !important;
}
body .sp-submit span:last-child{
  transition:transform .18s ease;
}
body .sp-submit:hover span:last-child{
  transform:translateX(4px);
}

/* ---------- Single blog alignment ---------- */
body .sp-post-head > .wrap,
body .sp-single-post .sp-image-band > .wrap,
body .sp-single-post .sp-article > .wrap{
  max-width:var(--wrap) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:var(--gut) !important;
  padding-right:var(--gut) !important;
}
body .sp-post-head h1{
  max-width:18ch !important;
}
body .sp-post-head .lede{
  max-width:72ch !important;
}
body .sp-single-post .sp-article-hero{
  width:100% !important;
  height:clamp(380px,45vw,610px) !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  margin-bottom:0 !important;
}
body .sp-single-post .sp-article-hero img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 30% !important;
}
body .sp-article-layout{
  grid-template-columns:minmax(0,1fr) minmax(260px,330px) !important;
  gap:clamp(42px,5vw,70px) !important;
  justify-content:stretch !important;
}
body .sp-article-content{
  max-width:800px;
}

/* ---------- Branded loader ---------- */
body.sp-loading{
  overflow:hidden !important;
}
.sp-site-loader{
  position:fixed;
  z-index:999999;
  inset:0;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 72% 35%,rgba(79,154,165,.24),transparent 28%),
    linear-gradient(135deg,#0d1d31 0%,#14263f 55%,#1d5662 100%);
  opacity:1;
  visibility:visible;
  transition:opacity .55s ease, visibility .55s ease;
}
.sp-loader-inner{
  width:min(680px,84vw);
  text-align:center;
  transform:translateY(0);
  transition:transform .55s ease;
}
.sp-loader-title{
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;
  font-size:clamp(2rem,6vw,4.8rem);
  font-weight:500;
  line-height:1;
  letter-spacing:.13em;
  color:#fff;
  background:linear-gradient(90deg,#fff 0%,#fff 38%,#9fcbd0 52%,#fff 66%,#fff 100%);
  background-size:220% 100%;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  animation:spLoaderText 1.8s ease-in-out infinite;
}
.sp-loader-line{
  width:min(440px,72vw);
  height:1px;
  margin:24px auto 14px;
  overflow:hidden;
  background:rgba(255,255,255,.18);
}
.sp-loader-line span{
  display:block;
  width:40%;
  height:100%;
  background:#8fc3c9;
  transform:translateX(-110%);
  animation:spLoaderLine 1.25s cubic-bezier(.45,0,.2,1) infinite;
}
.sp-loader-subtitle{
  color:rgba(255,255,255,.66);
  font-family:'Jost','Futura','Century Gothic','Avenir Next',Verdana,sans-serif;
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.28em;
  text-transform:uppercase;
}
.sp-site-loader.sp-loader-done{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.sp-site-loader.sp-loader-done .sp-loader-inner{
  transform:translateY(-12px);
}
body.sp-site-ready{
  overflow:auto;
}
@keyframes spLoaderText{
  0%,100%{background-position:100% 0}
  50%{background-position:0 0}
}
@keyframes spLoaderLine{
  0%{transform:translateX(-110%)}
  65%,100%{transform:translateX(280%)}
}

/* ---------- Professional scroll entrance / exit motion ---------- */
.sp-motion-item{
  will-change:transform,opacity;
}
body.sp-motion-ready .sp-motion-item{
  opacity:0;
  transform:translate3d(0,24px,0);
  transition:
    opacity .58s cubic-bezier(.2,.7,.2,1) var(--sp-delay,0ms),
    transform .58s cubic-bezier(.2,.7,.2,1) var(--sp-delay,0ms);
}
body.sp-motion-ready .sp-motion-item.sp-motion-in{
  opacity:1;
  transform:translate3d(0,0,0);
}
body.sp-motion-ready .sp-motion-item.sp-motion-out-up{
  opacity:.48;
  transform:translate3d(0,-12px,0);
  transition-duration:.34s;
  transition-delay:0ms;
}
body.sp-motion-ready .sp-motion-item.sp-motion-out-down{
  opacity:.48;
  transform:translate3d(0,12px,0);
  transition-duration:.34s;
  transition-delay:0ms;
}

/* Images and cards receive slightly more refined movement. */
body.sp-motion-ready .sp-content-media.sp-motion-item,
body.sp-motion-ready .sp-contact-media.sp-motion-item{
  transform:translate3d(18px,18px,0) scale(.985);
}
body.sp-motion-ready .sp-content-media.sp-motion-in,
body.sp-motion-ready .sp-contact-media.sp-motion-in{
  transform:translate3d(0,0,0) scale(1);
}
body.sp-motion-ready .grid > .card.sp-motion-item,
body.sp-motion-ready .uni-list > li.sp-motion-item,
body.sp-motion-ready .faq-item.sp-motion-item{
  transform:translate3d(0,18px,0) scale(.992);
}
body.sp-motion-ready .grid > .card.sp-motion-in,
body.sp-motion-ready .uni-list > li.sp-motion-in,
body.sp-motion-ready .faq-item.sp-motion-in{
  transform:translate3d(0,0,0) scale(1);
}

/* Short page-exit transition for internal links. */
body main,
body .site-foot{
  transition:opacity .22s ease, transform .22s ease;
}
body.sp-page-exit main,
body.sp-page-exit .site-foot{
  opacity:.15;
  transform:translateY(-7px);
}

/* Responsive contact/article */
@media(max-width:980px){
  body .sp-contact-shell{
    grid-template-columns:1fr 1fr !important;
    gap:32px !important;
  }
  body .sp-form-grid{
    grid-template-columns:1fr !important;
  }
  body .sp-field-full{
    grid-column:auto;
  }
}
@media(max-width:760px){
  body .sp-contact-shell{
    grid-template-columns:1fr !important;
  }
  body .sp-contact-form-card{
    padding:26px 20px !important;
    border-radius:18px;
  }
  body .contact-list{
    grid-template-columns:1fr;
  }
  body .sp-contact-media{
    height:320px;
  }
  body .sp-article-layout{
    grid-template-columns:1fr !important;
  }
  body .sp-single-post .sp-article-hero{
    height:clamp(280px,70vw,420px) !important;
  }
}

/* Accessibility: all loader/motion effects are removed when requested. */
@media(prefers-reduced-motion:reduce){
  .sp-site-loader,
  .sp-loader-inner,
  .sp-loader-title,
  .sp-loader-line span,
  .sp-motion-item,
  body main,
  body .site-foot{
    animation:none !important;
    transition:none !important;
    transform:none !important;
  }
  body.sp-motion-ready .sp-motion-item{
    opacity:1 !important;
  }
}


/* ============================================================
   v2.7 — CLEAN STABILITY BUILD
   No loader. No scroll reveal. No JS-controlled content visibility.
   ============================================================ */

/* Original HTML used .rv as a JS reveal state. It is intentionally disabled. */
html body .rv,
html body .rv.in,
html body .sp-motion-item,
html body .sp-motion-in,
html body .sp-motion-out-up,
html body .sp-motion-out-down,
html body [data-sp-animate]{
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
  filter:none !important;
  animation:none !important;
}

/* Completely neutralize the removed loader/motion system if stale cached classes exist. */
html body.sp-loading,
html body.sp-motion-ready,
html body.sp-page-exit,
html body.sp-site-ready{
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
  overflow:auto !important;
}
html body .sp-site-loader{
  display:none !important;
}

/* Original home hero structure restored exactly. */
body .hero.hero--split .hero-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(420px,.88fr) !important;
  gap:clamp(48px,7vw,92px) !important;
  align-items:center !important;
}
body .hero.hero--split .route{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:560px !important;
  margin-inline:auto !important;
  opacity:1 !important;
  visibility:visible !important;
}
body .hero.hero--split .route text{
  font-family:'Source Sans 3',Arial,sans-serif;
  fill:var(--text);
  font-size:13px;
}
body .hero.hero--split .route .rt-origin{
  fill:var(--navy);
  font-size:11px;
  font-weight:600;
  letter-spacing:.14em;
}
body .hero.hero--split .route .rt-sub{
  fill:var(--muted);
  font-size:11px;
}

/* Keep only the original route-line SVG animation; it never controls content visibility. */
body .route .rt{
  stroke-dasharray:7 8;
}
body .route .pulse{
  animation:pulse 2.8s ease-out infinite;
}

/* Never allow empty-looking giant sections from stale animation min-heights. */
body main > section,
body .sec,
body .sec--mist,
body .sp-content-split,
body .sp-contact-shell{
  min-height:0 !important;
}

/* Defensive visibility for every dynamic content component. */
body .sp-content-copy,
body .sp-content-media,
body .grid > .card,
body .facts > .fact,
body .journey > .step,
body .faq-item,
body .uni-list > li,
body .sp-post-card,
body .contact-list > div,
body .sp-contact-copy,
body .sp-contact-media,
body .sp-contact-form-card{
  opacity:1 !important;
  visibility:visible !important;
}

/* Mobile hero */
@media(max-width:900px){
  body .hero.hero--split .hero-grid{
    grid-template-columns:1fr !important;
    gap:36px !important;
  }
  body .hero.hero--split .route{
    max-width:620px !important;
  }
}

@media(prefers-reduced-motion:reduce){
  body .route .pulse{
    animation:none !important;
  }
}


/* ============================================================
   v2.8 — responsive hero, safe reveal, blog/stat/breadcrumb polish
   ============================================================ */

/* StudyPathway palette is the interaction language everywhere. */
body .btn:hover,
body .btn:focus-visible,
body .btn--ghost:hover,
body .btn--light:hover,
body .site-head .nav a.nav-cta:hover,
body button[type="submit"]:hover,
body input[type="submit"]:hover{
  background:var(--teal-deep) !important;
  border-color:var(--teal-deep) !important;
  color:#fff !important;
}
body .card-link:hover,
body .sp-post-card h3 a:hover,
body .site-foot a:hover{
  color:var(--teal-deep) !important;
}

/* Home route: keep the original artwork inside its own visual column. */
body .hero.hero--split{
  overflow:hidden !important;
}
body .hero.hero--split .hero-grid{
  grid-template-columns:minmax(0,.92fr) minmax(430px,1.08fr) !important;
  gap:clamp(36px,5vw,72px) !important;
}
body .hero.hero--split .hero-grid > div:last-child{
  min-width:0 !important;
  overflow:hidden !important;
  border-radius:26px;
}
body .hero.hero--split .route{
  width:100% !important;
  max-width:680px !important;
  margin:0 auto !important;
  overflow:hidden !important;
}
body .hero.hero--split h1{
  font-size:clamp(3rem,5.2vw,5.25rem) !important;
  line-height:.98 !important;
  max-width:10.5ch !important;
}

/* Breadcrumb home icon replaces the HOME word everywhere. */
body .crumb{
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
}
body .sp-home-crumb{
  width:31px;
  height:31px;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  color:inherit !important;
  background:rgba(79,154,165,.10);
  border:1px solid rgba(79,154,165,.20);
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
body .sp-home-crumb:hover{
  background:var(--teal-deep);
  border-color:var(--teal-deep);
  color:#fff !important;
}
body .crumb-sep{opacity:.55}

/* Single-post category is readable on the dark banner. */
body .sp-post-head .eyebrow{
  width:max-content;
  color:#fff !important;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  padding:8px 13px !important;
  margin-bottom:24px !important;
}
body .sp-post-head .eyebrow::before,
body .sp-post-head .eyebrow::after{
  display:none !important;
}
body .sp-post-head .crumb,
body .sp-post-head .crumb a{
  color:rgba(255,255,255,.88) !important;
}
body .sp-post-head .sp-home-crumb{
  background:rgba(255,255,255,.11);
  border-color:rgba(255,255,255,.20);
}

/* Blog cards match service-card proportions; no oversized empty card. */
body .sp-post-grid{
  align-items:start !important;
}
body .grid > .sp-post-card{
  height:auto !important;
  min-height:0 !important;
  align-self:start !important;
}
body .sp-post-body{
  padding:24px 26px 26px !important;
}
body .sp-post-card:not(:has(.sp-post-thumb)) .sp-post-body{
  padding:28px !important;
}
body .sp-post-card .card-link{
  margin-top:18px !important;
}

/* Stats live inside their own card only: no page-wide border line. */
body .stats{
  border:0 !important;
  background:transparent !important;
  padding:20px 0 0 !important;
}
body .stats > .wrap{
  padding-top:0 !important;
  padding-bottom:0 !important;
}
body .stats-in{
  overflow:hidden;
  border:1px solid rgba(20,38,63,.09) !important;
  border-radius:20px !important;
  background:#fff !important;
  box-shadow:0 14px 36px rgba(20,38,63,.07) !important;
}
body .stat b.sp-count{
  font-variant-numeric:tabular-nums;
}

/* Safe progressive reveal.
   CSS hides elements ONLY after JS has successfully enabled the system. */
html:not(.sp-reveal-enabled) body .sp-reveal-item,
html:not(.sp-reveal-enabled) body .rv{
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
}
html.sp-reveal-enabled body .sp-reveal-item{
  transition:
    opacity .68s cubic-bezier(.2,.65,.3,1) var(--sp-reveal-delay,0ms),
    transform .68s cubic-bezier(.2,.65,.3,1) var(--sp-reveal-delay,0ms) !important;
}
html.sp-reveal-enabled body .sp-reveal-pending{
  opacity:0 !important;
  transform:translateY(22px) !important;
}
html.sp-reveal-enabled body .sp-content-media.sp-reveal-pending{
  transform:translateY(18px) scale(.985) !important;
}
html.sp-reveal-enabled body .sp-reveal-in{
  opacity:1 !important;
  transform:none !important;
}

/* Neutralize the original .rv hidden state: observer system above is the only reveal system. */
body .rv,
body .rv.in{
  opacity:1 !important;
  transform:none !important;
}

/* Mobile: header scrolls normally instead of sticking to viewport. */
@media(max-width:820px){
  body .site-head{
    position:relative !important;
    top:auto !important;
  }
  body .site-head .nav{
    position:absolute !important;
    inset:100% 0 auto !important;
    max-height:calc(100vh - 74px) !important;
  }
}

/* Hero mobile: visual stays contained; route circles never overlap headline. */
@media(max-width:900px){
  body .hero.hero--split{
    padding-top:54px !important;
  }
  body .hero.hero--split .hero-grid{
    grid-template-columns:1fr !important;
    gap:34px !important;
  }
  body .hero.hero--split .hero-grid > div:first-child{
    text-align:left !important;
  }
  body .hero.hero--split h1{
    margin-left:0 !important;
    margin-right:0 !important;
    max-width:11ch !important;
    font-size:clamp(2.75rem,11vw,4.7rem) !important;
  }
  body .hero.hero--split .hero-sub{
    margin-left:0 !important;
    margin-right:0 !important;
  }
  body .hero.hero--split .hero-actions{
    justify-content:flex-start !important;
  }
  body .hero.hero--split .eyebrow{
    justify-content:flex-start !important;
  }
  body .hero.hero--split .route{
    max-width:650px !important;
    margin-inline:auto !important;
  }
}
@media(max-width:560px){
  body .hero.hero--split .hero-grid > div:last-child{
    margin-inline:-8px;
  }
  body .hero.hero--split .route{
    width:112% !important;
    max-width:none !important;
    transform:translateX(-4%);
  }
  body .route text{
    font-size:12px !important;
  }
  body .route .rt-sub{
    font-size:9.5px !important;
  }
}

/* Reduced motion: final state only; stat JS also skips counting. */
@media(prefers-reduced-motion:reduce){
  html.sp-reveal-enabled body .sp-reveal-item{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}


/* ============================================================
   v2.9 — scroll timing + mobile navigation polish
   ============================================================ */

/* Extra breathing room below stats section */
body .stats{
  margin-bottom:clamp(40px,5vw,76px) !important;
}
body .stats + .sec,
body .stats + section{
  margin-top:0 !important;
}

/* Progressive-enhancement entrance animation.
   Content is visible by default and only transitions after JS marks it. */
html.sp-reveal-ready .sp-reveal{
  opacity:0;
  transform:translateY(28px);
  transition:
    opacity .68s cubic-bezier(.22,.7,.28,1),
    transform .68s cubic-bezier(.22,.7,.28,1);
  transition-delay:var(--sp-reveal-delay,0ms);
  will-change:opacity,transform;
}
html.sp-reveal-ready .sp-reveal.sp-reveal-in{
  opacity:1;
  transform:none;
}

/* Split sections feel more editorial */
html.sp-reveal-ready .sp-content-split .sp-content-copy.sp-reveal{
  transform:translateX(-24px);
}
html.sp-reveal-ready .sp-content-split .sp-content-media.sp-reveal{
  transform:translateX(24px);
}
html.sp-reveal-ready .sp-content-split--reverse .sp-content-copy.sp-reveal{
  transform:translateX(24px);
}
html.sp-reveal-ready .sp-content-split--reverse .sp-content-media.sp-reveal{
  transform:translateX(-24px);
}
html.sp-reveal-ready .sp-content-split .sp-content-copy.sp-reveal.sp-reveal-in,
html.sp-reveal-ready .sp-content-split .sp-content-media.sp-reveal.sp-reveal-in{
  transform:none;
}

/* Staggerable items */
html.sp-reveal-ready .grid > .card.sp-reveal,
html.sp-reveal-ready .faq-item.sp-reveal,
html.sp-reveal-ready .journey > .step.sp-reveal,
html.sp-reveal-ready .uni-list > li.sp-reveal,
html.sp-reveal-ready .facts > .fact.sp-reveal,
html.sp-reveal-ready .post-card.sp-reveal{
  transition-delay:var(--sp-reveal-delay,0ms);
}

/* Mobile header is never sticky */
@media(max-width:820px){
  body .site-head{
    position:relative !important;
    top:auto !important;
  }

  /* Cleaner burger */
  body .burger{
    width:48px !important;
    height:48px !important;
    padding:0 !important;
    border-radius:12px !important;
    background:linear-gradient(135deg,var(--teal),var(--navy)) !important;
    border:0 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    gap:5px !important;
    box-shadow:0 10px 24px rgba(20,38,63,.12) !important;
  }
  body .burger span{
    width:20px !important;
    height:2px !important;
    margin:0 !important;
    border-radius:2px !important;
    background:#fff !important;
    transition:transform .22s ease, opacity .22s ease !important;
  }
  body .burger[aria-expanded="true"] span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }
  body .burger[aria-expanded="true"] span:nth-child(2){
    opacity:0;
  }
  body .burger[aria-expanded="true"] span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  /* Drawer/card */
  body .nav{
    left:0 !important;
    right:0 !important;
    top:100% !important;
    width:100% !important;
    max-height:calc(100vh - 74px) !important;
    overflow-y:auto !important;
    padding:16px 18px 22px !important;
    background:#fff !important;
    border-top:1px solid rgba(20,38,63,.07) !important;
    box-shadow:0 20px 44px rgba(20,38,63,.14) !important;
  }

  body .sp-primary-menu{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
  }

  body .sp-primary-menu > li{
    border-bottom:1px solid rgba(20,38,63,.08) !important;
  }

  body .sp-primary-menu > li > a{
    min-height:54px !important;
    padding:14px 14px !important;
    border:0 !important;
    border-radius:10px !important;
    font-size:1rem !important;
    font-weight:500 !important;
    justify-content:space-between !important;
  }

  /* Active top-level */
  body .sp-primary-menu > li.current-menu-item > a,
  body .sp-primary-menu > li.current-menu-ancestor > a,
  body .sp-primary-menu > li.current_page_item > a,
  body .sp-primary-menu > li.current_page_ancestor > a{
    padding-left:16px !important;
    color:var(--teal-deep) !important;
    background:#edf7f8 !important;
  }

  /* Better submenu chevron */
  body .sp-primary-menu .menu-item-has-children > a::after{
    width:8px !important;
    height:8px !important;
    margin-left:12px !important;
    border-width:0 1.5px 1.5px 0 !important;
    transform:rotate(45deg) !important;
    transition:transform .22s ease !important;
  }
  body .sp-primary-menu .menu-item-has-children.open > a::after{
    transform:rotate(225deg) !important;
  }

  /* Accordion submenu */
  body .sp-primary-menu .sub-menu{
    display:none !important;
    position:static !important;
    width:100% !important;
    min-width:0 !important;
    margin:0 0 10px !important;
    padding:6px 0 8px 14px !important;
    border:0 !important;
    border-left:2px solid #dbecef !important;
    border-radius:0 !important;
    box-shadow:none !important;
    opacity:1 !important;
    visibility:visible !important;
    transform:none !important;
    background:transparent !important;
  }
  body .sp-primary-menu .menu-item-has-children.open > .sub-menu{
    display:block !important;
  }
  body .sp-primary-menu .sub-menu li{
    border:0 !important;
  }
  body .sp-primary-menu .sub-menu a{
    min-height:44px !important;
    padding:11px 14px !important;
    margin:3px 0 !important;
    border:0 !important;
    border-radius:9px !important;
    font-size:.94rem !important;
    line-height:1.35 !important;
    color:var(--text) !important;
  }

  /* Active submenu gets real padding, accent and readable background */
  body .sp-primary-menu .sub-menu li.current-menu-item > a,
  body .sp-primary-menu .sub-menu li.current_page_item > a,
  body .sp-primary-menu .sub-menu li.current-menu-ancestor > a,
  body .sp-primary-menu .sub-menu li.current_page_ancestor > a{
    padding:11px 14px 11px 16px !important;
    color:var(--navy) !important;
    background:#e8f4f5 !important;
    border-left:3px solid var(--teal) !important;
    font-weight:600 !important;
  }

  body .site-head .nav > .nav-cta{
    width:100% !important;
    min-height:54px !important;
    margin:20px 0 0 !important;
    border-radius:12px !important;
  }
}

/* On very small screens give logo and menu enough room */
@media(max-width:480px){
  body .head-in{
    padding-left:16px !important;
    padding-right:16px !important;
  }
  body .sp-header-brand img{
    max-width:210px !important;
    max-height:44px !important;
  }
  body .nav{
    padding-left:14px !important;
    padding-right:14px !important;
  }
}

@media(prefers-reduced-motion:reduce){
  html.sp-reveal-ready .sp-reveal{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}


/* ============================================================
   v3.0 — footer icons + compact blog cards
   ============================================================ */

/* Footer links: subtle icon system without changing column structure */
.site-foot .foot-menu li{
  position:relative;
}
.site-foot .foot-menu a{
  position:relative;
  display:inline-flex !important;
  align-items:flex-start;
  gap:10px;
  padding:5px 0 !important;
  line-height:1.45;
}
.site-foot .foot-menu a::before{
  content:"";
  width:16px;
  height:16px;
  flex:0 0 16px;
  margin-top:2px;
  background-repeat:no-repeat;
  background-position:center;
  background-size:15px 15px;
  opacity:.82;
  transition:transform .2s ease,opacity .2s ease;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a9d0d5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.site-foot .foot-menu a:hover::before{
  transform:translateX(3px);
  opacity:1;
}

/* More meaningful footer icon variants based on link destination */
.site-foot .foot-menu a[href*="study-destinations"]::before,
.site-foot .foot-menu a[href*="/uk/"]::before,
.site-foot .foot-menu a[href*="/malaysia/"]::before,
.site-foot .foot-menu a[href*="/australia/"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a9d0d5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 4 6 4 9s-1 6-4 9c-3-3-4-6-4-9s1-6 4-9z'/%3E%3C/svg%3E");
}
.site-foot .foot-menu a[href*="services"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a9d0d5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l3 6 7 .8-5 4.8 1.5 6.8L12 17l-6.5 3.4L7 13.6 2 8.8 9 8z'/%3E%3C/svg%3E");
}
.site-foot .foot-menu a[href*="research"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a9d0d5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='5'/%3E%3Cpath d='M14 14l6 6M8 10h4M10 8v4'/%3E%3C/svg%3E");
}
.site-foot .foot-menu a[href*="partner-universities"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a9d0d5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10l9-5 9 5-9 5z'/%3E%3Cpath d='M6 13v5h12v-5M4 20h16'/%3E%3C/svg%3E");
}
.site-foot .foot-menu a[href*="contact-us"]::before,
.site-foot .foot-menu a[href*="wa.me"]::before,
.site-foot .foot-menu a[href*="whatsapp"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a9d0d5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E");
}
.site-foot .foot-menu a[href*="about"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a9d0d5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 10v6M12 7h.01'/%3E%3C/svg%3E");
}
.site-foot .foot-menu a[href*="blog"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a9d0d5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14v16H5z'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E");
}

/* Blog listing: match service/research card proportions */
body .sp-blog-grid,
body .posts-grid,
body .blog-grid{
  gap:24px !important;
  align-items:stretch !important;
}
body .post-card,
body .sp-post-card{
  min-height:0 !important;
  height:100% !important;
  padding:30px 28px 26px !important;
  border-radius:18px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
}
body .post-card .post-card-body,
body .sp-post-card .post-card-body{
  padding:0 !important;
}
body .post-card h2,
body .post-card h3,
body .sp-post-card h2,
body .sp-post-card h3{
  margin:8px 0 12px !important;
  line-height:1.2 !important;
}
body .post-card p,
body .sp-post-card p{
  margin-bottom:18px !important;
}
body .post-card .card-link,
body .sp-post-card .card-link{
  margin-top:auto !important;
  padding-top:6px !important;
}

/* Remove accidental oversized vertical whitespace around blog listing section */
body .sec--mist:has(.post-card),
body .sec--mist:has(.sp-post-card){
  padding-top:clamp(52px,6vw,78px) !important;
  padding-bottom:clamp(52px,6vw,78px) !important;
}
body .sec--mist:has(.post-card) .sec-head,
body .sec--mist:has(.sp-post-card) .sec-head{
  margin-bottom:30px !important;
}

/* Mobile blog cards should stay compact */
@media(max-width:720px){
  body .post-card,
  body .sp-post-card{
    padding:24px 22px !important;
  }
  body .sec--mist:has(.post-card),
  body .sec--mist:has(.sp-post-card){
    padding-top:42px !important;
    padding-bottom:42px !important;
  }
}


/* ============================================================
   v3.1 — global entrance motion + universal box hover
   ============================================================ */

/* One consistent interaction language for every reusable box. */
body .grid > .card,
body .fact,
body .stat,
body .faq-item,
body .journey > .step,
body .uni-list > li,
body .offers > li,
body .post-card,
body .sp-post-card,
body .sp-contact-form-card,
body .sp-contact-copy,
body .sp-content-media,
body .contact-list > div,
body .foot-grid > div:not(.foot-brand){
  transition:
    transform .24s ease,
    box-shadow .24s ease,
    border-color .24s ease,
    background-color .24s ease !important;
}

/* Hover elevation: subtle and professional, not exaggerated. */
@media(hover:hover) and (pointer:fine){
  body .grid > .card:hover,
  body .fact:hover,
  body .stat:hover,
  body .faq-item:hover,
  body .uni-list > li:hover,
  body .offers > li:hover,
  body .post-card:hover,
  body .sp-post-card:hover,
  body .sp-contact-form-card:hover,
  body .contact-list > div:hover{
    transform:translateY(-5px) !important;
    border-color:rgba(79,154,165,.38) !important;
    box-shadow:0 20px 44px rgba(20,38,63,.11) !important;
  }

  body .journey > .step:hover h3{
    color:var(--teal-deep) !important;
  }

  body .sp-content-media:hover{
    transform:translateY(-3px) !important;
    box-shadow:0 26px 58px rgba(20,38,63,.15) !important;
  }
}

/* Safe progressive reveal.
   Nothing is hidden unless JS has successfully added .sp-reveal-ready. */
html:not(.sp-reveal-ready) body .sp-reveal{
  opacity:1 !important;
  transform:none !important;
}
html.sp-reveal-ready body .sp-reveal{
  opacity:0;
  transform:translateY(26px);
  transition:
    opacity .66s cubic-bezier(.22,.7,.28,1),
    transform .66s cubic-bezier(.22,.7,.28,1);
  transition-delay:var(--sp-reveal-delay,0ms);
}
html.sp-reveal-ready body .sp-reveal.sp-reveal-left{
  transform:translateX(-26px);
}
html.sp-reveal-ready body .sp-reveal.sp-reveal-right{
  transform:translateX(26px);
}
html.sp-reveal-ready body .sp-reveal.sp-reveal-scale{
  transform:translateY(14px) scale(.975);
}
html.sp-reveal-ready body .sp-reveal.sp-reveal-in{
  opacity:1;
  transform:none;
}

/* Stats number gets a tiny emphasis while counting. */
body .fact b.sp-counting,
body .stat b.sp-counting{
  display:inline-block;
  transform:scale(1.035);
  transition:transform .2s ease;
}
body .fact b:not(.sp-counting),
body .stat b:not(.sp-counting){
  transform:scale(1);
}

/* Keep stats area visually separated without a full-width divider. */
body .stats{
  border-top:0 !important;
  border-bottom:0 !important;
}
body .stats::before,
body .stats::after{
  display:none !important;
}

/* Mobile: hover transforms are disabled naturally, reveal stays vertical. */
@media(max-width:720px){
  html.sp-reveal-ready body .sp-reveal.sp-reveal-left,
  html.sp-reveal-ready body .sp-reveal.sp-reveal-right{
    transform:translateY(22px);
  }
}

/* Accessibility */
@media(prefers-reduced-motion:reduce){
  html.sp-reveal-ready body .sp-reveal,
  body .grid > .card,
  body .fact,
  body .stat,
  body .faq-item,
  body .journey > .step,
  body .uni-list > li,
  body .offers > li,
  body .post-card,
  body .sp-post-card,
  body .sp-contact-form-card,
  body .sp-content-media{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}


/* ============================================================
   v3.2 — counter root fix + full section reveal audit
   ============================================================ */

html.sp-reveal-ready body .sp-section-reveal{
  opacity:0;
  transform:translateY(24px);
  transition:
    opacity .68s cubic-bezier(.22,.7,.28,1),
    transform .68s cubic-bezier(.22,.7,.28,1);
}
html.sp-reveal-ready body .sp-section-reveal.sp-reveal-in{
  opacity:1;
  transform:none;
}

/* Hero/page-head entrance */
html.sp-reveal-ready body .hero-grid > div.sp-reveal:first-child{
  transform:translateX(-24px);
}
html.sp-reveal-ready body .hero-grid > div.sp-reveal:last-child{
  transform:translateX(24px);
}
html.sp-reveal-ready body .hero-grid > div.sp-reveal.sp-reveal-in{
  transform:none;
}
html.sp-reveal-ready body .page-head > .wrap.sp-reveal{
  transform:translateY(20px);
}
html.sp-reveal-ready body .page-head > .wrap.sp-reveal.sp-reveal-in{
  transform:none;
}

/* Counter remains stable if JS is blocked. */
body .sp-count{
  font-variant-numeric:tabular-nums;
}

/* Consistent hover for stats container children */
@media(hover:hover) and (pointer:fine){
  body .stats-in > .stat:hover{
    background:#fbfeff !important;
  }
}


/* ============================================================
   v3.3 — definitive compact blog card fix
   ============================================================ */

/* Blog listing wrapper: don't stretch cards vertically */
body .sp-blog-list,
body .sp-blog-grid,
body .blog-grid,
body .posts-grid{
  align-items:start !important;
  grid-auto-rows:auto !important;
}

/* Actual blog card: content-sized like service/research cards */
body article.post-card,
body article.sp-post-card,
body .post-card,
body .sp-post-card{
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  align-self:start !important;
  justify-content:flex-start !important;
  padding:26px 28px 24px !important;
}

/* Kill legacy fixed heights/min-heights on nested wrappers */
body .post-card > *,
body .sp-post-card > *,
body .post-card-body,
body .sp-post-card-body{
  min-height:0 !important;
  height:auto !important;
}

/* Tighten internal rhythm */
body .post-card .post-meta,
body .sp-post-card .post-meta{
  margin:0 0 14px !important;
}
body .post-card h2,
body .post-card h3,
body .sp-post-card h2,
body .sp-post-card h3{
  margin:0 0 12px !important;
}
body .post-card p,
body .sp-post-card p{
  margin:0 0 18px !important;
  max-width:38ch !important;
}
body .post-card .card-link,
body .sp-post-card .card-link,
body .post-card .read-more,
body .sp-post-card .read-more{
  margin-top:4px !important;
  padding-top:0 !important;
}

/* Blog section itself should not add excessive whitespace */
body .sec--mist:has(.post-card),
body .sec--mist:has(.sp-post-card),
body .sp-blog-section{
  padding-top:44px !important;
  padding-bottom:44px !important;
}
body .sec--mist:has(.post-card) .sec-head,
body .sec--mist:has(.sp-post-card) .sec-head,
body .sp-blog-section .sec-head{
  margin-bottom:24px !important;
}

/* If there is only one post, keep a sensible card width instead of a huge empty grid */
body .sp-blog-grid:has(> :only-child),
body .blog-grid:has(> :only-child),
body .posts-grid:has(> :only-child){
  grid-template-columns:minmax(0,420px) !important;
}

/* Mobile compactness */
@media(max-width:720px){
  body article.post-card,
  body article.sp-post-card,
  body .post-card,
  body .sp-post-card{
    padding:22px 20px !important;
    border-radius:16px !important;
  }
  body .sec--mist:has(.post-card),
  body .sec--mist:has(.sp-post-card),
  body .sp-blog-section{
    padding-top:34px !important;
    padding-bottom:34px !important;
  }
}


/* ============================================================
   v3.4 — Blog cards match service/research card structure
   ============================================================ */

/* Use the exact same grid behavior as service/research cards */
body .sp-blog-grid,
body .blog-grid,
body .posts-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:28px !important;
  align-items:start !important;
  grid-auto-rows:auto !important;
  background:transparent !important;
  border:0 !important;
  overflow:visible !important;
}

/* Critical: blog cards are content-sized, not stretched */
body .sp-blog-grid > .post-card,
body .blog-grid > .post-card,
body .posts-grid > .post-card,
body .sp-blog-grid > .sp-post-card,
body .blog-grid > .sp-post-card,
body .posts-grid > .sp-post-card,
body article.card.post-card,
body article.card.sp-post-card{
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  align-self:start !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  padding:30px 32px 28px !important;
  margin:0 !important;
  background:#fff !important;
  border:1px solid rgba(20,38,63,.09) !important;
  border-radius:18px !important;
  box-shadow:0 12px 30px rgba(20,38,63,.07) !important;
  overflow:hidden !important;
}

/* Kill old inner wrappers that were creating vertical stretch */
body .post-card > .post-card-body,
body .sp-post-card > .post-card-body,
body .post-card > .sp-post-card-body,
body .sp-post-card > .sp-post-card-body{
  display:block !important;
  flex:0 0 auto !important;
  min-height:0 !important;
  height:auto !important;
  padding:0 !important;
  margin:0 !important;
}

/* Same content rhythm as service cards */
body .post-card .post-meta,
body .sp-post-card .post-meta{
  margin:0 0 18px !important;
  font-size:.78rem !important;
  letter-spacing:.12em !important;
}
body .post-card h2,
body .post-card h3,
body .sp-post-card h2,
body .sp-post-card h3{
  margin:0 0 12px !important;
  font-size:clamp(1.25rem,1.8vw,1.55rem) !important;
  line-height:1.2 !important;
}
body .post-card p,
body .sp-post-card p{
  margin:0 0 20px !important;
  line-height:1.65 !important;
  max-width:none !important;
}
body .post-card .card-link,
body .sp-post-card .card-link,
body .post-card .read-more,
body .sp-post-card .read-more{
  margin:0 !important;
  padding:0 !important;
  margin-top:auto !important;
}

/* One post should still look like a normal card, not a giant panel */
body .sp-blog-grid:has(> :only-child),
body .blog-grid:has(> :only-child),
body .posts-grid:has(> :only-child){
  grid-template-columns:minmax(0,420px) !important;
}

/* Remove excess section padding specifically around blog listing */
body .sp-blog-section,
body section:has(> .wrap > .sp-blog-grid),
body section:has(> .wrap > .blog-grid),
body section:has(> .wrap > .posts-grid){
  padding-top:48px !important;
  padding-bottom:48px !important;
}
body .sp-blog-section .sec-head,
body section:has(> .wrap > .sp-blog-grid) .sec-head,
body section:has(> .wrap > .blog-grid) .sec-head,
body section:has(> .wrap > .posts-grid) .sec-head{
  margin-bottom:28px !important;
}

/* Responsive parity with service grid */
@media(max-width:1024px){
  body .sp-blog-grid,
  body .blog-grid,
  body .posts-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:720px){
  body .sp-blog-grid,
  body .blog-grid,
  body .posts-grid{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  body .sp-blog-grid > .post-card,
  body .blog-grid > .post-card,
  body .posts-grid > .post-card,
  body article.card.post-card,
  body article.card.sp-post-card{
    padding:26px 22px 24px !important;
  }
}


/* ============================================================
   v3.4.1 — actual rendered blog selectors
   Renderer: .sp-post-grid > article.card.sp-post-card
   ============================================================ */

body .sp-post-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:28px !important;
  align-items:start !important;
  grid-auto-rows:max-content !important;
  background:transparent !important;
  border:0 !important;
  overflow:visible !important;
}

/* Override the legacy global .card { height:100% !important } rule */
body .sp-post-grid > article.card.sp-post-card{
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  align-self:start !important;
  justify-self:stretch !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
  padding:30px 32px 28px !important;
  margin:0 !important;
}

/* The real inner wrapper is .sp-post-body */
body .sp-post-grid > article.card.sp-post-card > .sp-post-body{
  display:block !important;
  flex:0 0 auto !important;
  height:auto !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
}

/* If there is no thumbnail, don't reserve media space */
body .sp-post-grid > article.card.sp-post-card:not(:has(.sp-post-thumb)){
  padding-top:30px !important;
}

/* Thumbnail, when present, has controlled proportions instead of affecting card height */
body .sp-post-grid .sp-post-thumb{
  display:block !important;
  aspect-ratio:16/9 !important;
  margin:-30px -32px 24px !important;
  overflow:hidden !important;
}
body .sp-post-grid .sp-post-thumb img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}

/* Real inner content rhythm */
body .sp-post-grid .sp-post-meta{
  margin:0 0 16px !important;
}
body .sp-post-grid .sp-post-body h3{
  margin:0 0 12px !important;
}
body .sp-post-grid .sp-post-body > p:not(.sp-post-meta){
  margin:0 0 20px !important;
  max-width:none !important;
}
body .sp-post-grid .sp-post-body .card-link{
  margin:0 !important;
  padding:0 !important;
}

/* A single blog post should occupy one normal card column */
body .sp-post-grid:has(> :only-child){
  grid-template-columns:minmax(0,420px) !important;
}

/* The Blog listing section uses normal section spacing, not a tall panel */
body section:has(.sp-post-grid){
  padding-top:48px !important;
  padding-bottom:48px !important;
}
body section:has(.sp-post-grid) .sec-head{
  margin-bottom:28px !important;
}

@media(max-width:1024px){
  body .sp-post-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  body .sp-post-grid:has(> :only-child){
    grid-template-columns:minmax(0,420px) !important;
  }
}
@media(max-width:720px){
  body .sp-post-grid,
  body .sp-post-grid:has(> :only-child){
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  body .sp-post-grid > article.card.sp-post-card{
    padding:26px 22px 24px !important;
  }
  body .sp-post-grid .sp-post-thumb{
    margin:-26px -22px 20px !important;
  }
}


/* ============================================================
   v3.5 — accepted-v3.4 polish only
   Clean photo hero, FAQ alignment, mobile centering
   ============================================================ */

/* Global alignment: header, sections, FAQ and footer share one container width */
:root{--sp35-wrap:1180px}
body .wrap,
body .site-head .wrap,
body .site-foot .wrap,
body .sec > .wrap,
body .sec--mist > .wrap{
  max-width:var(--sp35-wrap) !important;
}

/* HOME HERO — white, clean, real photo, no gradient */
body .hero.hero--photo{
  background:#fff !important;
  min-height:620px !important;
  padding:72px 0 !important;
  text-align:left !important;
  overflow:hidden;
}
body .sp-home-hero{
  display:grid !important;
  grid-template-columns:minmax(0,.9fr) minmax(480px,1.1fr) !important;
  gap:clamp(48px,6vw,82px) !important;
  align-items:center !important;
}
body .sp-home-hero-copy{
  min-width:0;
}
body .sp-home-hero-copy h1{
  max-width:10ch !important;
  margin:0 0 22px !important;
  font-size:clamp(3.2rem,5.3vw,5rem) !important;
  line-height:.98 !important;
  color:var(--ink) !important;
}
body .sp-home-hero-copy .hero-sub{
  max-width:55ch !important;
  margin:0 0 28px !important;
  color:var(--muted) !important;
  line-height:1.72 !important;
}
body .sp-home-hero-copy .eyebrow{
  justify-content:flex-start !important;
}
body .sp-home-hero-media{
  position:relative;
  height:500px;
  margin:0;
  overflow:hidden;
  border-radius:28px;
  background:#eef3f4;
  box-shadow:0 24px 58px rgba(20,38,63,.13);
}
body .sp-home-hero-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
body .sp-home-hero-media figcaption{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  padding:16px 18px;
  display:flex;
  flex-direction:column;
  gap:2px;
  border-radius:14px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 28px rgba(20,38,63,.12);
  backdrop-filter:blur(10px);
}
body .sp-home-hero-media figcaption strong{
  color:var(--ink);
  font-family:'Jost','Futura','Century Gothic',sans-serif;
  font-size:1rem;
}
body .sp-home-hero-media figcaption span{
  color:var(--muted);
  font-size:.86rem;
}

/* Content image quality/crop */
body .sp-content-media{
  min-height:390px !important;
  height:clamp(390px,34vw,500px) !important;
}
body .sp-content-media img{
  object-fit:cover !important;
  object-position:center 32% !important;
}

/* FAQ: exact same left/right alignment as header logo/container */
body .sec:has(.faq-list) > .wrap,
body .sec--mist:has(.faq-list) > .wrap{
  max-width:var(--sp35-wrap) !important;
}
body .faq-list{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
body .faq-item{
  width:100% !important;
}

/* Prevent narrow inherited wrappers from pulling FAQ inward */
body .sec:has(.faq-list) .sec-head,
body .sec--mist:has(.faq-list) .sec-head{
  max-width:820px !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

/* Mobile: client-requested centered/symmetrical content */
@media(max-width:820px){
  body .site-head{
    position:relative !important;
  }

  body main{
    text-align:center !important;
  }

  body .wrap,
  body .site-head .wrap,
  body .site-foot .wrap{
    padding-left:20px !important;
    padding-right:20px !important;
  }

  body main .eyebrow,
  body main h1,
  body main h2,
  body main h3,
  body main p,
  body main .lede,
  body main .hero-sub,
  body main .sec-head{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  body .eyebrow,
  body .eyebrow--center{
    justify-content:center !important;
  }

  body .hero-actions,
  body .sp-content-action{
    justify-content:center !important;
    text-align:center !important;
  }

  body .sp-home-hero{
    grid-template-columns:1fr !important;
    gap:32px !important;
  }
  body .hero.hero--photo{
    min-height:0 !important;
    padding:52px 0 !important;
  }
  body .sp-home-hero-copy{
    text-align:center !important;
  }
  body .sp-home-hero-copy h1{
    max-width:11ch !important;
    margin-inline:auto !important;
    font-size:clamp(2.65rem,11vw,4rem) !important;
  }
  body .sp-home-hero-copy .hero-sub{
    margin-inline:auto !important;
  }
  body .sp-home-hero-copy .eyebrow{
    justify-content:center !important;
  }
  body .sp-home-hero-media{
    height:clamp(300px,82vw,430px);
    max-width:620px;
    width:100%;
    margin-inline:auto;
    border-radius:20px;
  }
  body .sp-home-hero-media figcaption{
    left:14px;right:14px;bottom:14px;
    text-align:center;
  }

  body .sp-content-split,
  body .sp-content-split--reverse{
    grid-template-columns:1fr !important;
    grid-template-areas:"copy" "media" !important;
    gap:28px !important;
  }
  body .sp-content-copy,
  body .sp-content-copy *,
  body .card,
  body .fact,
  body .stat,
  body .faq-item,
  body .uni-list > li,
  body .offers > li,
  body .journey > .step,
  body .sp-post-card{
    text-align:center !important;
  }
  body .sp-content-copy p{
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body .sp-content-media{
    max-width:620px !important;
    width:100%;
    margin-inline:auto !important;
  }
  body .card .ico,
  body .stat .ico,
  body .fact .ico{
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body .card-link{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* FAQ remains full mobile width, centered text and controls */
  body .faq-list{
    width:100% !important;
  }
  body .faq-item summary{
    text-align:center !important;
    justify-content:center !important;
    padding-left:54px !important;
    padding-right:54px !important;
    position:relative;
  }
  body .faq-plus{
    position:absolute;
    right:14px;
  }

  /* Footer fully centered including logo */
  body .site-foot,
  body .site-foot .foot-grid,
  body .site-foot .foot-grid > div,
  body .site-foot h4,
  body .site-foot p,
  body .site-foot a,
  body .foot-base{
    text-align:center !important;
  }
  body .foot-grid{
    grid-template-columns:1fr !important;
  }
  body .foot-brand{
    max-width:430px;
    margin-inline:auto !important;
  }
  body .sp-footer-logo,
  body .sp-footer-logo img,
  body .foot-brand img{
    display:block !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body .site-foot .foot-menu a{
    justify-content:center !important;
  }
}

/* Small screens: symmetrical buttons */
@media(max-width:520px){
  body .hero-actions{
    flex-direction:column !important;
    align-items:center !important;
  }
  body .hero-actions .btn{
    width:min(100%,310px) !important;
  }
}


/* ============================================================
   v3.6 — refined accepted route/map home hero
   ============================================================ */
body .hero.sp-map-hero{
  background:#fff !important;
  min-height:590px !important;
  padding:64px 0 58px !important;
  overflow:hidden;
}
body .sp-map-hero .hero-grid{
  grid-template-columns:minmax(0,.88fr) minmax(520px,1.12fr) !important;
  gap:clamp(38px,4vw,64px) !important;
  align-items:center !important;
}
body .sp-map-hero-copy h1{
  font-size:clamp(3.25rem,4.55vw,4.45rem) !important;
  line-height:.98 !important;
  letter-spacing:-.045em !important;
  max-width:10.8ch !important;
  margin:0 0 22px !important;
}
body .sp-map-hero-copy .hero-sub{
  max-width:49ch !important;
  font-size:15px !important;
  line-height:1.72 !important;
  margin:0 0 28px !important;
}
body .sp-map-hero .hero-actions{
  gap:12px !important;
}
body .sp-route-wrap{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
body .sp-map-hero .route{
  width:min(100%,650px) !important;
  margin:0 auto !important;
}
body .sp-map-hero .route .rt{
  stroke-dasharray:620;
  stroke-dashoffset:620;
  animation:spRouteDraw 1.55s cubic-bezier(.45,0,.2,1) forwards;
}
body .sp-map-hero .route .rt:nth-of-type(2){animation-delay:.14s}
body .sp-map-hero .route .rt:nth-of-type(3){animation-delay:.28s}
@keyframes spRouteDraw{to{stroke-dashoffset:0}}

@media(max-width:980px){
  body .sp-map-hero .hero-grid{
    grid-template-columns:minmax(0,.9fr) minmax(430px,1.1fr) !important;
    gap:24px !important;
  }
  body .sp-map-hero-copy h1{
    font-size:clamp(3rem,5.7vw,4rem) !important;
  }
}

@media(max-width:820px){
  body .hero.sp-map-hero{
    padding:48px 0 38px !important;
    min-height:0 !important;
  }
  body .sp-map-hero .hero-grid{
    grid-template-columns:1fr !important;
    gap:28px !important;
  }
  body .sp-map-hero-copy h1{
    font-size:clamp(2.65rem,11vw,3.75rem) !important;
    line-height:1 !important;
    max-width:10.5ch !important;
    margin-inline:auto !important;
  }
  body .sp-map-hero-copy .hero-sub{
    max-width:38rem !important;
    margin-inline:auto !important;
  }
  body .sp-route-wrap{
    width:100%;
    overflow:visible;
  }
  body .sp-map-hero .route{
    width:min(100%,620px) !important;
  }
}

@media(max-width:520px){
  body .hero.sp-map-hero{
    padding-top:42px !important;
  }
  body .sp-map-hero-copy h1{
    font-size:clamp(2.45rem,12vw,3.25rem) !important;
    max-width:10ch !important;
  }
  body .sp-map-hero .route{
    width:112% !important;
    max-width:none !important;
    margin-left:-6% !important;
  }
  body .sp-map-hero .route text{
    font-size:13px !important;
  }
  body .sp-map-hero .route .rt-sub{
    font-size:9.5px !important;
  }
}


/* v3.7 — smaller home hero heading + route redraw every 5 seconds */
body .sp-map-hero-copy h1{
  font-size:clamp(2.8rem,3.8vw,3.75rem) !important;
  line-height:1.02 !important;
  letter-spacing:-.04em !important;
  max-width:11.5ch !important;
}

/* Each route draws, remains visible, then resets; full cycle repeats every 5s. */
body .sp-map-hero .route .rt{
  stroke-dasharray:620 !important;
  stroke-dashoffset:620;
  animation:spRoutePulse 5s cubic-bezier(.45,0,.2,1) infinite !important;
}
body .sp-map-hero .route .rt:nth-of-type(2){animation-delay:.16s !important}
body .sp-map-hero .route .rt:nth-of-type(3){animation-delay:.32s !important}

@keyframes spRoutePulse{
  0%   {stroke-dashoffset:620; opacity:.45}
  20%  {stroke-dashoffset:0; opacity:1}
  88%  {stroke-dashoffset:0; opacity:1}
  89%  {stroke-dashoffset:620; opacity:.45}
  100% {stroke-dashoffset:620; opacity:.45}
}

@media(max-width:820px){
  body .sp-map-hero-copy h1{
    font-size:clamp(2.45rem,9.5vw,3.2rem) !important;
    max-width:11ch !important;
  }
}
@media(max-width:520px){
  body .sp-map-hero-copy h1{
    font-size:clamp(2.2rem,10.5vw,2.8rem) !important;
  }
}

@media(prefers-reduced-motion:reduce){
  body .sp-map-hero .route .rt{
    animation:none !important;
    stroke-dashoffset:0 !important;
    opacity:1 !important;
  }
}


/* ============================================================
   v3.8 — definitive desktop home hero heading size
   This rule is intentionally last and more specific than every
   earlier .hero h1 / .sp-map-hero-copy h1 declaration.
   ============================================================ */
@media(min-width:1025px){
  html body.home .hero.sp-map-hero .sp-map-hero-copy > h1,
  html body .hero.sp-map-hero .sp-map-hero-copy > h1{
    font-size:52px !important;
    line-height:1.02 !important;
    letter-spacing:-0.035em !important;
    max-width:12.2ch !important;
    margin-top:0 !important;
    margin-bottom:20px !important;
  }
}

/* Laptop desktop */
@media(min-width:821px) and (max-width:1024px){
  html body .hero.sp-map-hero .sp-map-hero-copy > h1{
    font-size:48px !important;
    line-height:1.03 !important;
    max-width:12ch !important;
  }
}


/* ==========================================================
   v3.10 — MOBILE ALIGNMENT SYSTEM
   Mobile presentation is intentionally centered site-wide.
   Desktop/tablet layout remains unchanged.
   ========================================================== */
@media (max-width: 767px) {
  /* Global section copy */
  body .sp-section,
  body .sp-section .sp-container,
  body .sp-section-head,
  body .sp-section-heading,
  body .sp-section-copy,
  body .sp-eyebrow,
  body .sp-kicker,
  body .sp-intro,
  body .sp-content,
  body .sp-richtext,
  body .sp-richtext p,
  body .sp-richtext li,
  body .sp-card,
  body .sp-card__body,
  body .sp-card p,
  body .sp-card h2,
  body .sp-card h3,
  body .sp-card h4,
  body .sp-stat,
  body .sp-stat p,
  body .sp-stat h3,
  body .sp-step,
  body .sp-step p,
  body .sp-step h3,
  body .sp-faq,
  body .sp-faq__item,
  body .sp-cta,
  body .sp-cta p {
    text-align: center !important;
  }

  /* Center headings/paragraphs that have desktop width constraints. */
  body .sp-section-head,
  body .sp-section-heading,
  body .sp-section-copy,
  body .sp-intro,
  body .sp-richtext,
  body .sp-hero__content,
  body .sp-page-hero__content,
  body .sp-banner__content {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Eyebrow/icon rows */
  body .sp-eyebrow,
  body .sp-kicker,
  body .sp-section-label,
  body .sp-card__icon,
  body .sp-icon,
  body .sp-step__number,
  body .sp-stat__icon {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* All CTA/button groups */
  body .sp-actions,
  body .sp-buttons,
  body .sp-button-row,
  body .wp-block-buttons {
    justify-content: center !important;
    align-items: center !important;
  }

  /* Page/banner heroes, including Who we are screenshot case */
  body .sp-page-hero,
  body .sp-page-hero__inner,
  body .sp-page-hero__content,
  body .sp-banner,
  body .sp-banner__inner,
  body .sp-banner__content {
    text-align: center !important;
  }

  body .sp-page-hero h1,
  body .sp-page-hero p,
  body .sp-banner h1,
  body .sp-banner p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  /* Home icon/breadcrumb inside banners */
  body .sp-breadcrumb,
  body .sp-home-link,
  body .sp-page-hero__home {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }

  /* Cards and statistics: center icon + content consistently */
  body .sp-card,
  body .sp-stat,
  body .sp-step {
    align-items: center !important;
  }

  body .sp-card > *,
  body .sp-stat > *,
  body .sp-step > * {
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer — logo, copy, columns and links all centered */
  body .site-footer,
  body .site-footer .sp-container,
  body .site-footer .footer-brand,
  body .site-footer .footer-column,
  body .site-footer .footer-widget,
  body .site-footer p,
  body .site-footer h2,
  body .site-footer h3,
  body .site-footer h4,
  body .site-footer li {
    text-align: center !important;
  }

  body .site-footer .custom-logo-link,
  body .site-footer .site-logo,
  body .site-footer .footer-logo,
  body .site-footer img.custom-logo {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body .site-footer ul,
  body .site-footer nav ul {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .site-footer .social-links,
  body .site-footer .footer-social,
  body .site-footer .footer-links {
    justify-content: center !important;
  }
}


/* ============================================================
   v3.11 — definitive mobile centering
   Exact selectors from the accepted v3.10 renderer.
   ============================================================ */
@media(max-width:767px){

  /* ----------------------------------------------------------
     PAGE BANNER: home icon + title + intro centered together
     Renderer uses .page-head .wrap > .crumb
     ---------------------------------------------------------- */
  html body .page-head > .wrap{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
  }

  html body .page-head .crumb{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    margin-bottom:20px !important;
  }

  html body .page-head .crumb > a,
  html body .page-head .crumb .home-icon,
  html body .page-head .crumb svg{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  html body .page-head .crumb > a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  html body .page-head h1,
  html body .page-head .lede,
  html body .page-head .eyebrow{
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
  }

  /* ----------------------------------------------------------
     CARDS: center decorative top line + icon + content
     Accepted theme uses .card::after and .card .ico
     ---------------------------------------------------------- */
  html body .grid > .card,
  html body article.card,
  html body .card{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
  }

  html body .grid > .card::after,
  html body article.card::after,
  html body .card::after{
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%) !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  html body .grid > .card > .ico,
  html body article.card > .ico,
  html body .card > .ico,
  html body .card .ico{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  html body .card h2,
  html body .card h3,
  html body .card h4,
  html body .card p,
  html body .card .card-link{
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
  }

  /* Some stat/info cards use pseudo top accents outside .card */
  html body .fact::before,
  html body .stat::before,
  html body .offers > li::before{
    left:50% !important;
    transform:translateX(-50%) !important;
  }

  /* ----------------------------------------------------------
     FOOTER: exact accepted selectors
     ---------------------------------------------------------- */
  html body .site-foot{
    text-align:center !important;
  }

  html body .site-foot .wrap,
  html body .site-foot .foot-grid,
  html body .site-foot .foot-brand,
  html body .site-foot .foot-grid > div{
    text-align:center !important;
  }

  html body .site-foot .foot-brand{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  html body .site-foot .sp-footer-logo,
  html body .site-foot .sp-footer-logo a,
  html body .site-foot .sp-footer-logo img,
  html body .site-foot .foot-brand > a,
  html body .site-foot .foot-brand > img{
    display:block !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  html body .site-foot .foot-brand p{
    width:100% !important;
    max-width:330px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
  }

  html body .site-foot h4,
  html body .site-foot ul,
  html body .site-foot li,
  html body .site-foot a,
  html body .site-foot .foot-base{
    text-align:center !important;
  }

  html body .site-foot ul{
    width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  html body .site-foot .foot-menu a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  html body .site-foot .foot-base{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    flex-wrap:wrap !important;
  }

  /* ----------------------------------------------------------
     Global mobile fallback for remaining boxed components
     ---------------------------------------------------------- */
  html body main .journey > .step,
  html body main .faq-item,
  html body main .fact,
  html body main .stat,
  html body main .uni-list > li,
  html body main .offers > li,
  html body main .sp-post-card,
  html body main .contact-list > div{
    text-align:center !important;
  }

  html body main .journey > .step > *,
  html body main .fact > *,
  html body main .stat > *,
  html body main .sp-post-card > *{
    margin-left:auto !important;
    margin-right:auto !important;
  }
}


/* ============================================================
   v3.12 — MOBILE DECORATIVE ACCENT ALIGNMENT AUDIT
   Centers all top bars / pseudo accents consistently.
   ============================================================ */
@media(max-width:767px){

  /* Generic top accent bars */
  html body .card::after,
  html body .card::before,
  html body .sp-contact-form-card::after,
  html body .sp-contact-form-card::before,
  html body .sp-contact-copy::after,
  html body .sp-contact-copy::before,
  html body .fact::after,
  html body .fact::before,
  html body .stat::after,
  html body .stat::before,
  html body .faq-item::after,
  html body .faq-item::before,
  html body .journey > .step::after,
  html body .journey > .step::before,
  html body .uni-list > li::after,
  html body .uni-list > li::before,
  html body .offers > li::after,
  html body .offers > li::before,
  html body .sp-post-card::after,
  html body .sp-post-card::before,
  html body .contact-list > div::after,
  html body .contact-list > div::before{
    left:50% !important;
    right:auto !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  /* Only horizontal decorative rules should be translated.
     This catches the short top bars without moving circles/bullets vertically. */
  html body .card::after,
  html body .sp-contact-form-card::after,
  html body .sp-contact-form-card::before,
  html body .sp-contact-copy::after,
  html body .fact::before,
  html body .stat::before,
  html body .sp-post-card::after{
    transform:translateX(-50%) !important;
  }

  /* Contact form card — exact screenshot issue */
  html body .sp-contact-form-card{
    position:relative !important;
    text-align:center !important;
  }

  html body .sp-contact-form-card::before,
  html body .sp-contact-form-card::after{
    left:50% !important;
    right:auto !important;
    transform:translateX(-50%) !important;
  }

  html body .sp-contact-form-card .sp-form-head,
  html body .sp-contact-form-card .sp-form-kicker,
  html body .sp-contact-form-card h3{
    width:100% !important;
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Keep form labels and controls visually centered as a unit */
  html body .sp-contact-form{
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  html body .sp-contact-form label{
    display:block !important;
    width:100% !important;
    text-align:center !important;
  }

  html body .sp-contact-form input,
  html body .sp-contact-form select,
  html body .sp-contact-form textarea{
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Generic boxed component center alignment fallback */
  html body main .card,
  html body main .sp-contact-form-card,
  html body main .sp-contact-copy,
  html body main .fact,
  html body main .stat,
  html body main .faq-item,
  html body main .journey > .step,
  html body main .uni-list > li,
  html body main .offers > li,
  html body main .sp-post-card{
    text-align:center !important;
  }

  html body main .card > .ico,
  html body main .sp-contact-form-card > .ico,
  html body main .sp-contact-copy > .ico,
  html body main .fact > .ico,
  html body main .stat > .ico,
  html body main .sp-post-card > .ico{
    margin-left:auto !important;
    margin-right:auto !important;
  }
}


/* ============================================================
   v3.13 — MOBILE READABILITY EXCEPTIONS
   Hero truly centered; timeline + FAQ left aligned.
   ============================================================ */
@media(max-width:767px){

  /* ----------------------------------------------------------
     HOME HERO — center the whole copy block as one composition
     ---------------------------------------------------------- */
  html body .hero.sp-map-hero .hero-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    justify-items:center !important;
    align-items:center !important;
    text-align:center !important;
  }

  html body .hero.sp-map-hero .sp-map-hero-copy{
    width:100% !important;
    max-width:560px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    text-align:center !important;
  }

  html body .hero.sp-map-hero .sp-map-hero-copy .eyebrow,
  html body .hero.sp-map-hero .sp-map-hero-copy h1,
  html body .hero.sp-map-hero .sp-map-hero-copy .hero-sub,
  html body .hero.sp-map-hero .sp-map-hero-copy .hero-actions{
    width:100% !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
  }

  html body .hero.sp-map-hero .sp-map-hero-copy .eyebrow{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
  }

  html body .hero.sp-map-hero .sp-map-hero-copy h1{
    max-width:10.8ch !important;
  }

  html body .hero.sp-map-hero .sp-map-hero-copy .hero-sub{
    max-width:36rem !important;
  }

  html body .hero.sp-map-hero .sp-map-hero-copy .hero-actions{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    flex-wrap:wrap !important;
  }

  /* ----------------------------------------------------------
     TIMELINE / JOURNEY — LEFT aligned on mobile for readability
     ---------------------------------------------------------- */
  html body main .journey{
    text-align:left !important;
  }

  html body main .journey > .step{
    text-align:left !important;
    align-items:flex-start !important;
  }

  html body main .journey > .step h3,
  html body main .journey > .step p{
    text-align:left !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  /* Keep the timeline number on the left */
  html body main .journey > .step::after,
  html body main .journey > .step::before{
    left:0 !important;
    right:auto !important;
    margin-left:0 !important;
    margin-right:0 !important;
    transform:none !important;
  }

  /* If the accepted timeline uses left padding for the rail, preserve it */
  html body main .journey > .step{
    padding-left:58px !important;
  }

  /* ----------------------------------------------------------
     FAQ — LEFT aligned on mobile, plus button remains right
     ---------------------------------------------------------- */
  html body main .faq-list,
  html body main .faq-item{
    text-align:left !important;
  }

  html body main .faq-item summary{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    text-align:left !important;
    padding-left:20px !important;
    padding-right:58px !important;
  }

  html body main .faq-item summary > span:first-child,
  html body main .faq-item summary strong,
  html body main .faq-item summary b{
    text-align:left !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  html body main .faq-item .faq-plus{
    position:absolute !important;
    right:16px !important;
    left:auto !important;
    margin:0 !important;
  }

  html body main .faq-answer,
  html body main .faq-answer p,
  html body main .faq-item > div,
  html body main .faq-item > p{
    text-align:left !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
}


/* ============================================================
   v3.14 — DEEP MOBILE RESPONSIVE FIX
   ============================================================ */
@media(max-width:767px){

  html body .wrap,
  html body .narrow,
  html body .page-head .wrap,
  html body .hero .wrap,
  html body .site-head .wrap,
  html body .site-foot .wrap{
    width:100% !important;
    max-width:100% !important;
    padding-left:20px !important;
    padding-right:20px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Smaller hero/page headings across mobile */
  html body .hero h1,
  html body .page-head h1,
  html body .sp-map-hero-copy h1{
    font-size:clamp(2.15rem,9vw,2.85rem) !important;
    line-height:1.02 !important;
    letter-spacing:-0.035em !important;
    max-width:11.5ch !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
  }

  html body .hero-sub,
  html body .page-head .lede{
    max-width:36rem !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
    font-size:15px !important;
    line-height:1.7 !important;
  }

  /* Center eyebrow/subheader with arrow icon; remove divider line */
  html body .eyebrow,
  html body .eyebrow--center,
  html body .sec-head .eyebrow,
  html body .sp-content-copy .eyebrow,
  html body .page-head .eyebrow,
  html body .hero .eyebrow{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px !important;
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  html body .eyebrow::after,
  html body .eyebrow--center::after,
  html body .eyebrow--center::before,
  html body .sec-head .eyebrow::after,
  html body .page-head .eyebrow::after,
  html body .hero .eyebrow::after{
    display:none !important;
    content:none !important;
  }

  html body .eyebrow::before,
  html body .sec-head .eyebrow::before,
  html body .page-head .eyebrow::before,
  html body .hero .eyebrow::before{
    position:static !important;
    left:auto !important;
    right:auto !important;
    top:auto !important;
    flex:0 0 24px !important;
    margin:0 !important;
    transform:none !important;
  }

  /* Timeline rail and circles aligned */
  html body main .journey{
    position:relative !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    text-align:left !important;
  }

  html body main .journey > .step{
    position:relative !important;
    width:100% !important;
    margin:0 !important;
    padding:0 0 34px 72px !important;
    text-align:left !important;
    align-items:flex-start !important;
    overflow:visible !important;
  }

  html body main .journey > .step::before{
    content:"" !important;
    position:absolute !important;
    left:24px !important;
    top:42px !important;
    bottom:-2px !important;
    width:1px !important;
    height:auto !important;
    border:0 !important;
    border-radius:0 !important;
    background:rgba(79,154,165,.24) !important;
    transform:none !important;
    margin:0 !important;
  }

  html body main .journey > .step:last-child::before{
    display:none !important;
  }

  html body main .journey > .step::after{
    position:absolute !important;
    left:3px !important;
    top:0 !important;
    width:42px !important;
    height:42px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border:1px solid rgba(79,154,165,.45) !important;
    border-radius:50% !important;
    background:#fff !important;
    color:var(--teal-deep) !important;
    transform:none !important;
    margin:0 !important;
    z-index:2 !important;
  }

  html body main .journey > .step h3,
  html body main .journey > .step p{
    width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    text-align:left !important;
  }

  /* University/partner list bullets stay inside boxes */
  html body main .uni-list > li,
  html body main .uni-grid > *,
  html body main .partner-list > *{
    position:relative !important;
    width:100% !important;
    min-height:84px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    padding:18px 22px 18px 48px !important;
    text-align:left !important;
  }

  html body main .uni-list > li::before,
  html body main .uni-grid > *::before,
  html body main .partner-list > *::before{
    content:"" !important;
    position:absolute !important;
    left:22px !important;
    top:50% !important;
    width:8px !important;
    height:8px !important;
    min-width:8px !important;
    margin:0 !important;
    border-radius:50% !important;
    background:var(--teal) !important;
    transform:translateY(-50%) !important;
  }

  /* Section headings centered cleanly */
  html body main .sec-head{
    width:100% !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
  }

  html body main .sec-head h2,
  html body main .sp-content-copy h2,
  html body main .band h2{
    max-width:15ch !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
    font-size:clamp(1.85rem,7.5vw,2.35rem) !important;
    line-height:1.08 !important;
  }

  html body main .sec-head p{
    max-width:36rem !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
  }

  /* FAQ remains left-aligned for readability */
  html body main .faq-list,
  html body main .faq-item{
    text-align:left !important;
  }

  html body main .faq-item summary{
    justify-content:flex-start !important;
    text-align:left !important;
  }

  /* Cards/forms/stats remain centered */
  html body main .card,
  html body main .stat,
  html body main .fact,
  html body main .sp-contact-form-card,
  html body main .sp-contact-copy,
  html body main .sp-post-card{
    text-align:center !important;
  }

  html body main .card .ico,
  html body main .stat .ico,
  html body main .fact .ico{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  /* Footer centered */
  html body .site-foot,
  html body .site-foot .foot-grid,
  html body .site-foot .foot-grid > div,
  html body .site-foot .foot-brand,
  html body .site-foot h4,
  html body .site-foot p,
  html body .site-foot li,
  html body .site-foot a,
  html body .site-foot .foot-base{
    text-align:center !important;
  }

  html body .site-foot .foot-brand,
  html body .site-foot .sp-footer-logo,
  html body .site-foot .sp-footer-logo img{
    margin-left:auto !important;
    margin-right:auto !important;
  }
}

@media(max-width:420px){
  html body .hero h1,
  html body .page-head h1,
  html body .sp-map-hero-copy h1{
    font-size:clamp(2rem,9.7vw,2.5rem) !important;
    max-width:11ch !important;
  }

  html body main .journey > .step{
    padding-left:66px !important;
  }

  html body main .journey > .step::before{
    left:21px !important;
  }

  html body main .journey > .step::after{
    left:0 !important;
  }
}


/* ============================================================
   v3.15 FINAL QA — accessibility, semantics, responsive polish
   ============================================================ */

/* Semantic eyebrow headings retain the existing visual treatment. */
.eyebrow--heading{
  font-size:inherit !important;
  line-height:inherit !important;
}

/* Footer heading level is now H2 while keeping previous appearance. */
.site-foot .foot-heading{
  margin:0 0 18px;
  color:#fff;
  font:600 13px/1.35 "Jost",sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* Strong visible keyboard focus across interactive UI. */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:3px solid #2f7f8c !important;
  outline-offset:3px !important;
}

.skip:focus{
  z-index:100000 !important;
}

/* Minimum comfortable touch target for mobile controls. */
.burger,
.faq-item summary,
.sp-carousel-controls button{
  min-width:44px;
  min-height:44px;
}

/* Prevent long dynamic content/URLs from breaking responsive layouts. */
main p,
main li,
.site-foot p,
.site-foot li,
.card,
.uni-list > li,
.contact-list dd{
  overflow-wrap:anywhere;
}

/* Decorative SVG icon wrappers do not communicate duplicate text. */
.ico svg{
  pointer-events:none;
}

@media(max-width:767px){
  .site-foot .foot-heading{
    text-align:center !important;
  }

  /* Avoid horizontal overflow from dynamic form controls and media. */
  img,svg,video,iframe,
  input,select,textarea{
    max-width:100%;
  }
}

/* Users requesting less motion receive an immediately stable interface. */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto !important}
  *,
  *::before,
  *::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}


/* Partner university logo cards — UK & Malaysia */
main .uni-list.uni-logo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 0;padding:0;list-style:none}
main .uni-list.uni-logo-grid>.uni-logo-card{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;min-height:190px;padding:26px 22px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 12px 34px rgba(23,21,47,.06);overflow:hidden;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
main .uni-list.uni-logo-grid>.uni-logo-card::before{display:none!important}
main .uni-logo-card:hover{transform:translateY(-5px);border-color:var(--teal-soft);box-shadow:0 18px 42px rgba(23,21,47,.11)}
main .uni-logo-media{width:100%;height:82px;display:flex;align-items:center;justify-content:center}
main .uni-logo-media img{display:block;width:auto;height:auto;max-width:210px;max-height:76px;object-fit:contain}
main .uni-logo-name{display:block;max-width:30ch;color:var(--ink);font-size:15px;line-height:1.45;font-weight:700}
@media(max-width:900px){main .uni-list.uni-logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){main .uni-list.uni-logo-grid{grid-template-columns:1fr;gap:14px}main .uni-list.uni-logo-grid>.uni-logo-card{min-height:160px;padding:22px 18px}main .uni-logo-media{height:68px}main .uni-logo-media img{max-width:190px;max-height:64px}main .uni-logo-name{font-size:14px}}


:root{
--sp-primary:#1d7a86;
--sp-dark:#132135;
--sp-bg:#f7f8f5;
--sp-border:#dce5e5;
}
.sp-home{overflow:hidden}
.sp-home .hero-map,
.sp-home svg{max-width:100%;height:auto}
@media(max-width:767px){
.sp-home{overflow:hidden}
}
