/* JEECMS 前台正文样式：让后台 Word 粘贴的内容在前台保持同样的排版 */
@import url("ckeditor5-content.css");

.cms-article {
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

/* Word 粘贴的段落常常带 margin:0cm，这里补一点呼吸感，但不覆盖 Word 自身的缩进设置 */
.cms-article p {
	margin-top: 0;
	margin-bottom: 12px;
}

.cms-article p.MsoNormal,
.cms-article p.MsoListParagraph {
	margin-bottom: 10px;
}

.cms-article img {
	max-width: 100%;
	height: auto;
}

.cms-article table {
	max-width: 100%;
}

.cms-article table td,
.cms-article table th {
	word-break: break-word;
	padding: 6px 8px;
}

/* Word 里的标题样式，避免前台标题被站点样式放大过多 */
.cms-article h1 { font-size: 24px; line-height: 1.4; margin: 18px 0 12px; }
.cms-article h2 { font-size: 20px; line-height: 1.4; margin: 16px 0 10px; }
.cms-article h3 { font-size: 18px; line-height: 1.4; margin: 14px 0 8px; }
.cms-article h4 { font-size: 16px; line-height: 1.4; margin: 12px 0 8px; }

.cms-article ul,
.cms-article ol {
	margin: 0 0 12px 0;
	padding-left: 28px;
}

.cms-article blockquote {
	margin: 12px 0;
	padding: 8px 12px;
	border-left: 3px solid #1a6fb5;
	background: #f6f9fc;
	color: #555;
}

.cms-article a {
	color: #1a6fb5;
	text-decoration: none;
}

.cms-article a:hover {
	text-decoration: underline;
}

/* 前台正文容器宽度控制 */
.cms-article {
	max-width: 100%;
}

/* ===================================================================
   正文详情页整体版式（本文件只被 content/*内容.html 引入，
   只作用于内容详情页，不影响首页和其它栏目页）

   注意：include/top.html 在 body 里又引用了一次 style.css，
   旧规则会以“后加载”的方式覆盖同名选择器，所以这里统一加 .show_page
   前缀来提高优先级，避免再被 style.css 冲掉。
   原版问题：正文栏 850 + 侧栏 296，且 style.css 有 .show_main p{width:95%}，
   正文只占左半边、右侧永远空一条；标题/日期栏宽度又写死 810。
   =================================================================== */
.show_page { width: 1180px; }

/* 正文栏 850 -> 894 */
.show_page .show_main {
	width: 890px;
	box-sizing: border-box;
	padding: 0 0 24px 0;
	margin: 10px 0 10px 10px;
}

/* 面包屑：整条通栏（左右贴齐卡片边框），文字用 padding 对齐到正文左边线 */
.show_page .show_main .map {
	width: auto;
	height: 44px;
	margin: 0;
	padding: 0 26px;
	box-sizing: border-box;
	background: #f6f7f9;
	border-bottom: 1px solid #ececec;
}
.show_page .show_main .map b { margin-left: 0; font-weight: normal; }
.show_page .show_main .map a { margin: 0 0 0 4px; }
.show_page .show_main .map b,
.show_page .show_main .map a { line-height: 44px; }

.show_page .show_main .c_title {
	width: auto;
	height: auto;
	margin: 26px 26px 8px;
	font-size: 24px;
	line-height: 1.55;
	color: #1b1b1b;
	font-weight: 600;
	text-align: center;
	overflow: visible;
}

.show_page .show_main .content_ext_info {
	width: auto;
	height: auto;
	margin: 0 26px;
	padding-bottom: 14px;
	border-bottom: 1px solid #eeeeee;
}
.show_page .show_main .content_ext_info li {
	line-height: 24px;
	font-size: 13px;
	color: #9a9a9a;
	margin-right: 18px;
}

/* 正文：左右各 26px，并覆盖 style.css 的 .show_main p{width:95%} */
.show_page .show_main .cms-article { padding: 18px 26px 0; }
.show_page .show_main .cms-article p { width: auto; }

/* 只含图片的段落不要首行缩进 */
.show_page .show_main .cms-article p:has(> img) { text-indent: 0; }

/* 上一篇 / 下一篇 */
.show_page .show_main .up_num {
	margin: 26px 26px 0;
	padding-top: 16px;
	border-top: 1px dashed #e6e6e6;
	text-align: left;
}
.show_page .show_main .up_num li { line-height: 30px; font-size: 13px; color: #777777; }
.show_page .show_main .up_num li b { font-size: 13px; color: #333333; }

/* 侧栏 296 -> 260，横幅图自适应（原图 400x300 会溢出 296 的框） */
.show_page .show_side {
	width: 260px;
	height: auto;
	margin: 10px 10px 0 0;
	padding-bottom: 12px;
	background: #f7f7f7;
}
.show_page .show_side .show_left_img {
	width: 260px;
	height: auto;
	margin-bottom: 10px;
	overflow: hidden;
}
.show_page .show_side .show_left_img img { width: 100%; height: auto; display: block; }