.subtitle {
  margin-top: 0.25em;
  font-weight: bold;
}

.text {
  max-width: 80ch;
  width: 100%;
}

.page-event .text {
  max-width: initial;
}

.text h2 {
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.2;
}

.page-home .text h2 {
  font-size: var(--text-4xl);
}

.text h2 a {
  text-decoration: none;
}

.text h3 {
  font-size: var(--text-3xl);
}

.text h4 {
  font-size: var(--text-1xl);
  font-weight: 700;
}

/* Restore list markers (reset strips all li). Article content lists e.g. under "coordinatie werkgroep" */
.article .text ul > li,
.text ul > li,
.text ol ul > li {
  list-style: disc;
  list-style-position: outside;
}

.text ul ul > li,
.text ol ul ul > li {
  list-style: circle;
}

.text ul ul ul > li {
  list-style: square;
}

.text ol > li {
  list-style: decimal;
}

.text > ul {
  padding-left: 1em;
}

/* All lists in article content (including inside block wrappers) need indent for markers */
.article .text ul,
.text ul,
.text ol {
  padding-left: 2em;
}

.text > ul > li::marker,
.article .text ul > li::marker {
  color: var(--color-marker);
}

@media (min-width: 65rem) {
  .text > ul > li::marker,
  .article .text ul > li::marker {
    color: var(--color-content-heading);
  }
}

.text figcaption {
  margin-top: .5em;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-content-mute);
}

/* Spacing */

.text h3 + *,
.text h4 + * {
  margin-top: .5em;
}

.text h4 + ul,
.text h4 + ol {
  margin-top: 1.4em;
}

.text h2 + * {
  margin-top: 1.4em;
}

.text > * + * {
  margin-top: 1.4em;
}

.toc + .text {
  margin-top: 3em;
}

.text * + h2 {
  margin-top: 1em;
}

.text * + h3,
.page-event .text * + h3 {
  margin-top: 1em;
}

.text * + h4 {
  margin-top: 1em;
}

.text > * + section {
  margin-top: 3em;
}

.toc + .text {
  margin-top: 3em;
}
