/* Published homepage decoration bridge. Each plane remains a native DXPR
 * element. Change only its --us-dxpr-image property to select another image.
 * All other clipping, washes, motion and responsive geometry stay in site CSS.
 */
body #main-content .us-dxpr-home.home-page--portal .home-canvas__motif--learning {
  background-image: linear-gradient(0deg, #dfe6ce 1%, #dfe6ceeb 22%, #dfe6ce00 74%),
    var(--us-dxpr-image, url('/themes/custom/unisonges_theme/images/bgsrc/accueil.jpg'));
}
body #main-content .us-dxpr-home.home-page--portal .home-canvas__motif--orchestra {
  background-image: linear-gradient(0deg, #203d36 5%, transparent 100%),
    var(--us-dxpr-image, url('/themes/custom/unisonges_theme/images/bgsrc/orchestre.jpg'));
}
body #main-content .us-dxpr-home.home-page--portal .home-canvas__motif--concerts {
  background-image: var(--concert-wash), var(--us-dxpr-image, var(--concert-photo));
}
body #main-content .us-dxpr-home.home-page--portal .home-canvas__motif--djam335 {
  background-image: var(--us-dxpr-image, url('/themes/custom/unisonges_theme/images/ornement-ginkgo335.webp'));
}

/* Keep the source composition's opacity, mask and clipping on the original i.
 * Moving these properties onto each child would change their overlap. */
body #main-content .us-dxpr-home.home-page--portal .home-canvas__motif--services335 {
  background-image: none;
}
body #main-content .us-dxpr-home.home-page--portal .home-canvas__motif--services335 > .us-dxpr-decoration {
  position: absolute;
  display: block;
  inset: 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
}
body #main-content .us-dxpr-home.home-page--portal .home-canvas__motif--services335 > .us-dxpr-image-adamsii {
  z-index: 0;
  background-image: var(--us-dxpr-image, url('/themes/custom/unisonges_theme/images/botanique-adamsii357.webp'));
  background-position: 94% 61%;
  background-size: auto 43rem;
}
body #main-content .us-dxpr-home.home-page--portal .home-canvas__motif--services335 > .us-dxpr-image-sage {
  z-index: 1;
  background-image: var(--us-dxpr-image, url('/themes/custom/unisonges_theme/images/botanique-sauge357.webp'));
  background-position: 10% 54%;
  background-size: auto 41rem;
}

/* The source nav is static; the portal remains the absolute containing block. */
body #main-content .us-dxpr-home.home-page--portal .home-reading::after {
  display: none;
}
body #main-content .us-dxpr-home.home-page--portal .home-reading > .us-dxpr-image-damiana {
  position: absolute;
  display: block;
  z-index: -1;
  right: 0;
  bottom: -.5rem;
  width: min(38rem, 65%);
  height: 24rem;
  margin: 0;
  padding: 0;
  border: 0;
  background-image: var(--us-dxpr-image, url('/themes/custom/unisonges_theme/images/botanique-damiana357.webp'));
  background-position: right -2rem bottom -5rem;
  background-size: auto 100%;
  background-repeat: no-repeat;
  opacity: .30;
  -webkit-mask-image: linear-gradient(145deg, transparent 8%, rgba(0,0,0,.12) 35%, rgba(0,0,0,.76) 73%, transparent 100%);
  mask-image: linear-gradient(145deg, transparent 8%, rgba(0,0,0,.12) 35%, rgba(0,0,0,.76) 73%, transparent 100%);
  pointer-events: none;
}

@media (max-width: 760px) {
  body #main-content .us-dxpr-home.home-page--portal .home-canvas__motif--learning {
    background-image: linear-gradient(90deg, #dfe6ce 0%, #dfe6ceaa 35%, #dfe6ce00 100%),
      var(--us-dxpr-image, url('/themes/custom/unisonges_theme/images/bgsrc/accueil.jpg'));
  }
}
@media (max-width: 780px) {
  body #main-content .us-dxpr-home.home-page--portal .home-canvas__motif--services335 > .us-dxpr-image-adamsii {
    background-position: right -2rem center;
    background-size: auto 27rem;
  }
  body #main-content .us-dxpr-home.home-page--portal .home-canvas__motif--services335 > .us-dxpr-image-sage {
    background-position: -4rem 53%;
    background-size: auto 24rem;
  }
}
@media (forced-colors: active), print {
  body #main-content .us-dxpr-home.home-page--portal .home-reading > .us-dxpr-image-damiana {
    display: none;
  }
}
