/* =========================================================
   THEME 21 — GLOBAL APPLICATION CSS
   Readability + Standard University Website Scale
   Replaces the previous compressed 8–14px typography system.
   ========================================================= */

:root{
  --navy:#062f55;
  --navy-deep:#03213a;
  --blue:#0d4b7b;
  --blue-2:#176895;
  --gold:#d8b45e;
  --gold-dark:#a67b25;
  --ink:#12283d;
  --text:#40566a;
  --muted:#6f7f8f;
  --line:#dfe7ed;
  --soft:#f4f8fb;
  --pale:#eaf3fa;
  --cream:#fff8e9;
  --white:#fff;
  --success:#187a55;
  --danger:#b42318;
  --shadow-sm:0 5px 18px rgba(7,35,55,.07);
  --shadow:0 12px 34px rgba(7,35,55,.11);
  --radius:12px;
  --radius-sm:8px;
  --container:1240px;
}

*,
*::before,
*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  font-size:16px;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  background:#fff;
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px;
  line-height:1.65;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body.t21-menu-open{overflow:hidden}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
select,
textarea{
  font:inherit;
}

button{cursor:pointer}

img{
  display:block;
  max-width:100%;
  height:auto;
}

table{
  width:100%;
  border-collapse:collapse;
}

ul,ol{
  margin-top:0;
}

::selection{
  background:rgba(216,180,94,.35);
  color:var(--ink);
}

/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.t21-wrap{
  width:min(var(--container),calc(100% - 48px));
  margin-inline:auto;
}

/* =========================================================
   TOP BAR
   ========================================================= */

.t21-topbar{
  min-height:42px;
  background:var(--navy-deep);
  color:#dbe6ee;
  font-size:14px;
}

.topbar-inner{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:24px;
  white-space:nowrap;
}

.topbar-inner > span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.top-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:22px;
}

.top-actions a{
  color:#e4edf3;
  font-size:14px;
  font-weight:600;
}

.top-actions a:hover{color:#fff}

.apply-mini{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 15px;
  background:var(--gold);
  color:#10263c!important;
  border-radius:5px;
  font-size:14px!important;
  font-weight:800!important;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.t21-header{
  position:sticky;
  top:0;
  z-index:1000;
  min-height:82px;
  background:#fff;
  border-bottom:1px solid var(--line);
}

.nav-wrap{
  min-height:82px;
  display:flex;
  align-items:center;
  gap:32px;
}

.t21-brand{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
}

.t21-brand img{
  width:auto;
  max-width:190px;
  max-height:58px;
}

.t21-nav{
  margin-left:auto;
  min-height:82px;
  display:flex;
  align-items:center;
  gap:4px;
  font-size:15px;
  font-weight:700;
}

.t21-nav > a,
.t21-dd > button{
  position:relative;
  min-height:82px;
  display:inline-flex;
  align-items:center;
  padding:0 12px;
  border:0;
  background:none;
  color:#25384b;
  cursor:pointer;
  white-space:nowrap;
  font-size:15px;
  font-weight:700;
}

.t21-nav > a::after,
.t21-dd > button::after{
  content:"";
  position:absolute;
  left:12px;
  right:100%;
  bottom:0;
  height:3px;
  background:var(--gold);
  transition:right .18s ease;
}

.t21-nav > a:hover,
.t21-nav > a.active,
.t21-dd > button:hover,
.t21-dd.is-current > button{
  color:var(--navy);
}

.t21-nav > a:hover::after,
.t21-nav > a.active::after,
.t21-dd.is-current > button::after{
  right:12px;
}

.t21-dd{
  position:relative;
  min-height:82px;
  display:flex;
  align-items:center;
}

.t21-dd > button{
  gap:6px;
}

.t21-dd > button .chevron{
  font-size:14px;
}

.t21-drop{
  position:absolute;
  top:calc(100% + 1px);
  left:0;
  width:250px;
  padding:9px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:0 0 10px 10px;
  box-shadow:var(--shadow);
  opacity:0;
  visibility:hidden;
  transform:translateY(6px);
  transition:.18s ease;
  transition-property:opacity,transform,visibility;
}

.t21-dd:hover .t21-drop,
.t21-dd:focus-within .t21-drop,
.t21-dd.is-open .t21-drop{
  opacity:1;
  visibility:visible;
  transform:none;
}

.t21-drop a{
  display:block;
  padding:11px 13px;
  border-radius:7px;
  color:#344a5e;
  font-size:14px;
  line-height:1.45;
  font-weight:600;
}

.t21-drop a:hover{
  background:var(--soft);
  color:var(--navy);
}

.search-btn{
  width:42px;
  height:42px;
  margin-left:5px;
  display:grid;
  place-items:center;
  border:1px solid transparent;
  background:none;
  color:var(--navy);
  border-radius:50%;
  font-size:19px;
}

.search-btn:hover{
  background:var(--soft);
  border-color:var(--line);
}

.t21-toggle{
  display:none;
}

.t21-search{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  padding:16px 0;
  background:#fff;
  border-bottom:1px solid var(--line);
  box-shadow:0 12px 28px rgba(7,35,55,.12);
  display:none;
}

.t21-search.is-open{display:block}

.t21-search-form{
  display:flex;
  gap:10px;
}

.t21-search-form input{
  flex:1;
  min-width:0;
  min-height:52px;
  border:1px solid #d7e1e8;
  border-radius:8px;
  padding:12px 15px;
  outline:none;
  font-size:16px;
}

.t21-search-form button{
  min-height:52px;
  border:0;
  border-radius:8px;
  padding:0 24px;
  background:var(--navy);
  color:#fff;
  font-size:15px;
  font-weight:800;
}

/* =========================================================
   TYPOGRAPHY — STANDARD READABLE SCALE
   ========================================================= */

h1,h2,h3,h4,h5,h6{
  margin:0 0 16px;
  color:var(--ink);
  font-weight:800;
  line-height:1.2;
  letter-spacing:-.025em;
}

h1{
  font-size:clamp(42px,5vw,68px);
}

h2{
  font-size:clamp(30px,3.2vw,44px);
}

h3{
  font-size:clamp(21px,2vw,27px);
}

h4{
  font-size:19px;
}

h5{
  font-size:17px;
}

h6{
  font-size:16px;
}

p{
  margin:0 0 17px;
  font-size:16px;
  line-height:1.65;
}

small{
  font-size:14px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-bottom:12px;
  color:var(--gold-dark);
  font-size:14px;
  line-height:1.3;
  letter-spacing:.15em;
  font-weight:900;
  text-transform:uppercase;
}

.eyebrow::before{
  content:"";
  width:25px;
  height:2px;
  flex:0 0 25px;
  background:currentColor;
  border-radius:2px;
}

.muted-eye{
  color:var(--blue);
}

.textlink{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--gold-dark);
  font-size:14px;
  line-height:1.4;
  font-weight:800;
}

.textlink:hover{
  color:var(--navy);
  text-decoration:underline;
  text-underline-offset:3px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  padding:11px 21px;
  border:1px solid transparent;
  border-radius:7px;
  font-size:15px;
  line-height:1.25;
  font-weight:800;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
}

.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

.btn.gold{
  background:var(--gold);
  color:#10263c;
}

.btn.gold:hover{
  background:#e5c573;
}

.btn.ghost,
.btn.outline{
  border-color:rgba(255,255,255,.75);
  color:#fff;
  background:transparent;
}

.btn.ghost:hover,
.btn.outline:hover{
  background:#fff;
  color:var(--navy);
}

.btn.dark{
  background:var(--navy);
  color:#fff;
}

.btn.dark:hover{
  background:var(--blue);
}

/* =========================================================
   HERO
   ========================================================= */

.t21-hero{
  min-height:500px;
  background:linear-gradient(116deg,#052d50 0%,#0b4a7d 63%,#07365e 100%);
  color:#fff;
  overflow:hidden;
}

.hero-grid{
  min-height:500px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,1fr);
  align-items:center;
  gap:65px;
}

.hero-copy{
  padding:60px 0;
}

.hero-copy .eyebrow{
  color:#d8e5ee;
}

.hero-copy h1{
  max-width:700px;
  margin:14px 0 20px;
  color:#fff;
  font-size:clamp(48px,5.2vw,72px);
  line-height:1.04;
  letter-spacing:-.045em;
}

.hero-copy h1 em,
.section h2 em,
.info-card h2 em{
  font-style:normal;
  color:var(--gold);
}

.hero-copy p{
  max-width:650px;
  color:#d6e2eb;
  font-size:17px;
  line-height:1.65;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

.hero-art{
  position:relative;
  width:min(100%,560px);
  justify-self:end;
  margin:auto 0;
}

.hero-art > img{
  width:100%;
  height:auto;
  max-height:275px;
  object-fit:cover;
  border-radius:16px;
}

.hero-float{
  position:relative;
  width:94%;
  margin:-1px auto 0;
  min-height:88px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:#fff;
  color:var(--navy);
  border-radius:8px;
  box-shadow:0 12px 28px rgba(0,27,45,.20);
  padding:10px;
}

.hero-float div{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border-right:1px solid #e2e8ed;
  padding:8px;
}

.hero-float div:last-child{
  border-right:0;
}

.hero-float strong{
  display:block;
  font-size:19px;
  line-height:1.2;
}

.hero-float small{
  margin-top:5px;
  color:#687887;
  font-size:14px;
  line-height:1.35;
}

/* Page hero */

.pagehero{
  min-height:280px;
}

.pagehero .t21-wrap{
  padding:65px 0;
}

.pagehero h1{
  color:#fff;
}

.pagehero p{
  max-width:760px;
  color:#dcecf7;
  font-size:17px;
}

/* =========================================================
   TRUST / PARTNERS
   ========================================================= */

.trust-strip{
  background:#f5f8fa;
  border-top:1px solid #eef2f5;
  border-bottom:1px solid #eef2f5;
}

.trust-inner{
  padding:26px 0 24px;
}

.trust-inner > span{
  display:block;
  margin-bottom:17px;
  color:#687887;
  text-align:center;
  font-size:14px;
  line-height:1.4;
}

.partner-list{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  align-items:center;
  gap:18px;
  text-align:center;
  color:#737b82;
  font-size:17px;
  line-height:1.3;
  font-weight:800;
  filter:grayscale(1);
  opacity:.78;
}

/* =========================================================
   GENERIC SECTIONS
   ========================================================= */

.section{
  padding:76px 0;
}

.section.light{
  background:var(--soft);
}

.section.cream{
  background:var(--cream);
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
  margin-bottom:34px;
}

.section-head h2{
  margin:5px 0 8px;
}

.section-head p{
  margin:0;
  color:var(--muted);
  font-size:16px;
}

.section-head .textlink{
  flex:0 0 auto;
  margin-bottom:7px;
}

/* =========================================================
   PROGRAMMES
   ========================================================= */

.programme-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.programme-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
  transition:transform .18s ease,box-shadow .18s ease;
}

.programme-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.programme-card > img{
  width:100%;
  height:210px;
  object-fit:cover;
}

.programme-body{
  padding:21px;
}

.tag{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:5px 10px;
  border-radius:5px;
  background:#edf4f8;
  color:#1b5c86;
  font-size:14px;
  line-height:1.2;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.programme-body h3{
  margin:13px 0 7px;
  font-size:21px;
  line-height:1.25;
}

.programme-body p{
  min-height:52px;
  margin:0 0 15px;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.programme-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:14px;
  border-top:1px solid #edf0f3;
}

.programme-meta span,
.programme-meta a{
  font-size:14px;
}

.programme-meta span{
  color:#596879;
}

.programme-meta a{
  color:var(--gold-dark);
  font-weight:850;
}

/* =========================================================
   SQF
   ========================================================= */

.sqf-section{
  background:#fff;
}

.sqf-wrap{
  display:grid;
  grid-template-columns:350px 1fr;
  min-height:220px;
}

.sqf-copy{
  padding:32px;
  background:linear-gradient(135deg,#062d52,#0b4778);
  color:#fff;
}

.sqf-copy .eyebrow{
  color:#fff;
}

.sqf-copy h2{
  margin:0 0 4px;
  color:#fff;
  font-size:48px;
  line-height:1;
}

.sqf-copy h3{
  margin:0 0 11px;
  color:#d8e9f5;
  font-size:14px;
  letter-spacing:.06em;
}

.sqf-copy p{
  max-width:280px;
  margin:0 0 16px;
  color:#cbd9e4;
  font-size:14px;
  line-height:1.55;
}

.sqf-points{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  align-items:center;
  padding:20px;
  background:#eaf3fa;
}

.sqf-points > div{
  padding:15px;
  text-align:center;
}

.sqf-points b{
  width:48px;
  height:48px;
  margin:auto;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#d2e2ee;
  color:#164d77;
  font-size:20px;
}

.sqf-points h3{
  margin:10px 0 5px;
  font-size:15px;
  line-height:1.3;
}

.sqf-points p{
  margin:0;
  color:#697889;
  font-size:14px;
  line-height:1.45;
}

/* =========================================================
   ADMISSION JOURNEY
   ========================================================= */

.journey{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  margin:30px 0 25px;
}

.journey > div{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:55px;
  padding:0 25px 0 0;
}

.journey > div:not(:last-child)::after{
  content:"→";
  position:absolute;
  right:8px;
  color:#748392;
  font-size:18px;
}

.journey b{
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  font-size:14px;
}

.journey span{
  color:var(--ink);
  font-size:14px;
  line-height:1.4;
  font-weight:800;
}

.center{
  text-align:center;
}

/* =========================================================
   DIGITAL LEARNING
   ========================================================= */

.learning-box{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(400px,1.15fr);
  align-items:center;
  gap:50px;
}

.learning-box h2{
  margin:5px 0 10px;
}

.learning-box p{
  max-width:600px;
  color:var(--muted);
  font-size:16px;
}

.feature-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:8px 20px;
  margin:20px 0 25px;
}

.feature-list span{
  color:#344b5f;
  font-size:14px;
  font-weight:700;
}

.dashmock{
  min-height:300px;
  padding:18px;
  border:1px solid #d9e6ef;
  border-radius:12px;
  background:#eaf2f8;
  box-shadow:var(--shadow-sm);
}

.mocktop{
  width:55%;
  height:34px;
  border-radius:5px;
  background:#c7dbe9;
}

.mocklines{
  display:grid;
  gap:10px;
  margin-top:14px;
}

.mocklines i{
  display:block;
  height:44px;
  border:1px solid #d7e2e9;
  border-radius:6px;
  background:#fff;
}

/* =========================================================
   INFO CARDS
   ========================================================= */

.split-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.info-card{
  min-height:190px;
  padding:30px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.info-card.career{
  background:#fff7e7;
}

.info-card.credentials{
  background:#edf6fd;
}

.info-card h2{
  margin:5px 0 9px;
  font-size:28px;
}

.info-card p{
  max-width:600px;
  margin:0 0 15px;
  color:var(--muted);
  font-size:15px;
}

/* =========================================================
   NEWS
   ========================================================= */

.news-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.news-grid article{
  min-height:190px;
  display:flex;
  flex-direction:column;
  padding:23px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.news-grid small{
  color:#8a6d2c;
  font-size:14px;
  line-height:1.3;
  font-weight:700;
}

.news-grid h3{
  margin:9px 0 7px;
  font-size:19px;
}

.news-grid p{
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

.news-grid a{
  margin-top:auto;
  color:var(--gold-dark);
  font-size:14px;
  font-weight:850;
}

/* =========================================================
   CMS / INNER APPLICATION PAGES
   ========================================================= */

.content-page{
  max-width:1000px;
}

.cms-content{
  color:var(--text);
  font-size:16px;
  line-height:1.8;
}

.cms-content .lead,
.content-page > .lead{
  margin-bottom:25px;
  color:var(--text);
  font-size:19px;
  line-height:1.8;
}

.cms-content h2{
  margin-top:42px;
  margin-bottom:14px;
}

.cms-content h3{
  margin-top:30px;
  margin-bottom:12px;
}

.cms-content h4{
  margin-top:24px;
}

.cms-content img{
  margin:25px 0;
  border-radius:10px;
}

.cms-content ul,
.cms-content ol{
  padding-left:25px;
  margin-bottom:22px;
}

.cms-content li{
  margin-bottom:8px;
}

.cms-content table{
  margin:25px 0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:8px;
}

.cms-content th,
.cms-content td{
  padding:13px 15px;
  border:1px solid var(--line);
  text-align:left;
  font-size:14px;
}

.cms-content th{
  background:var(--soft);
  color:var(--ink);
  font-weight:800;
}

.listing-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}

.listing-grid article{
  padding:25px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
}

.listing-grid article h2{
  margin:10px 0 8px;
  font-size:25px;
}

.listing-grid article p{
  color:var(--muted);
  font-size:15px;
}

/* =========================================================
   FORMS
   ========================================================= */

.t21-form{
  display:grid;
  gap:10px;
}

.t21-form label{
  margin-top:7px;
  color:var(--navy);
  font-size:14px;
  line-height:1.4;
  font-weight:800;
}

.t21-form input,
.t21-form select,
.t21-form textarea{
  width:100%;
  border:1px solid #d0dce5;
  border-radius:8px;
  padding:12px 14px;
  background:#fff;
  color:var(--ink);
  font-size:16px;
  line-height:1.5;
  outline:none;
}

.t21-form input,
.t21-form select{
  min-height:50px;
}

.t21-form textarea{
  min-height:140px;
  resize:vertical;
}

.t21-form input:focus,
.t21-form select:focus,
.t21-form textarea:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(13,75,123,.11);
}

.t21-form .btn{
  width:max-content;
  margin-top:10px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.t21-footer{
  background:#062c50;
  color:#d6e0e8;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.35fr 1fr 1.15fr .8fr;
  gap:50px;
  padding:62px 0 52px;
}

.footbrand img{
  width:175px;
  max-height:60px;
  object-fit:contain;
  object-position:left center;
}

.footer-grid h4{
  margin:0 0 17px;
  color:#fff;
  font-size:16px;
}

.footer-grid p,
.footer-grid a{
  color:#b9c8d4;
  font-size:14px;
  line-height:1.65;
}

.footer-grid p{
  max-width:360px;
  margin:15px 0;
}

.footer-grid > div:not(:first-child) > a{
  display:block;
  width:max-content;
  max-width:100%;
  margin:5px 0;
}

.footer-grid a:hover{
  color:#fff;
}

.socials{
  display:flex;
  gap:8px;
}

.socials a{
  width:38px;
  height:38px;
  display:grid!important;
  place-items:center;
  border:1px solid #41617a;
  border-radius:50%;
  margin:0!important;
  color:#dce7ef;
  font-size:14px!important;
}

.socials a:hover{
  background:rgba(255,255,255,.1);
}

.footer-bottom{
  border-top:1px solid #31516d;
}

.footer-bottom .t21-wrap{
  min-height:62px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.footer-bottom{
  color:#91a5b6;
  font-size:14px;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:3px solid rgba(216,180,94,.65);
  outline-offset:3px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1100px){
  .t21-wrap{
    width:min(var(--container),calc(100% - 40px));
  }

  .nav-wrap{
    gap:15px;
  }

  .t21-nav{
    gap:0;
  }

  .t21-nav > a,
  .t21-dd > button{
    padding-inline:8px;
    font-size:14px;
  }

  .hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);
    gap:35px;
  }

  .hero-copy h1{
    font-size:clamp(44px,5vw,62px);
  }

  .programme-grid,
  .news-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .footer-grid{
    gap:30px;
  }
}

/* =========================================================
   MOBILE NAV / TABLET
   ========================================================= */

@media(max-width:900px){
  .t21-header{
    min-height:72px;
  }

  .nav-wrap{
    min-height:72px;
  }

  .t21-toggle{
    display:grid;
    place-items:center;
    margin-left:auto;
    width:46px;
    height:42px;
    border:1px solid var(--line);
    border-radius:8px;
    background:#fff;
    color:var(--navy);
    font-size:23px;
  }

  .t21-nav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    display:none;
    min-height:0;
    max-height:calc(100vh - 80px);
    overflow-y:auto;
    flex-direction:column;
    align-items:stretch;
    gap:2px;
    padding:10px;
    background:#fff;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    box-shadow:var(--shadow);
  }

  .t21-nav.is-open{
    display:flex;
  }

  .t21-nav > a,
  .t21-dd > button{
    width:100%;
    min-height:48px;
    padding:12px 14px;
    justify-content:space-between;
    font-size:15px;
  }

  .t21-nav > a::after,
  .t21-dd > button::after{
    display:none;
  }

  .t21-dd{
    width:100%;
    min-height:0;
    display:block;
  }

  .t21-dd > button{
    min-height:48px;
  }

  .t21-drop{
    position:static;
    width:auto;
    display:none;
    opacity:1;
    visibility:visible;
    transform:none;
    border:0;
    border-top:1px solid var(--line);
    border-radius:0;
    box-shadow:none;
    padding:4px 0 6px;
    background:var(--soft);
  }

  .t21-dd.is-open .t21-drop{
    display:block;
  }

  .t21-drop a{
    padding:11px 22px;
    font-size:14px;
  }

  .search-btn{
    display:none;
  }

  .hero-grid{
    grid-template-columns:1fr;
    gap:35px;
    padding:55px 0 65px;
  }

  .t21-hero{
    min-height:0;
  }

  .hero-copy{
    padding:0;
  }

  .hero-art{
    justify-self:center;
  }

  .partner-list{
    grid-template-columns:repeat(4,1fr);
    row-gap:18px;
  }

  .sqf-wrap{
    grid-template-columns:1fr;
  }

  .sqf-points{
    grid-template-columns:repeat(2,1fr);
  }

  .journey{
    grid-template-columns:repeat(2,1fr);
    gap:20px;
  }

  .journey > div:not(:last-child)::after{
    display:none;
  }

  .learning-box{
    grid-template-columns:1fr;
    gap:35px;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:640px){
  html{
    font-size:16px;
  }

  body{
    font-size:16px;
    line-height:1.6;
  }

  .t21-wrap{
    width:calc(100% - 30px);
  }

  .t21-topbar{
    min-height:38px;
  }

  .topbar-inner{
    min-height:38px;
    gap:10px;
    font-size:14px;
  }

  .topbar-inner > span:nth-child(2){
    display:none;
  }

  .top-actions{
    gap:8px;
  }

  .top-actions a{
    font-size:14px;
  }

  .top-actions a:not(.apply-mini){
    display:none;
  }

  .apply-mini{
    min-height:28px;
    padding:5px 10px;
    font-size:14px!important;
  }

  .t21-header,
  .nav-wrap{
    min-height:68px;
  }

  .t21-brand img{
    max-width:165px;
    max-height:50px;
  }

  .t21-nav{
    position:fixed;
    top:78px;
    left:15px;
    right:15px;
    max-height:calc(100vh - 95px);
    border:1px solid var(--line);
    border-radius:9px;
  }

  h1{
    font-size:40px;
  }

  h2{
    font-size:30px;
  }

  h3{
    font-size:21px;
  }

  p{
    font-size:16px;
  }

  .hero-grid{
    padding:48px 0 55px;
  }

  .hero-copy h1{
    font-size:clamp(40px,11vw,56px);
    line-height:1.04;
  }

  .hero-copy p{
    font-size:16px;
  }

  .hero-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .hero-actions .btn{
    width:100%;
  }

  .hero-float{
    width:100%;
    grid-template-columns:repeat(2,1fr);
  }

  .hero-float div{
    min-height:65px;
  }

  .hero-float div:nth-child(2){
    border-right:0;
  }

  .hero-float div:nth-child(-n+2){
    border-bottom:1px solid #e2e8ed;
  }

  .hero-float strong{
    font-size:16px;
  }

  .hero-float small{
    font-size:14px;
  }

  .pagehero .t21-wrap{
    padding:50px 0;
  }

  .pagehero h1{
    font-size:40px;
  }

  .pagehero p{
    font-size:16px;
  }

  .trust-inner{
    padding:22px 0;
  }

  .trust-inner > span{
    font-size:14px;
  }

  .partner-list{
    grid-template-columns:repeat(4,1fr);
    gap:16px 8px;
    font-size:14px;
  }

  .section{
    padding:55px 0;
  }

  .section-head{
    display:block;
    margin-bottom:27px;
  }

  .section-head p{
    font-size:15px;
  }

  .section-head .textlink{
    margin-top:8px;
  }

  .programme-grid,
  .listing-grid,
  .news-grid,
  .split-cards{
    grid-template-columns:1fr;
    gap:18px;
  }

  .programme-card > img{
    height:200px;
  }

  .programme-body{
    padding:21px;
  }

  .programme-body h3{
    font-size:21px;
  }

  .programme-body p{
    min-height:auto;
    font-size:14px;
  }

  .sqf-copy{
    padding:30px 24px;
  }

  .sqf-copy h2{
    font-size:42px;
  }

  .sqf-copy p{
    font-size:14px;
  }

  .sqf-points{
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:25px 10px;
  }

  .sqf-points > div{
    padding:18px 8px;
  }

  .sqf-points h3{
    font-size:14px;
  }

  .sqf-points p{
    font-size:14px;
  }

  .journey{
    grid-template-columns:1fr;
    gap:10px;
  }

  .journey > div{
    min-height:48px;
    padding:4px 0;
  }

  .journey > div:not(:last-child)::after{
    content:"↓";
    display:block;
    position:absolute;
    left:13px;
    right:auto;
    bottom:-13px;
    font-size:16px;
  }

  .journey span{
    font-size:14px;
  }

  .learning-box{
    gap:30px;
    padding:25px 20px;
  }

  .learning-box p{
    font-size:15px;
  }

  .feature-list{
    grid-template-columns:1fr;
    gap:7px;
  }

  .feature-list span{
    font-size:14px;
  }

  .dashmock{
    min-height:230px;
  }

  .info-card{
    min-height:170px;
    padding:25px;
  }

  .info-card h2{
    font-size:25px;
  }

  .info-card p{
    font-size:14px;
  }

  .news-grid article{
    min-height:160px;
    padding:21px;
  }

  .news-grid h3{
    font-size:19px;
  }

  .news-grid p{
    font-size:14px;
  }

  .cms-content{
    font-size:16px;
  }

  .cms-content .lead,
  .content-page > .lead{
    font-size:18px;
  }

  .cms-content h2{
    margin-top:35px;
  }

  .cms-content th,
  .cms-content td{
    white-space:nowrap;
  }

  .t21-form label{
    font-size:14px;
  }

  .t21-form input,
  .t21-form select,
  .t21-form textarea{
    font-size:16px;
  }

  .t21-form .btn{
    width:100%;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:28px;
    padding:50px 0 40px;
  }

  .footbrand img{
    width:165px;
  }

  .footer-grid h4{
    font-size:16px;
  }

  .footer-grid p,
  .footer-grid a{
    font-size:14px;
  }

  .footer-bottom .t21-wrap{
    min-height:0;
    padding:17px 0;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }

  .footer-bottom{
    font-size:14px;
  }
}

@media(max-width:430px){
  .hero-copy h1{
    font-size:35px;
  }

  .sqf-points{
    grid-template-columns:1fr;
  }

  .partner-list{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    scroll-behavior:auto!important;
    transition:none!important;
  }
}


/* =========================================================
   THEME 21 — FINAL READABILITY SAFETY OVERRIDES
   No normal text below 14px.
   ========================================================= */

.t21-nav,
.t21-nav > a,
.t21-dd > button{
  font-size:15px;
}

.t21-drop a{
  font-size:14px;
}

.topbar-inner,
.top-actions a{
  font-size:14px;
}

.eyebrow{
  font-size:14px;
}

.textlink{
  font-size:14px;
}

.programme-body p,
.programme-meta span,
.programme-meta a,
.news-grid p,
.news-grid a,
.info-card p,
.learning-box p,
.feature-list span,
.sqf-copy p,
.sqf-points p,
.journey span{
  font-size:14px;
}

.programme-body h3,
.news-grid h3{
  font-size:20px;
}

.programme-meta{
  font-size:14px;
}

.tag{
  font-size:14px;
}

.t21-form label{
  font-size:15px;
}

.footer-grid p,
.footer-grid a{
  font-size:14px;
}

.footer-bottom{
  font-size:14px;
}

@media(max-width:640px){
  .topbar-inner,
  .top-actions a{
    font-size:14px;
  }

  .t21-nav > a,
  .t21-dd > button{
    font-size:16px;
  }

  .t21-drop a{
    font-size:15px;
  }

  .section-head p{
    font-size:16px;
  }

  .programme-body p,
  .news-grid p,
  .info-card p,
  .learning-box p,
  .sqf-copy p,
  .sqf-points p,
  .feature-list span,
  .journey span{
    font-size:15px;
  }

  .programme-body h3,
  .news-grid h3{
    font-size:21px;
  }

  .footer-grid p,
  .footer-grid a{
    font-size:15px;
  }
}


/* =========================================================
   DIGITAL UNIVERSITY DYNAMIC FRONTEND COMPONENTS
   ========================================================= */

.empty-state{
  grid-column:1/-1;
  padding:32px;
  border:1px dashed #c8d6e0;
  border-radius:var(--radius);
  background:#f8fbfd;
  text-align:center;
}
.empty-state h3{margin-bottom:8px}
.empty-state p{color:var(--muted);margin-bottom:18px}

.success-box,.error-box{
  margin-bottom:24px;
  padding:15px 18px;
  border-radius:9px;
  font-size:15px;
}
.success-box{background:#edf9f2;border:1px solid #b9e4c9;color:#17623f}
.error-box{background:#fff1f0;border:1px solid #f0c3be;color:#9c2c23}
.error-box ul{margin:8px 0 0;padding-left:20px}

.inner-head{margin-top:30px}
.cms-intro{margin-bottom:35px;padding-bottom:25px;border-bottom:1px solid var(--line)}

.feature-panel{
  padding:34px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:linear-gradient(135deg,#f4f8fb,#fff);
  box-shadow:var(--shadow-sm);
}
.feature-panel h2{max-width:800px}
.quick-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin-top:25px;
}
.quick-grid a{
  padding:16px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  color:var(--navy);
  font-weight:800;
}
.quick-grid a:hover{border-color:var(--gold);transform:translateY(-2px)}

.faq-list{display:grid;gap:12px}
.faq-list details{
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  overflow:hidden;
}
.faq-list summary{
  padding:18px 20px;
  color:var(--ink);
  font-weight:800;
  cursor:pointer;
}
.faq-list details > div{
  padding:0 20px 20px;
  color:var(--muted);
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.gallery-grid figure{
  margin:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.gallery-grid img{
  width:100%;
  height:220px;
  object-fit:cover;
}
.gallery-grid figcaption{display:grid;gap:4px;padding:15px}
.gallery-grid figcaption span{color:var(--muted);font-size:14px}

.download-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.resource-card{
  padding:24px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.resource-card h3{margin:12px 0 8px;font-size:20px}
.resource-card p{color:var(--muted);min-height:42px;font-size:14px}

.detail-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:25px;
  align-items:start;
}
.detail-main,.detail-side{
  padding:30px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow-sm);
}
.detail-main h2{margin:12px 0 15px}
.detail-side{
  background:#f4f8fb;
}
.detail-side .btn{width:100%;margin-top:10px}
.detail-stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin:28px 0;
  border:1px solid var(--line);
  border-radius:9px;
  overflow:hidden;
}
.detail-stats > div{
  padding:16px;
  text-align:center;
  border-right:1px solid var(--line);
}
.detail-stats > div:last-child{border-right:0}
.detail-stats strong{display:block;color:var(--navy);font-size:17px}
.detail-stats span{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.detail-image{width:100%;max-height:430px;object-fit:cover;border-radius:10px;margin-bottom:22px}
.detail-meta{color:var(--muted);font-size:14px}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:9px}
.table-wrap th,.table-wrap td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;font-size:14px}
.table-wrap th{background:var(--soft);color:var(--ink)}

.form-page{max-width:1050px}
.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px 22px;
}
.form-grid > div{display:grid}
.form-grid .form-full{grid-column:1/-1}
.contact-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:28px;
  align-items:start;
}
.contact-grid .feature-panel{height:100%}
.page-search{margin-bottom:32px}

@media(max-width:900px){
  .quick-grid{grid-template-columns:1fr 1fr}
  .gallery-grid,.download-grid{grid-template-columns:1fr 1fr}
  .detail-grid,.contact-grid{grid-template-columns:1fr}
  .detail-stats{grid-template-columns:repeat(2,1fr)}
  .detail-stats > div:nth-child(2){border-right:0}
  .form-grid{grid-template-columns:1fr}
  .form-grid .form-full{grid-column:auto}
}

@media(max-width:620px){
  .quick-grid,.gallery-grid,.download-grid{grid-template-columns:1fr}
  .detail-main,.detail-side,.feature-panel{padding:22px}
  .detail-stats{grid-template-columns:1fr 1fr}
  .page-search{display:flex;flex-direction:column}
  .page-search button{width:100%}
}
