/* CME Article Design System v1.9H
   Semantic classes are applied by the article editor / website lobster.
   Keep presentation centralized so existing articles can evolve without rewriting HTML. */
.article-body{
  color:#1f2937;
  font-size:17px;
  line-height:1.9;
  letter-spacing:.01em;
}
.article-body p{margin:0 0 1.18em;}
.article-body > :first-child{margin-top:0;}
.article-body > :last-child{margin-bottom:0;}

/* v1.9H: every processed text/list/divider block gets a durable baseline class.
   This makes “full coverage” visible even when imported HTML uses p+strong/div instead of semantic h tags. */
.article-body .cme-body-text{
  margin:0 0 1.18em;
  line-height:1.9;
  text-align:justify;
  text-wrap:pretty;
}
.article-body .cme-list-block{
  margin:1em 0 1.4em;
  padding:.72em 1em .72em 2.15em;
  border-radius:8px;
  background:#f8fafc;
  line-height:1.85;
}
.article-body .cme-list-block > li{margin:.28em 0;}
.article-body hr.cme-divider,.article-body .cme-divider{
  border:0;
  border-top:1px solid #cbd5e1;
  margin:1.7em 0;
  height:0;
}

.article-body .cme-section-title{
  display:block;
  margin:2.1em 0 1.1em;
  padding:.58em .92em;
  border-radius:8px;
  background:#0f8f83;
  color:#fff !important;
  font-weight:900;
  font-size:1.08em;
  line-height:1.45;
  box-shadow:0 7px 18px rgba(15,143,131,.12);
}
.article-body .cme-subsection-title{
  margin:1.8em 0 .85em;
  padding:.2em 0 .2em .72em;
  border-left:4px solid #0f8f83;
  color:#0f172a;
  font-weight:900;
  font-size:1.05em;
  line-height:1.5;
}
.article-body .cme-lead{
  margin:1.05em 0 1.2em;
  color:#334155;
  font-size:1.03em;
  line-height:1.9;
}
.article-body .cme-key-point{
  margin:1.25em 0 1.55em;
  padding:1.28em 1.38em;
  border-left:5px solid #ef4444;
  background:#fff8ef;
  color:#111827;
  font-weight:850;
  font-size:1.05em;
  line-height:1.72;
}
.article-body .cme-numbered-conclusion{
  margin:1.05em 0 1.25em;
  padding:.95em 1.1em;
  border:1px solid #e2e8f0;
  background:#f8fafc;
  color:#111827;
  font-weight:850;
  line-height:1.68;
}
.article-body .cme-clinical-tip{
  margin:1.2em 0 1.4em;
  padding:1em 1.1em;
  border-left:4px solid #3b82f6;
  background:#eff6ff;
  color:#1e3a8a;
  border-radius:0 8px 8px 0;
  line-height:1.75;
}
.article-body .cme-quote{
  margin:1.25em 0;
  padding:.9em 1.05em;
  border-left:4px solid #94a3b8;
  background:#f8fafc;
  color:#475569;
  font-style:italic;
}
.article-body .cme-reference-block{
  margin-top:1.5em;
  padding-top:1em;
  border-top:1px solid #e5e7eb;
  color:#64748b;
  font-size:.88em;
  line-height:1.7;
}
.article-body figure.cme-figure,
.article-body .cme-figure{
  margin-top:1.4em !important;
  margin-bottom:1.45em !important;
}
.article-body .cme-figure figcaption,
.article-body figcaption{
  margin-top:.6em;
  color:#64748b;
  font-size:.82em;
  line-height:1.55;
  text-align:center;
}
.article-body table.cme-table,
.article-body .cme-table table,
.article-body table{
  width:100%;
  border-collapse:collapse;
  margin:1.25em 0;
  font-size:.92em;
}
.article-body table.cme-table th,
.article-body table.cme-table td,
.article-body .cme-table th,
.article-body .cme-table td{
  border:1px solid #e2e8f0;
  padding:.65em .72em;
  vertical-align:top;
}
.article-body table.cme-table th,
.article-body .cme-table th{
  background:#f8fafc;
  font-weight:850;
  color:#0f172a;
}

/* v1.9J · 文章表格真实边框与四方向框线。
   TinyMCE 编辑器里的灰色虚线可能只是无边框表格的辅助网格；
   v1.9J 继续兼容 v1.9I 整表类；精细框线由 th/td 的 inline border-top/right/bottom/left 持久化，优先于这些默认样式。 */
.article-body table.cme-table-border-solid,
.article-body table.cme-table-border-dashed{
  border-collapse:collapse;
}
.article-body table.cme-table-border-solid th,
.article-body table.cme-table-border-solid td{
  border:var(--cme-table-border-width,1px) solid var(--cme-table-border-color,#94a3b8);
}
.article-body table.cme-table-border-dashed th,
.article-body table.cme-table-border-dashed td{
  border:var(--cme-table-border-width,1px) dashed var(--cme-table-border-color,#94a3b8);
}
.article-body table.cme-table-border-none,
.article-body table.cme-table-border-none th,
.article-body table.cme-table-border-none td{
  border:none !important;
}
.article-body .cme-layout-lock{
  outline:1px dashed transparent;
}

@media (max-width:640px){
  .article-body{font-size:17px;line-height:1.9;}
  .article-body .cme-section-title{margin:1.85em 0 1em;padding:.55em .78em;border-radius:7px;}
  .article-body .cme-key-point{padding:1.05em 1.05em;margin:1.1em 0 1.35em;}
  .article-body .cme-numbered-conclusion{padding:.85em .92em;}
}

/* Style variants selected in the editor. */
.article-body .cme-section-title[data-cme-style="academic_clean"]{
  background:transparent;
  color:#0f172a !important;
  border-radius:0;
  border-left:5px solid #0f8f83;
  box-shadow:none;
  padding:.25em 0 .25em .8em;
}
.article-body .cme-key-point[data-cme-style="academic_clean"]{
  background:#f8fafc;
  border-left-color:#64748b;
  font-weight:760;
}
.article-body .cme-numbered-conclusion[data-cme-style="academic_clean"]{
  background:#fff;
  border-color:#cbd5e1;
}
.article-body .cme-section-title[data-cme-style="popular_reading"]{
  background:#0d9488;
  font-size:1.12em;
}
.article-body .cme-key-point[data-cme-style="popular_reading"]{
  background:#fff7ed;
  border-left-color:#f97316;
}
.article-body .cme-clinical-tip[data-cme-style="popular_reading"]{
  background:#ecfeff;
  border-left-color:#0891b2;
  color:#155e75;
}

/* v1.9H style variants for newly covered baseline blocks. */
.article-body .cme-list-block[data-cme-style="academic_clean"]{background:#fff;border-left:3px solid #cbd5e1;border-radius:0;}
.article-body .cme-list-block[data-cme-style="popular_reading"]{background:#f0fdfa;}
@media (max-width:640px){.article-body .cme-body-text{text-align:left}.article-body .cme-list-block{padding:.68em .8em .68em 1.85em;}}
