/* Article typography only. Theme navigation, forms and stored article HTML stay independent. */
html[data-sitehub-typography-page] {
  --sitehub-article-title-size: clamp(22px, 5.6vw, 28px);
  --sitehub-article-h2-size: 22px;
  --sitehub-article-h3-size: 20px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) [data-sitehub-typography-container] {
  box-sizing: border-box;
  min-width: 0 !important;
  max-width: 100% !important;
}
html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) body,
html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) [data-sitehub-typography-fluid] {
  box-sizing: border-box;
  min-width: 0 !important;
  max-width: 100% !important;
}
html[data-sitehub-typography-page] [data-sitehub-typography-title] {
  font-size: var(--sitehub-article-title-size) !important;
  line-height: 1.5 !important;
  font-weight: 700;
  height: auto !important;
  max-height: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  text-indent: 0 !important;
  margin-top: 0;
  margin-bottom: 18px;
}
html[data-sitehub-typography-page] [data-sitehub-typography-title] :where(span,font,a,strong,b) {
  font-size: inherit !important;
  line-height: inherit !important;
}
html[data-sitehub-typography-page] [data-sitehub-typography-body] {
  box-sizing: border-box;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  font-size: 16px !important;
  line-height: 1.85 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere;
  word-break: normal;
  text-align: left;
}
html[data-sitehub-typography-page] [data-sitehub-typography-body] :where(p,div,span,font,a,li,ul,ol,blockquote,thead,tbody,tfoot,tr,td,th,caption,strong,b,em,i,u,s,section):not(:where(form,form *,[data-sitehub-registration],[data-sitehub-registration] *,button,button *,.sitehub-consent,.sitehub-consent *,.sitehub-ai-image-label,[data-sitehub-typography-title])) {
  font-size: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
}
html[data-sitehub-typography-page] [data-sitehub-typography-body] :where(p,blockquote,ul,ol):not(:where(form *,[data-sitehub-registration] *)) {
  box-sizing: border-box;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  white-space: normal !important;
  margin-top: 0;
  margin-bottom: 1em;
}
html[data-sitehub-typography-page] [data-sitehub-typography-body] :where(h1,h2,h3,h4,h5,h6):not(:where(form *,[data-sitehub-registration] *,.sctit2,[data-sitehub-typography-title])) {
  line-height: 1.5 !important;
  font-weight: 700;
  height: auto !important;
  white-space: normal !important;
  text-indent: 0 !important;
  margin: 1.4em 0 .65em;
}
html[data-sitehub-typography-page] [data-sitehub-typography-body] :where(h1,h2):not(:where([data-sitehub-typography-title],form *,[data-sitehub-registration] *,table *,.sctit2)) { font-size: var(--sitehub-article-h2-size) !important; }
html[data-sitehub-typography-page] [data-sitehub-typography-body] h3:not(:where(form *,[data-sitehub-registration] *,table *)) { font-size: var(--sitehub-article-h3-size) !important; }
html[data-sitehub-typography-page] [data-sitehub-typography-body] :where(h4,h5,h6):not(:where(form *,[data-sitehub-registration] *,table *)) { font-size: 18px !important; }
html[data-sitehub-typography-page] [data-sitehub-typography-body] .sctit2 { font-size: 14px !important; line-height: 1.6 !important; height: auto !important; margin: 0 0 18px; }
html[data-sitehub-typography-page] [data-sitehub-typography-body] :where(ul,ol):not(:where(form *,[data-sitehub-registration] *)) { padding-left: 1.5em; }
html[data-sitehub-typography-page] [data-sitehub-typography-body] :where(img,video,iframe,svg,canvas):not(:where(form *,[data-sitehub-registration] *)) {
  box-sizing: border-box;
  max-width: 100% !important;
}
html[data-sitehub-typography-page] [data-sitehub-typography-body] :where(img,video):not(:where(form *,[data-sitehub-registration] *)) { height: auto !important; }
html[data-sitehub-typography-page] [data-sitehub-typography-body] pre:not(:where(form *,[data-sitehub-registration] *)) { max-width: 100%; overflow-x: auto; font-size: 14px; line-height: 1.7; }
html[data-sitehub-typography-page] [data-sitehub-typography-body] .sitehub-article-table {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid #dce2e9;
  border-radius: 4px;
  font-size: 14px !important;
  line-height: 1.6 !important;
  text-indent: 0 !important;
}
html[data-sitehub-typography-page] .sitehub-article-table:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
html[data-sitehub-typography-page] [data-sitehub-typography-body] .sitehub-article-table > table {
  display: table !important;
  width: 100% !important;
  max-width: none !important;
  min-width: var(--sitehub-article-table-min, 0px) !important;
  height: auto !important;
  margin: 0 !important;
  border-collapse: collapse !important;
  table-layout: auto !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
html[data-sitehub-typography-page] .sitehub-article-table :where(td,th) {
  box-sizing: border-box;
  height: auto !important;
  min-width: var(--sitehub-article-cell-min, 0px) !important;
  padding: 10px 12px;
  border: 1px solid #dce2e9;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
  text-indent: 0 !important;
  vertical-align: middle;
}
html[data-sitehub-typography-page] .sitehub-article-table th { background: #f5f7fa !important; color: #334155 !important; font-weight: 600; }
html[data-sitehub-typography-page] .sitehub-article-table th :where(span,font,a,strong,b) { color: inherit !important; }
html[data-sitehub-typography-page] .sitehub-article-table :where(p,div) { margin: 0; }
html[data-sitehub-typography-page] .sitehub-article-table :where(h1,h2,h3,h4,h5,h6) { font-size: inherit !important; line-height: inherit !important; margin: 0; }
html[data-sitehub-typography-page="www.qncszx.cn"] .max.nav,
html[data-sitehub-typography-page="www.qncszx.cn"] .max.nav .box { height: auto !important; }
html[data-sitehub-typography-page="www.qncszx.cn"] .max.nav ul { display: flex; flex-wrap: wrap; width: 100% !important; height: auto !important; }
html[data-sitehub-typography-page="www.qncszx.cn"] .max.nav li { flex: 1 0 120px; width: auto !important; }
@media (max-width: 1023px) {
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) {
    --sitehub-article-h2-size: clamp(20px, 4vw, 22px);
    --sitehub-article-h3-size: clamp(18px, 3.7vw, 20px);
  }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]),html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) body {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) [data-sitehub-typography-container] {
    box-sizing: border-box;
    min-width: 0 !important;
    max-width: 100% !important;
    width: auto !important;
    float: none !important;
  }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) [data-sitehub-typography-title] { margin-bottom: 14px; }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) [data-sitehub-typography-body] {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) .sitehub-article-table :where(td,th) { padding: 8px 10px; }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) [data-sitehub-typography-fluid] {
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) body :where(img,video,iframe,input,select,textarea) { box-sizing: border-box; max-width: 100%; }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) body img { height: auto; }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) :where(.width1200,.w1200,.wp1200,.wp123,.w12fg00,.header_logo,.header-a,.header-b,.header-c,.logo_left,.posi,.breadcrumbs,.footer,.footer_con,.foot,.postform,.formbox,.form_wrap,.orderbox,.youhui,.college_wrap,.college_box,.contain_con,.con_con,.conth) {
    box-sizing: border-box !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
  }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) :where(.top_right,.header_top_right,.site_nav,.header-c,.search) { position: static; float: none; }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) :where(.college_wrap,.contain_con,.general-rules-cnt,.conth,.detail_left_body) { padding-left: clamp(12px,3vw,22px) !important; padding-right: clamp(12px,3vw,22px) !important; }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) :where(.header_nav,.nav,.navbg,.nav_box,.nav-menu) { max-width: 100%; overflow-x: auto; }
  html[data-sitehub-typography-page]:not([data-sitehub-typography-layout="desktop"]) table.hangjv { width: 100% !important; max-width: 100%; table-layout: fixed; overflow-wrap: anywhere; }
}

html[data-sitehub-typography-layout="desktop"] { --sitehub-article-title-size: 28px; }
