/* NWHCU shared article masthead — 2026-10-24
   Apply after nwhcu-article-layout.css. No theme JavaScript is needed to load
   the background image. This overrides the earlier solid-black header patch.
   Root-relative URL works on both nwhcu.net and nwhcu.com.
*/
body.nwhcu-public-article .nwhcu-article-masthead {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: visible;
  background-color: #111111;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url("/images/med-back.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Natural document flow avoids guessed negative margins and title overlaps.
   The contact bar is outside this wrapper and keeps its existing styling. */
body.nwhcu-public-article .nwhcu-article-masthead #nwhcu-primary-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100%;
  z-index: 10;
  margin-top: 0;
  background: transparent !important;
}
body.nwhcu-public-article .nwhcu-article-masthead #nwhcu-primary-header > .navbar-default {
  position: relative !important;
  top: auto !important;
  background: transparent !important;
}
body.nwhcu-public-article .nwhcu-article-masthead #nwhcu-primary-header .navbar,
body.nwhcu-public-article .nwhcu-article-masthead #nwhcu-primary-header #nav {
  background: transparent !important;
}

/* Top-level labels only. Dropdown panels retain the existing theme styling. */
body.nwhcu-public-article .nwhcu-article-masthead #nwhcu-primary-header #nav > li > a {
  color: #ffffff !important;
}
body.nwhcu-public-article .nwhcu-article-masthead #nwhcu-primary-header .navbar-toggler {
  color: #ffffff !important;
  border-color: #ffffff !important;
}

body.nwhcu-public-article .nwhcu-article-hero {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(2.75rem, 6vw, 5.5rem) 0;
  background: transparent;
  color: #ffffff;
}
body.nwhcu-public-article .nwhcu-article-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 4.3vw, 4.25rem);
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
  border: 0;
}
body.nwhcu-public-article .nwhcu-print-title { display: none; }

@media (max-width: 991.98px) {
  body.nwhcu-public-article .nwhcu-article-hero { padding: 2.75rem 0; }
}
@media print {
  body.nwhcu-public-article .nwhcu-article-masthead { display: none !important; }
  body.nwhcu-public-article .nwhcu-print-title { display: block; }
}
