/* Impact Evidence route: use the normal editorial page flow shared by the
   homepage and sibling foundation pages, not the long scroll-story system. */
body.impact-impact-evidence .modern-design > section:not(.impact-tool-section) {
  position: relative !important;
  top: auto !important;
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: clamp(74px, 9vw, 118px) !important;
  padding-bottom: 92px !important;
  visibility: visible !important;
}

body.impact-impact-evidence .modern-design > section > .modern-shell {
  position: relative !important;
  top: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.impact-impact-evidence .modern-design > section > .modern-shell:not(.modern-grid):not(.modern-investment-grid):not(.modern-finale-grid) {
  display: block !important;
}

body.impact-impact-evidence .modern-design > section > .modern-shell.modern-grid,
body.impact-impact-evidence .modern-design > section > .modern-shell.modern-investment-grid,
body.impact-impact-evidence .modern-design > section > .modern-shell.modern-finale-grid {
  display: grid !important;
  align-content: initial !important;
}

body.impact-impact-evidence .modern-design > section + section {
  margin-top: 0 !important;
}

body.impact-impact-evidence .modern-design > .modern-finale {
  height: auto !important;
  min-height: 0 !important;
  padding-top: clamp(96px, 12vw, 168px) !important;
  padding-bottom: clamp(88px, 10vw, 136px) !important;
}

/* Keep the close focused on the message instead of another decorative scroll
   layer. */
body.impact-impact-evidence .modern-finale::before {
  display: none !important;
}

@media (max-width: 600px) {
  body.impact-impact-evidence .modern-design > section:not(.impact-tool-section) {
    padding-top: 70px !important;
    padding-bottom: 78px !important;
  }

  body.impact-impact-evidence .modern-design > .modern-finale {
    padding-top: 84px !important;
    padding-bottom: 76px !important;
  }
}
