/* Rich text on public pages (fields edited with the rich-text editor). A single paragraph
   looks exactly like the plain text it replaced; longer content gets readable spacing. */
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text p { margin: 0; }
.rich-text > * + * { margin-top: .85em; }
.rich-text h2, .rich-text h3, .rich-text h4 { color: #001d2e; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.rich-text h2 { font-size: 1.35em; }
.rich-text h3 { font-size: 1.18em; }
.rich-text h4 { font-size: 1.05em; }
.rich-text ul { list-style: disc; padding-left: 1.3em; }
.rich-text ol { list-style: decimal; padding-left: 1.3em; }
.rich-text li + li { margin-top: .35em; }
.rich-text a { color: #0072a6; text-decoration: underline; text-underline-offset: 2px; }
.rich-text a:hover { color: #003954; }
.rich-text strong, .rich-text b { font-weight: 700; }
.rich-text blockquote { border-left: 3px solid #f6c22f; background: #f4f8fb; padding: .9em 1.1em; font-style: italic; color: #001d2e; }
.rich-text img { max-width: 100%; height: auto; border-radius: 6px; }
.rich-text table { width: 100%; border-collapse: collapse; font-size: .95em; }
.rich-text th, .rich-text td { border: 1px solid #dce8ee; padding: .5em .7em; text-align: left; vertical-align: top; }
.rich-text thead th { background: #f4f8fb; font-weight: 700; }
.rich-text .text-start { text-align: left; }
.rich-text .text-center { text-align: center; }
.rich-text .text-end { text-align: right; }
.rich-text .text-justify { text-align: justify; }

/* Story, publication and newsletter bodies edited in the rich-text editor. Paragraphs,
   headings, bullet lists and quotes carry the classes of the old blocks; these cover the rest. */
.story-body h3, .story-body h4 { color: #001d2e; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.story-body h3 { font-size: 1.3rem; }
.story-body h4 { font-size: 1.1rem; }
.story-body ol { list-style: decimal; padding-left: 1.4em; }
.story-body ol li + li { margin-top: .4em; }
/* Tick-mark and numbered-step lists (.article-list, in uiri.css) draw their own ticks and numbers
   and space their items: without this, the browser's numbers showed next to the step numbers. */
.story-body .article-list, .rich-text .article-list { list-style: none; padding-left: 0; }
.story-body .article-list li + li, .rich-text .article-list li + li { margin-top: 0; }
.story-body p a, .story-body li a, .story-body td a { color: #0072a6; text-decoration: underline; text-underline-offset: 2px; }
.story-body p a:hover, .story-body li a:hover { color: #003954; }
.story-body strong, .story-body b { font-weight: 700; }
.story-body figure blockquote p + p { margin-top: .6em; }
.story-body img { max-width: 100%; height: auto; }
.story-body table { width: 100%; border-collapse: collapse; font-size: .95em; line-height: 1.6; }
.story-body th, .story-body td { border: 1px solid #dce8ee; padding: .5em .7em; text-align: left; vertical-align: top; }
.story-body thead th { background: #f4f8fb; font-weight: 700; color: #001d2e; }
.story-body .text-start { text-align: left; }
.story-body .text-center { text-align: center; }
.story-body .text-end { text-align: right; }
.story-body .text-justify { text-align: justify; }
