/* Shared leadership photo overlay: a continuous fade across the image. */
.hero .leadership-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, .08) 40%,
    rgba(0, 0, 0, .22) 50%,
    rgba(0, 0, 0, .42) 60%,
    rgba(0, 0, 0, .63) 72%,
    rgba(0, 0, 0, .80) 86%,
    rgba(0, 0, 0, .92) 100%);
}
.hero .leadership-caption {
  z-index: 2;
  background: transparent;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .55);
}
@media (min-width: 768px) {
  /* Only the multipage masthead uses the compact typography being enlarged. */
  body[data-page] .site-header .masthead .brand-title { font-size: 28px; }
  body[data-page] .site-header .masthead .brand-subtitle { font-size: 16px; }
  body[data-page] .site-header .masthead .masthead-navigation .nav a { font-size: 18px; }
  .hero .hero-choices .hero-choice > p {
    position: absolute;
    inset: 100% 0 auto;
    width: 100%;
    min-width: 0;
    max-width: none !important;
    box-sizing: border-box;
  }
  body:not([data-page]) .hero .hero-choices .hero-choice > p {
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
  }
}
@media (768px <= width < 1240px) {
  body[data-page] .site-header .masthead .brand-title { font-size: 22px; }
  body[data-page] .site-header .masthead .brand-subtitle { font-size: 15px; }
}
@media (768px <= width < 960px) {
  body[data-page] .site-header .masthead .brand-title { font-size: 19px; }
  body[data-page] .site-header .masthead .brand-subtitle { font-size: 13px; }
  body[data-page] .site-header .masthead .masthead-navigation .nav a { font-size: 17px; }
}
