.pcd_article h1,
.pcd_article h2,
.pcd_article h3,
.pcd_article h4,
.pcd_article h5,
.pcd_article h6 {
  font-weight: 700;
}

/*重置文章容器的计数器*/
.pcd_article {
  counter-reset: h1 h2 h3 h4;
}

/*重置文章导航容器的计数器*/
.article_anchor {
  counter-reset: h1 h2 h3 h4 !important;
}

/*统一文章导航容器的字体*/
.article_anchor h1,
.article_anchor h2,
.article_anchor h3,
.article_anchor h4,
.article_anchor h5,
.article_anchor h6 {
  font-size: 14px !important;
  font-weight: 500 !important;
}

.article_anchor div:has(> a > h1) {
  counter-reset: h2;
  counter-increment: h1;
}

.paper_zh h1::before {
  content: counter(h1, trad-chinese-informal) "、";
}
.paper_en h1::before {
  content: counter(h1) ".";
}

.article_anchor div:has(> a > h2) {
  counter-reset: h3;
  counter-increment: h2;
}
.paper_zh h2::before {
  content: "（" counter(h2, trad-chinese-informal) "）";
}
.paper_en h2::before {
  content: counter(h1) "." counter(h2);
}

.article_anchor div:has(> a > h3) {
  counter-increment: h3;
  counter-reset: h4;
}
.paper_zh h3::before {
  content: counter(h3) ".";
}
.paper_en h3::before {
  content: counter(h1) "." counter(h2) "." counter(h3);
}

.article_anchor div:has(> a > h4) {
  counter-increment: h4;
  /*counter-reset: h5;*/
}
.paper_zh h4::before {
  content: "（" counter(h4) "）";
}
.paper_en h4::before {
  content: counter(h1) "." counter(h2) "." counter(h3) "." counter(h4);
}

.pcd_md_editor h1,
.pcd_article h1 {
  margin-top: 1em;
  font-size: 27px !important;
  border-bottom: 1px solid gray;
  counter-increment: h1;
}
.pcd_md_editor h1 + h2,
.pcd_article h1 + h2 {
  counter-set: h2 1;
}

.pcd_md_editor h2,
.pcd_article h2 {
  margin-top: 1em;
  font-size: 24px !important;
  border-bottom: 1px solid gray;
  counter-reset: h3;
  counter-increment: h2;
}
.pcd_md_editor h2 + h3,
.pcd_article h2 + h3 {
  counter-set: h3 1;
}
.pcd_md_editor h3,
.pcd_article h3 {
  margin-top: 0.5em;
  font-size: 22px !important;
  counter-increment: h3;
  counter-reset: h4;
}
.pcd_md_editor h3 + h4,
.pcd_article h3 + h4 {
  counter-set: h4 1;
}
.pcd_md_editor h4,
.pcd_article h4 {
  font-size: 20px !important;
  counter-increment: h4;
  counter-reset: h5;
}
.pcd_article h5 {
  font-size: 18px !important;
}
.pcd_article h6 {
  font-size: 16px !important;
  font-weight: 700;
}
.pcd_article blockquote {
  margin-left: 1em;
  border-left: 4px solid #dad9d9;
  padding-left: 0.5em;
  color: gray;
}

.pcd_article img {
  max-width: 100%;
}

.pcd_article table {
  border-spacing: 0;
  border-collapse: collapse;
  display: block;
  /*width: -webkit-max-content;*/
  /*width: max-content;*/
  max-width: 100%;
}
.pcd_article td,
.pcd_article th {
  padding: 0;
}

.pcd_article table th {
  font-weight: 600;
}
.pcd_article table th,
.pcd_article table td {
  padding: 6px 13px;
  border: 1px solid #d0d7de;
}
.pcd_article table tr {
  background-color: #ffffff;
  border-top: 1px solid hsl(210, 18%, 87%);
}
.pcd_article table tr:nth-child(2n) {
  background-color: #f6f8fa;
}
.pcd_article table img {
  background-color: transparent;
}

.pcd_article video {
  max-width: 90%;
}

.video-js video {
  max-width: 100%;
}

.pcd_article .evaluate-fatal{
  background-color: #ffcdd2;
}
.pcd_article .evaluate-error{
  background-color: #ffe0b2;
}
.pcd_article .evaluate-warning{
  background-color: #fff9c4;
}
.pcd_article .evaluate-suggestion{
  background-color: #c8e6c9;
}
