/* Hero text treatment. One place for every page with a photo hero.
   Rule (checked by .github/scripts/hero_contrast.js): over the brightest pixel
   behind it, the subtitle measures at least 4.5:1 and the headline gold at
   least 3:1, at 1440 and 390 wide.
   Desktop: the scrim stays dark through the text column and falls away so the
   right half of the photo shows. Phone: dark at the top where the short copy
   sits, the photo shows beneath it. The homepage hero is centered, so it uses
   an even scrim instead (class hero--center). */
.hero-sub,.hero-desc,.hero .subtext{color:rgba(255,255,255,.82)}
.hero-overlay{background:linear-gradient(to right,rgba(11,14,17,.92) 0%,rgba(11,14,17,.88) 58%,rgba(11,14,17,.76) 70%,rgba(11,14,17,.32) 84%,rgba(11,14,17,.12) 100%)}
.hero--center .hero-overlay{background:linear-gradient(to bottom,rgba(11,14,17,.82) 0%,rgba(11,14,17,.78) 60%,rgba(11,14,17,.72) 100%)}
/* hero--bright: for a photo too light for the standard column (Community). Prefer a darker crop or photo before reaching for this. */
.hero--bright .hero-overlay{background:linear-gradient(to right,rgba(11,14,17,.95) 0%,rgba(11,14,17,.92) 60%,rgba(11,14,17,.82) 72%,rgba(11,14,17,.48) 86%,rgba(11,14,17,.28) 100%)}
/* Subtitles carry a full version for desktop and a one-sentence version for phones. */
.hero-sub-short{display:none}
@media(max-width:768px){
  .hero:not(.hero--center) .hero-overlay{background:linear-gradient(to bottom,rgba(11,14,17,.90) 0%,rgba(11,14,17,.86) 56%,rgba(11,14,17,.52) 80%,rgba(11,14,17,.24) 100%)}
  .hero--center .hero-overlay{background:linear-gradient(to bottom,rgba(11,14,17,.84) 0%,rgba(11,14,17,.80) 60%,rgba(11,14,17,.74) 100%)}
  .hero.hero--bright .hero-overlay{background:linear-gradient(to bottom,rgba(11,14,17,.92) 0%,rgba(11,14,17,.88) 70%,rgba(11,14,17,.78) 100%)}
  .hero-sub-full{display:none}.hero-sub-short{display:inline}
}
