/* ==========================================================================
   PbootCMS 兼容样式（补齐新版分页标记 / 图片自适应）
   老站样式全部保留在 /static/legacy/ 下，本文件只做最小必要的补齐
   ========================================================================== */

/* ---- 分页条：把 PbootCMS 的 .page-* 标记还原为老站 #pages li 外观 ---- */
#pages ul { margin: 0; padding: 0; }
#pages .page-num {
	float: left;
	margin: 3px;
	padding: 2px 5px;
	background: #dcd9d4;
	border: 1px #dcd9d4 solid;
	color: #303030;
	text-decoration: none;
	white-space: nowrap;
	font: 12px/18px Verdana, Arial, Helvetica, sans-serif;
}
#pages a.page-num:hover { color: #ff0000; text-decoration: none; }
#pages .page-num-current { background-color: #eee; }
#pages .page-none { color: #999; }

/* ---- 正文图片不超宽 ---- */
#con img, .page_content img, .bodyzone img, #memo img { max-width: 100%; height: auto; }

/* ---- 阻止首个子元素的上外边距与 #content 塔陷 ----
   否则正文块会上移 70px，被“当前位置”条压住（右侧二级页面错位问题）*/
#content { display: flow-root; }
@supports not (display: flow-root) {
	#content { overflow: hidden; }
}

/* ---- 长英文/网址换行，避免撑破固定宽度 ---- */
.pdv_class, #con, .page_content { word-wrap: break-word; word-break: break-word; }
