.solar-overview {
  background-color: var(--color-surface-subtle);
}

/* Only the two authored program grids use individual rounded cards. */
.solar-overview__section--programs .services-grid--text-only {
  background-color: transparent;
}

.solar-overview__section--programs .services-grid--text-only .services-grid__list {
  border: 0;
  gap: 1.5rem;
}

.solar-overview__section--programs .services-grid--text-only .services-grid__item {
  border: 0;
}

.solar-overview__section--programs .services-grid--text-only .services-card__article {
  overflow: hidden;
  border: 1px solid var(--color-border-default);
  border-radius: 1.5rem;
  background-color: var(--color-surface-subtle);
}

/* Match the EV hero and contents rail while retaining native CMS components. */
.solar-overview .service-hero {
  padding-block: 11.5rem 3rem;
}

@media (min-width: 600px) {
  .solar-overview .service-hero {
    padding-block: 13rem 4rem;
  }
}

.solar-overview .service-hero__inner {
  display: grid;
  width: min(100% - 2.5rem, var(--layout-content-max-width));
  align-items: center;
  padding-inline: 0;
  gap: 2rem;
}

@media (min-width: 900px) {
  .solar-overview .service-hero__inner {
    width: min(100% - 8rem, var(--layout-content-max-width));
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 3rem;
  }
}

.solar-overview .service-hero.is-media-missing .service-hero__inner {
  grid-template-columns: minmax(0, 1fr);
}

.solar-overview .service-hero__copy {
  min-width: 0;
  padding-inline: 0;
}

.solar-overview .service-hero__eyebrow {
  margin-bottom: 1.5rem;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.solar-overview .service-hero__title {
  max-width: 20ch;
  font-size: clamp(44px, 6.4vw, 92px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.solar-overview .service-hero__summary {
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  margin-top: 2rem;
  gap: 2rem;
}

.solar-overview .service-hero__body {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
}

.solar-overview .service-hero__cta {
  width: auto;
  min-width: 0;
}

.solar-overview .service-hero__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 1.5rem;
}

.solar-overview__layout {
  display: grid;
  width: min(100% - 2.5rem, var(--layout-content-max-width));
  align-items: start;
  padding-block: 2rem clamp(4rem, 6vw, 6rem);
  margin-inline: auto;
  gap: 3rem;
}

@media (min-width: 900px) {
  .solar-overview__layout {
    width: min(100% - 8rem, var(--layout-content-max-width));
    padding-top: 4rem;
  }
}

@media (min-width: 900px) {
  .solar-overview__layout.is-with-sidebar {
    grid-template-columns: 12.5rem minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
  }
}

.solar-overview__sidebar {
  min-width: 0;
}

@media (min-width: 900px) {
  .solar-overview__sidebar {
    position: sticky;
    top: 10rem;
  }
}

.solar-overview__body {
  display: grid;
  min-width: 0;
  gap: clamp(3.5rem, 6vw, 6rem);
}

.solar-overview__section {
  min-width: 0;
  scroll-margin-top: 10rem;
}

.solar-overview__section > [id] {
  scroll-margin-top: 10rem;
}

/* Full-width blocks adapt to the narrower body column. */
.solar-overview__body :where(.longform-content, .services-grid, .service-showcase) {
  padding-block: 0;
}

.solar-overview__body :where(.longform-rich-text, .services-grid__inner, .service-showcase__inner) {
  width: 100%;
  padding-inline: 0;
  margin-inline: 0;
}

.solar-overview__body .services-grid__header {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) and (max-width: 899px) {
  .solar-overview__body .services-grid--two-column .services-grid__item {
    grid-column: auto;
  }
}

.solar-overview__body :where(.services-grid__title, .service-showcase__title) {
  max-width: 24ch;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
}

.solar-overview__body .service-showcase__layout {
  grid-template-areas: "content" "media";
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.solar-overview__body .service-showcase__section-header {
  margin-inline: 0;
}

.solar-overview__body :where(.service-showcase__lead, .service-showcase__body) {
  max-width: none;
}

.solar-overview__body .service-showcase__lead {
  font-size: clamp(18px, 2vw, 22px);
}

.solar-overview__body .service-showcase__media {
  width: 100%;
  aspect-ratio: 16 / 9;
}

/* Solar child pages retain their authored hero and interactive content. */
.solar-overview .gradient-hero {
  min-height: 0;
  padding-block: 11.5rem 3rem;
}

@media (min-width: 600px) {
  .solar-overview .gradient-hero {
    padding-block: 13rem 4rem;
  }
}

.solar-overview .gradient-hero__inner {
  width: min(100% - 2.5rem, var(--layout-content-max-width));
  padding-inline: 0;
}

@media (min-width: 900px) {
  .solar-overview .gradient-hero__inner {
    width: min(100% - 8rem, var(--layout-content-max-width));
  }
}

.solar-overview .gradient-hero__title {
  max-width: 20ch;
  font-size: clamp(44px, 6.4vw, 92px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.solar-overview__body :where(.explainer-list, .tabbed-contents, .service-showcase-landscape) {
  padding-block: 0;
}

.solar-overview__body :where(.explainer-list__inner, .tabbed-contents__inner, .service-showcase-landscape__inner) {
  width: 100%;
  padding-inline: 0;
  margin-inline: 0;
}

.solar-overview__body :where(.explainer-list__title, .tabbed-contents__title, .service-showcase-landscape__heading) {
  max-width: 24ch;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-transform: none;
}

.solar-overview__body .explainer-list__header {
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.solar-overview__body .explainer-item {
  min-height: 0;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 1rem;
}

.solar-overview__body .explainer-item__number {
  font-size: 2rem;
}

.solar-overview__body .explainer-item__body {
  grid-column: 2;
  font-size: 1rem;
  line-height: 1.55;
}

.solar-overview__body :where(.service-showcase-landscape__opening, .service-showcase-landscape__closing) {
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.solar-overview__body :where(.service-showcase-landscape__intro, .service-showcase-landscape__content) {
  max-width: none;
  padding-top: 0;
}

.solar-overview__body .service-showcase-landscape__media--opening {
  margin-top: 0;
}
