/* Green counterparts to the schools' transparent brush heroes.
   Keep the stroke on the media side, clear of copy and navigation. */
.world-workplaces main > section.hero.wash:first-of-type {
  background: var(--page);
}
.hero.wash-green-18-bottom-right {
  --wash: url('/assets/img/wash-green-18-bottom-right.webp');
}
.hero.wash-green-04-bottom-band {
  --wash: url('/assets/img/wash-green-04-bottom-band.webp');
}
.hero.wash-green-02-right-sweep {
  --wash: url('/assets/img/wash-green-02-right-sweep.webp');
}
.hero.wash-green-06-top-right-only {
  --wash: url('/assets/img/wash-green-06-top-right-only.webp');
}
.hero.wash-green-14-right-heavy {
  --wash: url('/assets/img/wash-green-14-right-heavy.webp');
}
.hero.wash-green-16-single-stroke {
  --wash: url('/assets/img/wash-green-16-single-stroke.webp');
}
/* Centered copy on the employees and managers pages: the wash sits flush on the bottom edge, below the closing line.
   Only its top fades, so the green meets the edge of the section. */
.world-workplaces:is(.page-employees, .page-managers) main > section.hero.wash:first-of-type {
  padding-bottom: clamp(150px, 13vw, 200px);
}
.world-workplaces:is(.page-employees, .page-managers) .hero.wash::before {
  left: 0;
  top: auto;
  bottom: 0;
  height: clamp(110px, 10vw, 150px);
  background-position: center bottom;
  background-size: 100% auto;
  -webkit-mask-image: linear-gradient(transparent, #000 60%),
    linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
  mask-image: linear-gradient(transparent, #000 60%),
    linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
}
@media (max-width: 1024px) {
  /* The copy stacks above the artwork; anchor each stroke to the artwork. */
  .world-workplaces .hero.wash::before {
    height: 42%;
    max-height: 420px;
  }
  .world-workplaces:is(.page-employees, .page-managers) main > section.hero.wash:first-of-type {
    padding-bottom: 110px;
  }
  .world-workplaces:is(.page-employees, .page-managers) .hero.wash::before {
    height: 85px;
    -webkit-mask-image: linear-gradient(transparent, #000 60%);
    mask-image: linear-gradient(transparent, #000 60%);
  }
}
