/* Footervormgeving van SQL; datums, tellers en links blijven lokaal. */
body .course-footer-shell {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
}
body .course-footer-shell > section { width: 100%; min-width: 0; max-width: 100%; }
body .course-footer--sql {
  box-sizing: border-box;
  position: static;
  display: block;
  flex: none;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 28px auto 10px;
  padding: 0 0 21px;
  border: 0;
  background: transparent;
  color: #000;
  font: 500 14px/21px "Jura";
  text-align: center;
  overflow-wrap: break-word;
}
html[data-theme="dark"] body .course-footer--sql { color: #ddd; }
html:not([data-theme]) body .course-footer--sql { color: inherit; }
body .course-footer--sql :is(p, h6, div, span, strong, time) {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
  text-decoration: none;
}
body .course-footer--sql .footer-statistics > span { display: inline; }
body .course-footer--sql a[href^="mailto:"] {
  color: inherit !important;
  font: 500 18.2px/21px "Jura";
  text-decoration: none !important;
  transition: none;
  vertical-align: top;
}
body .course-footer--sql a[href^="mailto:"]:is(:visited, :hover, :focus, :active) {
  color: inherit !important;
  text-decoration: none !important;
}
/* Dezelfde afstand na de inhoud, zonder extra lege ruimte onder de homepage. */
:where(.md, .container, body) > :has(+ .course-footer-shell) { margin-bottom: 0; }
.course-home .md > :has(+ .course-footer-shell) { margin-bottom: 0; }
body > main:has(+ .course-footer--sql) { margin-bottom: 0; }
.course-home main:has(.course-footer--sql) { margin-bottom: 0; padding-bottom: 0; }
