/* v773: --hv-max is now Home-only (1440px) instead of the 2200px site token. */
/* v771 — ONE site-wide width rule (replaces the per-page caps of 1240–1520px).
   Every page wrapper (header, Home, List-side pages, Pulse + all its sub-lists, Deals, External, unit / building pages,
   workspace, footer) now follows the screen width and shares the SAME edges, so header, content and footer line up.
   - Fluid up to --bh-page-max, centred above it (ultra-wide monitors keep a calm outer margin instead of stretched rows).
   - Paddings / gutters of each page are untouched; only the old fixed caps are replaced.
   - Deliberately NOT widened (readability): modals, hero text blocks, search / chip rows, settings forms, tickets.
   Tune: change --bh-page-max below. Roll back: remove the <link> to this file. Presentation only. */
:root{--bh-page-max:2200px;--hv-max:1440px}   /* v773: Home keeps its OWN calm cap (it was 1500px before v771; 2200px stretched it on big monitors). Hero, sections, welcome strip, search, header and footer on Home read --hv-max / --hv-gut. Data pages (List, Pulse...) keep --bh-page-max. */

/* header + sub-header */
html body .header-inner,
html body .smart-back-host,
html body .crumb-inner,
html body .page-banner-inner,
html body .shell{max-width:var(--bh-page-max)}

/* Pulse (all tabs / sub-lists), admin, workspace, deal room */
html body .section.req-cc,
html body .admin-shell,
html body .ws.bw,
html body .bw-page,
html body .dr{max-width:var(--bh-page-max);width:100%;box-sizing:border-box}

/* bars that belong to the page content */
html body .req-share-bar-inner,
html body .req-quickbar-inner,
html body .sab2-inner,
html body .compare-bar-inner{max-width:var(--bh-page-max)}

/* Home is driven by --hv-max / --hv-gut above (css/370-home-align.css) - no per-element caps here, so nothing can drift apart */

/* Deals, unit and building pages, portfolio */
html body .dh-hero-in,
html body .dh-section,
html body .dh-slim-in,
html body .u2,
html body .bld-from,
html body .pb-wrap{max-width:var(--bh-page-max)}

/* header gutter = page gutter, so the logo lines up with the content edge (phones keep their own) */
@media (min-width:641px){ html body .header-inner{padding-inline:var(--hv-gut,28px)} }

/* footer */
html body .bh-f-inner,
html body .bh-f-art,
html body .footer-art,
html body .footer-compact,
html body .footer-bottom{max-width:var(--bh-page-max)}

/* a little more room for the Pulse left rail on big screens */
@media (min-width:1600px){
  html body .req-cc .vc-shell.pp{grid-template-columns:216px minmax(0,1fr)}
}
