/* Shared by the public site and the block editor. */
.bng-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 340px;
  border-radius: 10px;
  background: var(--base-2, #101820);
  color: var(--contrast, #f1f5f9);
}
.bng-home-hero > .wp-block-group__inner-container,
.bng-hero-copy > .wp-block-group__inner-container {
  display: contents;
}
.bng-home-hero .bng-hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0 !important;
  width: 100%;
  height: 100%;
}
.bng-home-hero .bng-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.bng-home-hero .bng-hero-copy {
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 47%;
  min-height: 340px;
  margin: 0 auto 0 0;
  padding: 32px 36px;
  color: var(--contrast, #f1f5f9);
}
.bng-hero-copy > :not(.wp-block-group__inner-container),
.bng-hero-copy > .wp-block-group__inner-container > * { margin-block: 0 16px; }
.bng-hero-copy > :last-child,
.bng-hero-copy > .wp-block-group__inner-container > :last-child { margin-block-end: 0; }
.bng-hero-copy .bng-hero-eyebrow {
  color: var(--accent, #67d8ef);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.bng-hero-copy h1 {
  color: var(--contrast, #f1f5f9);
  font-size: clamp(32px, 3.3vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  text-wrap: balance;
}
.bng-hero-copy p {
  font-size: 18px;
  line-height: 1.55;
}
.bng-hero-copy .bng-hero-disclaimer {
  color: var(--contrast-2, #b7c5d3);
  font-size: 13px;
  line-height: 1.5;
}
.bng-has-home-hero .inside-article {
  padding: 0;
  background: transparent;
}
.bng-has-home-hero .entry-content { margin-block-start: 0; }

@media (max-width: 900px) {
  .bng-home-hero { display: flex; flex-direction: column; min-height: 0; }
  .bng-home-hero .bng-hero-copy {
    order: 0;
    width: 100%;
    min-height: 0;
    padding: 28px 24px;
  }
  .bng-home-hero .bng-hero-art {
    position: static;
    order: 1;
    z-index: auto;
    height: auto;
  }
  .bng-home-hero .bng-hero-art img {
    height: auto;
    aspect-ratio: 2048 / 683;
    object-fit: contain;
  }
  .bng-hero-copy h1 { font-size: clamp(30px, 7vw, 40px); }
  .bng-hero-copy p { font-size: 17px; }
}

@media print {
  .bng-home-hero { background: white; min-height: 0; }
  .bng-home-hero .bng-hero-art { display: none; }
  .bng-home-hero .bng-hero-copy { width: 100%; min-height: 0; padding: 0; }
  .bng-hero-copy h1, .bng-hero-copy p { color: black; }
}
