/* Unified main-page heroes: mirrors the Services page header treatment. */
body.dws-unified-hero-page .dws-main-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: clamp(9rem, 14vw, 11rem) 0 clamp(4.5rem, 8vw, 7rem);
  color: #fff;
  text-align: center;
  background-color: #231245;
}
body.dws-unified-hero-page .dws-main-page-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 58%;
  background-image:
    linear-gradient(rgba(49, 46, 129, .2), rgba(35, 18, 69, .28)),
    var(--dws-main-hero-image);
  background-position: center, var(--dws-main-hero-position, center);
  background-size: cover;
  background-repeat: no-repeat;
}
body.dws-unified-hero-page .dws-main-page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    #231245 0%,
    #231245 43%,
    rgba(35, 18, 69, .98) 46%,
    rgba(35, 18, 69, .78) 50%,
    rgba(35, 18, 69, .42) 55%,
    rgba(49, 46, 129, .25) 100%);
}
body.dws-unified-hero-page .dws-main-page-hero > .dws-container {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 1120px);
  margin-inline: auto;
}
body.dws-unified-hero-page .dws-main-page-hero .eyebrow {
  margin: 0 0 1rem;
  color: var(--dws-orange-light, #fed7aa);
}
body.portfolio-page .dws-portfolio-main-hero .eyebrow {
  display: block;
  margin: 0 0 1rem;
  color: var(--dws-orange-light, #fed7aa);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: inherit;
  text-transform: none;
}
body.portfolio-page .dws-portfolio-main-hero .eyebrow::before {
  content: none;
  display: none;
}
body.dws-unified-hero-page .dws-main-page-hero h1 {
  max-width: 980px;
  margin: 0 auto 1.25rem;
  color: #fff;
  font-family: "Outfit", "Inter", Arial, sans-serif;
  font-size: clamp(2.35rem, 6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.04;
  text-wrap: balance;
}
body.dws-unified-hero-page .dws-main-page-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 0 auto 1rem;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.7;
}
body.dws-unified-hero-page .dws-main-page-hero p.dws-hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}
body.dws-unified-hero-page .dws-main-page-hero .dws-redesign-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: 2rem;
}
body.dws-unified-hero-page .dws-main-page-hero .dws-btn {
  min-height: 48px;
}
body.dws-unified-hero-page .dws-main-page-hero .dws-btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .09);
}
body.dws-unified-hero-page .dws-main-page-hero .dws-btn:hover,
body.dws-unified-hero-page .dws-main-page-hero .dws-btn:focus-visible {
  background: #fff;
  color: var(--dws-purple, #3b1e54);
}
body.dws-unified-hero-page .dws-home-main-hero {
  --dws-main-hero-image: url("../assets/img/optimized/performance/homepage-owner-hero-1600.jpg");
  --dws-main-hero-position: center 48%;
}
body.dws-unified-hero-page .dws-products-main-hero {
  --dws-main-hero-image: url("../assets/img/optimized/performance/products-print-design-1600.jpg");
  --dws-main-hero-position: center 52%;
}
body.dws-unified-hero-page .dws-industries-main-hero {
  --dws-main-hero-image: url("../assets/img/optimized/performance/industries-small-business-1600.jpg");
  --dws-main-hero-position: center 50%;
}
body.dws-unified-hero-page .dws-portfolio-main-hero {
  --dws-main-hero-image: url("../portfolio/assets/vasquez-shirts-hero-1600.jpg");
  --dws-main-hero-position: center 52%;
}
body.dws-unified-hero-page .dws-portfolio-main-hero::before {
  width: 80%;
  background-image:
    linear-gradient(90deg, #231245 0%, rgba(35, 18, 69, .98) 18%, rgba(35, 18, 69, .76) 38%, rgba(35, 18, 69, .35) 58%, transparent 74%),
    linear-gradient(rgba(49, 46, 129, .2), rgba(35, 18, 69, .28)),
    var(--dws-main-hero-image);
  background-position: center, center, var(--dws-main-hero-position);
  background-size: cover, cover, cover;
}
body.dws-unified-hero-page .dws-portfolio-main-hero::after {
  background: linear-gradient(90deg,
    #231245 0%,
    #231245 31%,
    rgba(35, 18, 69, .98) 37%,
    rgba(35, 18, 69, .82) 47%,
    rgba(35, 18, 69, .5) 60%,
    rgba(49, 46, 129, .24) 78%,
    rgba(49, 46, 129, .18) 100%);
}
body.dws-unified-hero-page .dws-pricing-new-hero {
  --dws-main-hero-image: url("../assets/img/optimized/performance/pricing-owner-1600.jpg");
  --dws-main-hero-position: center 48%;
}
body.dws-unified-hero-page .dws-about-main-hero {
  --dws-main-hero-image: url("../assets/img/optimized/performance/homepage-owner-hero-1600.jpg");
  --dws-main-hero-position: center 42%;
}
body.dws-unified-hero-page .dws-contact-main-hero {
  --dws-main-hero-image: url("../assets/img/optimized/performance/phonecalls-1600.jpg");
  --dws-main-hero-position: center 50%;
}
@media (max-width: 767.98px) {
  body.dws-unified-hero-page .dws-main-page-hero {
    padding-top: 8rem;
  }
  body.dws-unified-hero-page .dws-main-page-hero > .dws-container {
    width: min(100% - 1.25rem, 1120px);
  }
  body.dws-unified-hero-page .dws-main-page-hero::before {
    width: 72%;
    background-position: center, var(--dws-main-hero-mobile-position, var(--dws-main-hero-position, center));
  }
  body.dws-unified-hero-page .dws-main-page-hero::after {
    background: linear-gradient(90deg,
      #231245 0%,
      #231245 29%,
      rgba(35, 18, 69, .98) 34%,
      rgba(35, 18, 69, .76) 41%,
      rgba(35, 18, 69, .42) 50%,
      rgba(49, 46, 129, .28) 100%);
  }
  body.dws-unified-hero-page .dws-main-page-hero .dws-redesign-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 430px);
    margin-inline: auto;
  }
  body.dws-unified-hero-page .dws-main-page-hero .dws-btn {
    width: 100%;
  }
  body.dws-unified-hero-page .dws-portfolio-main-hero {
    --dws-main-hero-image: url("../portfolio/assets/vasquez-shirts-hero-960.jpg");
    --dws-main-hero-mobile-position: 56% center;
  }
  body.dws-unified-hero-page .dws-portfolio-main-hero::before {
    width: 88%;
    background-position: center, center, var(--dws-main-hero-mobile-position);
    background-size: cover, cover, cover;
  }
  body.dws-unified-hero-page .dws-portfolio-main-hero::after {
    background: linear-gradient(90deg,
      #231245 0%,
      #231245 20%,
      rgba(35, 18, 69, .98) 27%,
      rgba(35, 18, 69, .82) 39%,
      rgba(35, 18, 69, .52) 55%,
      rgba(49, 46, 129, .28) 76%,
      rgba(49, 46, 129, .2) 100%);
  }
}
