/* Homepage editorial layout. */
.ts-home .ts-hero {background:#14283e;padding:clamp(24px,4vw,52px) 0}
.ts-home .ts-hero::before {display:none}
.ts-home .ts-hero>.home-opening {display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:clamp(24px,4vw,60px);align-items:center}
.ts-home .home-opening>* {grid-column:auto;grid-row:auto;min-width:0}
.ts-home .home-intro h1 {font-size:clamp(2rem,4vw,3.5rem);max-width:17ch;text-wrap:balance}
/* Search is the primary control. Region and suggested links form a lighter second tier. */
.home-opening .home-intro {display:flex;flex-direction:column;align-items:stretch}
.ts-home .home-opening .home-intro h1 {margin:0 0 12px;line-height:1.06}
.ts-home .home-opening .home-intro>p {margin:0 0 22px;line-height:1.5}
.ts-home .home-opening .home-intro .ts-find {width:100%;max-width:none;margin:0}
.ts-home .home-opening .home-intro .ts-where {
  display:flex;flex-flow:row wrap;align-items:center;align-self:flex-start;
  width:auto;max-width:100%;gap:4px 12px;margin:16px 0 0;padding:0;border:0;border-radius:0;background:none;
}
.ts-home .home-opening .home-intro .ts-where label {
  color:#c4d1df;font-size:.875rem;font-weight:500;letter-spacing:0;text-transform:none
}
.ts-home .home-opening .home-intro #ts-prov {
  width:auto;max-width:100%;min-width:0;min-height:44px;margin:0;padding:6px 32px 6px 12px;
  font-size:.9rem;line-height:1.3;border:1px solid #60758a;border-radius:7px;background-color:#20364a
}
.ts-home .home-opening .home-intro .ts-chips {
  display:flex;gap:0 16px;margin:18px 0 0;padding-top:12px;border-top:1px solid #405367
}
.ts-home .home-opening .home-intro .ts-chips__lbl {
  flex-basis:100%;color:#bac8d8;font-size:.75rem;letter-spacing:.055em;margin-bottom:2px
}
.ts-home .home-opening .home-intro .ts-chips a {
  display:inline-flex;align-items:center;min-height:36px;padding:0;border:0;border-radius:0;
  background:none;color:#fff;font-size:.9rem;text-decoration:underline;text-decoration-color:#718397;text-underline-offset:4px
}
.ts-home .home-opening .home-intro .ts-chips a:hover {text-decoration-color:#fff}
.ts-home .home-opening .home-intro :is(a,select):focus-visible {outline:2px solid #ead29d;outline-offset:3px}
.ts-home .tax27-feature {display:block;width:100%;box-sizing:border-box;margin:0;padding:clamp(20px,2.5vw,36px);border:1px solid #d9d5cd;border-top:4px solid #b9975b;border-radius:12px;background:#faf8f4;color:#172a40;box-shadow:none}
.ts-home .tax27-feature h2 {color:#172a40;font-size:clamp(1.7rem,2.9vw,2.55rem);line-height:1.08;margin:.5rem 0}
.ts-home .tax27-feature p {color:#485664;font-size:1rem;margin:0}
.ts-home .tax27-feature .tax27-kicker {color:#69512c;font-size:.75rem}
.ts-home .tax27-feature .tax27-primary {background:#203c58;color:white}
.ts-home .tax27-feature .tax27-secondary {background:transparent;color:#203c58;border-color:#9ba6ae}
.ts-home .tax27-feature .tax27-primary:hover {background:#102a42}
.ts-home .tax27-feature-date {display:flex;flex-wrap:wrap;align-items:baseline;gap:.3rem .65rem;background:transparent;border:0;border-top:1px solid #d7d3ca;border-radius:0;padding:1rem 0 0;margin-top:1.1rem;color:#485664;font-size:.88rem}
.ts-home .tax27-feature-date strong {color:#172a40;white-space:nowrap;font-size:1.3rem}
.ts-home .home-directory {max-width:1240px;margin:auto}
.ts-home .home-directory .ts-sec,.ts-home .home-directory>.ts-aside {position:static;padding:clamp(22px,3vw,38px) 0 0;margin:0;content-visibility:visible}
.ts-home .home-reference {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ts-home .home-reference .ts-stats {grid-template-columns:repeat(2,minmax(0,1fr))}
.ts-home .home-directory .ts-text {padding-inline:0}
@media(max-width:800px){
  .ts-home .ts-hero>.home-opening,.ts-home .home-reference {grid-template-columns:minmax(0,1fr)}
  .ts-home .home-reference {gap:0}
}
@media(max-width:450px){
  .ts-home .tax27-feature-actions {display:grid}
  .ts-home .tax27-feature-actions a {justify-content:center}
}
/* The legacy theme also assigns columns to every direct hero child. */
.ts-home .ts-hero>.ts-wrap.home-opening {grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;gap:clamp(22px,3vw,48px)}
.ts-home .home-opening>.home-intro,.ts-home .home-opening>.tax27-feature {grid-column:auto!important;grid-row:auto!important}
.ts-home .home-directory .ts-tabpanel .ts-cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));overflow:visible}
.ts-home .home-directory .ts-side {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:.5rem 1.5rem}
@media(max-width:850px){
  .ts-home .ts-hero>.ts-wrap.home-opening {grid-template-columns:minmax(0,1fr)!important}
}
.ts-home .home-directory a {max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}
.ts-home .home-opening .ts-where .ts-dd {width:auto;max-width:100%;flex:0 1 auto;min-width:0}
.ts-home .home-opening .ts-where .ts-dd__btn {
  width:auto;max-width:100%;min-height:44px;padding:6px 34px 6px 12px;
  font-size:.9rem;border-radius:7px;background-color:#20364a;color:#fff
}
.ts-home .home-opening .ts-where .ts-dd__btn:focus-visible {outline:2px solid #ead29d;outline-offset:3px}
