.chapter-list {
  counter-reset: chapter;
  list-style: none;
  padding-left: 0;
}
.chapter-list > li {
  counter-increment: chapter;
}
.chapter-number::before {
  content: counter(chapter) ". ";
  font-size: 18px;
  font-weight: bold;
}
.chapter-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.subchapter-list {
  counter-reset: subchapter;
  list-style: none;
  padding-left: 0;
}
.subchapter-list > li {
  counter-increment: subchapter;
}
.subchapter-number::before {
  content: counter(chapter) "." counter(subchapter) " ";
  font-weight: bold;
}
.subchapter-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.subsubchapter-list {
  counter-reset: subsubchapter;
  list-style: none;
  padding-left: 0;
}
.subsubchapter-list > li {
  counter-increment: subsubchapter;
}
.subsubchapter-number::before {
  content: counter(chapter) "." counter(subchapter) "." counter(subsubchapter) " ";
  font-weight: bold;
}
.subsubchapter-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.chapter-content,
.subchapter-content,
.subsubchapter-content {
  margin-bottom: 1.5rem; 
}

.chapter-content p,
.subchapter-content p,
.subsubchapter-content p {
  margin-top: 0;
  margin-bottom: 0;
}

.chapter-content p + p,
.subchapter-content p + p,
.subsubchapter-content p + p {
  margin-top: 0.5rem;
}

.custom-list {
  list-style-type: disc;
  padding-left: 2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--bs-body-font-family);
}

