/* Preserve TEC's navy/red palette and original page components. */
html body { --tec-blue:#082d59; --tec-red:#ba0027; --tec-light:#edf4fa; }
html body>header.tec-site-header { top:0!important; transform:none!important; margin:0!important; }
html body.ahe-public-page main.tec-composed :is(.about-section,.about-introduction) { border-top:0!important; border-bottom:0!important; }
html body.ahe-public-page main.tec-composed .tec-opening { background:#fff!important; }
html body.ahe-public-page main.tec-composed .tec-opening .about-intro-content>p:first-child { font:400 18px/1.8 Arial,sans-serif!important; }
html body.ahe-public-page main.tec-composed .tec-panel-spotlight .tec-section-copy { background:#edf4fa!important; }
html body.ahe-public-page main.tec-composed .tec-panel-tiles { background:#edf4fa!important; }
html body.ahe-public-page main.tec-composed :is(.about-section,.about-introduction) h2 { font:700 28px/1.3 Georgia,serif!important; }
html body.ahe-public-page main.tec-composed :is(.about-section,.about-introduction) h3 { font:700 21px/1.4 Georgia,serif!important; }
html body.ahe-public-page main.tec-composed :is(p,li,td) { color:#284868; }
html body .tec-eco-section { display:block; padding:24px 0; border:0; }
html body .tec-eco-section-number { display:none; }
html body .tec-eco-section h2 { font:700 28px/1.3 Georgia,serif; }
html body .tec-eco-section p { color:#284868; line-height:1.8; max-width:none; }
html body .tec-eco-next { border:0; background:#edf4fa; }
html body .tec-eco-next h2 { font:700 28px/1.3 Georgia,serif; }
html body .tec-eco-related li { border:0; }
html body .tec-eco-related a { padding:11px 12px; }
html body .tec-eco-related a[aria-current=page] { background:#082d59; color:#fff; font-weight:700; }
html body .tec-eco-related a:hover { background:#edf4fa; color:#082d59; }
html body>header.tec-site-header #nav .tec-menu-links>a:is(:hover,:focus-visible,[aria-current=page]) { background:#082d59; color:#fff; }
html body>header.tec-site-header #nav .tec-menu-links>a[aria-current=location] { background:#edf4fa; color:#082d59; }
html body>header.tec-site-header #nav .tec-menu-links>a.tec-section-home { font-weight:700; }
html body>header.tec-site-header #nav .ahe-nav-group[data-eco-active]>summary { color:#082d59; text-decoration-color:#ba0027; }
html body .tec-eco-leadership { width:250px; margin-bottom:24px; }
html body .ahe-access-seal img { width:180px; max-width:100%; height:180px; object-fit:contain; }
html body .about-actions>a { display:inline-flex; align-items:center; justify-content:center; background:#ba0027; color:#fff!important; padding:13px 18px; border:0; font:700 13px/1.5 Arial,sans-serif; }
html body .about-actions>a:nth-child(n+2) { background:#082d59; }
html body .about-actions>a:focus-visible { outline:3px solid #ba0027; outline-offset:4px; }
html body>header.tec-site-header .tec-menu-news { grid-column:1/-1; }
html body>header.tec-site-header .tec-menu-news .tec-campus-news { padding:10px 0; }
html body>header.tec-site-header .tec-menu-news .tec-news-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; }
html body>header.tec-site-header .tec-menu-news .tec-news-heading>p { display:none; }
html body>header.tec-site-header .tec-menu-news .tec-news-heading h2 { font:700 23px/1.3 Georgia,serif; }
html body .tec-eco-programs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
html body .tec-eco-programs .tec-catalog-card { padding:24px; border:1px solid #dce5ef; border-radius:12px; background:#fff; box-shadow:0 4px 14px #082d590a; }
html body .tec-catalog-card h3 { font:700 22px/1.3 Georgia,serif; }
html body .tec-catalog-card dl { font:14px/1.6 Arial,sans-serif; }
html body .tec-catalog-card dl>div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:4px 15px; }
html body .tec-catalog-card dt { font-weight:700; }
html body .tec-catalog-card dd { margin:0; }
html body.ahe-public-page :is(.ep-hero,.ep-view-hero,.edu-program-hero) h1 { font:700 clamp(32px,3.1vw,50px)/1.12 Georgia,serif!important; white-space:normal!important; }
html body .tec-directory .ep-card-title { font:700 22px/1.3 Georgia,serif!important; letter-spacing:0; }
html body.ahe-public-page .tec-directory :is(.ep-hero,.ep-view-hero) { height:clamp(390px,36vw,570px)!important; min-height:390px!important; display:flex; align-items:flex-end; padding:0 6% 28px!important; }
html body .tec-directory :is(.ep-hero,.ep-view-hero)::before { display:none!important; }
html body.ahe-public-page .ep-page .tec-directory .ep-hero-inner,
html body.ahe-public-page .ep-page .tec-directory .ep-view-summary { width:100%!important; max-width:850px!important; padding:25px 30px 27px!important; background:rgba(7,24,40,.76); }
html body.ahe-public-page .ep-page .tec-directory .ep-hero-inner:before { content:'TEXAS EDU COLLEGE'; display:block; color:#fff; font:700 11px/1.4 Arial,sans-serif; letter-spacing:2.4px; margin-bottom:12px; }
@media(max-width:1100px) { html body .tec-eco-programs { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
 html body.ahe-public-page .tec-directory :is(.ep-hero,.ep-view-hero) { height:440px!important; }
 html body.ahe-public-page .ep-page .tec-directory .ep-hero-inner,html body.ahe-public-page .ep-page .tec-directory .ep-view-summary { padding:22px!important; }
 html body .tec-eco-programs { grid-template-columns:1fr; }
 html body .tec-eco-section h2,html body .tec-eco-next h2 { font-size:25px; }
 html body .tec-eco-related ul { display:block; }
 html body .tec-eco-leadership { float:none; width:min(250px,100%); margin:0 0 25px; }
}
