
/* Homepage Private Expeditions photograph only. */

body #private-groups .fb-images {
  isolation: isolate;
  background: none !important;
  filter: none !important;
}

body #private-groups .fb-images > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  transition: none !important;
}

/* Same lighter overlay as the riding section.
   Strongest on the right, where the invitation sits. */

body #private-groups .fb-images::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  background: linear-gradient(
    90deg,
    rgba(14,20,17,.25) 0%,
    rgba(14,20,17,.50) 100%
  );
}

/* Prevent the old overlay from adding a second dark layer. */
body #private-groups .fb-shade {
  display: none !important;
  background: none !important;
}

@media (max-width: 750px) {
  body #private-groups .fb-images::after {
    background: linear-gradient(
      0deg,
      rgba(14,20,17,.52) 0%,
      rgba(14,20,17,.20) 100%
    );
  }
}








/* PRIVATE_PHOTO_POSITION_START */
@media (min-width: 751px) {
  body #private-groups .fb-images {
    overflow: hidden !important;
  }

  body #private-groups .fb-images > img {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: right center !important;

    /* Zoom toward the right edge, expanding the photo leftwards. */
    transform-origin: right center !important;
    transform: scale(1.2) !important;
    translate: none !important;
    scale: none !important;
  }
}
/* PRIVATE_PHOTO_POSITION_END */
