/* Topic hub pages (e.g. /selling-a-business). Loads after home-new.css,
   which supplies the header, toggle, quiz and footer styles. */

.hb-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: #C25E12; }
.hb-sec { padding: 96px 0; }
.hb-sec-tight { padding-top: 0; }
.hb-lede { margin: 14px 0 30px; max-width: 760px; font-size: 18px; line-height: 29px; color: var(--muted); }
.hb-more { font-size: 17px; font-weight: 700; color: var(--blue); text-decoration: none; }
.hb-more:hover { text-decoration: underline; }

/* Hero */
.hb-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cream) 0%, #FFF 30%, var(--cream) 100%); }
.hb-hero .wrap { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 40px; align-items: end; padding: 40px 0 56px; }
.hb-crumb { margin: 0 0 30px; font-size: 14px; color: var(--muted); }
.hb-crumb a { color: var(--muted); text-decoration: none; }
.hb-crumb a:hover { color: var(--navy); text-decoration: underline; }
.hb-crumb [aria-current] { color: var(--navy); font-weight: 600; }
.hb-hero h1 { margin: 10px 0 18px; font-family: var(--serif); font-weight: 400; font-size: 54px; line-height: 60px; color: var(--navy); }
.hb-answer { margin: 0 0 28px; font-size: 19px; line-height: 30px; color: #3D4C63; }
.hb-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hb-fig { margin: 0; justify-self: end; width: 100%; max-width: 600px; }
.hb-art { display: block; width: 100%; height: auto; }
.hb-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--navy); }
.hb-legend span { display: inline-flex; align-items: center; gap: 8px; }
.hb-legend i { width: 12px; height: 12px; border-radius: 3px; }

/* Pick your path */
.hb-paths { padding: 56px 0 80px; background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dk) 100%); }
.hb-paths .hb-eyebrow { color: #DCE6F7; margin-bottom: 22px; }
.hb-doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hb-door { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 18px; background: rgba(15,42,82,.28); border: 1px solid rgba(255,255,255,.18); color: #FFF; text-decoration: none; transition: background .2s, transform .2s, border-color .2s; }
.hb-door:hover { background: rgba(255,255,255,.13); border-color: var(--orange); transform: translateY(-3px); }
.hb-door .n { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #DCE6F7; }
.hb-door .t { font-family: var(--serif); font-size: 26px; line-height: 31px; }
.hb-door .d { font-size: 15px; line-height: 23px; color: #DCE6F7; }
.hb-door .go { margin-top: auto; font-size: 15px; font-weight: 700; }

/* How the sale is taxed */
.hb-tx { display: grid; grid-template-columns: 300px minmax(0, 1fr) 270px; gap: 32px; align-items: start; padding: 26px 0; border-top: 1px solid var(--cream-line); }
.hb-tx:last-child { border-bottom: 1px solid var(--cream-line); }
.hb-tx h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 32px; color: var(--navy); }
.hb-tx p { margin: 0; font-size: 17px; line-height: 27px; color: #3D4C63; }
.hb-tx a { font-size: 16px; font-weight: 700; line-height: 27px; color: var(--blue); text-decoration: none; }
.hb-tx a:hover { text-decoration: underline; }

/* Options */
.hb-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 30px; }
.hb-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hb-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.hb-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 18px; background: #FFF; border: 1px solid #E7DECB; color: var(--navy); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.hb-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,42,82,.12); }
.hb-card .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #C25E12; }
.hb-card .t { font-family: var(--serif); font-size: 26px; line-height: 31px; }
.hb-card .d { font-size: 16px; line-height: 25px; color: var(--muted); }
.hb-card .go { margin-top: auto; font-size: 15px; font-weight: 700; color: var(--blue); }
.hb-card.dark { background: var(--navy); border-color: var(--navy); color: #FFF; }
.hb-card.dark .tag { color: var(--orange-lt); }
.hb-card.dark .d { color: #C9D3E3; }
.hb-card.dark .go { color: #FFF; }
.hb-grid4 .hb-card .t { font-size: 24px; line-height: 30px; }
.hb-grid4 .hb-card .d { font-size: 15px; line-height: 23px; }
.hb-chips { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.hb-chips > span { margin-right: 6px; font-size: 15px; font-weight: 700; color: var(--muted); }
.hb-chip { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 24px; background: #FFF; border: 1px solid #E7DECB; color: var(--navy); text-decoration: none; font-size: 16px; font-weight: 600; }
.hb-chip:hover { border-color: var(--blue); color: var(--blue); }
.hb-sand { background: #F4EEE2; }

/* By timing */
.hb-split { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 80px; }
.hb-step { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-top: 1px solid #E7DECB; }
.hb-step:last-child { border-bottom: 1px solid #E7DECB; }
.hb-num { flex: none; width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #FFF; font-weight: 700; }
.hb-step h3 { margin: 0 0 4px; font-size: 20px; line-height: 27px; font-weight: 700; color: var(--navy); }
.hb-step p { margin: 0; font-size: 16px; line-height: 25px; color: var(--muted); }
.hb-step a { color: var(--blue); font-weight: 700; text-decoration: none; }
.hb-step a:hover { text-decoration: underline; }

/* State + advisors */
.hb-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.hb-box { display: flex; flex-direction: column; gap: 16px; padding: 36px; border-radius: 20px; background: #FFF; border: 1px solid #E7DECB; }
.hb-box h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 38px; }
.hb-box p { margin: 0; font-size: 17px; line-height: 27px; color: #3D4C63; }
.hb-box .hb-eyebrow { margin: 0; }
.hb-box .links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: auto; }
.hb-box.dark { background: var(--navy); border-color: var(--navy); color: #FFF; }
.hb-box.dark .hb-eyebrow { color: var(--orange-lt); }
.hb-box.dark p { color: #C9D3E3; }
.hb-box.dark a { color: #FFF; font-size: 16px; font-weight: 700; text-decoration: none; }
.hb-box.dark a:hover { text-decoration: underline; }

/* FAQ */
.hb-faq { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 72px; }
.hb-faq h2 { margin: 0 0 14px; font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 42px; }
.hb-faq details { border-bottom: 1px solid #E7DECB; }
.hb-faq summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 20px 4px; cursor: pointer; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--navy); }
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary .pl { margin-left: auto; flex: none; font-size: 24px; font-weight: 400; color: var(--blue); transition: transform .2s; }
.hb-faq details[open] summary .pl { transform: rotate(45deg); }
.hb-faq details p { margin: 0; padding: 0 4px 22px; max-width: 760px; font-size: 17px; line-height: 27px; color: #3D4C63; }
.hb-fine { margin: 40px 0 0; max-width: 900px; font-size: 13px; line-height: 20px; color: #7A8698; }

@media (prefers-reduced-motion: reduce) {
  .hb-door, .hb-card { transition: none; }
  .hb-door:hover, .hb-card:hover { transform: none; }
}

@media (max-width: 1180px) {
  .hb-hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hb-fig { justify-self: center; }
  .hb-doors, .hb-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-tx { grid-template-columns: 240px minmax(0, 1fr); }
  .hb-tx a { grid-column: 2; }
  .hb-split, .hb-faq { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .hb-sec { padding: 64px 0; }
  .hb-sec-tight { padding-top: 0; }
  .hb-hero .wrap { padding: 24px 0 40px; }
  .hb-crumb { margin-bottom: 18px; }
  .hb-hero h1 { font-size: 38px; line-height: 44px; }
  .hb-answer { font-size: 17px; line-height: 27px; }
  .hb-ctas .btn { width: 100%; }
  .hb-paths { padding: 44px 0 56px; }
  .hb-doors, .hb-grid3, .hb-grid4, .hb-pair { grid-template-columns: 1fr; }
  .hb-door { padding: 22px; }
  .hb-tx { grid-template-columns: 1fr; gap: 10px; }
  .hb-tx a { grid-column: auto; }
  .hb-tx h3 { font-size: 23px; line-height: 29px; }
  .hb-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hb-box { padding: 26px; }
  .hb-box h2 { font-size: 28px; line-height: 34px; }
  .hb-faq h2 { font-size: 30px; line-height: 36px; }
  .hb-faq summary { font-size: 17px; }
}
