.main-content {
  counter-reset: heading;
}

.article-post h2:not(.strict):before {
  content: counter(heading)" - ";
  counter-increment: heading;
}

.article-post h2:not(.strict) {
  counter-reset: subheading;
}

.article-post h3:not(.strict):before {
  content: counter(heading)"." counter(subheading)" - ";
  counter-increment: subheading;
}

.article-post h2:not(.strict) {
  border-bottom: 1px solid #AAA
}

.article-post h3:not(.strict) {
  font-size: 1.3em;
  border-bottom: 1px dashed #AAA
}
