/**
 * Education visual system — mirrors HSC chrome with Education blues.
 * Soft bands, brushed circular frames, blue-bordered cards.
 */
:root{
  --edu:#5B72A8;
  --edu-deep:#3d4e78;
  --edu-ink:#102136;
  --edu-muted:#475569;
  --edu-band:#eef2f5;
  --edu-blue:#2FA3D4;
  --edu-card-radius:14px;
  --fd:"Montserrat",sans-serif;
}

/* Full-bleed soft band (same rhythm as .hsc-band) */
.edu-band{
  position:relative;
  max-width:none;
  width:100%;
  margin:0;
  padding:72px 0 80px;
  overflow:hidden;
  background:var(--edu-band);
  border-top:1px solid rgba(15,23,42,.06);
  border-bottom:1px solid rgba(15,23,42,.06);
  box-sizing:border-box;
}
.edu-band--white{background:#fff;}
.edu-band-inner{
  position:relative;
  z-index:1;
  max-width:none;
  margin:0 auto;
  padding:0 clamp(20px,4vw,56px);
  box-sizing:border-box;
}
@media(max-width:640px){
  .edu-band{padding:48px 0 56px;}
}

/* Brushed circular frame — Education blue rings */
.edu-brush{
  position:relative;
  width:min(240px,48vw);
  aspect-ratio:1;
  flex-shrink:0;
}
.edu-brush--lg{width:min(280px,56vw);}
.edu-brush img{
  position:relative;z-index:2;
  width:100%;height:100%;
  object-fit:cover;object-position:center 22%;
  border-radius:50%;
  display:block;
}
.edu-brush::before{
  content:"";
  position:absolute;
  inset:-8px;
  border-radius:50%;
  border:3px solid var(--edu);
  z-index:1;
}
.edu-brush::after{
  content:"";
  position:absolute;
  inset:-18px -22px -14px -6px;
  border-radius:50%;
  border:2.5px solid var(--edu);
  z-index:0;
  clip-path:polygon(0 8%, 28% 0, 55% 4%, 62% 22%, 48% 48%, 52% 78%, 28% 100%, 0 72%);
  transform:rotate(-12deg);
  opacity:.95;
}

/* Section headers — Education home + For schools / sub pages */
#page-edu .sec-ey,
#page-edu-sub .sec-ey,
.portal-body--edu .sec-ey{
  font-family:var(--fd);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--edu-blue);
  margin-bottom:12px;
}
#page-edu .sec-t,
#page-edu-sub .sec-t,
.portal-body--edu .sec-t{
  font-family:var(--fd);
  font-size:clamp(28px,3.5vw,40px);
  font-weight:800;
  letter-spacing:-.5px;
  color:var(--edu-deep);
  line-height:1.12;
  margin:0 0 10px;
}
#page-edu .sec-s,
#page-edu-sub .sec-s,
.portal-body--edu .sec-s{
  font-size:19px;
  font-weight:400;
  color:var(--edu-muted);
  max-width:62ch;
  line-height:1.75;
  margin:0 0 22px;
}

/* Two-tone brand in headings — “Zentar Education” in Education blue */
.edu-brand,
.why-brand{
  color:var(--edu-blue, #2FA3D4);
}
#page-edu .sh-h1 .edu-brand,
#page-edu .sec-t .edu-brand,
#page-edu-sub h1 .edu-brand,
#page-edu-sub h2 .edu-brand,
#page-edu-sub h3 .edu-brand,
#page-edu-sub .sec-t .edu-brand,
#page-edu-sub .edu-hrt-h2 .edu-brand,
.portal-body--edu h1 .edu-brand,
.portal-body--edu h2 .edu-brand,
.portal-body--edu h3 .edu-brand,
.portal-body--edu .sec-t .edu-brand,
.portal-body--edu .edu-hrt-h2 .edu-brand,
.portal-body--edu .team-page-title .edu-brand,
.portal-body--edu-about h1 .edu-brand,
.portal-body--edu [data-ab="title"] .edu-brand,
.portal-body--edu [data-sg="title"] .edu-brand{
  color:var(--edu-blue, #2FA3D4);
}

/* Why / value splits */
.edu-why-split{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:clamp(22px,3.5vw,40px);
  align-items:center;
  margin-top:18px;
}
.edu-why-split--flip{grid-template-columns:minmax(0,1fr) auto;}
@media(max-width:900px){
  .edu-why-split,
  .edu-why-split--flip{grid-template-columns:1fr;justify-items:start;}
}
.edu-why-split .edu-brush{width:min(240px,48vw);}
.edu-checks{
  margin:0 0 22px;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.edu-checks li{
  position:relative;
  padding:0 0 0 22px;
  color:var(--edu-muted);
  font-size:18px;
  line-height:1.6;
}
.edu-checks li::before{
  content:"";
  position:absolute;
  left:0;top:.55em;
  width:8px;height:8px;border-radius:50%;
  background:linear-gradient(135deg,var(--edu),var(--edu-blue));
}

/* Staff / sector boxes */
.edu-staff-boxes{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:20px;
}
@media(max-width:720px){.edu-staff-boxes{grid-template-columns:1fr;}}
.edu-staff-box{
  display:block;text-decoration:none;color:inherit;
  padding:20px 18px;
  background:
    radial-gradient(140px 90px at 8% 0%, rgba(91,114,168,.1), transparent 70%),
    linear-gradient(165deg, #fff 0%, #f3f6fb 100%);
  border:1.5px solid var(--edu);
  border-radius:var(--edu-card-radius);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
  transition:border-color .2s,transform .2s,box-shadow .2s;
}
.edu-staff-box:hover{
  border-color:var(--edu-blue);
  box-shadow:0 10px 24px rgba(15,23,42,.08);
  transform:translateY(-2px);
}
.edu-staff-box h3{
  font-family:var(--fd);font-size:15px;font-weight:800;
  margin:0 0 6px;color:var(--edu-deep);
}
.edu-staff-box p{margin:0;font-size:18px;color:var(--edu-muted);line-height:1.65;}
.edu-staff-box span{
  display:inline-block;margin-top:10px;
  font-family:var(--fd);font-size:11px;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;color:var(--edu-blue);
}

/* Detail panels inside bands */
.edu-detail-grid{
  display:grid;gap:14px;margin-top:18px;
}
@media(min-width:720px){.edu-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
.edu-detail-panel{
  padding:18px 16px;
  background:rgba(255,255,255,.92);
  border:1.5px solid rgba(91,114,168,.28);
  border-radius:var(--edu-card-radius);
}
.edu-detail-panel h3{
  margin:0 0 8px;font-family:var(--fd);font-size:15px;font-weight:800;color:var(--edu-deep);
}
.edu-detail-panel p,
.edu-detail-panel li{
  margin:0;color:var(--edu-muted);font-size:18px;line-height:1.65;
}
.edu-detail-panel ul{margin:0;padding-left:1.15rem;}
.edu-detail-panel li{margin-bottom:6px;}

/* Scroll reveal */
#page-edu .sr{
  opacity:0;transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
}
#page-edu .sr.vis{opacity:1;transform:none;}
@media(prefers-reduced-motion:reduce){
  #page-edu .sr{opacity:1;transform:none;transition:none;}
}

/* ── Education hub layout (mirrors HSC community hub) ── */
:root{
  --edu-hrt-ink:#0b1220;
  --edu-hrt-muted:#41556d;
  --edu-hrt-line:rgba(15,23,42,.12);
}
.edu-section.hrt{
  position:relative;
  z-index:0;
  max-width:none;
  margin:24px auto 40px;
  padding:clamp(28px,4vw,48px) clamp(20px,4vw,40px);
  border:1.5px solid rgba(91,114,168,.32);
  border-radius:18px;
  background:
    radial-gradient(820px 320px at 12% 18%, rgba(47,163,212,.16), transparent 60%),
    radial-gradient(720px 320px at 90% 40%, rgba(91,114,168,.14), transparent 62%),
    var(--edu-dot, none),
    linear-gradient(125deg, rgba(255,255,255,.96) 0%, rgba(232,238,248,.94) 46%, rgba(224,242,249,.93) 100%);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:
    0 14px 36px rgba(16,33,54,.07),
    inset 0 1px 0 rgba(255,255,255,.85);
  overflow:hidden;
  box-sizing:border-box;
}
.edu-section.hrt::before{
  content:"";
  position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(640px 280px at 8% 0%, rgba(47,163,212,.1), transparent 65%),
    radial-gradient(520px 240px at 92% 100%, rgba(91,114,168,.1), transparent 68%);
  opacity:.9;
}
.edu-section.hrt > *{position:relative;z-index:1;}
.edu-hrt-kicker{
  font-family:var(--fd);font-size:11px;font-weight:800;letter-spacing:2.4px;text-transform:uppercase;
  color:var(--edu-blue);display:flex;align-items:center;gap:10px;margin:0 0 12px;
}
.edu-hrt-kicker::before{
  content:"";width:22px;height:2px;border-radius:2px;
  background:linear-gradient(90deg,var(--edu-blue),var(--edu));
}
.edu-hrt-h2{
  font-family:var(--fd);font-size:clamp(28px,3.5vw,40px);font-weight:800;letter-spacing:-.8px;
  color:var(--edu-deep);line-height:1.08;margin:0 0 12px;
}
.edu-hrt-p{
  font-size:18px;color:var(--edu-hrt-muted);line-height:1.75;max-width:62ch;margin:0;
}
.edu-rw-mast{
  display:grid;grid-template-columns:1.05fr .95fr;gap:18px;align-items:center;margin-bottom:22px;
}
.edu-rw-media{
  margin:0;border-radius:18px;overflow:hidden;
  border:1px solid rgba(15,23,42,.1);
  box-shadow:0 18px 40px rgba(2,8,20,.12);
  aspect-ratio:3/2;background:#dce3ef;
}
.edu-rw-media img{width:100%;height:100%;object-fit:cover;display:block;}
.edu-cw-list{
  list-style:none;margin:0 0 18px;padding:0;
  display:grid;grid-template-columns:1fr 1fr;gap:10px;counter-reset:edc;
}
.edu-cw-list li{counter-increment:edc}
.edu-cw-list a{
  display:grid;gap:6px;text-decoration:none;color:inherit;
  border:1.5px solid rgba(91,114,168,.28);border-radius:14px;
  background:rgba(255,255,255,.94);padding:16px 16px 16px 52px;position:relative;
  transition:border-color .2s,transform .2s,box-shadow .2s;min-height:100%;
}
.edu-cw-list a::before{
  content:counter(edc, decimal-leading-zero);
  position:absolute;left:14px;top:16px;
  font-family:var(--fd);font-size:13px;font-weight:800;letter-spacing:.04em;color:var(--edu-blue);
}
.edu-cw-list a:hover{
  border-color:rgba(47,163,212,.45);transform:translateY(-2px);
  box-shadow:0 12px 26px rgba(2,8,20,.08);
}
.edu-cw-list strong{
  font-family:var(--fd);font-size:15.5px;font-weight:800;color:var(--edu-deep);
}
.edu-cw-list span{color:var(--edu-hrt-muted);font-size:18px;line-height:1.55}
.edu-cw-more{
  margin-top:4px;font-family:var(--fd);font-size:12px;font-weight:700;font-style:normal;
  letter-spacing:.04em;text-transform:uppercase;color:var(--edu-blue);
  border-bottom:1px solid rgba(47,163,212,.35);justify-self:start;
}
.edu-cw-list a:hover .edu-cw-more{border-bottom-color:var(--edu-blue)}
.edu-cw-band{
  border-radius:16px;padding:22px;margin-bottom:18px;
  border:1px solid rgba(91,114,168,.28);
  background:linear-gradient(120deg,rgba(91,114,168,.12),rgba(47,163,212,.1)),rgba(255,255,255,.92);
}
.edu-cw-band-ey{
  margin:0 0 6px;font-family:var(--fd);font-size:11px;font-weight:800;
  letter-spacing:.16em;text-transform:uppercase;color:var(--edu);
}
.edu-cw-band-t{
  margin:0 0 8px;font-family:var(--fd);font-size:clamp(20px,2.4vw,28px);font-weight:800;
  letter-spacing:-.5px;color:var(--edu-deep);line-height:1.15;
}
.edu-cw-band-s{margin:0;max-width:none;width:100%;color:var(--edu-hrt-muted);font-size:18px;line-height:1.7}
.edu-cw-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.edu-cw-cols > div{
  border:1.5px solid rgba(91,114,168,.26);border-radius:16px;
  background:linear-gradient(155deg,rgba(255,255,255,.96),rgba(243,246,251,.9));
  padding:20px 18px;
}
.edu-cw-cols h3{margin:0 0 12px;font-family:var(--fd);font-size:16px;font-weight:800;color:var(--edu-deep)}
.edu-cw-cols ul{margin:0;padding-left:18px;color:var(--edu-hrt-muted);display:grid;gap:8px}
.edu-cw-cols li{font-size:18px;line-height:1.55}
.edu-cw-checks{margin:0 0 20px;padding:0;list-style:none;display:grid;gap:8px}
.edu-cw-checks li{
  position:relative;padding:0 0 0 22px;color:var(--edu-hrt-muted);font-size:18px;line-height:1.55;
}
.edu-cw-checks li::before{
  content:"";position:absolute;left:0;top:.55em;width:8px;height:8px;border-radius:50%;
  background:linear-gradient(135deg,var(--edu),var(--edu-blue));
}
@media(max-width:980px){
  .edu-rw-mast,.edu-cw-list,.edu-cw-cols{grid-template-columns:1fr}
}

/* ─── Education sector shell: blue chrome + textured wash ──────────────── */
:root{
  --edu-dot:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Ccircle cx='1.5' cy='1.5' r='1.1' fill='%233d4e78' fill-opacity='.07'/%3E%3C/svg%3E");
  --edu-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.23 0 0 0 0 0.3 0 0 0 0 0.48 0 0 0 0.055 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.portal-body.portal-body--edu{
  --green:#5B72A8;
  --green-dark:#3d4e78;
  --green-soft:rgba(91,114,168,.16);
  --accent:#5B72A8;
  --accent-rgb:91,114,168;
  --accent-dim:rgba(91,114,168,.1);
  --accent-bord:rgba(91,114,168,.3);
  --logo-green:#5B72A8;
  background:
    radial-gradient(980px 460px at 6% -8%, rgba(47,163,212,.22), transparent 62%),
    radial-gradient(820px 420px at 96% 4%, rgba(91,114,168,.2), transparent 60%),
    radial-gradient(640px 340px at 50% 72%, rgba(47,163,212,.1), transparent 70%),
    var(--edu-dot),
    linear-gradient(180deg, #eef2f8 0%, #e8f1f8 38%, #f2f5fa 72%, #f7f9fc 100%) !important;
  background-attachment:fixed !important;
}
body.portal-body.portal-body--edu:has(#page-edu){
  background:
    radial-gradient(900px 420px at 8% -5%, rgba(47,163,212,.12), transparent 60%),
    radial-gradient(780px 380px at 92% 8%, rgba(91,114,168,.14), transparent 58%),
    var(--edu-dot),
    linear-gradient(180deg, #eef2f8 0%, #eef2f5 40%, #f7f9fc 100%) !important;
}
body.portal-body--edu .bg-image-wrap{
  display:none !important;
}
.portal-body--edu .portal-page-main,
#page-edu,
#page-edu-sub,
#page-vacancies.portal-body--edu,
body.portal-body--edu #page-vacancies{
  background:transparent !important;
}
/* Full-width content shell (aligned with site-wide portal-page-main) */
.portal-body--edu .portal-page-main{
  max-width:none;
}

/* Buttons / CTAs — Education blues (override HSC greens) */
.portal-body--edu .btn-accent,
.portal-body--edu .portal-body .btn-accent,
body.portal-body--edu .btn-accent{
  background:linear-gradient(135deg,#5B72A8 0%,#3d4e78 72%,#2FA3D4 160%) !important;
  color:#fff !important;
  border-color:transparent !important;
  box-shadow:0 8px 20px rgba(61,78,120,.28) !important;
}
.portal-body--edu .btn-accent--blue{
  background:#2FA3D4 !important;
  box-shadow:0 2px 8px rgba(47,163,212,.22) !important;
}
.portal-body--edu .portal-cta-register,
.portal-topnav--edu-sector .portal-cta-register{
  background:linear-gradient(180deg,#5B72A8 0%,#3d4e78 100%) !important;
  border-color:#3d4e78 !important;
  box-shadow:4px 4px 0 #2FA3D4 !important;
}
.portal-body--edu .portal-cta-register:hover,
.portal-topnav--edu-sector .portal-cta-register:hover{
  background:#3d4e78 !important;
  box-shadow:2px 2px 0 #2FA3D4 !important;
}
.portal-body--edu .portal-drawer-cta,
.portal-topnav--edu-sector .portal-drawer-cta{
  background:linear-gradient(180deg,#5B72A8 0%,#3d4e78 100%) !important;
  border-color:#3d4e78 !important;
  box-shadow:4px 4px 0 #2FA3D4 !important;
}
.portal-body--edu .portal-drawer-cta:hover,
.portal-topnav--edu-sector .portal-drawer-cta:hover{
  background:#3d4e78 !important;
}
.portal-body--edu .portal-drawer-call,
.portal-topnav--edu-sector .portal-drawer-call{
  color:#3d4e78 !important;
  background:rgba(47,163,212,.12) !important;
}
.portal-body--edu .portal-drawer-call:hover,
.portal-topnav--edu-sector .portal-drawer-call:hover{
  background:rgba(91,114,168,.16) !important;
}
.portal-topnav--edu-sector .portal-topnav-tier--lower::after{
  background:linear-gradient(90deg,#5B72A8 0%,#2FA3D4 55%,#3d4e78 100%) !important;
}
.portal-body--edu .portal-call:hover,
.portal-topnav--edu-sector .portal-call:hover{
  background:rgba(91,114,168,.18) !important;
  color:#3d4e78 !important;
}
.portal-body--edu .portal-acc-panel a:hover,
.portal-body--edu .portal-drawer-flat a:hover{
  background:rgba(91,114,168,.14) !important;
}
.portal-body--edu .bc-link-a,
.portal-body--edu .portal-bc .bc-link-a{
  color:#3d4e78 !important;
  border-bottom-color:rgba(91,114,168,.4) !important;
}
.portal-body--edu .skip-link:focus,
.portal-body--edu .skip-link:focus-visible{
  outline-color:rgba(91,114,168,.5) !important;
}
.portal-body--edu .portal-contact-form .btn-submit,
.portal-body--edu .portal-contact-visual-cta{
  background:linear-gradient(180deg,#5B72A8 0%,#3d4e78 100%) !important;
  border-color:#3d4e78 !important;
  box-shadow:4px 4px 0 #2FA3D4 !important;
}
.portal-body--edu .portal-contact-form .btn-submit:hover{
  background:#3d4e78 !important;
}
.portal-body--edu .portal-contact-visual,
.portal-body--edu #contact-form.portal-contact-form-wrap{
  border-color:rgba(91,114,168,.35) !important;
  background:
    linear-gradient(145deg,rgba(91,114,168,.1) 0%,rgba(110,115,123,.08) 45%,rgba(47,163,212,.12) 100%) !important;
}
.portal-body--edu #contact-form.portal-contact-form-wrap{
  background:rgba(255,255,255,.94) !important;
}

/* Textured panels / sections */
.portal-body--edu .portal-section,
.portal-body--edu .gov-section,
.portal-body--edu .sg-section,
.portal-body--edu .ab-section,
.portal-body--edu .refer-card,
.portal-body--edu .refer-form-wrap,
.portal-body--edu .edu-detail-panel,
.portal-body--edu .edu-band{
  position:relative;
}
.portal-body--edu .portal-section,
.portal-body--edu .gov-section,
.portal-body--edu .sg-section,
.portal-body--edu .ab-section,
.portal-body--edu .refer-card,
.portal-body--edu .refer-form-wrap{
  overflow:hidden;
  background:
    linear-gradient(160deg, rgba(255,255,255,.96) 0%, rgba(236,242,250,.9) 55%, rgba(232,245,250,.88) 100%),
    var(--edu-dot) !important;
  border:1.5px solid rgba(91,114,168,.28) !important;
  border-radius:16px;
  box-shadow:
    0 8px 22px rgba(16,33,54,.04),
    inset 0 1px 0 rgba(255,255,255,.8);
}
.portal-body--edu .edu-band{
  background:
    radial-gradient(640px 280px at 8% 0%, rgba(47,163,212,.1), transparent 65%),
    radial-gradient(520px 240px at 92% 100%, rgba(91,114,168,.1), transparent 68%),
    var(--edu-dot),
    linear-gradient(180deg, #eef2f7 0%, #e8eef6 100%) !important;
}
.portal-body--edu .edu-band--white{
  background:
    radial-gradient(520px 240px at 90% 0%, rgba(47,163,212,.08), transparent 70%),
    var(--edu-dot),
    linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%) !important;
}
.portal-body--edu .portal-hero,
.portal-body--edu .gov-hero,
.portal-body--edu .sg-hero,
.portal-body--edu .ab-hero,
.portal-body--edu .team-masthead,
.portal-body--edu .refer-hero-card{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(125deg, rgba(255,255,255,.97) 0%, rgba(232,238,248,.94) 46%, rgba(224,242,249,.93) 100%),
    var(--edu-grain) !important;
  border:1.5px solid rgba(91,114,168,.32) !important;
  border-radius:18px;
  box-shadow:
    0 12px 30px rgba(16,33,54,.06),
    inset 0 1px 0 rgba(255,255,255,.85);
}
.portal-body--edu .vac-card,
body.portal-body--edu .vac-card,
#page-vacancies.portal-body--edu .vac-card{
  border:1.5px solid rgba(91,114,168,.35) !important;
  background:#fff !important;
}
.portal-body--edu .portal-section h2,
.portal-body--edu .portal-hero h1,
.portal-body--edu .ab-title,
.portal-body--edu .gov-hero h1,
.portal-body--edu .sg-hero h1,
.portal-body--edu .team-masthead h1{
  color:#3d4e78 !important;
}
.portal-body--edu .portal-card,
.portal-body--edu .ab-value,
.portal-body--edu .gov-topic,
.portal-body--edu .team-person,
.portal-body--edu .sg-contact-card,
.portal-body--edu .ab-accred-item{
  background:
    radial-gradient(120px 80px at 12% 0%, rgba(91,114,168,.12), transparent 70%),
    radial-gradient(140px 90px at 100% 100%, rgba(47,163,212,.12), transparent 72%),
    linear-gradient(165deg, rgba(255,255,255,.98), rgba(236,242,250,.7)) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
  border-color:rgba(91,114,168,.28) !important;
}

/* Vacancies / apply accent remap when Education shell is on */
body.portal-body--edu,
body.portal-body--edu #page-vacancies,
#page-vacancies.portal-body--edu{
  --green:#5B72A8;
  --accent:#5B72A8;
  --accent-rgb:91,114,168;
  --accent-dim:rgba(91,114,168,.1);
  --accent-bord:rgba(91,114,168,.3);
  --trust-accent:#2FA3D4;
  --trust-border:#c5d0e4;
}

/* ─── For schools / Education sub pages ─────────────────────────────────── */
#page-edu-sub h1,
#page-edu-sub h2,
#page-edu-sub h3,
.portal-body--edu .edu-hrt-h2,
.portal-body--edu .edu-sub-hero h1{
  font-family:var(--fd,"Montserrat",sans-serif) !important;
  font-weight:800 !important;
  color:var(--edu-deep);
}
.portal-body--edu .edu-hrt-kicker,
.portal-body--edu .edu-cw-band-ey{
  font-family:var(--fd,"Montserrat",sans-serif) !important;
  font-weight:800 !important;
  color:var(--edu-blue) !important;
}

/* Branded hero panel on thin For schools pages */
#page-edu-sub .edu-sub-hero{
  position:relative;
  overflow:hidden;
  margin:8px auto 18px;
  padding:clamp(24px,3.5vw,36px) clamp(18px,3vw,28px);
  border-radius:20px;
  border:1.5px solid rgba(91,114,168,.32);
  background:
    radial-gradient(420px 220px at 0% 0%, rgba(47,163,212,.16), transparent 62%),
    radial-gradient(380px 200px at 100% 100%, rgba(91,114,168,.14), transparent 60%),
    var(--edu-dot),
    linear-gradient(125deg, rgba(255,255,255,.97) 0%, rgba(232,238,248,.95) 48%, rgba(224,242,249,.94) 100%);
  box-shadow:
    0 14px 34px rgba(16,33,54,.06),
    inset 0 1px 0 rgba(255,255,255,.9);
  box-sizing:border-box;
}
#page-edu-sub .edu-sub-hero h1{
  letter-spacing:-.03em;
  line-height:1.08;
  margin:8px 0 14px;
  font-size:clamp(28px,3.6vw,42px);
}
#page-edu-sub .edu-sub-hero .lead{
  color:var(--edu-muted);
  font-size:18px;
  line-height:1.7;
  max-width:64ch;
}
#page-edu-sub .edu-sub-hero-media{
  margin-top:18px;
  border:1.5px solid rgba(91,114,168,.22);
}
#page-edu-sub .edu-sub-body{
  position:relative;
  padding:22px 20px 28px;
  border-radius:18px;
  border:1.5px solid rgba(91,114,168,.28);
  background:
    radial-gradient(520px 240px at 8% 0%, rgba(47,163,212,.1), transparent 65%),
    radial-gradient(420px 200px at 92% 100%, rgba(91,114,168,.1), transparent 68%),
    var(--edu-dot),
    linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(236,242,250,.9) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
  box-sizing:border-box;
}

/* For schools hub cards — stronger Education blue wash */
.portal-body--edu .edu-hub-section{
  border-color:rgba(91,114,168,.3) !important;
  background:
    radial-gradient(220px 120px at 6% 0%, rgba(47,163,212,.14), transparent 70%),
    radial-gradient(180px 100px at 100% 100%, rgba(91,114,168,.12), transparent 72%),
    var(--edu-dot),
    linear-gradient(165deg,#fff 0%, #e8eef7 100%) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.portal-body--edu .edu-cw-band{
  border-color:rgba(91,114,168,.3) !important;
  background:
    radial-gradient(280px 140px at 0% 50%, rgba(47,163,212,.14), transparent 70%),
    linear-gradient(115deg, rgba(255,255,255,.96), rgba(232,242,249,.94)) !important;
}
.portal-body--edu .edu-cw-list a{
  background:
    radial-gradient(120px 80px at 0% 0%, rgba(47,163,212,.1), transparent 70%),
    linear-gradient(165deg, rgba(255,255,255,.98), rgba(236,242,250,.85)) !important;
  border-color:rgba(91,114,168,.3) !important;
}

/* Shared portal H1 size — match HSC / Homecare */
.portal-body--edu .portal-hero h1,
.portal-body--edu .ab-title,
.portal-body--edu .edu-sub-hero h1{
  font-size:clamp(28px,3.6vw,42px) !important;
}
.portal-body--edu .ab-section h2,
.portal-body--edu .sec-t{
  font-size:clamp(28px,3.5vw,40px) !important;
}
