/* EnginesDIY product-first homepage hero v2.0 */

html.route-common-home .ed-brand-hero {
  color: #24313b !important;
  background: #f8f4ee !important;
  border-top: 1px solid #ece5db;
  border-bottom: 1px solid #e5ddd2;
}

html.route-common-home .ed-brand-hero__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: 1 !important;
  filter: none !important;
}

html.route-common-home .ed-brand-hero__media::after {
  background: linear-gradient(90deg,
    rgba(250, 247, 242, .98) 0%,
    rgba(250, 247, 242, .94) 24%,
    rgba(250, 247, 242, .74) 37%,
    rgba(250, 247, 242, .15) 53%,
    rgba(250, 247, 242, 0) 67%) !important;
}

html.route-common-home .ed-brand-hero__grid {
  width: min(calc(100% - 48px), 1420px) !important;
  max-width: 1420px !important;
  margin: 0 auto !important;
}

html.route-common-home .ed-brand-hero__copy {
  max-width: 590px !important;
}

html.route-common-home .ed-brand-hero__eyebrow {
  color: #b85f2a !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
}

html.route-common-home .ed-brand-hero__title {
  max-width: 590px !important;
  margin: 16px 0 18px !important;
  color: #1f2b34 !important;
  font-size: clamp(46px, 4.35vw, 66px) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
  text-shadow: none !important;
}

html.route-common-home .ed-brand-hero__lead {
  max-width: 560px !important;
  margin: 0 !important;
  color: #53616b !important;
  font-size: 17px !important;
  line-height: 1.62 !important;
  text-shadow: none !important;
}

html.route-common-home .ed-brand-hero__actions {
  gap: 12px !important;
  margin-top: 28px !important;
}

html.route-common-home .ed-brand-hero .ed-btn {
  min-height: 50px !important;
  padding: 0 27px !important;
  border-radius: 9px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

html.route-common-home .ed-brand-hero .ed-btn--primary {
  color: #ffffff !important;
  background: #bf642c !important;
  border-color: #bf642c !important;
}

html.route-common-home .ed-brand-hero .ed-btn--primary:hover {
  background: #9e4f22 !important;
  border-color: #9e4f22 !important;
  transform: translateY(-1px);
}

html.route-common-home .ed-brand-hero .ed-btn--ghost {
  color: #293842 !important;
  background: rgba(255, 255, 255, .74) !important;
  border-color: #9ba5ac !important;
}

html.route-common-home .ed-brand-hero .ed-btn--ghost:hover {
  color: #9e4f22 !important;
  background: #ffffff !important;
  border-color: #bf642c !important;
}

html.route-common-home .ed-brand-hero__chips {
  gap: 9px 20px !important;
  margin-top: 28px !important;
  color: #394852 !important;
  font-size: 12px !important;
  text-shadow: none !important;
}

html.route-common-home .ed-brand-hero__chips span::before {
  color: #bf642c !important;
}

@media (min-width: 768px) {
  html.route-common-home .ed-brand-hero,
  html.route-common-home .ed-brand-hero__grid {
    min-height: 565px !important;
  }

  html.route-common-home .ed-brand-hero__grid {
    align-items: center !important;
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }
}

@media (max-width: 767px) {
  html.route-common-home .ed-brand-hero {
    min-height: 0 !important;
    background: #ffffff !important;
  }

  html.route-common-home .ed-brand-hero__media {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 300px !important;
    overflow: hidden !important;
    background: #f8f4ee !important;
  }

  html.route-common-home .ed-brand-hero__media img {
    object-position: 69% center !important;
  }

  html.route-common-home .ed-brand-hero__media::after {
    background: linear-gradient(0deg, #ffffff 0%, rgba(255,255,255,0) 24%) !important;
  }

  html.route-common-home .ed-brand-hero__grid {
    min-height: 0 !important;
    width: 100% !important;
    padding: 28px 20px 40px !important;
  }

  html.route-common-home .ed-brand-hero__copy {
    max-width: none !important;
  }

  html.route-common-home .ed-brand-hero__eyebrow {
    font-size: 11px !important;
    letter-spacing: .13em !important;
  }

  html.route-common-home .ed-brand-hero__title {
    max-width: none !important;
    margin: 12px 0 15px !important;
    font-size: 42px !important;
    line-height: 1.02 !important;
  }

  html.route-common-home .ed-brand-hero__lead {
    max-width: none !important;
    font-size: 15px !important;
    line-height: 1.58 !important;
  }

  html.route-common-home .ed-brand-hero__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    margin-top: 22px !important;
  }

  html.route-common-home .ed-brand-hero .ed-btn {
    width: 100% !important;
  }

  html.route-common-home .ed-brand-hero__chips {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    margin-top: 22px !important;
  }
}
