/* Growth Hub 6.5.0.4 — Scaled AG editorial reader and conversion endcap.
   Only applies to Scaled AG's single post renderer; does not affect
   homepage, campaign LPs, collection or Millionaire Lesson.
   Preserves WP article markup, related-post IDs, CTAs and tracking hooks. */

body.sg62-shell-active.tgh-scaled-reader-v62 {
  --gh-reader-ink:#15221c;
  --gh-reader-copy:#333d3a;
  --gh-reader-muted:#5c6560;
  --gh-reader-bg:#f6f5f1;
  --gh-reader-rule:#dcded8;
  --gh-reader-red:#cb652f;
}

/* The old 210px + 760px + 270px + 96px grid exceeds some desktop widths.
   Use responsive columns and let the article shrink without clipping. */
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader,
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__wrap,
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__grid,
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__main { min-width:0; box-sizing:border-box; }
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__wrap {
  width:min(1376px,calc(100% - 64px))!important;
  margin-inline:auto!important;
  padding:44px 0 90px!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__grid {
  display:grid!important;
  grid-template-columns:minmax(140px,186px) minmax(0,752px) minmax(176px,230px)!important;
  gap:clamp(24px,2.6vw,42px)!important;
  justify-content:center!important;
  align-items:start!important;
  padding-top:42px!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__main { width:100%; max-width:752px; min-width:0!important; }
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__toc {
  top:112px!important; border-left:2px solid var(--gh-reader-red)!important;
  padding:6px 0 6px 17px!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__toc a {line-height:1.52!important;margin:0 0 14px!important;}

/* Editorial rhythm. Only headings in article copy receive the red rule.
   The original broad h2:before selector affected CTAs and related blocks. */
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__main>h1 {
  font-size:clamp(42px,4.4vw,68px)!important;
  line-height:1.075!important;
  letter-spacing:-.043em!important;
  max-width:21ch;
  margin:0 0 22px!important;
  overflow-wrap:break-word;
  color:var(--gh-reader-ink)!important;
  text-wrap:balance;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__dek {
  font-size:clamp(18px,1.7vw,21px)!important;
  line-height:1.67!important;
  max-width:64ch!important;
  color:var(--gh-reader-muted)!important;
  margin:0 0 46px!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content,
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-scaled-reader__body {min-width:0;max-width:100%;overflow-wrap:break-word;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(p,li) {
  font-size:18px!important;
  line-height:1.84!important;
  letter-spacing:.001em;
  color:var(--gh-reader-copy)!important;
  overflow-wrap:anywhere;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content p {margin-bottom:1.52em!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(ul,ol) {padding-left:1.5em;margin:20px 0 34px;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content li {padding-left:.2em;margin:0 0 12px!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content li::marker {color:var(--gh-reader-red);}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(strong,b) {color:var(--gh-reader-ink);font-weight:750;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content h2 {
  font-size:clamp(29px,2.6vw,37px)!important;
  line-height:1.23!important;
  letter-spacing:-.033em!important;
  margin:68px 0 22px!important;
  color:var(--gh-reader-ink)!important;
  text-wrap:pretty;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content h3 {
  font-size:clamp(22px,2vw,27px)!important;
  line-height:1.29!important;
  letter-spacing:-.022em!important;
  margin:38px 0 16px!important;
  color:var(--gh-reader-ink)!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(h2,h3,h4) {scroll-margin-top:105px;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(h2,h3) + p {margin-top:0!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(figure,img,video,iframe,table) {max-width:100%;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content figure {margin:38px 0!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content img {display:block;max-width:100%!important;height:auto!important;object-fit:contain;box-shadow:0 14px 34px rgba(16,25,20,.07)!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content figcaption {color:#717973;font-size:13px;line-height:1.55;text-align:left;margin:11px 0 0;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content table {display:block;overflow-x:auto;white-space:normal;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content blockquote {margin:38px 0!important;padding:28px 30px!important;background:#fff!important;border-left:4px solid var(--gh-reader-red)!important;border-radius:0 7px 7px 0;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content blockquote p {font-size:20px!important;line-height:1.68!important;}

/* Conversion panels need explicit contrast. Previous broad h2/p rules were
   coloring text nearly black inside dark or green backgrounds. */
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(.gh-json-cta--dark,.tgh-scaled-inline-cta,.tgh-scaled-cluster-callout) {
  background:#122b21!important;
  color:#fff!important;
  padding:clamp(25px,3.2vw,42px)!important;
  border:1px solid #1f4436!important;
  border-radius:12px!important;
  margin:50px 0!important;
  box-shadow:none!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(.gh-json-cta--dark,.tgh-scaled-inline-cta,.tgh-scaled-cluster-callout) :is(h2,h3,h4,strong,b) {
  color:#fff!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(.gh-json-cta--dark,.tgh-scaled-inline-cta,.tgh-scaled-cluster-callout) :is(p,li) {
  color:#e0eae5!important;font-size:16px!important;line-height:1.69!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(.gh-json-cta--dark,.tgh-scaled-inline-cta,.tgh-scaled-cluster-callout) :is(h2,h3) {
  font-size:clamp(25px,2.45vw,34px)!important;line-height:1.2!important;
  margin:10px 0 17px!important;letter-spacing:-.028em!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(.gh-json-cta--dark,.tgh-scaled-inline-cta,.tgh-scaled-cluster-callout) :is(h2,h3)::before {display:none!important;content:none!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .gh-json-cta--dark .gh-json-cta__eyebrow,
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .tgh-scaled-inline-cta>span {
  color:#e8c47d!important; font-size:11px!important; letter-spacing:.13em!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(.gh-json-cta--dark,.tgh-scaled-inline-cta,.tgh-scaled-cluster-callout) a {
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;
  padding:12px 18px!important;color:#111e16!important;background:#e3c178!important;
  border-radius:7px!important;text-decoration:none!important;font-size:14px!important;font-weight:800!important;
  margin-top:8px;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(.gh-json-cta--dark,.tgh-scaled-inline-cta,.tgh-scaled-cluster-callout) a:is(:hover,:focus-visible) {background:#f3d69c!important;color:#111e16!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .gh-json-cta--light {background:#ecefea!important;color:var(--gh-reader-ink)!important;border:1px solid #d8dfd9!important;padding:30px!important;border-radius:10px!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .gh-json-cta--light :is(h2,h3)::before {display:none!important;content:none!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .gh-json-cta--light h2 {margin:10px 0 15px!important;color:var(--gh-reader-ink)!important;}

/* Light contextual promos vs dark conversion CTA: visibly different sections. */
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .sg641-commercial-card {
  border:1px solid #d6ddd6!important;
  border-left:4px solid var(--gh-reader-red)!important;
  background:#fff!important;
  border-radius:7px!important;
  padding:25px 26px!important;
  margin:34px 0!important;
  box-shadow:0 8px 24px rgba(24,37,29,.035)!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .sg641-commercial-card h2 {
  color:var(--gh-reader-ink)!important;font-size:clamp(22px,2vw,27px)!important;
  line-height:1.25!important;margin:6px 0 10px!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .sg641-commercial-card h2::before {display:none!important;content:none!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .sg641-commercial-card p {
  color:var(--gh-reader-muted)!important;font-size:14px!important;line-height:1.65!important;margin:0!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .sg641-commercial-card a {
  font-size:12px!important;min-height:46px!important;padding:10px 16px!important;
  background:#ad4e2e!important;color:#fff!important;border-color:#ad4e2e!important;
}

/* A single reading section. Constrain the breakout so nothing is clipped on
   desktop, tablet or mobile, regardless of the WordPress grid's sidebar. */
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .tpm-growth-footer,
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-scaled-reader__body>.tgh-scaled-related {
  position:relative!important;
  left:auto!important;
  width:100%!important;
  max-width:100%!important;
  margin:74px 0 0!important;
  transform:none!important;
  box-sizing:border-box!important;
  clear:both;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer>.tpm-related-wrap {
  width:100%!important;max-width:100%!important;
  margin:0!important;padding:32px 0 0!important;border-top:1px solid var(--gh-reader-rule)!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-related-eyebrow {color:#a94f2e!important;font-size:11px!important;letter-spacing:.15em!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-head {display:block!important;margin:0 0 26px!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-head h2,
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-scaled-related__head h2 {
  color:var(--gh-reader-ink)!important;
  font-size:clamp(28px,3vw,37px)!important;
  line-height:1.2!important;
  letter-spacing:-.034em!important;
  margin:9px 0 0!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-head h2::before,
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-scaled-related__head h2::before {display:none!important;content:none!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-controls {display:none!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-track,
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-wrap--compact .tpm-related-track {
  display:grid!important;
  grid-auto-flow:row!important;
  grid-auto-columns:auto!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  overflow:visible!important;
  scroll-snap-type:none!important;
  padding:0!important;
  width:100%!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-card,
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-scaled-related__card {
  border:1px solid #d9ded7!important;border-radius:8px!important;
  box-shadow:none!important;background:#fff!important;
  overflow:hidden;min-width:0!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-card img {width:100%!important;aspect-ratio:16/9;object-fit:cover!important;max-width:100%!important;margin:0!important;box-shadow:none!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-card-body {padding:20px 21px 22px!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-card h3,
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-scaled-related__card strong {
  font-size:clamp(18px,1.6vw,21px)!important;
  line-height:1.35!important;letter-spacing:-.022em!important;
  margin:10px 0 16px!important;
  color:var(--gh-reader-ink)!important;
  text-wrap:pretty;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-card h3::before {display:none!important;content:none!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-card p {font-size:14px!important;line-height:1.58!important;color:var(--gh-reader-muted)!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-read {color:#8c482c!important;font-size:13px!important;font-weight:800!important;}

/* Final follow/CTA is a distinct closing area rather than a third card list. */
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-social-follow {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:20px!important;
  margin:38px 0 0!important;
  padding:35px 34px!important;
  background:#13261f!important;
  border:1px solid #13261f!important;
  border-radius:12px!important;
  width:100%!important;box-sizing:border-box!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-social-follow h2 {
  color:#fff!important;font-size:clamp(27px,2.7vw,36px)!important;
  line-height:1.2!important;letter-spacing:-.025em!important;margin:10px 0!important;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-social-follow h2::before {display:none!important;content:none!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-social-follow p {color:#d4e0d8!important;font-size:15px!important;line-height:1.65!important;margin:0!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-social-follow .tpm-related-eyebrow {color:#eccd89!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-social-follow__actions {display:flex!important;justify-content:flex-end!important;flex-wrap:wrap!important;gap:10px!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-social-follow__wa {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#fff!important;background:#ad4e2e!important;
  border:1px solid #ad4e2e!important;border-radius:6px!important;
  padding:15px 19px!important;min-height:52px!important;font-size:13px!important;font-weight:800!important;
  white-space:normal;text-align:center;
}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-social-follow__icon {background:#fff!important;color:#102018!important;border-radius:6px!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-social-follow a:is(:focus-visible,:hover) {outline:2px solid #edc76f;outline-offset:3px;}

/* Fallback related section if the Growth Hub author disabled the primary block. */
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-scaled-related {border-top:1px solid var(--gh-reader-rule)!important;padding-top:28px!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-scaled-related__grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-scaled-related__card {padding:22px!important;min-height:0!important;}
body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-scaled-related__card img {margin:-22px -22px 16px!important;width:calc(100% + 44px)!important;max-width:none!important;}

/* The body and brand navigation continue to be managed by existing theme.
   Only article elements are adjusted here. */
@media(max-width:1199px){
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__grid {grid-template-columns:minmax(0,1fr)!important;gap:25px!important;max-width:820px;margin-inline:auto!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__main {max-width:100%!important;order:1;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__toc {order:2;position:static!important;max-height:none!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__aside {order:3;position:static!important;max-width:100%;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__wrap {width:min(820px,calc(100% - 48px))!important;}
}
@media(max-width:700px){
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__wrap {width:calc(100% - 36px)!important;padding-top:28px!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__grid {padding-top:29px!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__main>h1 {font-size:clamp(34px,8vw,44px)!important;line-height:1.12!important;letter-spacing:-.035em!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__dek {font-size:17px!important;line-height:1.6!important;margin-bottom:33px!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(p,li) {font-size:16.5px!important;line-height:1.78!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content h2 {font-size:28px!important;line-height:1.24!important;margin:45px 0 18px!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content h3 {font-size:23px!important;line-height:1.29!important;margin:30px 0 14px!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(.gh-json-cta--dark,.tgh-scaled-inline-cta,.tgh-scaled-cluster-callout) {padding:24px 21px!important;margin:36px 0!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content :is(.gh-json-cta--dark,.tgh-scaled-inline-cta,.tgh-scaled-cluster-callout) a {width:100%;box-sizing:border-box;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .sg641-commercial-card {padding:21px 18px!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-v53-reader__content .sg641-commercial-card a {width:100%!important;max-width:100%!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer {margin-top:52px!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer>.tpm-related-wrap {padding-top:27px!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-track,
  body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-wrap--compact .tpm-related-track,
  body.sg62-shell-active.tgh-scaled-reader-v62 .tgh-scaled-related__grid {grid-template-columns:1fr!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;overflow:visible!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-related-card-body {padding:19px!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-social-follow {grid-template-columns:1fr!important;gap:22px!important;padding:26px 22px!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-social-follow__actions {justify-content:flex-start!important;width:100%!important;}
  body.sg62-shell-active.tgh-scaled-reader-v62 .tpm-growth-footer .tpm-social-follow__wa {width:100%!important;}
}
