/* Public rich content uses the site's typography and theme tokens. */
.rich-text { min-width: 0; overflow-wrap: anywhere; }
.rich-text > :first-child { margin-top: 0; }
.rich-text > :last-child { margin-bottom: 0; }
.rich-text p { line-height: inherit; }
.rich-text h2, .rich-text h3, .rich-text h4 { font-family: var(--display); line-height: 1.35; margin-block: 1.5em .6em; }
.rich-text h2 { font-size: 1.5em; }
.rich-text h3 { font-size: 1.25em; }
.rich-text h4 { font-size: 1.1em; }
.rich-text ul, .rich-text ol { padding-inline-start: 1.5em; }
.rich-text li { margin-block: .3em; }
.rich-text a, .cs-copy a { color: var(--purple); text-underline-offset: .2em; }
.rich-text pre { overflow: auto; max-width: 100%; padding: 1em; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 8px; }
.rich-text blockquote, .cs-copy blockquote { border-inline-start: 3px solid var(--purple); padding-inline-start: 1em; margin-inline: 0; }
.rich-text .ql-align-center, .cs-copy .ql-align-center, .legal-copy .ql-align-center, .legal-summary .ql-align-center { text-align: center; }
.rich-text .ql-align-right, .cs-copy .ql-align-right, .legal-copy .ql-align-right, .legal-summary .ql-align-right { text-align: right; }
.rich-text .ql-align-justify, .cs-copy .ql-align-justify, .legal-copy .ql-align-justify, .legal-summary .ql-align-justify { text-align: justify; }
.cs-card__body > .rich-text { color: var(--muted); font-size: .93rem; }
.vlog-caption > .rich-text { white-space: normal; color: var(--muted); }
.about__credential-entry > .rich-text { font-size: .85em; }
