/* v1.65.43 Ad landing pages: short photo band hero, modeled on /lp/sell-for-less/.
 * body.bb-lp-band only (/lp/buyer-cash-back/, /buyer-cash-back/, /design-your-home-search/).
 * The photo + navy overlay stop just under the subtitle (height set by bb-lp-band.js as --bb-band);
 * below that the hero continues on the same blue as the calculator section. Without JS the old full photo shows. */

/* Blue below the band (same as .bbp-sec--blue). */
body.bb-lp-band .bb-lp-hero.is-banded,
body.bb-lp-band .bbp-hero.is-banded {
  background: linear-gradient(180deg, var(--srq-blue, #124275) 0%, var(--srq-navy, #0D2E52) 100%) !important;
  isolation: isolate;
  min-height: 0 !important;
}
/* Paid / design template: photo on ::before, overlay on ::after. */
body.bb-lp-band .bb-lp-hero.is-banded::before,
body.bb-lp-band .bb-lp-hero.is-banded::after {
  bottom: auto !important;
  height: var(--bb-band, 100%) !important;
}
/* Site template (/buyer-cash-back/): photo was on the section itself; put photo + overlay on ::before. */
body.bb-lp-band .bbp-hero.is-banded::before {
  bottom: auto !important;
  height: var(--bb-band, 100%) !important;
  background:
    linear-gradient(180deg, rgba(9,30,58,.66) 0%, rgba(9,30,58,.52) 40%, rgba(9,30,58,.74) 100%),
    var(--bbp-bg) center / cover no-repeat !important;
  z-index: -1 !important;
}

/* Content right after the subtitle starts below the photo band. */
body.bb-lp-band .bb-lp-hero.is-banded .bb-lp-cashbox__lines,
body.bb-lp-band .bbp-hero.is-banded .bbp-hero__actions,
body.bb-lp-band .bb-lp-hero.is-banded .bb-lp-hero__form {
  margin-top: 44px !important;
}
@media (max-width: 768px) {
  body.bb-lp-band .bb-lp-hero.is-banded .bb-lp-cashbox__lines,
  body.bb-lp-band .bbp-hero.is-banded .bbp-hero__actions,
  body.bb-lp-band .bb-lp-hero.is-banded .bb-lp-hero__form {
    margin-top: 34px !important;
  }
}

/* Design page: "Just Answer a Few Questions" becomes the underlined one-line subtitle (Sell For Less style). */
body.bb-lp-band--design-your-home-search .bb-lp-hero__inner > a.bb-lp-askbtn {
  display: inline-flex !important; align-items: center; justify-content: center; align-self: center; gap: 10px;
  width: auto !important; max-width: 100%; min-height: 0 !important; margin: 16px auto 0 !important; padding: 0 !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  color: #fff !important; font-family: Poppins, sans-serif; font-weight: 800; font-size: 40px !important; line-height: 1.1 !important;
  letter-spacing: .02em; text-transform: none !important; text-align: center;
  text-decoration: underline !important; text-decoration-color: rgba(255,255,255,.85); text-decoration-thickness: 2px; text-underline-offset: 8px;
  text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
body.bb-lp-band--design-your-home-search .bb-lp-hero__inner > a.bb-lp-askbtn::after {
  content: ""; display: inline-block; width: 12px; height: 12px; margin-top: 4px; flex: 0 0 auto;
  border-right: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(45deg);
}
@media (max-width: 768px) {
  body.bb-lp-band--design-your-home-search .bb-lp-hero__inner > a.bb-lp-askbtn {
    display: inline-block !important; font-size: 28px !important; line-height: 1.15 !important;
  }
  body.bb-lp-band--design-your-home-search .bb-lp-hero__inner > a.bb-lp-askbtn::after { margin: 0 0 6px 10px; vertical-align: middle; }
}

/* /lp/buyer-cash-back/: tighten the stack so How It Works rises. */
body.bb-lp-band--lp-buyer-cash-back .bb-lp-hero.is-banded { padding-bottom: 36px !important; }
body.bb-lp-band--lp-buyer-cash-back .bb-lp-hero.is-banded .bb-lp-hero__inner--center { gap: 12px !important; }
body.bb-lp-band--lp-buyer-cash-back .bb-lp-hero.is-banded .bb-lp-cashbox { padding: 0 !important; margin: 0 !important; }
body.bb-lp-band--lp-buyer-cash-back .bb-lp-hero.is-banded .bb-lp-cashbox__lines li { margin-bottom: 4px !important; }
body.bb-lp-band--lp-buyer-cash-back .bb-lp-hero.is-banded .bb-lp-askbtn { margin-top: 20px !important; }
@media (max-width: 768px) {
  body.bb-lp-band--lp-buyer-cash-back .bb-lp-hero.is-banded { padding-bottom: 28px !important; }
}

/* /design-your-home-search/: keep the subtitle close to the title and the form close to the band. */
body.bb-lp-band--design-your-home-search .bb-lp-hero__inner > a.bb-lp-askbtn { margin-top: 6px !important; }
body.bb-lp-band--design-your-home-search .bb-lp-hero.is-banded .bb-lp-hero__form { margin-top: 36px !important; }
@media (max-width: 768px) {
  body.bb-lp-band--design-your-home-search .bb-lp-hero.is-banded .bb-lp-hero__form { margin-top: 28px !important; }
}
/* /buyer-cash-back/: calculator button at the 20px minimum on phones too. */
body.bb-lp-band--buyer-cash-back .bbp-hero__actions .bbh-btn { font-size: 20px !important; }

/* /design-your-home-search/: bullets removed (John, Nov 23); the one remaining sentence is larger for balance. */
html body.bb-lp-band--design-your-home-search .bb-lp-viscopy .bb-lp-viscopy__intro {
  font-size: 26px !important; line-height: 1.4 !important; margin: 0 !important; text-align: center;
}
@media (max-width: 768px) {
  html body.bb-lp-band--design-your-home-search .bb-lp-viscopy .bb-lp-viscopy__intro { font-size: 20px !important; }
}

/* /sell-for-less-commission/ interior twin of /lp/sell-for-less/ (Nov 23): clear the overlaid site header on desktop, title stays centered. */
@media (min-width: 769px) {
  html body.bb-lp-sfl-interior .bb-lp-hero { padding-top: 220px !important; padding-bottom: 48px !important; }
}
