h1, h2, h3, h4 .site-title, .post-title, .inline-header {
  padding: 0;
  color: var(--heading-normal);
  margin-top: 3rem;
  margin-bottom: 1rem;
  line-height: 100%;
}

h1, h1:first-child {
  font-family: var(--title-font);
  margin-top: 0px;
  margin-bottom: 0;
  margin-right: 1rem;
}

h2, h3, h4, h5, h6, .inline-header {
  font-family: var(--heading-font);
}

/* Make font weights consistent */

h1, h2, h3 {
  font-weight: 800;
}

h4 {
  font-weight: 700;
}

h5, h6 {
  font-weight: 600;
}

h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child, .inline-header:first-child {
  margin-top: 1rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.4rem;
  counter-reset: tasklist;
  border-bottom: 3px solid var(--tasklist-light);
  width: fit-content;
}

h5 {
  counter-increment: tasklist;
  position: relative;
  clear: both;
  font-size: 1.2rem;
  display: block;
}

.tasklist {
  margin-left: 45px;
}

.tasklist h5::before {
  content: counter(tasklist);
  position: absolute;
  --size: 30px;
  height: var(--size);
  width: var(--size);
  margin-left: -45px;
  background-color: var(--tasklist-light);
  border-radius: 50%;
  text-align: center;
  line-height: 150%;
  font-weight: 800;
}

h6, .inline-header {
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--heading-blue);
}
