/* Edupstairs Universities & TVET Colleges — independent portal v3.0.0.
   Scoped to portal documents; the original catalogue and shortcodes are unchanged. */
html{scroll-behavior:smooth}
body.eup-portal-document{margin:0!important;min-height:100vh;background:#f5f8fc!important;color:#173049;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Arial,sans-serif!important;line-height:1.55}
body.eup-portal-document *,body.eup-portal-document *::before,body.eup-portal-document *::after{box-sizing:border-box}
body.eup-portal-document a{text-underline-offset:2px}
body.eup-portal-document a:focus-visible,body.eup-portal-document button:focus-visible,body.eup-portal-document select:focus-visible,body.eup-portal-document input:focus-visible{outline:3px solid #19b6a8;outline-offset:2px}
.eup-skip{position:absolute;left:8px;top:-100px;z-index:10001;padding:10px 16px;background:#fff;color:#003d68;font-weight:800;border:2px solid #009f96;text-decoration:none}
.eup-skip:focus{top:8px}
.eup-site-header{background:#fff;border-bottom:1px solid #e9eff5;position:relative;z-index:95}
.eup-site-header-inner{width:100%;max-width:1480px;min-height:82px;margin:auto;padding:12px 25px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.eup-site-brand{display:inline-flex;align-items:center;gap:15px;min-width:0;color:#0f2d4b!important;text-decoration:none!important}
.eup-site-brand>strong{font-size:clamp(23px,2.3vw,30px);font-weight:900;line-height:1;letter-spacing:-.045em;color:#0b2d4f}
.eup-site-brand>strong span{color:#009b90}
.eup-site-brand .eup-site-logo{width:auto!important;height:auto!important;max-height:59px!important;object-fit:contain;flex-shrink:0}
.eup-site-brand-label{font-size:11px;font-weight:850;letter-spacing:.03em;text-transform:uppercase;color:#677c94;border-left:1px solid #dfe7f1;padding-left:14px}
.eup-site-header-actions{display:flex;align-items:center;gap:12px}
.eup-site-header-actions>a{font-size:12px;font-weight:800;padding:11px 13px;text-decoration:none!important;white-space:nowrap;border-radius:9px}
.eup-header-secondary{color:#45627d!important}
.eup-header-secondary:hover{background:#f0f6fa}
.eup-header-primary{background:#00887f;color:#fff!important}
.eup-header-primary:hover{background:#006f68;color:#fff!important}
.eup-explorer-tabs{background:#f8fafc;border-bottom:1px solid #e4ebf3}
.eup-explorer-tabs-inner{max-width:1480px;margin:auto;padding:0 23px;display:flex;gap:6px;align-items:center;overflow-x:auto;scrollbar-width:thin}
.eup-explorer-tabs a{flex-shrink:0;display:inline-block;padding:13px 14px;color:#50647b!important;font-size:12px;font-weight:800;text-decoration:none!important;white-space:nowrap;border-bottom:3px solid transparent}
.eup-explorer-tabs a:hover{color:#007c77!important;background:#ebf8f6}
.eup-explorer-tabs a.is-current{color:#007a71!important;border-bottom-color:#008e83;background:#effaf8}
.eup-main{display:block!important;clear:both!important;float:none!important;width:100%!important;max-width:none!important;min-height:60vh!important;margin:0!important;padding:1px 0 42px!important;background:#f5f8fc!important}
/* The bundled shortcodes retain their own 1240px reading widths; the page itself is full viewport width. */
body.eup-portal-document .eup-main :is(.eus-shell,.euh-shell,.etx,.eth,.epc,.ehei,.etel,.epr,.eep,.edup-exam-shell){max-width:1260px!important;width:min(1260px,calc(100% - 42px))!important;margin-left:auto!important;margin-right:auto!important;font-family:inherit}
body.eup-portal-document .eup-main :is(.eus-hero,.euh-hero,.etx-hero,.eth-hero,.epc-hero,.ehei-hero,.etel-hero){background:linear-gradient(113deg,#071a41,#0b2d62 66%,#0a5263)!important;box-shadow:0 16px 36px rgba(15,40,80,.12);}
body.eup-portal-document .eup-main :is(.eus-shell,.euh-shell,.etx,.eth,.epc,.ehei,.etel) :is(.eus-card,.euh-card,.etx-card,.eth-card,.epc-card,.ehei-card,.etel-card){transition:transform .18s, box-shadow .18s,border-color .18s}
body.eup-portal-document .eup-main :is(.eus-card,.euh-card,.etx-card,.eth-card,.epc-card,.ehei-card,.etel-card):hover{transform:translateY(-2px);border-color:#a9d7d2!important;box-shadow:0 15px 32px rgba(20,65,100,.1)!important}
/* Teal actions across university, TVET and private registers. */
body.eup-portal-document .eup-main :is(.eus-search,.etx-search,.epc-search,.ehei-form,.etel-search-form) button,
body.eup-portal-document .eup-main :is(.eus-go,.etx-go,.epc-go,.ehei-btn,.etel-btn),
body.eup-portal-document .eup-main :is(.eus-page-btn.active,.etx-page-btn.active,.epc-pagebtn.active,.ehei-pagebtn.active,.etel-pagebtn.active){background:#00897f!important;border-color:#00897f!important;color:#fff!important}
body.eup-portal-document .eup-main :is(.eus-search,.etx-search,.epc-search,.ehei-form,.etel-search-form) button:hover,
body.eup-portal-document .eup-main :is(.eus-go,.etx-go,.epc-go,.ehei-btn,.etel-btn):hover{background:#006f69!important}
body.eup-portal-document .eup-main :is(.eus-card,.etx-card,.epc-card,.ehei-card,.etel-card){text-decoration:none}
body.eup-portal-document .eup-main :is(.eus-shell,.euh-shell,.etx,.eth,.epc,.ehei,.etel) :is(input,select){font-family:inherit}
body.eup-portal-document .eup-main :is(.eus-shell,.euh-shell,.etx,.eth,.epc,.ehei,.etel) :is(h1,h2,h3){letter-spacing:-.015em}
.eup-site-footer{background:#fff;border-top:1px solid #e2eaf2;padding:24px 25px}
.eup-site-footer-inner{max-width:1260px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.eup-site-footer-inner p{margin:0;color:#677a8d;font-size:12px;line-height:1.65}
.eup-site-footer-inner nav{display:flex;gap:14px;flex-wrap:wrap}
.eup-site-footer-inner a{color:#008078;font-size:12px;font-weight:750;text-decoration:none}
@media(max-width:850px){
 .eup-site-header-inner{padding:12px 19px;min-height:76px}
 .eup-site-brand-label{font-size:10px}
 .eup-header-secondary{display:none!important}
 .eup-site-header-actions>a{padding:11px 13px}
}
@media(max-width:650px){
 .eup-site-header-inner{padding:12px 15px;gap:10px;min-height:70px}
 .eup-site-brand{gap:5px;flex-wrap:wrap}
 .eup-site-brand>strong{font-size:24px}
 .eup-site-brand .eup-site-logo{max-height:47px!important;max-width:185px!important}
 .eup-site-brand-label{display:block;width:100%;padding:0;border:0;font-size:9px}
 .eup-site-header-actions>a{font-size:10px;padding:10px 9px;white-space:normal;text-align:center}
 .eup-explorer-tabs-inner{padding:0 8px;gap:3px}
 .eup-explorer-tabs a{font-size:11px;padding:12px 10px}
 body.eup-portal-document .eup-main :is(.eus-shell,.euh-shell,.etx,.eth,.epc,.ehei,.etel,.epr,.eep,.edup-exam-shell){width:calc(100% - 22px)!important}
 .eup-site-footer-inner{display:block;text-align:center}
 .eup-site-footer-inner nav{justify-content:center;margin-top:13px}
}
@media(prefers-reduced-motion:reduce){body.eup-portal-document .eup-main *{transition:none!important}html{scroll-behavior:auto}}
@media print{.eup-site-header,.edp-nav-wrap,.eup-explorer-tabs,.eup-site-footer{display:none!important}.eup-main{padding:0!important;background:#fff!important}}
