/* Hallmark · component: Fonebook blended hero scenery · theme: existing Fonebook navy · scope: opt-in desktop media · signature: an unframed repair environment · v2.0.0 */
/* Pre-emit critique: P4 H5 E4 S5 R4 V4 · remove the photograph frame and caption strip; keep the existing copy, actions and carousel controls authoritative. */
/* Existing component correction: no new content, interactions, motion, mobile styles or page-wide layout changes. Load after desktop-hero-photos CSS. */
@media (min-width: 980px) {
  body.fb-design-match .fb-home-hero[data-hero-blend] {
    --fbhb-container: 1280px;
    --fbhb-gutters: 64px;
    --fbhb-navy: var(--fbv2-navy, #08172d);
    --fbhb-clear: rgba(8, 23, 45, 0);
    --fbhb-shade-soft: rgba(8, 23, 45, .55);
    --fbhb-shade-strong: rgba(8, 23, 45, .96);
    position: relative;
    isolation: isolate;
    overflow: clip;
    background: var(--fbhb-navy);
  }

  body.fb-design-match .fb-home-hero[data-hero-blend] :is(.hero-inner, .fb-home-hero-toolbar) {
    width: min(var(--fbhb-container), calc(100% - var(--fbhb-gutters)));
  }

  body.fb-design-match .fb-home-hero[data-hero-blend] .fb-home-hero-toolbar {
    position: relative;
    z-index: 3;
  }

  body.fb-design-match .fb-home-hero[data-hero-blend] .hero-inner {
    position: static;
    display: block;
    min-block-size: 440px;
  }

  body.fb-design-match .fb-home-hero[data-hero-blend] .hero-copy {
    position: relative;
    z-index: 2;
    inline-size: 52%;
    max-inline-size: 600px;
    min-block-size: 0;
    margin: 0;
  }

  body.fb-design-match .fb-home-hero[data-hero-blend] :is(.fb-home-hero-visual, .fb-home-hero-visual.has-desktop-photo) {
    position: absolute;
    z-index: 0;
    inset-block: 56px 0;
    inset-inline: auto 0;
    display: block;
    inline-size: min(68%, 1080px);
    min-inline-size: 0;
    min-block-size: 0;
    block-size: auto;
    align-self: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--fbhb-clear);
    box-shadow: none;
    overflow: clip;
    pointer-events: none;
  }

  body.fb-design-match .fb-home-hero[data-hero-blend] .fb-home-hero-visual::after {
    display: none;
    content: none;
  }

  body.fb-design-match .fb-home-hero[data-hero-blend] .fb-home-hero-visual :is(.fb-home-hero-visual-kicker, [data-hero-art], .fb-home-hero-visual-title, .fb-home-hero-visual-signals, [data-hero-photo-caption]) {
    display: none;
  }

  body.fb-design-match .fb-home-hero[data-hero-blend] [data-hero-photo] {
    display: none;
    position: absolute;
    inset: 0;
    min-inline-size: 0;
    block-size: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--fbhb-clear);
    overflow: clip;
  }

  body.fb-design-match .fb-home-hero[data-hero-blend] .has-desktop-photo [data-hero-photo]:not([hidden]) {
    display: block;
  }

  body.fb-design-match .fb-home-hero[data-hero-blend] [data-hero-photo] picture,
  body.fb-design-match .fb-home-hero[data-hero-blend] [data-hero-photo-image] {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
  }

  body.fb-design-match .fb-home-hero[data-hero-blend] [data-hero-photo] [data-hero-photo-image] {
    object-fit: cover;
    object-position: var(--fbhp-photo-position, 70% 50%);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--fbhb-clear);
  }

  /* The opaque outer stops meet the page exactly. The clear centre keeps the
     scene luminous; the broad left shade protects the existing text measure.
     Gradients remain a useful fallback even without CSS mask support. */
  body.fb-design-match .fb-home-hero[data-hero-blend] [data-hero-photo]::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    content: "";
    background:
      linear-gradient(90deg, var(--fbhb-navy) 0%, var(--fbhb-navy) 7%, var(--fbhb-shade-strong) 22%, var(--fbhb-shade-soft) 38%, var(--fbhb-clear) 53%, var(--fbhb-clear) 94%, var(--fbhb-navy) 100%),
      linear-gradient(180deg, var(--fbhb-navy) 0%, var(--fbhb-shade-soft) 8%, var(--fbhb-clear) 23%, var(--fbhb-clear) 72%, var(--fbhb-shade-soft) 90%, var(--fbhb-navy) 100%);
    pointer-events: none;
  }
}

@media (min-width: 980px) and (forced-colors: active) {
  body.fb-design-match .fb-home-hero[data-hero-blend] .fb-home-hero-visual {
    display: none;
  }
}
