/* FRONTIER — PHOTOGRAPHY OVERLAYS
   Changes shading only.
   Original photographs, video, layout and typography remain unchanged.
*/

/* HERO — shade behind the headline; clearer towards the right. */

body #home .heroShade {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .68) 0%,
      rgba(0, 0, 0, .48) 32%,
      rgba(0, 0, 0, .12) 64%,
      transparent 88%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, .24) 0%,
      transparent 45%
    ) !important;
}

/* RIDING — protect both text columns; keep the centre brighter. */

body #riding .rideShade {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .74) 0%,
      rgba(0, 0, 0, .64) 30%,
      rgba(0, 0, 0, .10) 50%,
      rgba(0, 0, 0, .58) 72%,
      rgba(0, 0, 0, .68) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, .20) 0%,
      transparent 58%
    ) !important;
}

/* EXPEDITION CARDS — shade primarily behind the bottom copy. */

body #expeditions .expeditionPanel::after {
  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, .82) 0%,
      rgba(0, 0, 0, .62) 24%,
      rgba(0, 0, 0, .23) 48%,
      rgba(0, 0, 0, .04) 72%,
      transparent 90%
    ) !important;
}

/* PRIVATE EXPEDITIONS — remove the heavy overall wash.
   Keep protection behind the text on both sides.
*/

body #private-groups .fb-shade {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .64) 0%,
      rgba(0, 0, 0, .53) 28%,
      rgba(0, 0, 0, .17) 48%,
      rgba(0, 0, 0, .58) 72%,
      rgba(0, 0, 0, .66) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, .25) 0%,
      rgba(0, 0, 0, .04) 66%,
      transparent 100%
    ) !important;
}

/* MOBILE — broader protection where the text stacks. */

@media (max-width: 700px) {
  body #home .heroShade {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, .58),
        rgba(0, 0, 0, .12)
      ),
      linear-gradient(
        0deg,
        rgba(0, 0, 0, .42) 0%,
        rgba(0, 0, 0, .18) 58%,
        transparent 100%
      ) !important;
  }

  body #riding .rideShade {
    background:
      linear-gradient(
        0deg,
        rgba(0, 0, 0, .84) 0%,
        rgba(0, 0, 0, .73) 46%,
        rgba(0, 0, 0, .40) 76%,
        rgba(0, 0, 0, .16) 100%
      ) !important;
  }

  body #private-groups .fb-shade {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, .36),
        rgba(0, 0, 0, .18)
      ),
      linear-gradient(
        0deg,
        rgba(0, 0, 0, .68) 0%,
        rgba(0, 0, 0, .48) 58%,
        rgba(0, 0, 0, .36) 100%
      ) !important;
  }
}