/*
 * Formatted text written in the admin panel's editor (admin/_rich-text) and
 * cleaned by App\Support\RichText: paragraphs, two heading levels, lists,
 * quotes and links. Wrap the output in .rich-text. Colours and sizes are
 * inherited, so it sits inside any theme (site, seminar, webinar, portal,
 * admin) without restyling it.
 */
/* white-space: normal - the markup carries the line breaks, so a pre-line
   parent (.detail dd and the like) must not double them. */
.rich-text { line-height: 1.7; overflow-wrap: anywhere; white-space: normal; }
.rich-text > * + * { margin-top: 12px; }
.rich-text p { margin: 0; }
.rich-text h2,
.rich-text h3,
.rich-text h4 { margin: 20px 0 8px; font-size: 1.15em; line-height: 1.4; }
.rich-text h4 { font-size: 1.05em; }
.rich-text > :first-child { margin-top: 0; }
.rich-text ul,
.rich-text ol { margin: 0; padding-left: 22px; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li + li { margin-top: 4px; }
.rich-text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rich-text blockquote { margin: 0; padding: 8px 0 8px 18px; border-left: 3px solid #ff9800; opacity: .85; }

/* The editor in the admin panel: a comfortable height to write in. */
.ck-editor__editable_inline { min-height: 160px; }
