/* ==========================================================
   V6.4 — HERO SEAM FIX
   Removes the visible vertical backdrop-filter seam between
   the opaque editorial panel and portrait on wide screens.
   The portrait now begins underneath the opaque zone and the
   transition is produced by one continuous gradient.
   ========================================================== */

/* A standalone backdrop-filter strip can render as a visible
   rectangle in Safari/WebKit. Keep desktop transition seamless. */
@media (min-width: 901px) {
  body.v6-site .v6-hero-overlay::after {
    content: none !important;
    display: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
}

/* Wide desktop / fullscreen composition.
   The photo deliberately starts inside the fully opaque dark zone,
   so there can be no exposed gap at the image boundary. */
@media (min-width: 1181px) {
  body.v6-site .v6-hero-photo {
    inset: 0 0 0 28%;
  }

  body.v6-site .v6-hero-overlay {
    background:
      linear-gradient(
        90deg,
        #171719 0%,
        #171719 27%,
        rgba(23,23,25,.998) 32%,
        rgba(23,23,25,.975) 37%,
        rgba(23,23,25,.91) 42%,
        rgba(23,23,25,.78) 47%,
        rgba(23,23,25,.60) 53%,
        rgba(23,23,25,.40) 60%,
        rgba(23,23,25,.23) 67%,
        rgba(23,23,25,.12) 75%,
        rgba(23,23,25,.055) 84%,
        rgba(23,23,25,.025) 100%
      ),
      linear-gradient(
        180deg,
        rgba(10,10,12,.20) 0%,
        rgba(10,10,12,.04) 38%,
        rgba(10,10,12,.02) 62%,
        rgba(10,10,12,.25) 100%
      );
  }
}

/* Extra-wide displays need a slightly longer dissolve so the join
   never reads as two independent panels. */
@media (min-width: 1600px) {
  body.v6-site .v6-hero-photo {
    left: 27%;
  }

  body.v6-site .v6-hero-overlay {
    background:
      linear-gradient(
        90deg,
        #171719 0%,
        #171719 25%,
        rgba(23,23,25,.998) 31%,
        rgba(23,23,25,.96) 37%,
        rgba(23,23,25,.86) 43%,
        rgba(23,23,25,.70) 50%,
        rgba(23,23,25,.51) 57%,
        rgba(23,23,25,.33) 64%,
        rgba(23,23,25,.18) 72%,
        rgba(23,23,25,.09) 80%,
        rgba(23,23,25,.035) 90%,
        rgba(23,23,25,.02) 100%
      ),
      linear-gradient(
        180deg,
        rgba(10,10,12,.18) 0%,
        rgba(10,10,12,.035) 40%,
        rgba(10,10,12,.02) 63%,
        rgba(10,10,12,.24) 100%
      );
  }
}
