.richtext-content {
  font-family: inherit;
  font-size: inherit;
  font-weight: 300;
  line-height: 1.7;
  color: #ffffff;
  max-width: 80ch;
}

.richtext-content p {
  color: var(--text-light-muted);
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.richtext-content h1,
.richtext-content h2,
.richtext-content h3,
.richtext-content h4,
.richtext-content h5,
.richtext-content h6 {
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1em;
  color: #ffffff;
}

.richtext-content .subtext {
  font-size: var(--h4);
}

.richtext-content h1 {
  font-size: var(--h2);
}

.richtext-content h2 {
  font-size: var(--h2);
}

.richtext-content h3 {
  font-size: var(--h5);
}

.richtext-content h4 {
  font-size: var(--h4);
}

.richtext-content h5 {
  font-size: var(--h5);
}

.richtext-content h6 {
  font-size: var(--h6);
}

.richtext-content ul,
.richtext-content ol {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
  padding-left: var(--space-s);
}

.richtext-content ul li,
.richtext-content ol li {
  color: var(--text-light-muted);
  margin-bottom: 1.1em;
}

.richtext-content ul {
  list-style-type: disc;
}

.richtext-content ol {
  list-style-type: decimal;
}

.richtext-content blockquote {
  margin: 2em 0;
  padding-left: 1.5em;
  border-left: 3px solid #ffffff;
  font-style: italic;
  color: #dddddd;
}

.richtext-content a {
  transition: all .5s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--white-trans-30);
}

.richtext-content a:hover {
  color: #00b7ff;
  border-bottom: 1px solid var(--white-trans-60);
}

.richtext-content strong {
  color: var(--text-light-muted);
  font-weight: 500;
}

.richtext-content em {
  font-style: italic;
}

.richtext-content hr {
  margin: 3em 0;
  border: none;
  border-top: 1px solid var(--white-trans-10);
}

.richtext-content img {
  max-width: 100%;
  height: auto;
  margin: 2em 0;
}

.richtext-content figure {
  margin: 2em 0;
  text-align: center;
}

.richtext-content figcaption {
  font-size: 0.9rem;
  color: #cccccc;
  margin-top: 0.5em;
}

.richtext-content pre {
  background: #222;
  padding: 1em;
  overflow-x: auto;
  margin: 2em 0;
  border-radius: 5px;
}

.richtext-content code {
  background: #333;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-family: monospace;
}