/* ══ Website blocks page: blocks grouped by the job they do ════════════════════
   Loaded after wb-page.css, on website-builder-blocks.php only, so the Home Sale
   Forecast and Instant Offer pages that share wb-page.css are untouched.
   Text sits left-aligned, headline above its paragraph; a block's name and one line
   come before its designs, and the longer description after them. */

/* The owner's rule for every section on this page: headlines (h1, h2, h3 and the small
   label above them) centred on the screen and centre-aligned; the paragraphs under them
   in a column centred on the screen, with the text left-aligned. */
.wb-page .hero{text-align:center}
.wb-page .hero .wb-wrap>.wb-back{margin:0 auto 18px}
.wb-page .hero h1{margin:0 auto;max-width:960px}
.wb-page .hero .lede{margin:22px auto 0;max-width:680px;text-align:left}
.wb-page .hero .btns{justify-content:center}
.wb-page .head p{text-align:left}
.wb-page .hero .ed{border-radius:18px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:72px;box-shadow:0 30px 80px -30px rgba(0,0,0,.6),0 -10px 80px -20px rgba(240,181,52,.14)}
.wb-page .hero-facts{max-width:1132px;margin:0 auto;background:transparent;border-top:1px solid rgba(255,255,255,.1);gap:0;padding:0 0 8px}
.wb-page .hero{padding-bottom:56px}
.wb-page .hero-facts div{background:transparent;padding:26px 24px 18px;border-left:1px solid rgba(255,255,255,.08)}
.wb-page .hero-facts div:first-child{border-left:0;padding-left:0}
.wb-page .hero-facts b{font-size:21px;margin-bottom:6px}
.wb-page .hero-facts span{font-size:13px}

/* stronger contrast between groups: white, then a real grey */
.wb-page .band.grey{background:#F0F1F4}
.wb-page .grp{scroll-margin-top:136px}
.wb-page .grp .fam{scroll-margin-top:150px}
.wb-page #all-blocks{scroll-margin-top:136px}

/* group heading */
.wb-page .grp-head{max-width:900px;margin:0 auto 96px;text-align:center}
.wb-page .grp-head h2{font-size:clamp(34px,3.8vw,54px)}
.wb-page .grp-head p{margin:22px auto 0;max-width:600px;text-align:left;font-size:clamp(17px,1.3vw,19px)}
.wb-page .grp-head .eb{color:var(--gold-ink)}

/* the index: every group as an equal card, its blocks listed in a column */
.wb-page .idx{display:grid;grid-template-columns:repeat(var(--idx-n,5),minmax(0,1fr));gap:0 40px;max-width:1132px;margin:0 auto}
.wb-page .idx-card{padding-top:20px;border-top:2px solid var(--ink)}
.wb-page .idx-h{display:block;text-decoration:none;color:var(--ink);margin-bottom:18px}
.wb-page .idx-n{display:block;font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--gold-ink);margin-bottom:6px}
.wb-page .idx-h b{font:600 17px/1.3 -apple-system,BlinkMacSystemFont,'SF Pro Display','Inter',sans-serif;letter-spacing:-.016em}
.wb-page .idx-h:hover b{color:var(--gold-ink)}
.wb-page .idx ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.wb-page .idx li a{display:block;text-decoration:none;color:var(--ink);font-size:15px;line-height:1.3}
.wb-page .idx li a:hover span{color:var(--gold-ink)}
.wb-page .idx li small{display:block;margin-top:2px;font-size:13px;color:var(--mute)}

/* a link from a group heading to the page with the full story */
.wb-page .grp-more{display:inline-block;margin-top:22px;font-weight:600;font-size:16px;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--gold)}
.wb-page .grp-more:hover{color:var(--gold-ink)}

/* the kinds of motivated seller, under the "Start the offer" heading: plain columns */
.wb-page .kinds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;max-width:1132px;margin:-32px auto 120px}
.wb-page .kind{border-top:2px solid var(--ink);padding-top:20px}
.wb-page .kind-when{display:block;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-ink)}
.wb-page .kind h3{margin:8px 0 10px;font-size:21px;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.wb-page .kind p{font-size:15.5px;color:var(--sub)}
.wb-page .kind a{display:inline-block;margin-top:14px;font-weight:600;font-size:15px;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--gold)}

/* "New" marker */
.wb-page em.new{font-style:normal;display:inline-block;vertical-align:middle;margin-left:6px;font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#7A4F00;background:#FFE9A8;border-radius:5px;padding:3px 7px;position:relative;top:-2px}

/* one block: name, count, one line, then the designs */
.wb-page .fam + .fam{margin-top:150px;padding-top:120px;border-top:1px solid #DADCE2}
.wb-page .light .fam + .fam{border-top-color:var(--line)}
.wb-page .fam-hd{text-align:center;max-width:860px;margin:0 auto 44px}
.wb-page .fam-name{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-ink);background:#FFF6DD;border-radius:99px;padding:6px 14px}
.wb-page .fam-name i{font-style:normal;font-weight:600;letter-spacing:.04em;text-transform:none;color:var(--mute)}
.wb-page .fam-name em.new{margin-left:0;top:0}
.wb-page .fam-hd h3{margin:20px 0 0;font-size:clamp(24px,2.3vw,32px);font-weight:400;letter-spacing:-.026em;line-height:1.15;color:var(--ink)}
.wb-page .fam-one{margin:18px auto 0;max-width:560px;text-align:left;font-size:17px;color:var(--sub)}

/* the longer description, after the designs */
/* the longer description, under the designs */
.wb-page .fam-more{margin-top:40px;padding-top:32px;border-top:1px solid #DADCE2}
.wb-page .fam-more>p,.wb-page .fam-more>.points,.wb-page .fam-more>.twoleads,.wb-page .fam-more>.fam-link{margin-left:auto;margin-right:auto}
.wb-page .fam-more>.points,.wb-page .fam-more>.twoleads{max-width:960px}
.wb-page .fam-more>.fam-link{display:table}
.wb-page .light .fam-more{border-top-color:var(--line)}
.wb-page .fam-more>p{max-width:720px;font-size:15.5px;color:var(--sub);text-align:left}
.wb-page .fam-more .points{margin:22px auto 0}
.wb-page .fam-more .points div{border-top-width:1px;border-color:#CDD0D6;padding-top:12px}
.wb-page .fam-more .points b{font-size:15px}
.wb-page .fam-more .points span{font-size:14.5px}
.wb-page .fam-more .twoleads{margin:24px auto 0}

/* one-design blocks in a group */
.wb-page .cmp{margin-top:120px}
.wb-page .fam ~ .cmp{padding-top:48px;border-top:1px solid #DADCE2}
.wb-page .cmp-l{display:block;text-align:center;font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--mute);margin-bottom:18px}
.wb-page .grey .classic{background:#fff}
.wb-page .classic p a{color:var(--gold-ink);font-weight:600;text-decoration:none}

/* on a wide screen the button only appears when more than six designs are hidden */
.wb-page .show-all.few{display:none}

/* group menu: the groups, not every block */
.wb-page .cats .wb-wrap{grid-auto-columns:minmax(118px,1fr)}

@media (max-width:980px){
  .wb-page .kinds{grid-template-columns:1fr;gap:32px;margin:-16px auto 80px}
  .wb-page .idx{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 32px}
}
@media (max-width:640px){
  .wb-page .idx{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 24px}
  .wb-page .fam + .fam{margin-top:72px;padding-top:64px}
  .wb-page .grp-head{margin-bottom:56px}
  .wb-page .hero-facts{padding:0 24px 8px}
  .wb-page .hero-facts div:first-child{padding-left:24px}
  /* a phone shows three designs, then the button */
  .wb-page .designs:not(.all) .design:nth-child(n+4){display:none}
  .wb-page .show-all.few{display:flex}
}

/* Humphrey: headline and words centred above the chat, never beside it */
.wb-page .hum{display:block;max-width:860px;margin:0 auto;text-align:center}
.wb-page .hum p{max-width:680px;margin-left:auto;margin-right:auto;text-align:left}
.wb-page .hum .btns{justify-content:center!important}
.wb-page .hum .chat{max-width:620px;margin:48px auto 0;text-align:left}
/* the closing section's buttons, centred under its centred headline */
.wb-page .final .btns{justify-content:center}
