html,body.tacoa-home-portal-page{margin:0;min-height:100%;background:#081a2f}
body.tacoa-home-portal-page{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#fff}
body.tacoa-home-portal-page.admin-bar .tacoa-home-portal{min-height:calc(100vh - 32px)}
.tacoa-home-portal{min-height:100vh;background-color:#263442;background-size:118% auto;background-position:center bottom;background-repeat:no-repeat;position:relative;isolation:isolate}
.tacoa-home-portal:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,16,31,.36),rgba(4,16,31,.05) 42%,rgba(4,16,31,.34));z-index:-1}
.thp-shell{width:min(1500px,calc(100% - 46px));min-height:100vh;margin:0 auto;display:flex;flex-direction:column}
.thp-header{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:20px 0 0;min-height:88px}
.thp-brand{display:flex;align-items:center;gap:14px;color:#fff;text-decoration:none;min-width:0}
.thp-logo{width:76px;height:78px;object-fit:contain;object-position:center;filter:drop-shadow(0 3px 9px rgba(0,0,0,.22))}
.thp-brand-custom-logo .thp-logo{width:min(250px,31vw);height:82px;object-fit:contain;object-position:left center;filter:none}
.thp-brand-copy{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.thp-brand-copy strong{font-size:31px;line-height:1.05;color:#fff;font-weight:760;letter-spacing:-.45px;white-space:nowrap;text-shadow:0 2px 12px rgba(0,0,0,.22)}
.thp-brand-copy small{font-size:15px;line-height:1.15;color:#d6c48d;font-weight:620;letter-spacing:.1px}
.thp-top-links{display:flex;align-items:center;gap:6px}.thp-top-links a{display:inline-flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-size:15px;font-weight:620;padding:9px 12px;border-radius:10px;border:1px solid transparent;text-shadow:0 1px 9px rgba(0,0,0,.18)}.thp-top-links a:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.20)}.thp-top-links .dashicons{width:19px;height:19px;font-size:19px}.thp-top-links .thp-staff-login{border-color:rgba(255,255,255,.52);background:rgba(3,19,39,.14)}

/* Reference layout: keep people visible above the portal and keep the portal compact. */
.thp-main{width:min(940px,calc(100% - 34px));margin:clamp(165px,24vh,245px) auto 0;display:grid;gap:13px;padding-bottom:8px}
.thp-portal-card{display:grid;grid-template-columns:46% 54%;min-height:330px;border:1px solid rgba(255,255,255,.72);border-radius:17px;overflow:hidden;background:transparent;box-shadow:0 19px 50px rgba(0,0,0,.22)}
.thp-student-panel,.thp-programme-panel{padding:23px 28px}
.thp-student-panel{color:#fff;background:rgba(4,29,58,.92);border-right:1px solid rgba(221,173,37,.90);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.thp-programme-panel{color:#0c2447;background:rgba(255,255,255,.90);position:relative;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);display:flex;flex-direction:column;justify-content:center}
.thp-student-panel h1,.thp-programme-panel h2{margin:0;letter-spacing:-.35px}
.thp-student-panel h1{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:760;margin-bottom:18px;position:relative;color:#fff;text-transform:none}.thp-student-panel h1:after{content:"";position:absolute;left:43px;bottom:-9px;width:42px;height:2px;background:#e2af25;border-radius:2px}.thp-student-panel h1 .dashicons{font-size:28px;width:28px;height:28px;color:#e2af25}
.thp-programme-panel h2{max-width:470px;font-size:27px;line-height:1.14;font-weight:745;color:#0c2447;margin-bottom:18px;padding-left:15px;border-left:3px solid #e2af25}.thp-programme-panel h2:after{content:"";display:block;width:46px;height:2px;background:#e2af25;margin:16px 0 0}
.thp-programme-panel:after{content:"";position:absolute;right:27px;top:28px;width:100px;height:115px;background:url('tacoa-emblem.png') center/contain no-repeat;opacity:.055;pointer-events:none}

.thp-student-panel .login-username,.thp-student-panel .login-password{margin:0 0 12px}.thp-student-panel label{font-size:0;display:block}.thp-student-panel input[type=text],.thp-student-panel input[type=password]{box-sizing:border-box;width:100%;height:46px;padding:0 16px;border:1px solid rgba(18,41,69,.15);border-radius:7px;background:#fff;color:#243344;font-size:15px;outline:none;box-shadow:0 1px 4px rgba(10,20,30,.05)}.thp-student-panel input:focus{border-color:#d7a824;box-shadow:0 0 0 3px rgba(226,175,37,.16)}
.thp-student-panel .login-remember{margin:5px 0 9px;font-size:13px;color:#fff}.thp-student-panel .login-remember label{font-size:13px;display:flex;align-items:center;gap:7px}.thp-student-panel .login-submit{margin:0}.thp-student-panel #thp-login-submit,.thp-login-button{box-sizing:border-box;width:100%;height:44px;border:0;border-radius:7px;background:#e2ad22;color:#102745;font-size:16px;font-weight:760;cursor:pointer;transition:.18s}.thp-student-panel #thp-login-submit:hover,.thp-login-button:hover{background:#efbd35}.thp-forgot{display:inline-block;color:#e6bd58;text-decoration:none;font-size:13px;margin-top:9px;float:right}.thp-forgot:hover{text-decoration:underline}
.thp-new-student{clear:both;display:flex;align-items:center;gap:11px;color:#edf2f6;font-size:13px;padding:14px 0 9px}.thp-new-student:before,.thp-new-student:after{content:"";height:1px;background:rgba(255,255,255,.34);flex:1}.thp-apply-button{display:flex;align-items:center;justify-content:center;gap:9px;height:42px;border:1px solid rgba(255,255,255,.76);border-radius:7px;color:#fff;text-decoration:none;font-weight:650;position:relative;background:rgba(255,255,255,.035)}.thp-apply-button b{position:absolute;right:17px;font-size:18px;font-weight:400}.thp-apply-button:hover{background:rgba(255,255,255,.10)}
.thp-signed-in{display:flex;flex-direction:column;gap:6px;margin:0 0 18px;padding:16px;border:1px solid rgba(255,255,255,.24);border-radius:9px;background:rgba(255,255,255,.07)}.thp-signed-in span{font-size:14px;color:#dce5ed}.thp-login-button{display:flex;align-items:center;justify-content:center;text-decoration:none}.thp-login-button span{position:absolute;right:68px}.thp-text-link{display:block;margin-top:14px;text-align:center;color:#e6bd58}

.thp-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.thp-benefit{min-height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:10px 10px;gap:11px;color:#0c2447;position:relative}.thp-benefit+.thp-benefit:before{content:"";position:absolute;left:0;top:12%;height:76%;width:1px;background:rgba(12,36,71,.15)}.thp-benefit-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#e4edf8;color:#174e98}.thp-benefit:nth-child(2) .thp-benefit-icon{background:#e4f0dc;color:#2e7a35}.thp-benefit:nth-child(3) .thp-benefit-icon{background:#eee4f8;color:#7642b3}.thp-benefit-icon .dashicons{font-size:29px;width:29px;height:29px}.thp-benefit strong{font-size:16px;line-height:1.22;color:#0c2447}

/* Quick links float over the hero background — no white/boxed strip. */
.thp-quick-links{display:grid;grid-template-columns:repeat(6,1fr);border:0;border-radius:0;overflow:visible;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding:0 4px}
.thp-quick-links a{display:flex;align-items:center;justify-content:center;gap:10px;min-height:58px;color:#fff;text-decoration:none;padding:6px 14px;position:relative;text-shadow:0 2px 10px rgba(0,0,0,.36)}.thp-quick-links a+a:before{content:"";position:absolute;left:0;top:23%;height:54%;width:1px;background:rgba(255,255,255,.42)}.thp-quick-links a:hover{background:rgba(3,18,37,.12);border-radius:10px}.thp-quick-links .dashicons{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(4,31,60,.78);color:#fff;font-size:18px;line-height:34px;border:1px solid rgba(255,255,255,.32)}.thp-quick-links strong{font-size:14px;font-weight:650}
.thp-footer{margin-top:auto;min-height:57px;display:flex;align-items:center;justify-content:center;gap:0;flex-wrap:wrap;padding:0 14px;font-size:13px;color:#f0f3f6;background:rgba(3,28,57,.94);border-top:0}.thp-footer>*{display:inline-flex;align-items:center;gap:7px;color:inherit;text-decoration:none;padding:2px 19px}.thp-footer>*+*:before{content:"";width:1px;height:19px;background:rgba(255,255,255,.28);margin-right:13px}.thp-footer .dashicons{font-size:18px;width:18px;height:18px;color:#e2ad22}
.thp-footer .thp-legal-links{gap:10px}.thp-footer .thp-legal-links a{color:inherit;text-decoration:none;padding:2px 0}.thp-footer .thp-legal-links a:hover{text-decoration:underline;color:#fff}.thp-footer .thp-legal-links a+a:before{content:'•';margin-right:10px;color:rgba(255,255,255,.48)}

@media(max-width:1150px){.thp-shell{width:min(100% - 24px,1080px)}.thp-main{margin-top:70px}.thp-brand-copy strong{font-size:27px}.thp-logo{width:64px;height:68px}.thp-brand-custom-logo .thp-logo{width:min(285px,44vw);height:74px}.thp-portal-card{grid-template-columns:1fr;min-height:0}.thp-student-panel{border-right:0;border-bottom:1px solid #d5a62a}.thp-student-panel,.thp-programme-panel{padding:27px 32px}.thp-programme-panel h2{font-size:28px}.thp-benefit{min-height:120px}.thp-quick-links{grid-template-columns:repeat(3,1fr)}.thp-quick-links a:before{display:none}.thp-footer>*+*:before{display:none}}
@media(max-width:680px){body.tacoa-home-portal-page.admin-bar .tacoa-home-portal{min-height:calc(100vh - 46px)}.thp-shell{width:calc(100% - 14px)}.thp-header{padding:10px 0 4px;gap:7px;min-height:67px}.thp-logo{width:48px;height:51px}.thp-brand-custom-logo .thp-logo{width:min(210px,56vw);height:54px}.thp-brand{gap:7px}.thp-brand-copy strong{font-size:19px}.thp-brand-copy small{font-size:10px}.thp-top-links{gap:1px}.thp-top-links a{font-size:0;padding:8px}.thp-top-links a .dashicons{font-size:20px}.thp-main{width:100%;margin-top:26px}.thp-student-panel,.thp-programme-panel{padding:22px 19px}.thp-student-panel h1{font-size:22px}.thp-programme-panel h2{font-size:24px}.thp-benefits{grid-template-columns:1fr}.thp-benefit{min-height:86px;flex-direction:row;justify-content:flex-start;text-align:left}.thp-benefit+.thp-benefit:before{display:none}.thp-benefit-icon{width:52px;height:52px;flex:0 0 52px}.thp-quick-links{grid-template-columns:1fr 1fr}.thp-quick-links a{min-height:54px;padding:5px;font-size:13px}.thp-quick-links .dashicons{width:31px;height:31px;line-height:31px}.thp-footer{padding:7px 0}.thp-footer>*{padding:4px 7px}.thp-footer span:last-child{width:100%;justify-content:center}.thp-forgot{float:none;margin-bottom:0}}

/* v1.0.5 — reveal more of the people/background like the approved reference */
@media (min-width:1151px){
  .thp-shell{width:min(1500px,calc(100% - 46px));}
  .tacoa-home-portal{background-size:118% auto;background-position:center bottom;}
  .thp-header{padding-top:18px;}
  .thp-main{width:min(940px,calc(100% - 34px));margin-top:clamp(165px,24vh,245px);}
}
@media (min-width:1500px){
  .tacoa-home-portal{background-size:112% auto;}
  .thp-main{margin-top:clamp(170px,23vh,235px);}
}


/* v1.0.8 — remove the visible separator between hero/quick links and footer. */
.thp-quick-links{border-top:0!important;border-bottom:0!important;box-shadow:none!important;outline:0!important;}
.thp-footer{border:0!important;border-top:0!important;box-shadow:none!important;outline:0!important;margin-top:auto!important;}
.thp-footer:before,.thp-footer:after,.thp-quick-links:before,.thp-quick-links:after{display:none!important;content:none!important;}
/* Keep the transition clean rather than drawing a rule across the page. */
.thp-footer{background:rgba(3,28,57,.94)!important;}

/* v1.0.12 — exact TACOA logo + transparent white Student Login panel */
.thp-brand-custom-logo .thp-logo{
  width:auto!important;
  height:104px!important;
  max-width:210px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
.thp-brand-custom-logo .thp-brand-copy{display:none!important;}

.thp-student-panel{
  color:#0c2447!important;
  background:rgba(255,255,255,var(--thp-panel-opacity,.62))!important;
  border-right:1px solid rgba(226,175,37,.62)!important;
  backdrop-filter:blur(4px)!important;
  -webkit-backdrop-filter:blur(4px)!important;
}
.thp-student-panel h1{color:#0c2447!important;}
.thp-student-panel h1 .dashicons{color:#d59d12!important;}
.thp-student-panel .login-remember,
.thp-student-panel .login-remember label{color:#0c2447!important;}
.thp-student-panel input[type=text],
.thp-student-panel input[type=password]{
  background:rgba(255,255,255,.78)!important;
  border-color:rgba(12,36,71,.18)!important;
  color:#17283d!important;
}
.thp-student-panel #thp-login-submit,
.thp-login-button{
  background:#0b2d5b!important;
  color:#fff!important;
}
.thp-student-panel #thp-login-submit:hover,
.thp-login-button:hover{background:#123b73!important;}
.thp-forgot,.thp-text-link{color:#0b55b5!important;}
.thp-new-student{color:#0c2447!important;}
.thp-new-student:before,.thp-new-student:after{background:rgba(12,36,71,.28)!important;}
.thp-apply-button{
  color:#0c2447!important;
  border-color:rgba(12,36,71,.72)!important;
  background:rgba(255,255,255,.18)!important;
}
.thp-apply-button:hover{background:rgba(255,255,255,.38)!important;}
.thp-signed-in{
  border-color:rgba(12,36,71,.20)!important;
  background:rgba(255,255,255,.28)!important;
}
.thp-signed-in span{color:#36506f!important;}

@media(max-width:1150px){
  .thp-brand-custom-logo .thp-logo{height:86px!important;max-width:175px!important;}
  .thp-student-panel{border-right:0!important;border-bottom:1px solid rgba(226,175,37,.62)!important;}
}
@media(max-width:680px){
  .thp-brand-custom-logo .thp-logo{height:62px!important;max-width:128px!important;}
}


/* v1.0.13 — restore institutional title/tagline and make the full portal translucent. */
.thp-brand-custom-logo .thp-logo{
  width:auto!important;
  height:92px!important;
  max-width:155px!important;
  object-fit:contain!important;
  object-position:left center!important;
  flex:0 0 auto!important;
}
.thp-brand-custom-logo .thp-brand-copy{
  display:flex!important;
  margin-left:2px!important;
  gap:2px!important;
}
.thp-brand-custom-logo .thp-brand-copy strong{
  font-size:29px!important;
  line-height:1.02!important;
  color:#fff!important;
  text-shadow:0 2px 12px rgba(0,0,0,.28)!important;
}
.thp-brand-custom-logo .thp-brand-copy small{
  font-size:14px!important;
  line-height:1.08!important;
  color:#d8c88f!important;
}

.thp-portal-card{
  background:rgba(255,255,255,.04)!important;
  border-color:rgba(255,255,255,.58)!important;
  box-shadow:0 16px 42px rgba(0,0,0,.18)!important;
}
.thp-student-panel{
  color:#0c2447!important;
  background:rgba(255,255,255,var(--thp-student-opacity,.42))!important;
  border-right:1px solid rgba(226,175,37,.46)!important;
  backdrop-filter:blur(2px)!important;
  -webkit-backdrop-filter:blur(2px)!important;
}
.thp-programme-panel{
  color:#0c2447!important;
  background:rgba(255,255,255,var(--thp-programme-opacity,.48))!important;
  backdrop-filter:blur(2px)!important;
  -webkit-backdrop-filter:blur(2px)!important;
}
.thp-student-panel input[type=text],
.thp-student-panel input[type=password]{
  background:rgba(255,255,255,.72)!important;
  border-color:rgba(12,36,71,.16)!important;
}
.thp-apply-button{background:rgba(255,255,255,.12)!important;}
.thp-signed-in{background:rgba(255,255,255,.16)!important;}

@media(max-width:1150px){
  .thp-brand-custom-logo .thp-logo{height:78px!important;max-width:132px!important;}
  .thp-brand-custom-logo .thp-brand-copy strong{font-size:25px!important;}
  .thp-brand-custom-logo .thp-brand-copy small{font-size:12px!important;}
  .thp-student-panel{border-right:0!important;border-bottom:1px solid rgba(226,175,37,.46)!important;}
}
@media(max-width:680px){
  .thp-brand-custom-logo .thp-logo{height:58px!important;max-width:98px!important;}
  .thp-brand-custom-logo .thp-brand-copy strong{font-size:18px!important;}
  .thp-brand-custom-logo .thp-brand-copy small{font-size:10px!important;}
}

/* v1.0.14 — pull institution title/tagline closer to the supplied TACOA logo. */
.thp-brand-custom-logo{
  gap:0!important;
}
.thp-brand-custom-logo .thp-brand-copy{
  margin-left:-12px!important;
}
@media(max-width:1150px){
  .thp-brand-custom-logo .thp-brand-copy{margin-left:-10px!important;}
}
@media(max-width:680px){
  .thp-brand-custom-logo .thp-brand-copy{margin-left:-7px!important;}
}


/* v1.0.15 — smaller TACOA header branding, keeping the compact grouping. */
.thp-brand-custom-logo .thp-logo{
  height:72px!important;
  max-width:118px!important;
}
.thp-brand-custom-logo .thp-brand-copy{
  margin-left:-10px!important;
}
.thp-brand-custom-logo .thp-brand-copy strong{
  font-size:24px!important;
  letter-spacing:-.25px!important;
}
.thp-brand-custom-logo .thp-brand-copy small{
  font-size:12px!important;
}
@media(max-width:1150px){
  .thp-brand-custom-logo .thp-logo{height:62px!important;max-width:104px!important;}
  .thp-brand-custom-logo .thp-brand-copy{margin-left:-8px!important;}
  .thp-brand-custom-logo .thp-brand-copy strong{font-size:21px!important;}
  .thp-brand-custom-logo .thp-brand-copy small{font-size:11px!important;}
}
@media(max-width:680px){
  .thp-brand-custom-logo .thp-logo{height:48px!important;max-width:82px!important;}
  .thp-brand-custom-logo .thp-brand-copy{margin-left:-6px!important;}
  .thp-brand-custom-logo .thp-brand-copy strong{font-size:16px!important;}
  .thp-brand-custom-logo .thp-brand-copy small{font-size:9px!important;}
}

/* v1.0.38 — mobile homepage polish only: tighter hero, balanced quick links, clearer footer. */
@media(max-width:680px){
  .thp-main{margin-top:20px!important;gap:10px!important;padding-bottom:6px!important;}
  .thp-portal-card{min-height:0!important;border-radius:15px!important;}
  .thp-student-panel,.thp-programme-panel{padding:19px 18px!important;}
  .thp-programme-panel{justify-content:flex-start!important;}
  .thp-programme-panel h2{font-size:23px!important;line-height:1.12!important;margin-bottom:12px!important;padding-left:13px!important;}
  .thp-programme-panel h2:after{margin-top:12px!important;width:42px!important;}
  .thp-programme-panel:after{right:16px!important;top:18px!important;width:76px!important;height:88px!important;}
  .thp-benefits{gap:2px!important;}
  .thp-benefit{min-height:74px!important;padding:7px 3px!important;gap:13px!important;}
  .thp-benefit-icon{width:48px!important;height:48px!important;flex-basis:48px!important;}
  .thp-benefit-icon .dashicons{font-size:26px!important;width:26px!important;height:26px!important;}
  .thp-benefit strong{font-size:15px!important;line-height:1.18!important;}

  .thp-quick-links{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:3px 7px 5px!important;background:linear-gradient(180deg,rgba(3,28,57,0),rgba(3,28,57,.10))!important;border-radius:12px!important;}
  .thp-quick-links a{min-height:49px!important;padding:4px 7px!important;gap:8px!important;justify-content:flex-start!important;}
  .thp-quick-links a:last-child:nth-child(odd){grid-column:1 / -1!important;justify-self:center!important;width:min(52%,210px)!important;box-sizing:border-box!important;}
  .thp-quick-links .dashicons{width:29px!important;height:29px!important;line-height:29px!important;flex:0 0 29px!important;}
  .thp-quick-links strong{font-size:13px!important;line-height:1.15!important;}

  .thp-footer{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:center!important;gap:2px 5px!important;padding:8px 8px 10px!important;font-size:12px!important;line-height:1.25!important;}
  .thp-footer>*{width:auto!important;min-width:0!important;justify-content:center!important;text-align:center!important;padding:4px 5px!important;overflow-wrap:anywhere!important;}
  .thp-footer .thp-legal-links{gap:8px!important;}
  .thp-footer>span:last-child{grid-column:1 / -1!important;width:auto!important;justify-content:center!important;padding-top:6px!important;}
  .thp-footer .dashicons{font-size:17px!important;width:17px!important;height:17px!important;flex:0 0 17px!important;}
}

@media(max-width:390px){
  .thp-shell{width:calc(100% - 10px)!important;}
  .thp-programme-panel h2{font-size:21px!important;}
  .thp-benefit{min-height:70px!important;}
  .thp-benefit strong{font-size:14px!important;}
  .thp-quick-links a:last-child:nth-child(odd){width:min(64%,210px)!important;}
  .thp-footer{font-size:11.5px!important;}
}

/* v1.0.39 — uniform minimal footer. */
.thp-footer-uniform{display:flex!important;flex-direction:column!important;gap:4px!important;padding:12px 14px!important;text-align:center!important;line-height:1.45!important;}
.thp-footer-uniform>*{padding:0!important;width:100%!important;justify-content:center!important;}
.thp-footer-uniform>*:before{display:none!important;}
@media(max-width:680px){.thp-footer-uniform{display:flex!important;grid-template-columns:none!important;font-size:11.5px!important;padding:11px 10px 13px!important;}}


/* v1.0.41 — balanced mobile Quick Links + high-contrast portal CTAs. */
.thp-student-panel #thp-login-submit,
.thp-login-button,
.thp-apply-button{
  -webkit-appearance:none!important;
  appearance:none!important;
  opacity:1!important;
  visibility:visible!important;
  min-height:44px!important;
  font-weight:750!important;
  text-shadow:none!important;
}
.thp-student-panel #thp-login-submit,
.thp-login-button{
  background:#0b2d5b!important;
  color:#fff!important;
  border:1px solid #0b2d5b!important;
}
.thp-apply-button{
  background:#fff!important;
  color:#0b2d5b!important;
  border:2px solid #0b2d5b!important;
}
.thp-apply-button .dashicons,.thp-apply-button b{color:#0b2d5b!important;}
.thp-apply-button:hover,.thp-apply-button:focus{background:#eef4fb!important;color:#09264e!important;}
.thp-student-panel #thp-login-submit:hover,.thp-student-panel #thp-login-submit:focus,.thp-login-button:hover,.thp-login-button:focus{background:#123b73!important;color:#fff!important;}

@media(max-width:680px){
  .thp-quick-links{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:2px 0!important;
    padding:4px 2px!important;
  }
  .thp-quick-links a{
    min-width:0!important;
    min-height:56px!important;
    padding:6px 5px!important;
  }
  .thp-quick-links strong{
    font-size:12.5px!important;
    line-height:1.18!important;
    overflow-wrap:anywhere!important;
  }
  .thp-student-panel #thp-login-submit,.thp-login-button,.thp-apply-button{
    width:100%!important;
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
}


/* v1.0.42 — expanded learning benefits + single public Contact entry. */
.thp-benefits{grid-template-columns:repeat(3,minmax(0,1fr));}
.thp-benefit:nth-child(4) .thp-benefit-icon{background:#e8f3f6;color:#17677a;}
.thp-benefit:nth-child(5) .thp-benefit-icon{background:#fff1d6;color:#9a6411;}
@media(max-width:680px){
  .thp-benefits{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important;}
  .thp-benefit{min-height:82px!important;flex-direction:column!important;justify-content:center!important;text-align:center!important;padding:8px 5px!important;gap:7px!important;}
  .thp-benefit-icon{width:46px!important;height:46px!important;flex:0 0 46px!important;}
  .thp-benefit-materials{grid-column:1 / -1!important;min-height:76px!important;flex-direction:row!important;text-align:left!important;padding-left:18px!important;padding-right:18px!important;}
  .thp-quick-links a:last-child:nth-child(odd){grid-column:1 / -1!important;width:min(64%,210px)!important;justify-self:center!important;}
}


/* v1.0.43 — restore the compact desktop portal proportions while keeping all five benefits. */
@media(min-width:1151px){
  .thp-portal-card{min-height:330px!important;}
  .thp-student-panel,.thp-programme-panel{padding-top:20px!important;padding-bottom:20px!important;}
  .thp-programme-panel h2{margin-bottom:12px!important;}
  .thp-programme-panel h2:after{margin-top:11px!important;}
  .thp-benefits{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-content:center!important;}
  .thp-benefit{min-height:78px!important;padding:6px 7px!important;gap:7px!important;}
  .thp-benefit-icon{width:44px!important;height:44px!important;}
  .thp-benefit-icon .dashicons{font-size:23px!important;width:23px!important;height:23px!important;}
  .thp-benefit strong{font-size:13.5px!important;line-height:1.15!important;}
  .thp-benefit:nth-child(4):before{display:none!important;}
  .thp-benefit:nth-child(n+4){border-top:1px solid rgba(12,36,71,.10);}
  .thp-benefit-materials strong{max-width:150px;}
}


/* v1.0.45 — simplified home: no benefits, hero tagline, ticker, compact navigation. */
.thp-announcement{width:min(940px,calc(100% - 34px));margin:12px auto -8px;display:flex;align-items:center;min-height:34px;border-radius:9px;overflow:hidden;background:rgba(255,255,255,.94);box-shadow:0 7px 20px rgba(0,0,0,.12);color:#0b2d5b}
.thp-announcement>strong{align-self:stretch;display:flex;align-items:center;padding:0 13px;background:#0b2d5b;color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.thp-ticker{overflow:hidden;white-space:nowrap;flex:1}.thp-ticker span{display:inline-block;padding-left:100%;animation:thpTicker 22s linear infinite;font-size:13px;font-weight:650}.thp-announcement:hover .thp-ticker span{animation-play-state:paused}@keyframes thpTicker{from{transform:translateX(0)}to{transform:translateX(-100%)}}
.thp-programme-simple{align-items:flex-start}.thp-learning-tagline{margin:0 0 10px;font-size:22px;line-height:1.2;font-weight:780;color:#b07a0d}.thp-programme-intro{margin:0 0 19px;max-width:440px;color:#425670;font-size:14px;line-height:1.55}
.thp-hero-actions{display:flex;flex-wrap:wrap;gap:10px}.thp-explore-button,.thp-hero-apply{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:0 16px;text-decoration:none;font-weight:750}.thp-explore-button{background:#0b2d5b;color:#fff}.thp-hero-apply{background:#fff;color:#0b2d5b;border:2px solid #0b2d5b}.thp-explore-button:hover{background:#123b73;color:#fff}.thp-hero-apply:hover{background:#eef4fb;color:#09264e}
.thp-quick-links-145{grid-template-columns:repeat(3,1fr)!important}.thp-quick-item{position:relative;display:flex}.thp-quick-item>a{width:100%}.thp-submenu{display:none;position:absolute;left:50%;bottom:100%;transform:translateX(-50%);width:220px;background:#fff;border-radius:10px;padding:7px;box-shadow:0 12px 30px rgba(0,0,0,.2);z-index:30}.thp-has-submenu:hover .thp-submenu,.thp-has-submenu:focus-within .thp-submenu{display:block}.thp-submenu a{display:block!important;color:#0b2d5b!important;text-shadow:none!important;min-height:auto!important;padding:9px 10px!important;justify-content:flex-start!important;border-radius:7px}.thp-submenu a:hover{background:#eef4fb!important}.thp-submenu a:before{display:none!important}
@media(min-width:1151px){.thp-main{margin-top:clamp(150px,21vh,220px)!important}.thp-portal-card{min-height:310px!important}.thp-programme-panel{justify-content:center!important}}
@media(max-width:680px){.thp-announcement{width:calc(100% - 14px);margin:8px auto 0;min-height:31px}.thp-announcement>strong{padding:0 9px;font-size:10px}.thp-ticker span{font-size:11.5px}.thp-learning-tagline{font-size:20px}.thp-programme-intro{font-size:13px;margin-bottom:15px}.thp-hero-actions{width:100%}.thp-explore-button,.thp-hero-apply{flex:1 1 140px}.thp-quick-links-145{grid-template-columns:repeat(2,minmax(0,1fr))!important}.thp-quick-links-145>a:last-child{grid-column:1/-1;width:min(55%,210px);justify-self:center}.thp-submenu{display:none!important}}
@media(prefers-reduced-motion:reduce){.thp-ticker span{animation:none;padding-left:12px}}


/* v1.0.47 — logo moves into hero; header stays text-only; ticker default always visible. */
.thp-header .thp-brand-copy{display:flex!important;margin-left:0!important}
.thp-header .thp-brand-copy strong{font-size:25px!important}
.thp-header .thp-brand-copy small{font-size:11px!important}
.thp-programme-simple{position:relative;padding-right:190px!important;min-height:210px}
.thp-hero-logo{position:absolute;right:34px;top:50%;transform:translateY(-50%);width:125px;max-height:135px;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(0,0,0,.12))}
.thp-announcement{position:relative;z-index:5;margin-bottom:4px!important}
@media(max-width:680px){.thp-header .thp-brand-copy strong{font-size:18px!important}.thp-header .thp-brand-copy small{font-size:9px!important}.thp-programme-simple{padding-right:105px!important;min-height:175px}.thp-hero-logo{right:14px;width:78px;max-height:90px}.thp-announcement{margin-bottom:3px!important}}
\n\n/* v1.0.48 — simplify homepage: restore header logo, remove ticker/intro, lighter programme title, raise portal. */\n.thp-announcement{display:none!important;}\n.thp-header .thp-brand{gap:0!important;}\n.thp-header .thp-brand-custom-logo .thp-logo{\n  display:block!important;\n  width:auto!important;\n  height:72px!important;\n  max-width:118px!important;\n  object-fit:contain!important;\n  object-position:left center!important;\n}\n.thp-header .thp-brand-custom-logo .thp-brand-copy{display:flex!important;margin-left:-10px!important;}\n.thp-header .thp-brand-copy strong{font-size:24px!important;font-weight:620!important;letter-spacing:-.15px!important;}\n.thp-header .thp-brand-copy small{font-size:12px!important;}\n.thp-programme-simple{padding-right:28px!important;min-height:0!important;}\n.thp-hero-logo{display:none!important;}\n.thp-programme-intro{display:none!important;}\n.thp-programme-panel h2{\n  font-size:22px!important;\n  line-height:1.22!important;\n  font-weight:500!important;\n  letter-spacing:0!important;\n  margin-bottom:13px!important;\n}\n.thp-learning-tagline{font-size:20px!important;font-weight:680!important;margin-bottom:0!important;}\n@media(min-width:1151px){\n  .thp-main{margin-top:clamp(78px,11vh,120px)!important;}\n  .thp-portal-card{min-height:285px!important;}\n  .thp-student-panel{padding-top:20px!important;}\n}\n@media(max-width:1150px){\n  .thp-main{margin-top:36px!important;}\n  .thp-header .thp-brand-custom-logo .thp-logo{height:62px!important;max-width:104px!important;}\n  .thp-header .thp-brand-custom-logo .thp-brand-copy{margin-left:-8px!important;}\n  .thp-programme-panel h2{font-size:21px!important;}\n}\n@media(max-width:680px){\n  .thp-main{margin-top:14px!important;}\n  .thp-header .thp-brand-custom-logo .thp-logo{height:48px!important;max-width:82px!important;}\n  .thp-header .thp-brand-custom-logo .thp-brand-copy{margin-left:-6px!important;}\n  .thp-header .thp-brand-copy strong{font-size:16px!important;font-weight:600!important;}\n  .thp-header .thp-brand-copy small{font-size:9px!important;}\n  .thp-programme-simple{padding-right:18px!important;}\n  .thp-programme-panel h2{font-size:19px!important;font-weight:500!important;}\n  .thp-learning-tagline{font-size:18px!important;}\n}\n
/* v1.0.49 — smaller TACOA Institute brand title and balanced mobile quick links. */
.thp-header .thp-brand-copy strong{
  font-size:20px!important;
  font-weight:560!important;
  line-height:1.08!important;
  letter-spacing:0!important;
}
.thp-header .thp-brand-copy small{
  font-size:11px!important;
  line-height:1.15!important;
}
/* Keep the programme area concise: the existing tagline is the supporting line. */
.thp-programme-panel h2{margin-bottom:9px!important;}
.thp-learning-tagline{margin-top:0!important;}

@media(max-width:1150px){
  .thp-header .thp-brand-copy strong{font-size:18px!important;}
  .thp-header .thp-brand-copy small{font-size:10px!important;}
}
@media(max-width:680px){
  .thp-header .thp-brand-copy strong{font-size:14px!important;font-weight:550!important;}
  .thp-header .thp-brand-copy small{font-size:8.5px!important;}
  .thp-quick-links-145{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:2px!important;
    padding:0!important;
  }
  .thp-quick-links-145>a,
  .thp-quick-links-145>.thp-quick-item>a{
    min-height:52px!important;
    padding:4px 2px!important;
    gap:5px!important;
    font-size:11px!important;
    white-space:nowrap!important;
  }
  .thp-quick-links-145>a:last-child{
    grid-column:auto!important;
    width:auto!important;
    justify-self:stretch!important;
  }
  .thp-quick-links-145 .dashicons{
    width:27px!important;
    height:27px!important;
    line-height:27px!important;
    font-size:15px!important;
    flex:0 0 27px!important;
  }
  .thp-quick-links-145 strong{font-size:11px!important;}
}


/* v1.0.50 — final compact brand/programme polish + stable 3-up mobile quick links. */
.thp-header .thp-brand-copy strong{font-size:18px!important;font-weight:520!important;letter-spacing:.01em!important;}
.thp-programme-panel h2{font-size:24px!important;line-height:1.18!important;font-weight:520!important;max-width:520px!important;margin-bottom:10px!important;}
.thp-learning-tagline{font-size:19px!important;font-weight:620!important;line-height:1.2!important;}
@media(max-width:1150px){
  .thp-header .thp-brand-copy strong{font-size:17px!important;}
  .thp-programme-panel h2{font-size:22px!important;}
}
@media(max-width:680px){
  .thp-header .thp-brand-copy strong{font-size:13px!important;font-weight:520!important;}
  .thp-programme-panel h2{font-size:20px!important;line-height:1.18!important;}
  .thp-learning-tagline{font-size:17px!important;}
  .thp-quick-links-145{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .thp-quick-links-145 .thp-quick-item{min-width:0!important;}
  .thp-quick-links-145>a,.thp-quick-links-145>.thp-quick-item>a{width:100%!important;min-width:0!important;box-sizing:border-box!important;justify-content:center!important;white-space:normal!important;text-align:center!important;}
  .thp-quick-links-145 strong{font-size:10.5px!important;line-height:1.1!important;overflow-wrap:normal!important;}
}

/* v1.0.51 — mobile final polish: lighter programme type + guaranteed single-row quick links. */
@media(max-width:680px){
  .thp-programme-panel h2{
    font-size:18px!important;
    line-height:1.22!important;
    font-weight:480!important;
    max-width:100%!important;
    margin-bottom:9px!important;
  }
  .thp-learning-tagline{
    font-size:16px!important;
    line-height:1.2!important;
    font-weight:600!important;
  }
  .thp-quick-links.thp-quick-links-145{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:stretch!important;
    gap:0!important;
    width:100%!important;
    padding:0!important;
  }
  .thp-quick-links.thp-quick-links-145 > .thp-quick-item,
  .thp-quick-links.thp-quick-links-145 > a{
    flex:1 1 0!important;
    width:33.333%!important;
    min-width:0!important;
    max-width:none!important;
    grid-column:auto!important;
    justify-self:auto!important;
    box-sizing:border-box!important;
  }
  .thp-quick-links.thp-quick-links-145 > .thp-quick-item > a,
  .thp-quick-links.thp-quick-links-145 > a{
    width:100%!important;
    min-height:54px!important;
    padding:4px 1px!important;
    gap:4px!important;
    justify-content:center!important;
    white-space:nowrap!important;
    text-align:center!important;
    box-sizing:border-box!important;
  }
  .thp-quick-links.thp-quick-links-145 .dashicons{
    width:28px!important;
    height:28px!important;
    line-height:28px!important;
    flex:0 0 28px!important;
    font-size:15px!important;
  }
  .thp-quick-links.thp-quick-links-145 strong{
    font-size:10px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
  }
}
@media(max-width:390px){
  .thp-programme-panel h2{font-size:17px!important;}
  .thp-learning-tagline{font-size:15px!important;}
  .thp-quick-links.thp-quick-links-145 strong{font-size:9.5px!important;}
  .thp-quick-links.thp-quick-links-145 .dashicons{width:26px!important;height:26px!important;line-height:26px!important;flex-basis:26px!important;}
}

/* v1.0.52 — desktop compact login panel. */
@media(min-width:1151px){
  .thp-portal-card{
    grid-template-columns:minmax(300px,39%) minmax(0,61%)!important;
  }
  .thp-student-panel{
    padding-left:24px!important;
    padding-right:24px!important;
  }
}

/* v1.0.53 — raise desktop portal slightly while preserving mobile positioning. */
@media(min-width:1151px){
  .thp-main{
    transform:translateY(-12px)!important;
  }
}


/* v1.0.54 — align desktop portal top approximately with teacher forehead level. */
@media(min-width:1151px){
  .thp-main{
    transform:translateY(-42px)!important;
  }
}

/* v1.0.55 — proportional compact header logo and tighter brand grouping. */
@media(min-width:1151px){
  .thp-header .thp-brand-custom-logo .thp-logo{
    width:auto!important;
    height:54px!important;
    max-width:88px!important;
    flex:0 0 auto!important;
  }
  .thp-header .thp-brand-custom-logo{
    gap:3px!important;
  }
  .thp-header .thp-brand-custom-logo .thp-brand-copy{
    margin-left:-4px!important;
    gap:2px!important;
  }
  .thp-header .thp-brand-copy strong{
    font-size:18px!important;
    line-height:1.05!important;
  }
  .thp-header .thp-brand-copy small{
    font-size:10px!important;
    line-height:1.1!important;
  }
}

/* v1.0.56 — raise only the desktop portal card, leaving quick links lower for breathing room. */
@media(min-width:1151px){
  .thp-main{
    transform:none!important;
  }
  .thp-portal-card{
    transform:translateY(-78px)!important;
  }
}

/* v1.0.57 — final desktop alignment: raise portal further and preserve a clear gap above quick links. */
@media(min-width:1151px){
  .thp-main{transform:none!important;row-gap:34px!important;}
  .thp-portal-card{transform:translateY(-112px)!important;margin-bottom:-78px!important;}
  .thp-quick-links{margin-top:12px!important;}
}
