/* Formatted text from the Panel's text areas (bold, italic, links; lists
   still work when typed as "- item"),
   rendered with kirbytext(): the place texts, menu items and the popup.
   Add the class "rich-text" to the element that wraps the output. */

/* One empty line between paragraphs, as the texts had before they were
   formatted (a blank line in the text area). */
.rich-text > * + * {
  margin-top: 1em; /* fallback for browsers without the lh unit */
  margin-top: 1lh;
}

.rich-text strong {
  font-weight: 700;
}

.rich-text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rich-text a:hover {
  color: var(--color-text-darkpurple);
}

.rich-text ul,
.rich-text ol {
  padding-left: 1.25em;
}

.rich-text li + li {
  margin-top: 0.25em;
}
