/* Every page but Home: a shorter banner in the home page's video-hero look (Billy, 2026-10-28:
   "speakers, Agenda and exhibitor, stream pages all in the new theme and branding", and Register
   too). tools/build-page-heroes.py puts it in; loaded after bgc-2026.css and register-form.css.
   A still of the stadium from BGC's hero video (no video here: these pages are about their
   content) under the same grayscale, red-purple-blue wash and dot screen, the header floating
   over it, and the page's own heading lifted into it in white. */

/* The header floats over the banner, as on the home page (bgc-video.css). */
html body.fe-v2-page #brx-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  background: transparent;
}
html body.fe-v2-page #brx-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20, 4, 24, .55), rgba(20, 4, 24, 0));
}

html body.fe-v2-page .fe-phero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(320px, 48vh, 480px);
  padding: clamp(150px, 20vh, 210px) clamp(20px, 5vw, 80px) clamp(36px, 6vh, 64px);
  overflow: hidden;
  color: #fff;
  background: #240014;
}
html body.fe-v2-page .fe-phero::before {
  content: ""; position: absolute; inset: 0;
  background: url("/assets/video/bgc-page-hero.jpg") center 45% / cover no-repeat;
  filter: grayscale(1) contrast(1.15) brightness(.85);
}
html body.fe-v2-page .fe-phero__wash {
  position: absolute; inset: 0;
  background:
    radial-gradient(rgba(0, 0, 0, .28) 1px, transparent 1.3px) 0 0 / 4px 4px,
    linear-gradient(to top, rgba(18, 0, 14, .7) 0%, rgba(18, 0, 14, .15) 60%, rgba(18, 0, 14, 0) 85%),
    linear-gradient(125deg, rgba(227, 6, 19, .78) 0%, rgba(150, 18, 70, .74) 45%, rgba(39, 52, 118, .82) 100%);
}
html body.fe-v2-page .fe-phero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}
/* The heading, whichever page's it is (an h1 on Agenda/Speakers/Exhibitors, the h3 on Register and
   the pages made from it). Its own words and case: AGENDA stays in capitals. */
/* #brx-content: outranks the theme's own per-heading rules (e.g. #brxe-qacwvw on Agenda: 4rem, grey). */
html body.fe-v2-page #brx-content .fe-phero__inner > :is(h1, h2, h3) {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-weight: 500;
  font-size: clamp(3.8rem, 6.4vw, 8rem);
  line-height: 1;
  letter-spacing: -.05em;
  text-align: left;
  text-wrap: balance;
}
html body.fe-v2-page .fe-phero .fe-grad { background: none; color: #fff; -webkit-background-clip: border-box; background-clip: border-box; }
/* The livestream page names the stream once it knows it; until then the banner is just the picture. */
html body.fe-v2-page .fe-phero [hidden] { display: none; }
@media (max-width: 400px) {
  html body.fe-v2-page #brx-content .fe-phero__inner > :is(h1, h2, h3) { font-size: min(3.8rem, calc((100vw - 40px) * .11)); }
}

/* The content that used to start the page now follows the banner: a little less space above it. */
/* (and no red rule on top of it: the theme drew one under the old header picture) */
html body.fe-v2-page #brx-content > .fe-phero + section { padding-top: clamp(48px, 5vw, 72px); border-top: 0; }
/* What came straight after the heading was pulled up under it with a negative margin (-22px to -41px,
   per page); with the heading gone up into the banner that margin would pull it into the banner. */
html body.fe-v2-page #brx-content > .fe-phero + section > :first-child,
html body.fe-v2-page #brx-content > .fe-phero + section > :first-child > :first-child { margin-top: 0; }

@media (forced-colors: active) {
  html body.fe-v2-page .fe-phero__wash, html body.fe-v2-page .fe-phero::before { display: none; }
  /* The header is see-through over the banner; with the banner gone the white logo would sit on a
     light background. Keep the header's own dark blue behind it. */
  html body.fe-v2-page #brx-header { forced-color-adjust: none; background: #273476; }
}
@media print {
  html body.fe-v2-page #brx-header { position: static; }
  html body.fe-v2-page .fe-phero { min-height: 0; padding: 0 0 1em; color: #000; background: none; }
  html body.fe-v2-page .fe-phero__wash, html body.fe-v2-page .fe-phero::before { display: none; }
  /* (same selector as the screen rule, or that one wins and the heading prints white on white: review 2026-10-28) */
  html body.fe-v2-page #brx-content .fe-phero__inner > :is(h1, h2, h3), html body.fe-v2-page .fe-phero .fe-grad { color: #000; }
  html body.fe-v2-page #brx-header .bricks-site-logo { filter: invert(1); } /* the white logo, on paper */
}
