/* Shared by the editing iframe and published articles. Keep defaults scoped. */
.article-content {
    max-width: 1200px;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-size: 16px;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    font-feature-settings: normal;
    line-height: 1.75;
    color: #4d4d4d;
    text-align: start;
    overflow-wrap: break-word;
}
.article-content,
.article-content *,
.article-content *::before,
.article-content *::after {
    box-sizing: content-box;
}
.article-content p {
    margin: 5px 0;
    padding: 0;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin: 1em 0 .5em;
    padding: 0;
    font-weight: bold;
    line-height: 1.5;
}
/* The news renderer maps legacy H1 elements to H2 for the site's SEO rules. */
.article-content h1,
.article-content h2 { font-size: 1.5em; }
.article-content h3 { font-size: 1.17em; }
.article-content h4 { font-size: 1em; }
.article-content h5 { font-size: .83em; }
.article-content h6 { font-size: .67em; }
.article-content a {
    color: #0000ee;
    text-decoration: underline;
}
.article-content strong,
.article-content b { font-weight: bold; }
.article-content em,
.article-content i { font-style: italic; }
.article-content ol,
.article-content ul {
    width: auto;
    margin: 0;
    padding: 0 0 0 30px;
    list-style-position: outside;
}
.article-content ol { list-style-type: decimal; }
.article-content ul { list-style-type: disc; }
.article-content ul ul { list-style-type: circle; }
.article-content ul ul ul { list-style-type: square; }
.article-content ul[type="circle"] { list-style-type: circle; }
.article-content ul[type="square"] { list-style-type: square; }
.article-content ol[type="a"] { list-style-type: lower-alpha; }
.article-content ol[type="A"] { list-style-type: upper-alpha; }
.article-content ol[type="i"] { list-style-type: lower-roman; }
.article-content ol[type="I"] { list-style-type: upper-roman; }
.article-content li {
    display: list-item;
    clear: both;
    margin: 0;
    padding: 0;
}
.article-content li > p { margin: 0; }
.article-content .list-paddingleft-3 { padding-left: 60px; }
/* Legacy UEditor used remote GIFs for these markers. Render them locally. */
@counter-style article-number-paren {
    system: extends decimal;
    suffix: ") ";
}
@counter-style article-number-brackets {
    system: extends decimal;
    prefix: "(";
    suffix: ") ";
}
@counter-style article-chinese-paren {
    system: extends cjk-ideographic;
    suffix: ") ";
}
@counter-style article-chinese-brackets {
    system: extends cjk-ideographic;
    prefix: "(";
    suffix: ") ";
}
@counter-style article-dash {
    system: cyclic;
    symbols: "\2014";
    suffix: " ";
}
.article-content ol.custom_num { list-style-type: decimal; }
.article-content ol.custom_num1 { list-style-type: article-number-paren; }
.article-content ol.custom_num2 { list-style-type: article-number-brackets; }
.article-content ol.custom_cn { list-style-type: cjk-ideographic; }
.article-content ol.custom_cn1 { list-style-type: article-chinese-paren; }
.article-content ol.custom_cn2 { list-style-type: article-chinese-brackets; }
.article-content ul.custom_dash { list-style-type: article-dash; }
.article-content ul.custom_dot { list-style-type: disc; }
.article-content table {
    display: table;
    margin: 0 0 10px;
    border-spacing: 0;
    border-collapse: collapse;
}
.article-content td,
.article-content th {
    padding: 5px 10px;
    border: 1px solid #ddd;
}
.article-content th {
    font-weight: bold;
    text-align: center;
    border-top-color: #bbb;
    background-color: #f7f7f7;
}
.article-content tr.firstRow th { border-top-width: 2px; }
.article-content caption {
    padding: 3px;
    border: 1px dashed #ddd;
    border-bottom: 0;
    text-align: center;
}
.article-content td p,
.article-content th p { margin: 0; padding: 0; }
.article-content .ue-table-interlace-color-single { background-color: #fcfcfc; }
.article-content .ue-table-interlace-color-double { background-color: #f7faff; }
.article-content img {
    max-width: 100%;
    border: 0;
    vertical-align: top;
}
.article-content img + br {
    display: block;
    padding: 4px 0;
    content: ' ';
}
.article-content video,
.article-content audio,
.article-content iframe { max-width: 100%; }
.article-content iframe { border: 0; }
.article-content blockquote {
    margin: 0 0 18px;
    padding: 0 0 0 15px;
    border-left: 5px solid #eee;
}
.article-content pre {
    margin: .5em 0;
    padding: .4em .6em;
    border-radius: 8px;
    background: #f8f8f8;
    line-height: 1.5;
    white-space: pre-wrap;
}
.article-content pre,
.article-content code { font-family: Consolas, 'Courier New', monospace; }
.article-content hr {
    margin: .5em 0;
    border: 0;
    border-top: 1px solid #ccc;
}
.article-content sub,
.article-content sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}
.article-content sup { top: -.5em; }
.article-content sub { bottom: -.25em; }
