/* =============================================================================
   Content element "Accessibility statement (BFSG)", loaded only where it is used (Statement.html).
   GKMB templates reset the margins of p, ul and h2 inside content elements, so the statement sets its own
   from the grid variables of the site template; a site can change them with the --accessibility-statement-*
   variables, e.g. in its variables.css
   ========================================================================== */

.accessibility-statement {
  --accessibility-statement-gap: var(--g-gap-s, 12px);
  --accessibility-statement-heading-gap: var(--g-gap, 28px);
}

/* Paragraphs and lists, also those from the rich text fields */
.accessibility-statement p,
.accessibility-statement ul,
.accessibility-statement ol {
  margin-top: 0;
  margin-bottom: var(--accessibility-statement-gap);
}

/* Each section starts with more room above its heading; the space below comes from the template */
.accessibility-statement h2 {
  margin-top: var(--accessibility-statement-heading-gap);
}

.accessibility-statement > :first-child {
  margin-top: 0;
}

.accessibility-statement > :last-child,
.accessibility-statement li > :last-child {
  margin-bottom: 0;
}
