/* Institutional blue for hover, institutional red for the current page. */
.tec-menu-links>a:is(:hover,:focus-visible){background:#082d59;color:#fff}
.tec-menu-links>a[aria-current],.tec-menu-links>a[aria-current]:is(:hover,:focus-visible){background:#ba0027;color:#fff}
.tec-site-header #nav summary:hover{color:#082d59}
.tec-site-header #nav .ahe-nav-group:has(.tec-menu-links [aria-current])>summary{color:#ba0027;text-decoration:none}
.tec-site-header #nav>a[aria-current]{color:#ba0027;text-decoration:none}
.tec-footer .ahe-footer-grid::before,main>#health.health::after,.about-pages .about-hero::after{display:none}
.tec-footer .ahe-footer-grid .ahe-footer-seal img.tec-footer-logo{width:280px!important;max-width:100%!important;height:auto!important;filter:brightness(0) invert(1);margin:auto}
.tec-footer .ahe-footer-seal{min-width:0}
@media(min-width:1101px){.tec-footer .ahe-footer-grid{grid-template-columns:1.5fr repeat(5,1fr);gap:25px}}
.tec-star-tab.tec-apply-tab{width:175px;border-radius:7px 0 0 7px;background:#082d59;overflow:hidden;display:flex;box-shadow:0 6px 20px #0003}
.tec-star-tab button{appearance:none;border:0;color:white;background:transparent;cursor:pointer}
.tec-star-minimize{width:30px;padding:12px 5px;font:23px/1 Arial,sans-serif;border-right:1px solid #ffffff40!important}
.tec-star-open{padding:18px 12px;display:flex;align-items:center;gap:10px;font:700 17px/1.2 Arial,sans-serif;text-align:left;flex:1}
.tec-star-symbol{font-size:29px}
.tec-star-tab:hover{background:#ba0027}
.tec-star-tab.is-compact{width:85px}
.tec-star-tab.is-compact .tec-star-open>span:last-child{display:none}
.tec-star-tab.is-compact .tec-star-open{padding:14px 9px}
.tec-star-tab button:focus-visible{outline:2px solid white;outline-offset:-4px}
.tec-star-dialog{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:min(460px,100%);max-width:100%;padding:0;border:0;background:#fff;color:#082d59;box-shadow:-10px 0 40px #0002;overflow:auto}
.tec-star-dialog::backdrop{background:#00122599}
.tec-star-heading{background:#082d59;color:white;padding:25px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.tec-star-heading h2{font:700 24px/1.3 Georgia,serif;color:white;margin:0}
.tec-star-close{background:none;border:0;color:white;font:32px/1 Arial;cursor:pointer;padding:6px}
.tec-star-body{padding:30px 25px;font:16px/1.7 Arial,sans-serif}
.tec-star-body>a{display:flex;justify-content:space-between;gap:18px;padding:20px;margin:15px 0;text-decoration:none;background:#f1f4f7;color:#082d59;font-weight:700;border-radius:4px}
.tec-star-body>a:hover,.tec-star-body>a:focus-visible{background:#082d59;color:white}
.tec-star-body>a:first-of-type{background:#ba0027;color:white}
body:has(.tec-star-dialog[open]){overflow:hidden}
/* Remove the additional red rules, retaining red typography and action buttons. */
.about-pages .about-hero{border-bottom:0!important}
.about-intro-content{border-top:0;padding-top:0}
.about-pages .about-section-heading::after{display:none}
.about-pages .about-section:nth-child(4n+2)>.about-section-heading{border-left:0}
.about-pages .about-card,.about-pages .about-card-grid-stacked .about-card{border:1px solid #dbe4ed}
.about-pages .about-section-content>h3{border-left:0;padding-left:0}
.about-pages .accreditation-faq details[open],.about-pages .accreditation-timeline details[open]{border-left:1px solid #9eb0c4}
.about-pages .about-intro-content{padding:0}
body.ahe-public-page .about-pages .about-introduction{background:#fff}
.about-pages .tec-editorial-scene{height:clamp(260px,29vw,430px);display:grid;grid-template-columns:1.6fr 1fr;gap:18px;margin:0 var(--ahe-public-gutter) 45px;background:white;isolation:auto;overflow:hidden}
.about-pages .tec-editorial-scene::before,.about-pages .tec-editorial-scene::after{display:none}
.about-pages .tec-editorial-scene img{position:static;transform:none;filter:none;opacity:1;width:100%;max-width:none;height:100%;object-fit:cover;border-radius:5px}
.about-pages .tec-editorial-scene img+img{height:85%;align-self:end}
.tec-opportunity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:28px 0 32px}
.tec-opportunity{padding:30px;background:#fff;border:1px solid #dbe4ed;border-radius:6px;box-shadow:0 6px 24px #082d5908}
.tec-opportunity svg{display:block;width:40px;height:40px;fill:none;stroke:#082d59;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;margin:0 0 22px}
body.ahe-public-page .tec-opportunity h3{font-size:23px;line-height:1.3;margin:0 0 14px}
body.ahe-public-page .tec-opportunity p{text-align:left!important;font-size:16px;line-height:1.7;margin:0}
.tec-opportunity:nth-child(even){background:#082d59}
body.ahe-public-page .tec-opportunity:nth-child(even) :is(h3,p){color:#fff}
.tec-opportunity:nth-child(even) svg{stroke:white}
@media(max-width:1000px){.tec-opportunity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.tec-opportunity-grid{grid-template-columns:1fr}.about-pages .tec-editorial-scene{height:260px;grid-template-columns:1.4fr 1fr;gap:10px;margin-bottom:25px}.tec-opportunity{padding:25px}.tec-star-tab.tec-apply-tab{width:155px}.tec-star-tab.is-compact{width:85px}.tec-star-open{font-size:15px}.tec-footer .ahe-footer-grid .ahe-footer-seal img.tec-footer-logo{max-width:260px!important;width:100%!important}}
@media print{.tec-star-tab,.tec-star-dialog,.tec-editorial-scene{display:none!important}}
/* Informational copy is always visible, never behind an accordion or clipped. */
.about-pages .tec-expanded-panel{display:block;background:#fff;border:1px solid #dbe4ed;border-radius:4px;margin-bottom:18px;padding:26px}
body.ahe-public-page .about-pages .tec-expanded-title{display:flex;align-items:center;gap:18px;margin:0 0 20px;font-size:23px;color:#082d59}
.about-pages .tec-expanded-panel .accreditation-detail{padding:0}
.about-pages .tec-expanded-panel .accreditation-detail>p:first-child{color:#344f68}
body.ahe-public-page .about-pages .ep-hero.about-hero{height:auto!important;min-height:300px!important;overflow:visible}
.about-pages :is(.about-section,.about-section-content,.about-intro-content,.about-card,.tec-opportunity,.tec-expanded-panel){height:auto;max-height:none;overflow:visible}
.about-pages :is(.about-section-content,.about-intro-content,.about-card,.tec-opportunity,.tec-expanded-panel) :is(p,li,h2,h3){max-height:none;overflow:visible;-webkit-line-clamp:unset;white-space:normal}
body.ahe-public-page .tec-opportunity:nth-child(even) :is(strong,em,a){color:#fff}
@media(max-width:700px){.about-pages .tec-expanded-panel{padding:22px}body.ahe-public-page .about-pages .tec-expanded-title{font-size:21px}}
/* Restore the original two-tier STAR invitation using the actual TEC emblem. */
.tec-star-tab.tec-apply-tab{display:block;width:190px;border-radius:0;background:#ba0027}
.tec-star-tab .tec-star-open{display:block;width:100%;padding:0;background:#ba0027}
.tec-star-label{display:flex;align-items:center;gap:10px;padding:17px 14px;font:26px/1.2 Georgia,serif}
.tec-star-label img{width:34px;height:38px;object-fit:contain;filter:brightness(0) invert(1)}
.tec-star-action{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;background:#fff;color:#082d59;font:700 11px/1.3 Arial,sans-serif}
.tec-star-tab .tec-star-open:hover .tec-star-label{background:#082d59}
.tec-star-tab .tec-star-open:hover .tec-star-action{background:#082d59;color:#fff}
@media(max-width:650px){.tec-star-tab.tec-apply-tab{width:165px}.tec-star-label{font-size:23px;padding:13px 12px}.tec-star-label img{width:28px;height:32px}}
.tec-star-original.tec-star-tab.tec-apply-tab{width:210px;border-radius:0;background:#ba0027}
.tec-star-original .tec-star-label{display:block;position:relative;isolation:isolate;padding:18px 20px 15px;font:26px/1.2 Georgia,serif;white-space:nowrap}
.tec-star-original .tec-star-label::after{content:"";position:absolute;inset:3px 3px 3px auto;width:66px;background:url('/uploads/brand/tec-star.webp?v=20261123-3be2f163') center/contain no-repeat;filter:brightness(0) invert(1);opacity:.12;z-index:-1;pointer-events:none}
.tec-star-original .tec-star-action{padding:12px 20px;background:#fff;color:#082d59}
/* Keep the representative profile readable despite earlier generic white sections. */
body.ahe-public-page .about-pages.tec-design-governance .about-section.tec-section-feature:nth-child(n){background:#082d59!important}
body.ahe-public-page .about-pages.tec-design-governance .about-section.tec-section-feature:nth-child(n) :is(h2,h3,p,strong,em,a){color:white!important}
@media(max-width:650px){.tec-star-original.tec-star-tab.tec-apply-tab{width:185px}.tec-star-original .tec-star-label{font-size:24px;padding:15px 16px}.tec-star-original .tec-star-action{padding:11px 16px}}
/* UT-inspired offset ribbon; keep the actual star-and-torch colors intact. */
.tec-star-original.tec-star-tab.tec-apply-tab{width:220px;overflow:visible;background:transparent;box-shadow:none}
.tec-star-original.tec-star-tab .tec-star-open{overflow:visible;background:rgba(186,0,39,.94);padding-bottom:8px}
.tec-star-original .tec-star-label{padding:16px 24px 13px;font:400 26px/1.2 Georgia,serif;white-space:nowrap;text-align:left}
.tec-star-original .tec-star-label::before{content:"";display:block;width:19px;height:2px;margin-bottom:8px;background:#fff}
.tec-star-original .tec-star-label::after{inset:8px 12px auto auto;width:31px;height:31px;background:url('/uploads/brand/tec-star.webp?v=20261123-3be2f163') center/contain no-repeat;filter:none;opacity:1;z-index:0}
.tec-star-original .tec-star-action{position:relative;width:calc(100% + 8px);margin-left:-8px;padding:10px 24px 10px 32px;background:#fff;color:#082d59;box-sizing:border-box;font-size:10px;box-shadow:0 3px 7px #0002}
.tec-star-original .tec-star-open:hover .tec-star-label{background:#082d59}
.tec-star-original .tec-star-open:hover .tec-star-action{background:#fff;color:#ba0027}
@media(max-width:650px){.tec-star-original.tec-star-tab.tec-apply-tab{width:200px}.tec-star-original .tec-star-label{font-size:24px;padding:14px 20px 12px}.tec-star-original .tec-star-action{padding:10px 20px 10px 28px}}
.tec-star-original .tec-star-label{overflow:hidden}
.tec-star-original .tec-star-label>span{position:relative;z-index:1}
.tec-star-original .tec-star-label::after{inset:-10px -8px -12px auto;width:108px;height:auto;background:url('/uploads/brand/tec-lauro.webp') center/contain no-repeat;filter:brightness(0) invert(1);opacity:.14;z-index:0;pointer-events:none}
.tec-star-original.tec-star-tab .tec-star-open:is(:hover,:focus-visible){background:#082d59}
.tec-star-original .tec-star-open:is(:hover,:focus-visible) .tec-star-label{background:#082d59}
.tec-star-original .tec-star-open:is(:hover,:focus-visible) .tec-star-action{background:#fff;color:#082d59}
/* Enter from the right without affecting layout or the sticky position. */
@media(prefers-reduced-motion:no-preference){
 .tec-star-original.tec-star-tab.tec-apply-tab{animation:tec-star-slide-in .75s cubic-bezier(.22,.61,.36,1) .15s both}
 @keyframes tec-star-slide-in{from{transform:translateX(calc(100% + 16px));opacity:0}to{transform:translateX(0);opacity:1}}
}

/* Keep the invitation on two deliberate lines in both languages. */
.tec-star-original .tec-star-prefix{display:block;font:400 23px/1.2 Georgia,serif}
.tec-star-original .tec-star-name{display:block;margin-top:3px;font:700 29px/1.15 Georgia,serif;letter-spacing:.4px}
@media(max-width:650px){.tec-star-original .tec-star-prefix{font-size:21px}.tec-star-original .tec-star-name{font-size:26px}}
@media(prefers-reduced-motion:no-preference){
 .tec-star-dialog[open]{animation:tec-star-panel-in .75s cubic-bezier(.22,.61,.36,1) both}
 .tec-star-dialog[open]::backdrop{animation:tec-star-backdrop-in .75s ease both}
 @keyframes tec-star-panel-in{from{transform:translateX(calc(100% + 16px));opacity:0}to{transform:translateX(0);opacity:1}}
 @keyframes tec-star-backdrop-in{from{background:transparent}to{background:#00122599}}
}