.doc {
  counter-reset: chapter;
  color: black;
}

.doc__h {
  margin: 0.4rem 0;
  font-size: 1.05rem;
  font-weight: bold;
  counter-increment: chapter;
}

.doc__h::before {
  content: "§ " counter(chapter) ". ";
  color: #336;
}