/* ZM33 m187: homepage benefits — full content width + hover shimmer */

/* Stretch five benefit tiles across the full site content row */
@media (min-width: 992px) {
  .page-homepage .benefits > .container-fluid {
    width: 100%;
    max-width: none;
  }

  .page-homepage .benefits .row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .page-homepage .benefits .row > [class*="col-"] {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* Shimmering green wash on hover/focus (restored from m126) */
.page-homepage .benefits .benefits__item {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #fff;
  transition: color 0.3s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.page-homepage .benefits .benefits__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    rgba(46, 204, 113, 0) 0%,
    rgba(46, 204, 113, 0.08) 28%,
    rgba(163, 230, 190, 0.42) 48%,
    rgba(39, 174, 96, 0.18) 62%,
    rgba(46, 204, 113, 0) 100%
  );
  background-size: 220% 100%;
  background-position: 120% 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.page-homepage .benefits .benefits__item-image,
.page-homepage .benefits .benefits__item-title {
  position: relative;
  z-index: 1;
}

.page-homepage .benefits a.benefits__item:hover,
.page-homepage .benefits a.benefits__item:focus-visible {
  color: #1f7a45;
  box-shadow: 0 8px 22px rgba(46, 204, 113, 0.14);
}

.page-homepage .benefits a.benefits__item:hover::before,
.page-homepage .benefits a.benefits__item:focus-visible::before {
  opacity: 1;
  animation: zm33-benefits-shimmer-m187 1.55s ease-in-out infinite;
}

@keyframes zm33-benefits-shimmer-m187 {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-homepage .benefits a.benefits__item:hover::before,
  .page-homepage .benefits a.benefits__item:focus-visible::before {
    animation: none;
    background-position: 50% 0;
    opacity: 1;
    background: rgba(46, 204, 113, 0.12);
  }
}
