/* ST Timetable Homepage Pro — real, selectable HTML text (no text baked into mockup). */
body.stth-front{margin:0!important;background:#fff;color:#17202c;font:15px/1.45 Arial,Helvetica,sans-serif;overflow-x:hidden}
body.stth-front *,body.stth-front *::before,body.stth-front *::after{box-sizing:border-box}
body.stth-front img{display:block;max-width:100%;height:auto}
body.stth-front a{text-decoration:none}
body.stth-front a:focus-visible,body.stth-front button:focus-visible,body.stth-front input:focus-visible{outline:3px solid #286bb1;outline-offset:3px}
body.stth-front .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.stth-width{width:min(1300px,calc(100% - 40px));margin:0 auto}
.stth-topbar{background:#8f080d;color:#fff;font-size:12px;min-height:30px}
.stth-topline,.stth-toplinks{display:flex;align-items:center;gap:0}
.stth-topline{min-height:30px;justify-content:space-between}
.stth-toplinks>a{color:#fff!important;display:inline-block;line-height:1;padding:0 13px;border-right:1px solid rgba(255,255,255,.5)}
.stth-toplinks>a:first-child{padding-left:0}.stth-toplinks>a:last-child{border:0;padding-right:0}
.stth-toplinks a:hover{text-decoration:underline}
.stth-header{background:linear-gradient(105deg,#fffefa,#fbf8ee);border-bottom:1px solid #f1e7c4}
.stth-headerinner{display:flex;align-items:center;justify-content:space-between;min-height:85px;gap:24px}
.stth-brand{display:flex;align-items:center;gap:12px;color:#1a2028!important;min-width:0}
.stth-brand img{object-fit:contain;width:138px;height:68px;flex-shrink:0}
.stth-brand strong{display:block;font-size:34px;font-weight:800;line-height:1.05;letter-spacing:-1.6px;white-space:nowrap}
.stth-brand strong em{font-style:normal;color:#bc151d}
.stth-brand small{display:block;font-size:12px;color:#22313e;white-space:nowrap;font-weight:500}
.stth-header-right{display:flex;align-items:center;justify-content:end;gap:14px;min-width:0;flex:1}
.stth-header-right span{font-size:20px;font-weight:800;color:#a10d12;text-align:center;line-height:1.24;transform:rotate(-4deg)}
.stth-header-right img{width:250px;height:75px;object-fit:cover;object-position:right}
.stth-nav{background:#ffdda0;border-bottom:1px solid #efc873;position:relative;z-index:100}
.stth-menu-inner{display:flex;justify-content:space-between;align-items:stretch;gap:0;min-height:42px}
.stth-menu-inner>a,.stth-menu-group>a{color:#131619!important;padding:11px 12px;display:flex;align-items:center;gap:4px;white-space:nowrap;font-weight:700;font-size:13px;line-height:1.3}
.stth-menu-inner>a:hover,.stth-menu-group:hover>a,.stth-menu-group:focus-within>a{background:#f8c96d}
.stth-home-link,.stth-search-link{font-size:24px!important;line-height:17px!important}
.stth-menu-group{position:relative;display:flex}
.stth-submenu{display:none;position:absolute;top:100%;left:0;min-width:220px;background:#fff;box-shadow:0 10px 25px rgba(0,0,0,.13);border:1px solid #f2e0c3;border-radius:0 0 8px 8px;padding:7px;z-index:200}
.stth-menu-group:hover .stth-submenu,.stth-menu-group:focus-within .stth-submenu{display:block}
.stth-submenu a{display:block;padding:9px 11px;font-size:13px;color:#242424!important;border-radius:4px}
.stth-submenu a:hover{background:#fdf0e3;color:#ac0d15!important}
.stth-main{padding-top:10px;padding-bottom:0}
.stth-hero{border-radius:11px;position:relative;overflow:hidden;background:linear-gradient(110deg,#edf7ff 0%,#e4f2fc 48%,#d6e8ed 100%);min-height:245px;margin:0 0 8px;padding:23px 24px 78px;border:1px solid #e2e8ec}
.stth-hero-photo{position:absolute;top:0;right:0;width:47%;height:100%;background-repeat:no-repeat;background-position:right 42%;background-size:cover;pointer-events:none}
.stth-hero-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#e5f3fc 0%,rgba(229,243,252,.45) 17%,transparent 50%)}
.stth-hero-content{position:relative;z-index:1;max-width:63%}
.stth-eyebrow{font-size:13px;font-weight:700;color:#ac1117;margin:0 0 6px;display:flex;align-items:center;gap:9px}
.stth-eyebrow:before{content:"";width:24px;height:4px;background:#d90b18;display:inline-block}
.stth-hero h1{font-size:clamp(26px,3.1vw,41px);line-height:1.12;font-weight:800;letter-spacing:-1.2px;margin:0 0 11px;color:#101c2b;max-width:770px}
.stth-hero h1 span{color:#c7101c}
.stth-hero-description{font-size:14px;line-height:1.45;max-width:515px;color:#16283a;margin:0}
.stth-search-panel{position:absolute;z-index:3;left:22px;right:22px;bottom:12px;display:grid;grid-template-columns:1fr 1.17fr;gap:12px;padding:8px 10px;background:rgba(255,255,255,.94);border:1px solid #eadbd3;border-radius:10px;box-shadow:0 3px 12px rgba(31,43,52,.08)}
.stth-search-form{border:1px solid #d9dce2;border-radius:6px;background:#fff;min-height:44px;display:flex;align-items:center;position:relative;min-width:0}
.stth-search-form:focus-within{border-color:#b51b23}
.stth-form-symbol{font-size:20px;line-height:1;color:#c70c17;padding:0 12px 0 13px;flex:none}
body.stth-front .stth-search-form input[type=search]{border:0!important;box-shadow:none!important;outline:none!important;min-width:0;flex:1;width:100%;min-height:40px;font-size:14px;color:#1d2330;padding:7px 3px;background:transparent}
body.stth-front .stth-search-form input[type=search]::placeholder{color:#6c7380}
body.stth-front .stth-mini-search{flex:none;border:0!important;background:transparent!important;color:#c50b16!important;font-size:29px;line-height:1;padding:6px 13px;cursor:pointer}
body.stth-front .stth-search-button{background:#c30b17!important;color:#fff!important;border:0!important;border-radius:5px!important;padding:10px 14px;min-height:39px;white-space:nowrap;font-size:13px;font-weight:700;cursor:pointer;margin:3px}
body.stth-front .stth-search-button:hover{background:#930914!important}
.stth-suggestions{position:absolute;top:calc(100% + 3px);left:0;right:0;background:#fff;border-radius:6px;box-shadow:0 7px 22px rgba(0,0,0,.14);border:1px solid #e3e3e3;max-height:230px;overflow:auto;z-index:50}
.stth-suggestions a{display:block;color:#1b2934!important;padding:10px 13px;border-bottom:1px solid #eee;font-size:13px}
.stth-suggestions a:hover{background:#fff3e6}
.stth-section{border-radius:12px;padding:12px 16px 14px;margin:8px 0 10px}
.stth-latest{background:#fbf0ef}.stth-routes{background:#edf8ee}.stth-divisions{background:#fff8ea}.stth-special{background:#fbefef}
.stth-section-header{display:flex;align-items:center;gap:13px;margin-bottom:11px}
.stth-section-icon{width:35px;height:35px;flex:none;display:flex;align-items:center;justify-content:center;background:#a60911;color:#fff;border-radius:8px;font-size:22px;font-weight:700}
.stth-icon-green{background:#088e50}
.stth-section-header h2{font-weight:800;font-size:20px;color:#9f0710;line-height:1.25;margin:0 0 2px;letter-spacing:-.3px}
.stth-routes .stth-section-header h2{color:#16232a}
.stth-section-header p{margin:0;font-size:13px;color:#424c5a}
.stth-pill{margin-left:auto;white-space:nowrap;border:1px solid #d7192a;color:#bf101c!important;border-radius:22px;padding:8px 12px;font-size:12px;font-weight:700;background:rgba(255,255,255,.6)}
.stth-pill:hover{background:#fff}.stth-pill-green{border-color:#218657;color:#04744c!important}
.stth-cards-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.stth-postcard{min-width:0;padding:8px;border-radius:9px;background:#fff;border:1px solid #efefef;display:flex;flex-direction:column;min-height:145px}
.stth-postcard img{width:100%;height:70px;object-fit:cover;border-radius:5px}
.stth-cardlink{height:100%;display:flex;flex-direction:column;color:inherit!important}
.stth-cardtitle{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.27;margin:7px 0 5px;font-weight:700;color:#121a28;min-height:32px}
.stth-cardbottom{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:auto}
.stth-cardbottom small{color:#68717c;font-size:11px;line-height:1.25}
.stth-arrow{display:inline-flex;flex:none;align-items:center;justify-content:center;color:#d61a23;background:#ffe4e6;font-size:18px;font-weight:700;border-radius:50%;width:26px;height:26px;line-height:1}
.stth-cardlink:hover .stth-cardtitle{color:#aa0f19}.stth-placeholder .stth-cardtitle{color:#1c2631}.stth-muted-icon{color:#aaa}
.stth-divisions-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.stth-divisioncard{border:1px solid #e5e4df;background:#fff;border-radius:8px;padding:0 10px 9px;min-width:0;box-shadow:0 1px 3px rgba(0,0,0,.025);display:flex;flex-direction:column;min-height:195px}
.stth-divisioncard h3{background:var(--stth-accent,#a20c18);text-align:center;margin:0 -10px 7px;padding:6px 8px;border-radius:7px 7px 0 0;font-size:12px;line-height:1.35;font-weight:700;color:#fff}
.stth-divisioncard h3 a{color:#fff!important}.stth-divisioncard h3 a:hover{text-decoration:underline}
.stth-divisioncard ul{margin:0 0 4px;padding:0 0 0 17px;flex:1;list-style:disc}
.stth-divisioncard li{padding:2px 0;font-size:12px;line-height:1.45;color:#202329;overflow-wrap:anywhere}
.stth-divisioncard li a{color:#1c2731!important}
.stth-divisioncard li a:hover{color:#b60d18!important;text-decoration:underline}
.stth-unpublished{color:#505861}
.stth-more{font-size:11px;color:#bb1018!important;font-weight:700;align-self:flex-end}
.stth-more:hover{text-decoration:underline}
.stth-data-note{font-size:11px;color:#795f4c;margin:12px 2px 1px}
.stth-special-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.stth-special-card{background:#fff;border:1px solid #f0e1e1;border-radius:8px;padding:7px;display:flex;align-items:center;gap:9px;color:#212b36!important;min-width:0;min-height:61px}
.stth-special-card img{width:80px;height:45px;object-fit:cover;border-radius:5px;flex:none}
.stth-special-card span:nth-child(2){min-width:0;flex:1}
.stth-special-card strong{display:block;font-size:12px;line-height:1.25}
.stth-special-card small{display:block;color:#5d6470;font-size:10.5px;margin-top:3px}
.stth-special-card:hover strong{color:#b00917}
.stth-under-note{font-size:12px;color:#4c565d;padding:8px 13px 20px}
.stth-footer{position:relative;background:linear-gradient(105deg,#92080c,#7b080c);color:#fff;margin-top:5px;padding:33px 0 18px;isolation:isolate}
.stth-footer:before{content:"";position:absolute;top:-16px;left:0;right:0;height:18px;background:#92080c;clip-path:polygon(0 65%,4% 80%,9% 42%,14% 73%,20% 37%,27% 74%,33% 45%,40% 77%,48% 34%,56% 70%,64% 35%,73% 68%,80% 44%,89% 81%,95% 44%,100% 65%,100% 100%,0 100%);z-index:-1}
.stth-footer-inner{display:grid;grid-template-columns:1.08fr 2fr 1fr;gap:26px;align-items:center}
.stth-footbrand strong{font-size:24px;display:block;white-space:nowrap}.stth-footbrand small{font-size:12px;display:block}
.stth-footer p{font-size:12px;margin:0;line-height:1.6;color:#fbeeee}
.stth-footer p span{color:#fff5ed;font-size:11px}
.stth-footlinks strong{display:block;margin-bottom:7px;font-size:12px}
.stth-footlinks a{color:#fff!important;font-size:11px;display:inline-block;padding:0 8px 0 0;margin-bottom:5px}
.stth-footlinks a:hover{text-decoration:underline}
/* Division archive template */
.stth-directory-main{padding:32px 0 70px;min-height:55vh}
.stth-directory-main h1{font-size:32px;margin:12px 0;color:#a80d19}
.stth-directory-main>p{font-size:15px;max-width:850px}
.stth-breadcrumb{font-size:12px!important;color:#6a7380}.stth-breadcrumb a{color:#a30913!important}
.stth-directory-search input{border:1px solid #d5d6d8;border-radius:7px;padding:12px 14px;max-width:480px;width:100%;font-size:14px}
.stth-directory-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.stth-directory-item{padding:17px 15px;border-radius:7px;background:#fff8ec;border:1px solid #ecdcbe;color:#1e242e!important;display:flex;justify-content:space-between;gap:6px}
.stth-directory-item:hover{background:#fcebd4}.stth-directory-item span{color:#a0111b}
.stth-no-content{padding:24px;border:1px solid #f0dfc9;background:#fffaf0;border-radius:10px;margin:25px 0;max-width:780px}
@media(max-width:1200px){.stth-brand strong{font-size:29px}.stth-header-right span{font-size:17px}.stth-header-right img{width:195px}.stth-menu-inner>a,.stth-menu-group>a{padding:11px 8px;font-size:12px}.stth-divisions-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:950px){.stth-width{width:min(100% - 28px,900px)}.stth-header-right img{display:none}.stth-menu-inner{overflow-x:auto;justify-content:flex-start}.stth-menu-group{flex:none}.stth-submenu{position:fixed;top:auto;left:auto}.stth-cards-five{grid-template-columns:repeat(3,minmax(0,1fr))}.stth-divisions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stth-special-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stth-hero-content{max-width:72%}.stth-hero-photo{width:52%}}
@media(max-width:650px){.stth-width{width:calc(100% - 20px)}.stth-topline{min-height:28px}.stth-toplinks>a{font-size:10px;padding:0 6px}.stth-headerinner{min-height:72px}.stth-brand img{width:80px;height:48px}.stth-brand{gap:4px}.stth-brand strong{font-size:24px;letter-spacing:-1px}.stth-brand small{font-size:9px;white-space:normal}.stth-header-right{display:none}.stth-nav{margin:0}.stth-menu-inner{min-height:39px}.stth-menu-inner>a,.stth-menu-group>a{font-size:12px;padding:10px}.stth-main{padding-top:8px}.stth-hero{padding:18px 15px 120px;min-height:316px}.stth-hero-photo{width:60%;height:46%;top:2px;opacity:.57}.stth-hero-photo:before{background:linear-gradient(90deg,#e5f3fc 0%,rgba(229,243,252,.55) 40%,transparent 90%)}.stth-hero-content{max-width:97%}.stth-hero h1{font-size:27px;max-width:440px;text-shadow:0 0 10px rgba(229,243,252,.95)}.stth-hero-description{font-size:12px;max-width:290px;text-shadow:0 0 6px #e5f3fc}.stth-search-panel{display:grid;grid-template-columns:1fr;left:10px;right:10px;bottom:10px;gap:7px;padding:7px}.stth-search-form{min-height:38px}.stth-search-form input[type=search]{min-height:36px!important;font-size:12px!important}.stth-search-button{font-size:12px!important;min-height:35px!important}.stth-search-button span{display:none}.stth-section{padding:12px 10px;margin:8px 0}.stth-section-header{gap:8px;flex-wrap:wrap}.stth-section-icon{width:30px;height:30px;font-size:18px}.stth-section-header h2{font-size:17px}.stth-section-header p{font-size:11px}.stth-pill{padding:5px 8px;font-size:10px}.stth-cards-five{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stth-postcard{padding:7px;min-height:143px}.stth-postcard img{height:81px}.stth-cardtitle{font-size:12px}.stth-divisions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.stth-divisioncard li{font-size:11px}.stth-divisioncard h3{font-size:11px}.stth-special-grid{grid-template-columns:1fr}.stth-footer-inner{grid-template-columns:1fr;gap:15px}.stth-footer{padding-top:24px}.stth-directory-list{grid-template-columns:1fr}}
@media(max-width:380px){.stth-divisions-grid{grid-template-columns:1fr}.stth-brand strong{font-size:22px}.stth-hero h1{font-size:24px}}
