/*
 * A hero whose text has an element with the class hero-fade-right: on desktop
 * the darkening over the image fades from the theme's 0.45 black on the left
 * to nothing on the right, so the image shows beside a left-hand text box.
 * Loaded only where a hero asks for it (nygb_base_preprocess_paragraph), and
 * kept out of the CSS aggregate: see hero_fade in nygb_base.libraries.yml.
 */
@media (min-width: 992px) {
  .hero--image--mask:has(.hero-fade-right)::before {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
  }
}
