/* Keep adjacent section padding from accumulating into oversized gaps. */
body.showcase-home #main-content {
  --section-spacing: clamp(22px, 2.6vw, 40px);
  --heading-spacing: clamp(20px, 2.5vw, 36px);
  --copy-spacing: clamp(12px, 1.45vw, 20px);
}

body.showcase-home.clean-design #main-content#main-content#main-content
  > :is(#projekteksempler, #arbejdsomraader, #find-retning, #metode, .expertise-stack, #spoergsmaal) {
  padding-block: var(--section-spacing) !important;
}

body.showcase-home.clean-design #main-content#main-content#main-content > #kontakt {
  padding-block-start: var(--section-spacing) !important;
}

body.showcase-home.clean-design #main-content#main-content#main-content
  :is(.project-examples-heading, .work-area-heading, #spoergsmaal.faq-light > header) {
  margin-block-end: var(--heading-spacing) !important;
}

body.showcase-home.clean-design #main-content#main-content#main-content
  :is(.project-examples-heading, .work-area-heading, .direction-heading, #spoergsmaal.faq-light > header) h2 {
  margin-block-end: var(--copy-spacing) !important;
}

body.showcase-home.clean-design #main-content#main-content#main-content #metode .studio-method-intro {
  margin-block-end: var(--heading-spacing) !important;
}

body.showcase-home #main-content .home-method-approach {
  margin-block: var(--heading-spacing) 0;
}

body.showcase-home #main-content :is(.home-method-approach p, .expertise-stack-tabs) {
  margin-block-end: var(--copy-spacing);
}

body.showcase-home.clean-design #main-content#main-content#main-content .expertise-stack-description {
  margin-block-end: var(--copy-spacing);
}

body.showcase-home.clean-design #main-content#main-content#main-content #kontakt .about-contact-two-copy :is(.eyebrow, h2, p) {
  margin-block-end: var(--copy-spacing) !important;
}

/* Pair section edges with the spacing already built into their content. */
body.showcase-home.clean-design #main-content#main-content#main-content > #arbejdsomraader {
  padding-block-end: 0 !important;
}

body.showcase-home.clean-design #main-content#main-content#main-content > #find-retning {
  padding-block-start: clamp(8px, 1vw, 14px) !important;
}

body.showcase-home #main-content #find-retning .direction-monitor {
  margin-block-end: clamp(34px, 4.5vw, 66px);
}

body.showcase-home.clean-design #main-content#main-content#main-content #find-retning .direction-heading .eyebrow {
  margin-block-end: var(--copy-spacing) !important;
}

body.showcase-home.clean-design #main-content#main-content#main-content > #metode {
  padding-block-start: var(--section-spacing) !important;
}

body.showcase-home.clean-design #main-content#main-content#main-content #find-retning .direction-heading {
  margin-block-end: clamp(16px, 1.8vw, 26px) !important;
}

body.showcase-home.clean-design #main-content#main-content#main-content #find-retning .direction-heading .eyebrow {
  margin-block-end: 0 !important;
}
