/* 课程库定制样式：改善中英文混排与代码块可读性 */
.wy-nav-content { max-width: 1100px; }
.rst-content { font-size: 15.5px; line-height: 1.75; }

/* 中文正文段落间距略大，便于阅读 */
.rst-content p { margin-bottom: 12px; }

/* 图片：限宽 + 轻微圆角阴影 */
.rst-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
  margin: 8px 0;
}
.rst-content .image-reference img { box-shadow: none; }

/* 表格：紧凑一点，长表格可横向滚动 */
.rst-content table.docutils { width: 100%; display: block; overflow-x: auto; }
.rst-content table.docutils td, .rst-content table.docutils th { padding: 6px 10px; }

/* 代码块 */
.rst-content div[class^="highlight"] { border-radius: 4px; }
.rst-content code.literal { color: #b5294b; }

/* 引用块（正文里的 Note / 注意）更醒目 */
.rst-content blockquote {
  border-left: 4px solid #f0b37e;
  background: #fff8f0;
  padding: 8px 14px;
  margin: 12px 0;
}
.rst-content blockquote p:last-child { margin-bottom: 0; }

/* 中英混排时给英文留一点字距 */
.rst-content { font-family: -apple-system, "PingFang SC", "Microsoft YaHei",
  "Helvetica Neue", Arial, sans-serif; }
