/* The shared navigation reserves exactly the header and BIS strip height.
   These heroes follow that space without an additional top offset. */
section.video-page-hero,
main > section.video-page-hero:first-of-type {
  margin: 0;
  padding: 0;
}

/* Follow each image's own proportions, including after an asset is replaced. */
section.image-page-hero,
main > section.image-page-hero:first-of-type {
  display: block;
  min-height: 0;
  background: #fff;
}

.image-page-hero > img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  z-index: auto;
}

.image-page-hero::after {
  content: none;
}

.image-page-hero--caption .video-page-copy {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(1rem, 3vw, 3rem);
  background: linear-gradient(transparent, rgba(15, 23, 42, .8));
}

.image-page-hero--caption .video-page-title {
  margin: 0;
  font-size: clamp(2rem, 6vw, 5.5rem);
  line-height: 1.1;
}

.image-page-hero--centered .video-page-copy {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
}

.hero-accessible-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
