/* Wild Gaze – listing card image bridge (bottom band) & hero text shields */

:root {
  --wg-card-img-overlay: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.16) 45%,
    rgba(0, 0, 0, 0) 100%
  );
  --wg-soft-card-overlay: var(--wg-card-img-overlay);
  --wg-card-overlay-height: 28%;
  --wg-soft-hero-overlay: var(--wg-hero-overlay, linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.06) 42%,
    rgba(0, 0, 0, 0) 100%
  ));
}

/* Listing cards: destination grids, accommodation grids, tour carousels */
.wg-destinations .wg-img-wrap,
.wg-accom-grid .wg-img-wrap,
.wg-cj-img-wrap,
.wg-pop-itin-img,
.wg-tz-img-wrap,
.wg-tzh-img-wrap {
  position: relative;
  overflow: hidden;
}

.wg-destinations .wg-img-wrap::after,
.wg-accom-grid .wg-img-wrap::after,
.wg-cj-img-wrap::after,
.wg-pop-itin-img::after,
.wg-tz-img-wrap::after,
.wg-tzh-img-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  width: 100%;
  height: var(--wg-card-overlay-height);
  z-index: 2;
  pointer-events: none;
  background: var(--wg-card-img-overlay) !important;
  mix-blend-mode: normal;
}

/* Page heroes – no full-frame wash; text shields live on copy wrappers */
.wg-ph-bg::after,
.wg-tz-hero-bg::after,
.wg-zan-hero-img::after,
.wg-pemba-hero-img::after,
.wg-kili-hero-img::after,
[class*="-hero-img"]:not(.wg-home-hero-slide)::after,
[class*="-hero-bg"]:not(.wg-home-hero-slide)::after {
  content: none;
  background: none !important;
}

.wg-ph-bg::before,
.wg-tz-hero-bg::before,
[class*="-hero-bg"]:not(.wg-home-hero-slide)::before {
  content: none;
  background: none !important;
}

/* Homepage slideshow – raw photography */
.wg-home-hero-slide::before,
.wg-home-hero-slide::after,
.wg-home-hero-slide img::before,
.wg-home-hero-slide img::after {
  background: none !important;
  mix-blend-mode: normal !important;
}

/* Badges above image bridge */
.wg-tag,
.wg-tz-badge,
.wg-cj-badge,
.wg-pop-itin-dur,
.wg-pop-itin-popular,
[class*="-badge"] {
  z-index: 3;
}
