body.cmg-template-home .site-content > .ast-container { width: 100%; max-width: none; padding: 0; }
body.cmg-template-home .ast-article-single { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.cmg-template-home .entry-header,
body.cmg-template-home .entry-content { width: min(100% - 3rem, var(--cmg-wide)); max-width: var(--cmg-wide); }
body.cmg-template-home .entry-header { margin-top: 3.5rem; margin-bottom: 1rem; }
body.cmg-template-home .entry-title {
  color: var(--cmg-brand-strong);
  font-family: var(--cmg-font-sans) !important;
  font-size: 0.875rem !important;
  font-weight: 850 !important;
  letter-spacing: 0.11em;
  line-height: 1.35 !important;
  text-transform: uppercase;
}

body.cmg-template-home .entry-content > section:first-child {
  position: relative;
  margin: 0 0 3rem !important;
  padding: 0 0 3.5rem !important;
  border-bottom: 1px solid var(--cmg-border);
}

body.cmg-template-home .entry-content > section:first-child > h2 {
  max-width: 14ch;
  margin: 0 0 1rem !important;
  color: var(--cmg-ink-strong);
  font-family: var(--cmg-font-display) !important;
  font-size: clamp(3rem, 6vw, 5rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em;
  line-height: 0.98 !important;
  text-wrap: balance;
}

body.cmg-template-home .entry-content > section:first-child > p:not(:first-of-type) { max-width: 48rem; color: var(--cmg-ink); font-size: clamp(1.125rem, 2vw, 1.35rem) !important; line-height: 1.6 !important; }
body.cmg-template-home .entry-content > section:first-child > p:first-of-type { margin-bottom: 1rem !important; color: var(--cmg-muted) !important; font-size: var(--cmg-text-sm) !important; font-weight: 700; }

body.cmg-template-home .cmg-home-actions { display: grid; max-width: 46rem; margin-top: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
body.cmg-template-home .cmg-home-actions a { display: flex !important; min-height: 3.25rem; padding: 0.8rem 1rem !important; border: 1px solid var(--cmg-border-strong) !important; border-radius: var(--cmg-radius-md) !important; background: #fff !important; color: var(--cmg-ink) !important; box-shadow: none; font-weight: 800; text-decoration: none !important; align-items: center; }
body.cmg-template-home .cmg-home-actions a:first-child { border-color: var(--cmg-ink-strong) !important; background: var(--cmg-ink-strong) !important; color: #fff !important; }
body.cmg-template-home .cmg-home-actions a[href*="/go/advisor-match"] { grid-column: 1 / -1; width: max-content; min-height: auto; padding: 0.5rem 0 !important; border: 0 !important; background: transparent !important; color: var(--cmg-link) !important; box-shadow: none; }
body.cmg-template-home .cmg-home-actions .cmg-sponsor-note { margin-top: -0.4rem; grid-column: 1 / -1; }

body.cmg-template-home .entry-content > section:not(:first-child) { margin: 0 0 2rem !important; padding: 1.5rem !important; border: 1px solid var(--cmg-border) !important; border-radius: var(--cmg-radius-lg) !important; background: var(--cmg-surface) !important; box-shadow: var(--cmg-shadow-sm); }
body.cmg-template-home .entry-content > section:not(:first-child) h2 { margin-top: 0 !important; }
body.cmg-template-home .cmg-home-card-grid { gap: 1rem !important; }
body.cmg-template-home .cmg-home-card-grid > * { padding: 1.1rem !important; border: 1px solid var(--cmg-border) !important; border-radius: var(--cmg-radius-md) !important; background: #fff; }

@media (max-width: 782px) {
  body.cmg-template-home .entry-header,
  body.cmg-template-home .entry-content { width: min(100% - 2rem, var(--cmg-wide)); }
  body.cmg-template-home .entry-header { margin-top: 2rem; }
  body.cmg-template-home .entry-content > section:first-child { padding-bottom: 2.5rem !important; }
  body.cmg-template-home .entry-content > section:first-child > h2 { font-size: clamp(2.75rem, 13vw, 3.6rem) !important; }
  body.cmg-template-home .cmg-home-actions { grid-template-columns: 1fr; }
  body.cmg-template-home .cmg-home-actions a[href*="/go/advisor-match"] { grid-column: auto; }
  body.cmg-template-home .entry-content > section:not(:first-child) { padding: 1.1rem !important; }
}
