/* Body content written in the Lexxy editor. */
.rich-text {
  > * + * {
    margin-top: 1.1em;
  }

  h2 {
    margin-top: 1.8em;
    font-size: var(--text-xl);
  }

  h3 {
    margin-top: 1.6em;
    font-size: var(--text-lg);
    font-family: var(--font-body);
    font-weight: 700;
  }

  ul,
  ol {
    padding-left: 1.4em;
  }

  li + li {
    margin-top: 0.4em;
  }

  li::marker {
    color: var(--color-ochre);
  }

  blockquote {
    padding-left: var(--space-5);
    border-left: 2px solid var(--color-ochre);
    font-style: italic;
    color: var(--color-text-muted);
  }

  a {
    text-decoration-color: var(--color-ochre);
  }

  hr {
    width: 4rem;
    margin-block: 2.4em;
    border: 0;
    border-top: 1px solid var(--color-ochre);
  }

  figure,
  action-text-attachment {
    display: block;
    margin-block: 2em;
  }

  img {
    border-radius: var(--radius);
  }

  figcaption {
    margin-top: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
  }

  table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
  }

  th,
  td {
    padding: var(--space-2) var(--space-3);
    border-bottom: 1px solid var(--color-line);
    text-align: left;
  }
}
