/* How To hub (pure CSS, no script). Replaces hub-fit-desktop-v1, hub-fold-phone-v1 and the two scripts that set --hk, --hub-fill, --dk and --dx.
   Goal: the first screen ends exactly at the bottom of the window. Phones (640px and under): hero + search band end at the window bottom. Laptop/desktop (1101px+, mouse, or landscape 3:2+): from the top of the page down to the bottom of the first featured guide card.
   --fb is the measured, un-tightened height of that first screen at the current window width (header, breadcrumb and hero text wraps measured at real widths). --cut is how many pixels the window is short (0 when everything fits, capped at the room the spacing can give).
   Each vertical padding or gap gives up its share of --cut, down to its floor; window height is 100vh, then 100svh. When the window is taller than the content, the spare room is spread over the band (desktop, up to 80px) or fills the band (phones). Nothing is hidden, no font size changes; search bar, numbered tags, colours and copy are untouched. */
@media (max-width:640px){
 @media (max-width:367px){html{--fb:853.31px;--hb:357.56px}}
 @media (min-width:368px) and (max-width:397px){html{--fb:827.72px;--hb:331.97px}}
 @media (min-width:398px) and (max-width:640px){html{--fb:790.92px;--hb:295.17px}}
 html{--cut:clamp(0px,calc(var(--fb,790.92px) - 100vh),166px)}
 @supports (height:100svh){html{--cut:clamp(0px,calc(var(--fb,790.92px) - 100svh),166px)}}
 .hw-hero:not(.dkv-hero){padding-top:calc(20px - 0.0723*var(--cut));padding-bottom:calc(20px - 0.0723*var(--cut))}
 .hw-sb-in{padding-top:calc(26px - 0.0843*var(--cut));padding-bottom:calc(24px - 0.0843*var(--cut));row-gap:calc(18px - 0.0602*var(--cut));min-height:calc(100vh - var(--hb,295.17px));min-height:calc(100svh - var(--hb,295.17px));align-content:space-evenly}
 .hw-search-l{margin-bottom:calc(12px - 0.0422*var(--cut))}
 .hw-search-n{margin-top:calc(12px - 0.0602*var(--cut))}
 .hw-sb-side{gap:calc(10px - 0.0301*var(--cut))}
 .hw-sb-stat{padding-top:calc(10px - 0.0301*var(--cut));padding-bottom:calc(10px - 0.0301*var(--cut))}
 .hw-sb-row{padding-top:calc(9px - 0.0301*var(--cut));padding-bottom:calc(9px - 0.0301*var(--cut));row-gap:calc(6px - 0.0181*var(--cut))}
}
@media (min-width:1101px) and (hover:hover) and (pointer:fine),(min-width:1101px) and (min-aspect-ratio:3/2){
 @media (min-width:1101px) and (max-width:1157px){html{--fb:calc(1037.02px + 0.4071*(100vw - 1101px))}}
 @media (min-width:1158px) and (max-width:1179px){html{--fb:calc(1043.45px + 0.4062*(100vw - 1158px))}}
 @media (min-width:1180px) and (max-width:1211px){html{--fb:calc(1040.78px + 0.4002*(100vw - 1180px))}}
 @media (min-width:1212px) and (max-width:1241px){html{--fb:calc(1053.48px + 0.2947*(100vw - 1212px))}}
 @media (min-width:1242px) and (max-width:1267px){html{--fb:calc(1050.73px + 0.2944*(100vw - 1242px))}}
 @media (min-width:1268px) and (max-width:1320px){html{--fb:calc(1046.80px + 0.2948*(100vw - 1268px))}}
 @media (min-width:1321px){html{--fb:1062.12px}}
 html{--cut:clamp(0px,calc(var(--fb,1062.12px) - 100vh),107px);--dx:clamp(0px,calc(100vh - var(--fb,1062.12px)),80px)}
 @supports (height:100svh){html{--cut:clamp(0px,calc(var(--fb,1062.12px) - 100svh),107px);--dx:clamp(0px,calc(100svh - var(--fb,1062.12px)),80px)}}
 .hw-hero:not(.dkv-hero){padding-top:calc(20px - 0.0935*var(--cut));padding-bottom:calc(20px - 0.0935*var(--cut))}
 .hw-sb-in{padding-top:calc(40px - 0.1495*var(--cut) + 0.3*var(--dx));padding-bottom:calc(36px - 0.1495*var(--cut) + 0.3*var(--dx))}
 .hw-search{margin-bottom:calc(36px - 0.2056*var(--cut) + 0.4*var(--dx))}
 .hw-sb-side{gap:calc(10px - 0.028*var(--cut))}
 .hw-sb-row{padding-top:calc(9px - 0.028*var(--cut));padding-bottom:calc(9px - 0.028*var(--cut))}
}
