/* Home-only UX pass. The shared sitewide stylesheet remains immutable. */
.nc-sitewide-family-home .nc-rebrand-hero-home {
  min-height: 680px;
}

.nc-sitewide-family-home .nc-rebrand-home-hero-grid {
  min-height: 680px;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
}

.nc-sitewide-family-home .nc-rebrand-hero-home h1 {
  max-width: 800px;
  font-size: clamp(3.5rem, 5.2vw, 5.1rem);
  line-height: .94;
}

.nc-sitewide-family-home .nc-rebrand-hero-home .nc-rebrand-hero-lead {
  max-width: 60ch;
}

.nc-sitewide-family-home .nc-rebrand-payoff {
  margin: 18px 0 0;
  color: var(--nc-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.3;
}

.nc-sitewide-family-home .nc-rebrand-hero-note {
  max-width: 64ch;
  margin: 16px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(201, 164, 92, .75);
  color: #d8d1c5;
  font-size: .84rem;
  line-height: 1.58;
}

.nc-sitewide-family-home .nc-rebrand-situations .nc-rebrand-situation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nc-sitewide-family-home .nc-rebrand-start .nc-rebrand-method-grid {
  align-items: start;
}

.nc-sitewide-family-home .nc-rebrand-start .nc-rebrand-steps {
  margin-bottom: 24px;
}

.nc-sitewide-family-home .nc-rebrand-example-box {
  max-width: 920px;
}

.nc-sitewide-family-home .nc-rebrand-example-box > p:first-child {
  margin-top: 0;
  font-size: 1rem;
}

.nc-sitewide-family-home .nc-rebrand-tools-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nc-sitewide-family-home .nc-rebrand-tools-grid > * {
  min-width: 0;
}

.nc-sitewide-family-home .nc-rebrand-button:focus-visible,
.nc-sitewide-family-home .nc-rebrand-link:focus-visible,
.nc-sitewide-family-home .nc-rebrand-faq summary:focus-visible {
  outline: 3px solid var(--nc-cyan);
  outline-offset: 4px;
}

/* Keep the shared consent behaviour and both choices while reducing home-page obstruction. */
.nc-sitewide-family-home .analytics-banner {
  width: min(690px, calc(100vw - 36px));
  max-height: calc(100dvh - 36px);
  padding: 18px 20px;
  overflow: auto;
}

.nc-sitewide-family-home .analytics-banner h2 {
  font-size: clamp(20px, 2.5vw, 26px);
}

.nc-sitewide-family-home .analytics-banner p {
  margin-bottom: 7px;
  font-size: 14px;
  line-height: 1.48;
}

.nc-sitewide-family-home .analytics-banner-actions {
  margin-top: 13px;
}

.nc-sitewide-family-home .analytics-choice {
  min-height: 44px;
}

@media (max-width: 900px) {
  .nc-sitewide-family-home .nc-rebrand-hero-home,
  .nc-sitewide-family-home .nc-rebrand-home-hero-grid {
    min-height: 0;
  }

  .nc-sitewide-family-home .nc-rebrand-home-hero-grid {
    grid-template-columns: 1fr;
  }

  .nc-sitewide-family-home .nc-rebrand-situations .nc-rebrand-situation-grid,
  .nc-sitewide-family-home .nc-rebrand-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nc-sitewide-family-home .nc-rebrand-hero-home h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
  }

  .nc-sitewide-family-home .nc-rebrand-hero-note {
    font-size: .8rem;
  }

  .nc-sitewide-family-home .nc-rebrand-situations .nc-rebrand-situation-grid,
  .nc-sitewide-family-home .nc-rebrand-tools-grid {
    grid-template-columns: 1fr;
  }

  .nc-sitewide-family-home .analytics-banner {
    right: 8px;
    bottom: 8px;
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 14px 16px;
  }

  .nc-sitewide-family-home .analytics-banner-eyebrow {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .nc-sitewide-family-home .analytics-banner h2 {
    margin-bottom: 7px;
    font-size: 19px;
  }

  .nc-sitewide-family-home .analytics-banner p {
    font-size: 13.5px;
    line-height: 1.42;
  }

  .nc-sitewide-family-home .analytics-banner-actions {
    gap: 8px;
    margin-top: 10px;
  }
}

@media print {
  .nc-sitewide-family-home .analytics-banner {
    display: none;
  }
}
