/* ==========================================================================
   WWD - Hero Guidelines — photo hero with navy overlay, eyebrow pill,
   gradient-accent heading, and lede. Scoped under .wwd-hgl.
   No font-family / @import on purpose: the theme's fonts apply automatically.
   Background image is field-driven (module.html scope_css); the navy
   background-color below keeps text readable if no image is set.
   ========================================================================== */

.wwd-hgl,
.wwd-hgl * {
  box-sizing: border-box;
}

.wwd-hgl {
  position: relative;
  min-height: 52vh;
  display: grid;
  place-items: center;
  padding: 96px 24px;
  text-align: center;
  background-color: #081F4A;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Navy overlay for text legibility over any photo */
.wwd-hgl::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,31,74,.82) 0%, rgba(8,31,74,.62) 55%, rgba(8,31,74,.78) 100%);
}

.wwd-hgl__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.wwd-hgl__tag {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

/* !important: child.css forces h1 to 50px at <=479px, which would break the
   fluid scale — this higher-specificity rule wins at every width. */
.wwd-hgl h1.wwd-hgl__title {
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: 1.02;
  color: #fff;
  margin: 0 0 16px;
  font-size: clamp(40px, 6.5vw, 78px) !important;
}

/* Gradient accent: blue → gold (solid gold where text clipping isn't supported) */
.wwd-hgl__grad { color: #F8AC16; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wwd-hgl__grad {
    background: linear-gradient(90deg, #4D8DFF 0%, #F8AC16 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.wwd-hgl__lede {
  max-width: 52ch;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,.92);
}

@media (max-width: 480px) {
  .wwd-hgl { padding: 72px 20px; }
}
