/* v1.65.41 Hero readability (John, Nov 23): centered, larger, clearly readable hero titles and subtitles
   over background photos. Every page except the homepage (body.home is excluded and this file is not loaded there).
   Subtitles keep the title's background and color (white on the photo, no contrasting box).
   Sizes: subtitle 32px desktop / 22px mobile; titles never under 40px on desktop (larger ones keep their size). */

/* ---------- 1. Site pages: .bbp-hero (offer pages, Home Worth, Free Consultation, PDF Guides, Our Team, Blog, Area Guides hub, Connect, Privacy) ---------- */
body:not(.home) .bbp-hero::before {
  background-image: linear-gradient(180deg, rgba(9, 30, 58, .66) 0%, rgba(9, 30, 58, .52) 40%, rgba(9, 30, 58, .74) 100%) !important;
}
body:not(.home) .bbp-hero .bbp-hero__inner { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
body:not(.home) .bbp-hero .bbp-hero__title,
body:not(.home) .bbp-hero .bbp-hero__lead,
body:not(.home) .bbp-hero .bbp-eyebrow {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}
body:not(.home) .bbp-hero .bbp-hero__title {
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .55), 0 0 28px rgba(0, 0, 0, .45) !important;
}
body:not(.home) .bbp-hero .bbp-hero__lead {
  color: #fff !important;
  background: transparent !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .6), 0 0 22px rgba(0, 0, 0, .45) !important;
  max-width: 1000px !important;
}
body:not(.home) .bbp-hero .bbp-hero__actions,
body:not(.home) .bbp-hero .bbg-tabs,
body:not(.home) .bbp-hero .bbw-cta2 { justify-content: center !important; margin-left: auto !important; margin-right: auto !important; }

/* ---------- 2. Paid / campaign landing pages: .bb-lp-hero ---------- */
body:not(.home) .bb-lp-hero .bb-lp-hero__copy,
body:not(.home) .bb-lp-hero .bb-lp-hero__copy h1,
body:not(.home) .bb-lp-hero .bb-lp-hero__lead,
body:not(.home) .bb-lp-hero .bb-lp-hero__eyebrow { text-align: center !important; }
body:not(.home) .bb-lp-hero .bb-lp-hero__bullets { text-align: left; display: inline-block; }
body:not(.home) .bb-lp-hero h1,
body:not(.home) .bb-lp-hero .bb-lp-hero__title-center {
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .55), 0 0 28px rgba(0, 0, 0, .45) !important;
}
body:not(.home) .bb-lp-hero .bb-lp-hero__lead,
body:not(.home) .bb-lp-hero .bb-lp-cashbox__lead {
  color: #fff !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .6), 0 0 22px rgba(0, 0, 0, .45) !important;
}
/* Cash-back LP subtitle box: same background as the title (no contrasting box). */
body:not(.home) .bb-lp-hero .bb-lp-cashbox {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body:not(.home) .bb-lp-hero .bb-lp-cashbox__lines li {
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .6), 0 0 18px rgba(0, 0, 0, .45) !important;
}

/* ---------- 3. Area guides and blog posts: .bbm-hero ---------- */
body:not(.home) .bbm-hero.has-photo::after {
  background-image: linear-gradient(180deg, rgba(6, 18, 34, .45) 0%, rgba(6, 18, 34, .35) 45%, rgba(6, 18, 34, .6) 100%),
    radial-gradient(at 50% 60%, rgba(6, 18, 34, .6), rgba(6, 18, 34, .2) 75%) !important;
}
body:not(.home) .bbm-hero .bbm-hero__title,
body:not(.home) .bbm-hero .bbm-hero__t {
  text-shadow: 0 2px 4px rgba(0, 0, 0, .55), 0 0 30px rgba(0, 0, 0, .45) !important;
}
/* "The Complete Guide" line under the title: same color as the title, larger. */
body:not(.home) .bbm-hero .bbm-hero__sub {
  color: #fff !important;
  font-size: 22px !important;
  letter-spacing: .28em !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .6) !important;
}
body:not(.home) .bbm-hero .bbm-hero__deck {
  color: #fff !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .6), 0 0 22px rgba(0, 0, 0, .45) !important;
}

/* ---------- 4. Books hero ---------- */
body:not(.home) .bbb-hero2 .bbb-hero2__copy { text-align: center !important; }
body:not(.home) .bbb-hero2 .bbb-hero2__lead { color: #fff !important; font-weight: 600 !important; margin-left: auto; margin-right: auto; }
body:not(.home) .bbb-hero2 .bbb-hero2__actions { justify-content: center !important; align-items: center !important; }

/* Forms inside a hero keep left-aligned labels and fields. */
body:not(.home) .bbp-hero form,
body:not(.home) .bb-lp-hero form,
body:not(.home) .bbm-hero form { text-align: left !important; }
body:not(.home) .bbp-hero form label,
body:not(.home) .bb-lp-hero form label { text-align: left !important; }

/* ---------- Sizes: desktop ---------- */
@media (min-width: 761px) {
  body:not(.home) .bbp-hero .bbp-hero__lead,
  body:not(.home) .bb-lp-hero .bb-lp-hero__lead,
  body:not(.home) .bb-lp-hero .bb-lp-cashbox__lead,
  body:not(.home) .bbm-hero .bbm-hero__deck,
  body:not(.home) .bbb-hero2 .bbb-hero2__lead { font-size: 30px !important; line-height: 1.3 !important; }
  /* Short one-line subtitles (Buyer Cash-Back, Connect) a little larger. */
  body.page-id-47:not(.home) .bbp-hero .bbp-hero__lead,
  body:not(.home) .bb-lp-hero .bb-lp-cashbox__lead,
  body.bbc-page:not(.home) .bbp-hero .bbp-hero__lead { font-size: 34px !important; }
  /* Long subtitles in a half-width column (Home Valuation LP, Books) stay readable without a wall of text. */
  body:not(.home) .bb-lp-hero .bb-lp-hero__lead,
  body:not(.home) .bbb-hero2 .bbb-hero2__lead { font-size: 26px !important; line-height: 1.35 !important; }
  body:not(.home) .bbp-hero .bbp-hero__lead,
  body:not(.home) .bbm-hero .bbm-hero__deck { max-width: 1040px !important; }
  body:not(.home) .bb-lp-hero .bb-lp-cashbox__lines li { font-size: 24px !important; }
  /* Raise the smaller LP titles to 48px; titles already larger (58px) keep their size. */
  body:not(.home) .bb-lp-hero .bb-lp-hero__copy h1,
  body.bb-lp-design:not(.home) .bb-lp-hero .bb-lp-hero__title-center { font-size: 48px !important; }
  body:not(.home) .bbb-hero2 .bbb-hero2__title { font-size: 48px !important; }
}
/* ---------- Sizes: mobile ---------- */
@media (max-width: 760px) {
  body:not(.home) .bbp-hero .bbp-hero__lead,
  body:not(.home) .bb-lp-hero .bb-lp-hero__lead,
  body:not(.home) .bb-lp-hero .bb-lp-cashbox__lead,
  body:not(.home) .bbm-hero .bbm-hero__deck,
  body:not(.home) .bbb-hero2 .bbb-hero2__lead { font-size: 22px !important; line-height: 1.35 !important; }
  body:not(.home) .bb-lp-hero .bb-lp-cashbox__lines li { font-size: 19px !important; }
  body:not(.home) .bbm-hero .bbm-hero__sub { font-size: 16px !important; letter-spacing: .2em !important; }
}
/* Guide hero buttons centered under the subtitle. */
body:not(.home) .bbm-hero .bbm-hero__cta { justify-content: center !important; align-items: center !important; text-align: center !important; }
