
/* Natural photographs; targeted protection behind white text.
   Hero video and all layout/scroll transforms are untouched. */

body #riding .rideMedia img,
body #private-groups .fb-images img,
body #expeditions .expeditionPanel > img,
body #encounters .fr-photo-card img {
  filter: brightness(1.04) contrast(1.02) saturate(.96) !important;
  mix-blend-mode: normal !important;
}

/* Riding: protect the two text columns, leaving the centre open. */
body #riding .rideShade {
  opacity: 1 !important;
  background:
    linear-gradient(
      90deg,
      rgba(16,22,18,.55) 0%,
      rgba(16,22,18,.22) 29%,
      rgba(16,22,18,.04) 49%,
      rgba(16,22,18,.20) 68%,
      rgba(16,22,18,.55) 100%
    ),
    linear-gradient(
      0deg,
      rgba(16,22,18,.24),
      transparent 62%
    ) !important;
}

/* Private: preserve the landscape on the left;
   shade the right-hand invitation rather than the whole frame. */
body #private-groups .fb-shade {
  opacity: 1 !important;
  background:
    linear-gradient(
      90deg,
      rgba(16,22,18,.06) 0%,
      rgba(16,22,18,.12) 32%,
      rgba(16,22,18,.43) 63%,
      rgba(16,22,18,.55) 100%
    ),
    linear-gradient(
      0deg,
      rgba(16,22,18,.18),
      transparent 65%
    ) !important;
}

/* Expedition cards: shade the caption area, retain clear skies. */
body #expeditions .expeditionPanel::after {
  background: linear-gradient(
    0deg,
    rgba(16,22,18,.72) 0%,
    rgba(16,22,18,.38) 28%,
    rgba(16,22,18,.08) 62%,
    transparent 85%
  ) !important;
}

/* Cultural photographs: the same bottom-led caption treatment. */
body #encounters .fr-photo-card {
  isolation: isolate;
}

body #encounters .fr-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 1 !important;
  background: linear-gradient(
    0deg,
    rgba(16,22,18,.64) 0%,
    rgba(16,22,18,.25) 23%,
    transparent 55%
  ) !important;
}

body #encounters .fr-photo-card h2,
body #encounters .fr-photo-card h3,
body #encounters .fr-photo-card figcaption,
body #encounters .fr-photo-card .fr-photo-title {
  z-index: 2 !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.22);
}

@media (max-width: 750px) {
  body #riding .rideShade,
  body #private-groups .fb-shade {
    background:
      linear-gradient(
        0deg,
        rgba(16,22,18,.68) 0%,
        rgba(16,22,18,.38) 46%,
        rgba(16,22,18,.10) 100%
      ) !important;
  }
}
