/* Fixed spacing between text elements. The space between two elements belongs to the following element's top margin. */
body .is-eyebrow {
  margin-top: 0;
  margin-bottom: 0;
}

body .is-eyebrow+ :is(h1, h2, h3, h4) {
  margin-top: 20px;
}

/* Paragraph after a heading: the gap belongs to the paragraph */
body :is(h1, h2, h3, h4, h5, h6):has(+ p) {
  margin-bottom: 0;
}

body :is(h1, h2, h3, h4, h5, h6)+p {
  margin-top: 20px;
}