/* hero-band.css: one hero for the site (Nov 27).
   Photo on top with no filter, then a navy band with the label, title, subcopy and links.
   Turned on by adding class "hb" to a page's <section class="hero ..."> */
html{overflow-x:clip}
html body .bt:has(>section.hero.hb){margin:0 0 0 calc(50% - 50vw)!important;padding:0!important;max-width:none!important;width:100vw!important;background:none!important}
html body main:has(section.hero.hb){padding-top:0!important;margin-top:0!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx){display:block!important;position:relative!important;min-height:0!important;height:auto!important;margin:0!important;border-radius:0!important;max-width:none!important;width:100%!important;padding:0 20px 52px!important;background:#0B1D30!important;color:#fff!important;text-align:center!important;overflow:hidden!important;box-sizing:border-box}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx)::before,html body .bt section.hero.hb.hb.hb.hb:not(#hbx)::after{display:none!important;content:none!important}
/* the photo */
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .pic{position:relative!important;inset:auto!important;display:block!important;width:auto!important;height:clamp(440px,38vw,600px)!important;margin:0 -20px!important;background:#07131F var(--hero-m) var(--hero-pos,center)/cover no-repeat!important;filter:none!important;opacity:1!important}
@media(min-width:751px){html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .pic{background-image:var(--hero)!important}}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .pic video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:none!important}
/* a light shade at the very top only, so the menu stays readable */
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .pic::after{content:""!important;display:block!important;position:absolute;left:0;right:0;top:0;height:150px;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(7,19,31,.55) 0%,rgba(7,19,31,0) 100%)!important}
/* the navy band */
html body .bt section.hero.hb.hb.hb.hb:not(#hbx)>div:not(.pic){position:relative!important;z-index:2;width:100%!important;max-width:1200px!important;margin:0 auto!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx)>div:not(.pic):nth-child(2){padding-top:44px!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) :is(h1,p,span,em,strong,b){text-shadow:none!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .eb{font-size:13px!important;font-weight:600!important;letter-spacing:.14em!important;text-transform:uppercase!important;margin:0 0 14px!important;color:#E8B867!important;-webkit-text-fill-color:#E8B867!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) h1{font-size:clamp(38px,4.2vw,64px)!important;line-height:1.04!important;letter-spacing:-.04em!important;font-weight:700!important;color:#fff!important;-webkit-text-fill-color:#fff!important;margin:0 auto!important;max-width:22ch!important;text-wrap:balance}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) h1 :is(em,span){color:#E8B867!important;-webkit-text-fill-color:#E8B867!important;font-style:normal!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tg{font-size:clamp(17px,1.3vw,19px)!important;line-height:1.5!important;font-weight:400!important;max-width:720px!important;margin:16px auto 0!important;color:rgba(255,255,255,.8)!important;-webkit-text-fill-color:rgba(255,255,255,.8)!important}
/* links bar */
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills{margin:30px auto 0!important;width:fit-content!important;max-width:100%!important;background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:12px!important;padding:6px!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills .pl{display:flex!important;flex-wrap:nowrap!important;gap:4px!important;justify-content:flex-start!important;overflow-x:auto!important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills .pl::-webkit-scrollbar{display:none}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills :is(a,span){flex:0 0 auto;font-size:14px!important;font-weight:500!important;padding:10px 14px!important;border-radius:8px!important;white-space:nowrap!important;text-decoration:none!important;background:none!important;border:0!important;box-shadow:none!important;color:rgba(255,255,255,.88)!important;-webkit-text-fill-color:rgba(255,255,255,.88)!important;min-height:0!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills a:hover{background:rgba(255,255,255,.1)!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills span[aria-current]{background:#fff!important;color:#0B1D30!important;-webkit-text-fill-color:#0B1D30!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills a.pc{background:#E8B867!important;color:#07131F!important;-webkit-text-fill-color:#07131F!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-size:13px!important;font-weight:600!important;border-radius:4px!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills a.pc:hover{background:#F0C77E!important}
/* Let's talk question bar */
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills .lt-q{color:rgba(255,255,255,.88)!important;-webkit-text-fill-color:rgba(255,255,255,.88)!important;white-space:normal!important;align-self:center}
/* page facts that sit under the hero: same navy, simple numbers, thin dividers */
html body .bt:has(>section.hero.hb) .bxleft{background:#0B1D30!important;padding:0 20px 52px!important;margin:-1px 0 0!important}
html body .bt:has(>section.hero.hb) .bxleft :is(ul,ol){display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:0!important;max-width:900px!important;margin:0 auto!important;padding:28px 0 0!important;border-top:1px solid rgba(255,255,255,.14)!important;list-style:none!important}
html body .bt:has(>section.hero.hb) .bxleft :is(ul,ol)>li{flex:1 1 0!important;max-width:none!important;border:0!important;border-left:1px solid rgba(255,255,255,.14)!important;border-radius:0!important;background:none!important;padding:4px 20px!important;text-align:center!important}
html body .bt:has(>section.hero.hb) .bxleft :is(ul,ol)>li:first-child{border-left:0!important}
html body .bt:has(>section.hero.hb) .bxleft :is(ul,ol)>li :is(b,strong):first-child{display:block!important;font-size:34px!important;font-weight:600!important;letter-spacing:-.03em!important;color:#fff!important;-webkit-text-fill-color:#fff!important;margin:0 0 4px!important}
html body .bt:has(>section.hero.hb) .bxleft :is(ul,ol)>li span{font-size:14px!important;color:rgba(255,255,255,.7)!important;-webkit-text-fill-color:rgba(255,255,255,.7)!important}
/* phones */
@media(max-width:750px){
 html body .bt section.hero.hb.hb.hb.hb:not(#hbx){padding:0 16px 40px!important}
 html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .pic{height:300px!important;margin:0 -16px!important}
 html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .pic::after{height:110px}
 html body .bt section.hero.hb.hb.hb.hb:not(#hbx)>div:not(.pic):nth-child(2){padding-top:30px!important}
 html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .eb{font-size:12px!important;margin-bottom:10px!important}
 html body .bt section.hero.hb.hb.hb.hb:not(#hbx) h1{font-size:clamp(30px,8.6vw,42px)!important;max-width:none!important}
 html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tg{font-size:16px!important;margin-top:12px!important}
 html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills{margin:24px -16px 0!important;width:auto!important;max-width:none!important;border-radius:0!important;border-left:0!important;border-right:0!important;padding:6px 0!important}
 html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills .pl{padding:0 12px!important;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 44px),transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 44px),transparent 100%)}
 html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills .lt-bar{flex-wrap:wrap!important;justify-content:center!important;-webkit-mask-image:none;mask-image:none;gap:10px!important;padding:8px 12px!important}
 html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills .lt-q{text-align:center;font-size:15px!important}
 html body .bt:has(>section.hero.hb) .bxleft{padding:0 16px 40px!important}
 html body .bt:has(>section.hero.hb) .bxleft :is(ul,ol)>li{padding:4px 10px!important}
 html body .bt:has(>section.hero.hb) .bxleft :is(ul,ol)>li :is(b,strong):first-child{font-size:26px!important}
 html body .bt:has(>section.hero.hb) .bxleft :is(ul,ol)>li span{font-size:13px!important}
}
/* pages with no photo: just the navy band, with room for the menu */
html body .bt section.hero.hb.hb.hb.hb.nophoto:not(#hbx) .pic{display:none!important}
html body .bt section.hero.hb.hb.hb.hb.nophoto:not(#hbx){padding-top:150px!important;background:radial-gradient(70% 90% at 50% 0%,#14304E,transparent 70%),#0B1D30!important}
html body .bt section.hero.hb.hb.hb.hb.nophoto:not(#hbx)>div:not(.pic):nth-child(2){padding-top:0!important}
@media(max-width:750px){html body .bt section.hero.hb.hb.hb.hb.nophoto:not(#hbx){padding-top:110px!important}}
/* town pages: a thin line between the hero and the stats band */
html body .bt section.hero.hb+section.stats{border-top:1px solid rgba(255,255,255,.12)}
/* a title that is an image (About page script): keep it a sensible size */
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) h1 img{display:block!important;width:min(100%,520px)!important;height:auto!important;margin:0 auto!important}
@media(max-width:750px){html body .bt section.hero.hb.hb.hb.hb:not(#hbx) h1 img{width:min(100%,320px)!important}}
/* subcopy wider on desktop so it sits on 2 lines, not 3 (Nov 27) */
@media(min-width:1001px){html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tg{max-width:1060px!important}}
/* blue glow at the top of the navy banner (Nov 27) */
html body .bt section.hero.hb.hb.hb.hb:not(#hbx)>div:not(.pic):nth-child(2)::before{content:"";position:absolute;top:0;left:50%;width:100vw;transform:translateX(-50%);height:180px;z-index:-1;pointer-events:none;background:radial-gradient(680px 180px at 50% 0%,rgba(30,80,190,1) 0%,rgba(28,72,175,.66) 22%,rgba(24,62,150,.38) 44%,rgba(19,50,125,.14) 70%,rgba(19,50,125,0) 100%)}
@media(max-width:750px){html body .bt section.hero.hb.hb.hb.hb:not(#hbx)>div:not(.pic):nth-child(2)::before{height:180px;background:radial-gradient(680px 180px at 50% 0%,rgba(30,80,190,1) 0%,rgba(28,72,175,.66) 22%,rgba(24,62,150,.38) 44%,rgba(19,50,125,.14) 70%,rgba(19,50,125,0) 100%)}}
/* title all white, no gold word (Nov 27) */
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) h1 :is(em,span),html body .bt section.hero.hb.hb.hb.hb:not(#hbx) h1{color:#fff!important;-webkit-text-fill-color:#fff!important}
/* gold buttons in the banner now match the home page Search button (Nov 27) */
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills a.pc{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:40px!important;padding:0 22px!important;background:linear-gradient(#fff,#E8EEF4)!important;color:#0B1D30!important;-webkit-text-fill-color:#0B1D30!important;text-transform:none!important;letter-spacing:.35px!important;font-size:14px!important;font-weight:500!important;border-radius:6px!important;border:0!important;box-shadow:inset 0 1px 0 #fff,0 2px 0 rgba(5,15,36,.55),0 14px 24px -12px rgba(0,0,0,.6)!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills a.pc:hover{background:linear-gradient(#fff,#F3F6F9)!important}
html body .bt section.hero.hb.hb.hb.hb:not(#hbx) .tpills a.pc svg{stroke:#0B1D30}
