/* Shared by the TinyMCE editing body and public article content. */
.rich-text *{margin: 0;padding: 0;}
.rich-text{font-family: Arial, "Microsoft YaHei", sans-serif;font-size: 16px;line-height: 2;color: #333;overflow-wrap: break-word;}
.rich-text *{font-family: inherit;line-height: inherit;box-sizing: border-box;}
.rich-text p{margin: 1em 0;}
.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4,
.rich-text h5,
.rich-text h6{font-weight: bold;margin: 0.67em 0;line-height: 1.4;}
.rich-text h1{font-size: 2em;}
.rich-text h2{font-size: 1.5em;}
.rich-text h3{font-size: 1.17em;}
.rich-text h4{font-size: 1em;}
.rich-text h5{font-size: 0.83em;}
.rich-text h6{font-size: 0.67em;}
.rich-text strong,
.rich-text b{font-weight: bold;}
.rich-text em,
.rich-text i{font-style: italic;}
.rich-text u{text-decoration: underline;}
.rich-text s,
.rich-text strike{text-decoration: line-through;}
.rich-text small{font-size: 0.8em;}
.rich-text mark{background: #fcf8e3;padding: 0.1em 0.2em;}
.rich-text abbr[title]{text-decoration: underline dotted;cursor: help;}
.rich-text address{margin: 1em 0;font-style: italic;}
.rich-text a{color: #4099ff;text-decoration: underline;overflow-wrap: anywhere;}
.rich-text a:hover{color: #D42127;}

.rich-text ul,
.rich-text ol{margin: 1em 0;padding-inline-start: 40px;}
.rich-text ul{list-style-type: disc;}
.rich-text li{list-style-type: inherit;}
.rich-text ol{list-style-type: decimal;}

.rich-text li>ul,
.rich-text li>ol{margin: 0;}
.rich-text dl{margin: 1em 0;}
.rich-text dt{font-weight: bold;}
.rich-text dd{margin-left: 2em;}

.rich-text blockquote{border-left: 2px solid #ccc;margin: 1em 0 1em 24px;padding-left: 16px;color: #666;}
.rich-text blockquote p{margin: 0.5em 0;}
.rich-text hr{border: 0;border-top: 1px solid #ccc;margin: 1em 0;}

.rich-text code{background-color: #e8e8e8;border-radius: 3px;padding: 1.6px 3.2px;font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;}
.rich-text pre{display: block;margin: 0.5em 0 1em;padding: 1em;overflow: auto;background: #f5f2f0;color: #000;text-align: left;white-space: pre;word-spacing: normal;word-break: normal;word-wrap: normal;tab-size: 4;border-radius: 3px;}
.rich-text pre,
.rich-text pre code{font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;font-size: 0.9em;line-height: 1.5;}
.rich-text pre code{display: block;background: transparent;border-radius: 0;padding: 0;color: inherit;white-space: inherit;}
.rich-text pre code{font-size: inherit;}
.rich-text kbd{padding: 0.15em 0.4em;border-radius: 3px;background: #333;color: #fff;font-family: Consolas, Monaco, monospace;}
.rich-text :not(pre)>code[class*="language-"]{background: #f5f2f0;padding: 0.1em;border-radius: 0.3em;white-space: normal;}
.rich-text .token.cdata,
.rich-text .token.comment,
.rich-text .token.doctype,
.rich-text .token.prolog{color: #708090;}
.rich-text .token.punctuation{color: #999;}
.rich-text .token.boolean,
.rich-text .token.constant,
.rich-text .token.deleted,
.rich-text .token.number,
.rich-text .token.property,
.rich-text .token.symbol,
.rich-text .token.tag{color: #905;}
.rich-text .token.attr-name,
.rich-text .token.builtin,
.rich-text .token.char,
.rich-text .token.inserted,
.rich-text .token.selector,
.rich-text .token.string{color: #690;}
.rich-text .token.atrule,
.rich-text .token.attr-value,
.rich-text .token.keyword{color: #07a;}
.rich-text .token.class-name,
.rich-text .token.function{color: #dd4a68;}
.rich-text .token.important,
.rich-text .token.regex,
.rich-text .token.variable{color: #e90;}

.rich-text table{width: auto;max-width: 100%;margin: 1em 0;border-collapse: collapse;overflow-wrap: anywhere;}
.rich-text table td,
.rich-text table th{padding: 6.4px;}
.rich-text table th{font-weight: bold;}
.rich-text table caption{padding: 6.4px;color: #666;text-align: center;}
/* Legacy border attributes still get a visible grid. Inline author styles win. */
.rich-text table[border]:not([border="0"]){border-style: solid;}
/* Border styles do not inherit by default: bridge table -> section -> row -> cell.
   Direct-child selectors keep nested tables independent. */
.rich-text table > :is(thead, tbody, tfoot),
.rich-text table > :is(thead, tbody, tfoot) > tr,
.rich-text table > tr{border-color: inherit;border-style: inherit;border-width: inherit;}
.rich-text table > tr > :is(td, th),
.rich-text table > :is(thead, tbody, tfoot) > tr > :is(td, th){border-color: inherit;border-style: inherit;border-width: inherit;}
.rich-text figure{display: table;max-width: 100%;margin: 1em auto;}
.rich-text figure figcaption{display: block;margin-top: 4px;color: #999;text-align: center;}
.rich-text sub,
.rich-text sup{position: relative;font-size: 0.75em;line-height: 0;vertical-align: baseline;}
.rich-text sup{top: -0.5em;}
.rich-text sub{bottom: -0.25em;}



.rich-text img{max-width: 100% !important;height: auto;}
.rich-text video{max-width: 100% !important;height: auto;}
.rich-text iframe{max-width: 100%;}

