/* Approved full-width Today hero. Existing carousel DOM and foreground geometry stay intact. */
body.bp-hero-bleed { position: relative; isolation: isolate; }

.bp-hero-bleed .hero.today-hero {
  overflow: visible;
  isolation: auto;
  background: transparent;
  border-color: transparent;
  border-radius: 0;
}

.bp-hero-bleed .today-hero-photos {
  inset: auto;
  left: calc(-1 * var(--bp-hero-left));
  top: calc(-1 * var(--bp-hero-top));
  width: var(--bp-hero-width);
  height: var(--bp-hero-height);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

/* The final stop uses the current theme colour, so the image has no hard bottom edge. */
.bp-hero-bleed .today-hero-photos::after {
  opacity: 1;
  background:
    linear-gradient(to bottom,
      color-mix(in srgb, var(--bp-page) 4%, transparent) 0%,
      color-mix(in srgb, var(--bp-page) 6%, transparent) 22%,
      color-mix(in srgb, var(--bp-page) 18%, transparent) 40%,
      color-mix(in srgb, var(--bp-page) 43%, transparent) 58%,
      color-mix(in srgb, var(--bp-page) 72%, transparent) 76%,
      color-mix(in srgb, var(--bp-page) 93%, transparent) 91%,
      var(--bp-page) 100%),
    linear-gradient(90deg, rgb(8 15 22 / .72) 0%, rgb(8 15 22 / .43) 32%, rgb(8 15 22 / .12) 75%, rgb(8 15 22 / .15) 100%);
}

.bp-hero-bleed:not(.bp-hero-past) .top,
:root[data-theme="dark"] .bp-hero-bleed:not(.bp-hero-past) .top { background: transparent; }
.bp-hero-bleed:not(.bp-hero-past) .top > p { color: #fff; text-shadow: 0 1px 5px rgb(0 0 0 / .8); }
.bp-hero-bleed:not(.bp-hero-past) .top .today-edit-link { color: #fff; }
.bp-hero-bleed:not(.bp-hero-past) .top .brand-logo-light { display: none; }
.bp-hero-bleed:not(.bp-hero-past) .top .brand-logo-dark { display: block; }

/* Keep the render target present for the existing app, while removing the nav date. */
.top > #today-date { display: none; }
