/* Shared main-section heading scale; card and dialog titles keep their own sizes. */
.enhev-main-width {
  --solution-title-scale: 5;
  --case-faq-space: 96px;
  --enhev-title-unit: 10px;
}
.enhev-main-width .solution-section .section-intro { --solution-title-scale: inherit; }
.enhev-main-width .org-herostage { --solution-title-scale: 6; }
.enhev-main-width :is(
  .solution-title,
  #charging-products-title,
  #why-enhev-title,
  #partnership-title,
  #charging-network-title,
  #installation-guide-title,
  #charging-cases-title,
  #enhev-contact-title,
  .org-latestNews h2,
  .org-herostage .atom-title__text
) {
  font-size: calc(var(--enhev-title-unit) * var(--solution-title-scale));
  line-height: 1.3;
}
@media (max-width: 1024px) {
  .enhev-main-width { --enhev-title-unit: clamp(7.5px, 1.25vw, 10px); }
}
@media (max-width: 800px) { .enhev-main-width { --case-faq-space: 64px; } }
.enhev-main-width #projects { padding-block: var(--case-faq-space); }
.enhev-main-width #projects > .wrap-layout__inner { padding-block: 0; }

/* Shared section subtitles, with readable colors on dark surfaces. */
.enhev-main-width :is(
  #solutions .solution-subtitle,
  .charging-products__intro > p,
  .why-enhev__intro > p,
  .enhev-partnership__intro > p,
  .installation-guide__intro > p,
  .charging-cases__intro > p,
  .enhev-contact__copy > p,
  .org-herostage .mol-sectionIntro .atom-text > p
) {
  font-weight: 400;
  letter-spacing: -.6px;
  line-height: 1.4;
}
.enhev-main-width :is(
  #solutions .solution-subtitle,
  .why-enhev__intro > p,
  .enhev-partnership__intro > p,
  .installation-guide__intro > p,
  .charging-cases__intro > p
) { color: #333; }

/* Narrow former hero-width sections by about 30%; preserve solutions/products. */
@media (min-width: 1025px) {
  .enhev-main-width {
    --enhev-content-width: calc(100% - 80px);
    --enhev-content-max: 1266px;
  }
  .enhev-main-width .why-enhev { padding-inline: 0; }
  .enhev-main-width .why-enhev__intro,
  .enhev-main-width .why-enhev__grid,
  .enhev-main-width .enhev-partnership__inner,
  .enhev-main-width .installation-guide,
  .enhev-main-width .charging-cases__tabs,
  .enhev-main-width .charging-cases__gallery,
  .enhev-main-width .charging-cases__empty,
  .enhev-main-width .charging-cases__more,
  .enhev-main-width .enhev-contact__inner {
    box-sizing: border-box;
    width: var(--enhev-content-width);
    max-width: var(--enhev-content-max);
    margin-inline: auto;
  }
  .enhev-main-width .charging-cases > .wrap-layout__inner {
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }
  .enhev-main-width .enhev-partnership .charging-network__cards,
  .enhev-main-width .enhev-partnership .charging-network__services {
    width: 100%;
    max-width: none;
  }
  .enhev-main-width .org-latestNews > .wrap-layout__inner {
    box-sizing: border-box;
    width: 94.1666%;
    max-width: 1808px;
    margin-inline: auto;
    padding-inline: 0;
  }
}
