/* Marshalls University — V16.23: brighter homepage photography.
   Loaded only on index.php, after the existing consolidated CSS.
   Photo-only and poster slides are intentionally not affected. */

/* Desktop: reduce the previous ~89% / 72% dark overlay to 58% / 30%,
   fading nearly to transparent on the right side of each banner. */
.page-home .hero-slider .hero-slide:not(.hero-slide-poster):not(.hero-slide-graduation) > .hero-overlay {
  background: linear-gradient(90deg,
    rgba(6, 10, 17, 0.58) 0%,
    rgba(6, 10, 17, 0.30) 40%,
    rgba(6, 10, 17, 0.06) 74%,
    rgba(6, 10, 17, 0.01) 100%);
}

/* Maintain legibility without obscuring the actual photographs. */
.page-home .hero-slider .hero-slide:not(.hero-slide-poster) .hero-content h1,
.page-home .hero-slider .hero-slide:not(.hero-slide-poster) .hero-content p,
.page-home .hero-slider .hero-slide:not(.hero-slide-poster) .hero-content .eyebrow {
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.35);
}

@media (max-width: 980px) {
  .page-home .hero-slider .hero-slide:not(.hero-slide-poster):not(.hero-slide-graduation) > .hero-overlay {
    background: linear-gradient(90deg,
      rgba(6, 10, 17, 0.62) 0%,
      rgba(6, 10, 17, 0.35) 58%,
      rgba(6, 10, 17, 0.10) 100%);
  }
}

@media (max-width: 600px) {
  .page-home .hero-slider .hero-slide:not(.hero-slide-poster):not(.hero-slide-graduation) > .hero-overlay {
    background: linear-gradient(90deg,
      rgba(6, 10, 17, 0.60) 0%,
      rgba(6, 10, 17, 0.34) 67%,
      rgba(6, 10, 17, 0.16) 100%);
  }
}
