.doc-content a {
  color: var(--link-color);
  text-decoration: underline;
  opacity: 0.9;
}

.doc-content header > h1 {
  text-align: center;
  font-weight: 400;
  font-size: 2em;
  line-height: 1.2em;
  margin: 2rem auto 0.5rem;
}

.doc-content h2 {
  position: relative;
  font-weight: 400;
  font-size: 1.5em;
  margin: 1.25rem 0;
  line-height: 1.3em;
}

.doc-content hr + h2 {
  margin-top: 1.25rem;
}

.doc-content p {
  margin: 1rem 0;
}

.doc-content header + h2,
.doc-content header + p {
  margin-top: 2rem;
}

.doc-content h2:first-child {
  margin-top: 0;
}

.doc-content h3 {
  position: relative;
  font-size: 1.25em;
  margin: 2rem 0 0.75rem;
}

.doc-content h2 + h3 {
  margin-top: 0.5rem;
}

.doc-content h3 + p {
  margin-top: 0;
}

.doc-content h2:hover,
.doc-content h3:hover {
  margin-left: -2rem;
  padding-left: 2rem;
}

.doc-content blockquote {
  line-height: 1.5em;
  margin: 1.25rem;
}

.doc-content blockquote p {
  font-style: italic;
  white-space: pre-line;
}

.doc-content li > p {
  color: var(--text-color);
}

.doc-content header > h1 + p {
  text-align: center;
  font-size: 0.9em;
  font-weight: 300;
  color: var(--subtitle-color);
  margin-top: 0;
}

.doc-content header + p:empty {
  margin: 0;
}

.doc-content h2 > a.header-anchor,
.doc-content h3 > a.header-anchor {
  display: none;
}

.doc-content h2:hover > a.header-anchor,
.doc-content h3:hover > a.header-anchor {
  display: block;
  text-decoration: none;
  color: var(--anchor-color);
  position: absolute;
  left: 0.3rem;
}

.doc-content hr {
  background-color: var(--separator-color);
  height: 1px;
  border: 0;

  margin-top: 1.25rem;
}

.doc-content p.lead {
  font-size: 1.5em;
  line-height: 2em;
  margin: 2rem -5rem;
  text-align: center;
  letter-spacing: -0.24px;
}

.doc-content p.empty {
  height: 1px;
}

.doc-content ul {
  padding-left: 1rem;
}

.doc-content ul > li > ul {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.25rem;
}

.doc-content ol {
  padding-left: 1rem;
  list-style-type: lower-latin;
}

.doc-content ul > li {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.doc-content ol > li {
  margin-bottom: 0.5rem;
}

.doc-content table {
  display: block;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: 0.8em;
  line-height: 1.2em;
  margin: 1.25rem 0;
  overflow-x: auto;
}

.doc-content table th,
.doc-content table td {
  min-width: 8rem;
  padding: 0.5rem;
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--table-border-color);
}

.doc-content table th {
  border-bottom-width: 2px;
}

.doc-content table th:first-child,
.doc-content table td:first-child {
  min-width: 5rem;
}

.doc-content footer {
  color: var(--footer-color);
}

@media (min-width: 768px) {
  .doc-content header > h1 {
    font-size: 3.25em;
    margin: 4.5rem auto 1rem;
  }

  .doc-content header + p {
    margin-top: 2.5rem;
  }

  .doc-content header + p:empty {
    margin-top: 0;
  }

  .doc-content h2 {
    font-size: 1.75em;
    margin: 3.5rem 0 0.5rem;
  }

  .doc-content p.lead {
    font-size: 1.5em;
    line-height: 1.8em;
    margin: 1rem 0;
    text-align: left;
  }

  .doc-content table {
    display: block;
    font-size: 0.9em;
    line-height: 1.4em;
  }

  .doc-content table th,
  .doc-content table td {
    min-width: 9rem;
  }
}
