/* ==========================================================================
   资讯正文增强（Markdown 生成页与手工页共用）
   1) 图片/视频限制在内容列内：原有样式只给 strong>img 设了桌面端 max-width，
      Markdown 输出的 <p><img> 在桌面端没有约束，会把右侧栏挤出视口。
   2) 恢复列表符号：global.css 重置了 ol/ul 的 list-style，正文列表只剩缩进。
   ========================================================================== */

body.newsdetail .newsdetail-content .content-text img,
body.newsdetail .newsdetail-content .content-text video {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 22px 0;
  border-radius: 12px;
}

body.newsdetail .content-text ul {
  list-style: disc outside;
}

body.newsdetail .content-text ol {
  list-style: decimal outside;
}

body.newsdetail .content-text li {
  list-style-position: outside;
}

body.newsdetail .content-text blockquote {
  margin: 0 0 20px;
  padding: 12px 18px;
  border-left: 3px solid #2d5aff;
  border-radius: 8px;
  background: #f7f9ff;
  color: #41506b;
}

body.newsdetail .content-text hr {
  height: 1px;
  margin: 32px 0;
  background: #eef2fa;
}

body.newsdetail .content-text pre code {
  white-space: pre;
}

/* 移动端：图片保持整列宽，避免小图居中后左右留白不均 */
@media (max-width: 1023px) {
  body.newsdetail .newsdetail-content .content-text img,
  body.newsdetail .newsdetail-content .content-text video {
    width: 100%;
  }
}
