/* Home only: keep the HERO copy above its decorative scrims. */
main.page-content > .hero > .hero-inner > .disp,
main.page-content > .hero > .hero-inner > .hero-sub,
main.page-content > .hero > .search-quick,
main.page-content > .hero > .search-quick > a {
  color: #fff;
  opacity: 1;
  text-shadow: 0 1px 3px rgba(6, 28, 64, .85), 0 2px 12px rgba(6, 28, 64, .55);
}

/* On mobile, static positioning otherwise places the scrims over the copy. */
@media (max-width: 960px) {
  main.page-content > .hero > .hero-inner,
  main.page-content > .hero > .search-quick {
    position: relative;
    z-index: 2;
    inset: auto;
  }

  main.page-content > .hero > .hero-scrim {
    background: linear-gradient(180deg, rgba(6, 28, 64, .30) 0%, rgba(6, 28, 64, .08) 50%, rgba(6, 28, 64, .25) 100%);
  }
}

@media (max-width: 560px) {
  main.page-content > .hero > .hero-inner,
  main.page-content > .hero > .search-quick {
    padding-inline: 16px;
  }

  main.page-content > .hero > .hero-inner > .hero-badge {
    height: auto;
    min-height: 32px;
    padding-block: 5px;
  }
}

/* Only review cards within the home page's sand-colored reviews section. */
main.page-content > .hero ~ .container > .section.section-sand > .grid-3 > .review-card {
  box-sizing: border-box;
  min-width: 0;
  padding: 20px;
  border: 1px solid #a7bacb;
  border-radius: 14px;
  background: #fff;
  overflow-wrap: anywhere;
}
