/* Shared distance between the site header and the first content block. */
:root {
  --header-opening-space: clamp(8px, 1vw, 12px);
}

body > :is(.masthead, .header) + main {
  margin-block-start: 0;
  padding-block-start: var(--header-opening-space);
}

body > :is(.masthead, .header) + main > :is(.hero, .home-hero, .page-intro, .guide-intro, .utility-intro, .legal-intro, article),
body > :is(.masthead, .header) + main > article:first-child > .article-top {
  margin-block-start: 0;
}

body.design > .masthead + main > :is(.home-hero, .guide-intro, .utility-intro, .legal-intro):first-child,
body > :is(.masthead, .header) + main > article:first-child > .article-top {
  padding-block-start: 0;
}

body > header.header + main > article:first-child > .article-top > a:first-child {
  display: block;
  width: fit-content;
}

body.design.article > .masthead + main#main-content > article:first-child > .article-top {
  padding-block-start: 0;
}
