/* U-05: on public pages that lead with a picture, the picture is sized to the window so it covers the first screen
   (the layout of the Home stage). Browser widths only; phones keep their own sizes (phone pass is done last).
   --bl-vh is the full window height in page px (revamp.css divides by the 0.8 zoom above 1100px), so these heights
   stay right at any browser size. The page title or the next section is allowed to start at the fold.
   Loaded after the page style sheets so these heights win; every height has a floor and a cap (1400px, enough for a 2560px-wide window). */

/* Stories: the "why blue, why lemon" picture (the first block; the heading above it is about 140px) */
@media (min-width: 901px) {
    .bl-stories-brand-media { aspect-ratio: auto; height: clamp(320px, calc(var(--bl-vh) - var(--bl-nav-height) - 207px), 1400px); }
}

/* Experience detail: the photo gallery sits right under the navigation and is sized so the title, the facts, the tags and the Run by strip all show on the first screen */
@media (min-width: 901px) {
    .bl-detail { padding-top: 12px; }
    .bl-detail-gallery { height: clamp(300px, calc(var(--bl-vh) - var(--bl-nav-height) - 335px), 1200px); }
}

/* Safety: the hero picture beside the headline (two columns from 992px). About is sized by the page-fit rules in revamp-info.css (U-13) */
@media (min-width: 992px) {
    .bl-safety-figure { height: clamp(300px, calc(var(--bl-vh) - var(--bl-nav-height) - 88px), 1400px); }
}

/* Host community, Host resources: the hero picture (two columns from 1025px) */
@media (min-width: 1025px) {
    .bl-comm-visual { height: clamp(280px, calc(var(--bl-vh) - var(--bl-nav-height) - 88px), 1400px); }
    .bl-res-hero-visual { height: clamp(220px, calc(var(--bl-vh) - var(--bl-nav-height) - 88px), 1400px); }
}
