/* Listing heroes (Portfolio / Blog / Case Study) — same navy as home .b1 + services hero.
   Stripe lives inside the hero so one continuous band. */
.li-hero {
  --li-navy: #233058;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 105% -5%, rgba(238, 61, 37, 0.6), transparent 52%),
    radial-gradient(circle at -10% 105%, rgba(238, 61, 37, 0.28), transparent 48%),
    var(--li-navy) !important;
  background-color: var(--li-navy) !important;
  background-image:
    radial-gradient(circle at 105% -5%, rgba(238, 61, 37, 0.6), transparent 52%),
    radial-gradient(circle at -10% 105%, rgba(238, 61, 37, 0.28), transparent 48%) !important;
}

/* Kill old warm-black / texture overlays on listing heroes */
.li-hero:before,
.li-hero:after,
.b15.li-hero:before,
.b15.li-hero:after,
.b23.li-hero:before,
.b23.li-hero:after {
  display: none !important;
  content: none !important;
}

.li-hero > .container {
  position: relative;
  z-index: 10;
  flex: 1 1 auto;
}

/* Review stripe: same navy as hero, no seam / no divider line */
.li-hero .logos-strip.rp-strip {
  position: relative;
  z-index: 20;
  margin: 0;
  flex: 0 0 auto;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.li-hero .logos-strip.rp-strip::before,
.li-hero .logos-strip.rp-strip::after {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
  width: 0 !important;
}


/* Portfolio / listing hero copy + CTA
   Container grows; copy is vertically centered above the stripe. */
.li-hero.b15,
.li-hero {
  min-height: 38vw;
  padding: 11.5vw 0 0 !important;
}
.li-hero > .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  flex: 1 1 auto;
  width: 100%;
  max-width: 83.62269vw;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-top: 2.5vw;
  padding-bottom: 4vw;
}
.li-hero h1 {
  margin: 0 0 1.2vw;
  color: #fff !important;
  opacity: 1 !important;
}
.li-hero .lede {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.15vw, 1.25rem);
  line-height: 1.65;
  margin: 0 0 2vw;
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.72);
}
.li-hero .li-cta {
  display: inline-flex;
  margin: 0;
}
.li-hero .li-cta p {
  text-transform: uppercase;
}
.li-hero .logos-strip.rp-strip {
  padding-top: 1.6vw;
  padding-bottom: 1.3vw;
}
@media (max-width: 700px) {
  .li-hero.b15,
  .li-hero {
    min-height: 88vw;
    padding: 28vw 0 0 !important;
  }
  .li-hero > .container {
    padding-top: 4vw;
    padding-bottom: 8vw;
  }
  .li-hero .lede {
    font-size: 3.8vw;
    margin-bottom: 5vw;
    max-width: 100%;
  }
}
