section {
  position: relative;
  padding: var(--section-padding) 0;
  padding-top: calc(var(--section-padding) + var(--header-height));
}

article {
  position: relative;
  max-width: var(--website-width);
  margin: auto;
  counter-reset: h2-section;
}

section h1 {
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 2rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--main-color-3);
}

section h2 {
  font-weight: bold;
  font-size: 1.5rem;
  line-height: .97em;
  margin: 1.5rem 0 1rem 0;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--main-color-3);
  counter-reset: h3-section;
}

section h2::before {
  counter-increment: h2-section;
  content: counter(h2-section) ". ";
}

section h3 {
  font-weight: bold;
  font-size: 1.25rem;
  line-height: .97em;
  margin: 1.5rem 0 1rem 0;
}

section h3::before {
  counter-increment: h3-section;
  content: counter(h2-section) "." counter(h3-section) ". ";
}

section h4 {
  font-weight: bold;
  font-size: 1rem;
  line-height: .95em;
}

section h5 {
  font-weight: bold;
  font-size: 0.875rem;

}

section h6 {
  font-size: 0.85em;
}

section :is(p, ul) {
  margin-bottom: 1rem;
}

section ul {
  padding-left: 2rem;
}

section li {
  line-height: 1.5em;
}

section a {
  color: var(--accent-color-secondary);
  font-weight: bold;
  transition: color .3s;
}

section a:hover {
  color: var(--accent-color-primary);
}
