/* Read-only Quill HTML: keep the active template's typography, without editor chrome. */
.wgc-rich-text.ql-editor { padding:0; height:auto; overflow:visible; line-height:var(--cms-line-height,1.75); font-family:inherit; font-size:inherit; }
.wgc-rich-text.ql-editor > * { cursor:auto; }
.wgc-rich-text.ql-editor p { margin:0 0 1em; }
.wgc-rich-text strong, .wgc-rich-text b { font-weight:700; }
.wgc-rich-text em, .wgc-rich-text i { font-style:italic; }
.wgc-rich-text u { text-decoration:underline; }
.wgc-rich-text s, .wgc-rich-text strike { text-decoration:line-through; }
.wgc-rich-text a[href] { color:var(--cms-link,#0d6efd); text-decoration:underline; text-underline-offset:.15em; overflow-wrap:anywhere; }
.wgc-rich-text img, .wgc-rich-text video { max-width:100%; height:auto; }
.wgc-rich-text iframe { max-width:100%; aspect-ratio:16/9; height:auto; }
.wgc-rich-text blockquote { border-left:4px solid var(--cms-border,#ccc); margin:1em 0; padding:.5em 1em; }
.wgc-rich-text .ql-code-block-container, .wgc-rich-text pre { white-space:pre-wrap; background:#f1f3f5; padding:1em; border-radius:4px; }
.wgc-rich-text .ql-image-left { float:left; margin:0 1em .5em 0; }
.wgc-rich-text .ql-image-right { float:right; margin:0 0 .5em 1em; }
.wgc-rich-text::after { content:""; display:table; clear:both; }
/* Older Quill HTML used normal list items without Quill 2's data-list / ql-ui. */
.wgc-rich-text ul > li:not([data-list]) { list-style-type:disc; }
.wgc-rich-text ol > li:not([data-list]) { list-style-type:decimal; }
