/* Background layer pinned to each RK horizontal scroll section */
.rk-hscroll-section { position: relative; }

.rk-bgpin-layer{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateZ(0);
}

/* Black overlay to "darken" the image instead of making it look faded over white */
.rk-bgpin-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #000;
  opacity: 0;
}

/* Ensure foreground content sits above the layer */
.rk-hscroll-pin{
  position: relative;
  z-index: 2;
}

/* Make the section background black so any transparency reads as "darker" */
.rk-hscroll-section.rk-bgpin-active{
  background: #000;
}
