/* Homepage desktop hero only. Complement the phone/touch-tablet breakpoint. */
@media (min-width: 1025px) {
  :is(.catalog-home, .directions-page, .methods-page) .service-stats-hero.wb-preserved-hero {
    width: min(1800px, calc(100vw - 64px));
    max-width: none;
    margin-inline: calc((100% - min(1800px, 100vw - 64px)) / 2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 440px;
    gap: 18px;
    padding: 32px 44px 86px;
    box-sizing: border-box;
    background: #dcecf7 url('/assets/hero/desktop-people-blue-20261103.webp') center 30% / cover no-repeat;
  }
  :is(.catalog-home, .directions-page, .methods-page) .service-stats-hero > .wb-preserved-hero-copy {
    display: block;
    align-self: center;
    width: 100%;
    max-width: 780px;
    text-align: center;
    transform: none;
  }
  :is(.catalog-home, .directions-page, .methods-page) .service-stats-hero .wb-preserved-hero-copy > h1 {
    max-width: 780px;
    margin: 0 auto;
    color: #153e32;
    font-size: 44px;
    font-weight: 800 !important; /* Override the legacy global heading weight. */
    letter-spacing: -0.025em;
    line-height: 1.06;
    text-align: center;
  }
  :is(.catalog-home, .directions-page, .methods-page) .service-stats-hero .wb-preserved-hero-copy > p {
    max-width: 780px;
    margin: 14px auto 0;
    color: #244c40;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.45;
    text-align: center;
  }
  :is(.catalog-home, .directions-page, .methods-page) .service-stats-hero > .wb-preserved-hero-people { display: none; }
  :is(.catalog-home, .directions-page, .methods-page) .service-stats-hero > .marketplace-service-stats {
    align-self: center;
    width: 100%;
    max-width: 570px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    text-align: center;
  }
  :is(.catalog-home, .directions-page, .methods-page) .service-stats-hero .marketplace-service-stats strong { color: #153e32; font-size: clamp(30px, 2.4vw, 38px); }
  :is(.catalog-home, .directions-page, .methods-page) .service-stats-hero .marketplace-service-stats span { color: #244c40; font-size: clamp(14px, 1.05vw, 17px); }
}
@media (min-width: 1025px) and (max-width: 1100px) {
  :is(.catalog-home, .directions-page, .methods-page) .service-stats-hero.wb-preserved-hero { min-height: 440px; padding: 28px 24px 88px; gap: 16px; }
  :is(.catalog-home, .directions-page, .methods-page) .service-stats-hero > .wb-preserved-hero-copy { max-width: 620px; }
  :is(.catalog-home, .directions-page, .methods-page) .service-stats-hero .wb-preserved-hero-copy > p { max-width: 560px; font-size: 16px; }
  :is(.catalog-home, .directions-page, .methods-page) .service-stats-hero .marketplace-service-stats strong { font-size: 30px; }
}
