/* 移动端 wap 公共样式
   设计基准:640px rem(html font-size=16*(clientWidth/640)px,由 head.html 注入)
   主色系:红 #dc0303 / 深灰 #333 / 浅灰 #999(与 PC 站 header-footer 统一)
   仅承载全站公共组件:页头 logo 栏/栏目横条/内容排版/列表分页/页脚/底部悬浮条/报名弹层表单
   页面级(首页/栏目页)样式由各模板自行引入 */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	color: #333;
	font-family: "Microsoft YaHei", "微软雅黑", Tahoma, Arial, Helvetica, sans-serif;
	font-size: 1rem;
	line-height: 1.6;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
img { display: block; max-width: 100%; border: 0; vertical-align: middle; }
a { color: #333; text-decoration: none; }
ul, ol, li { list-style: none; }
input, button, select, textarea { font-family: inherit; font-size: inherit; outline: none; }
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clear { clear: both; }

/* ===== 页头(内页):logo 栏 + 栏目横条 ===== */
.wap-header {
	background: #fff;
	border-bottom: 1px solid #eee;
	position: relative;
	z-index: 20;
}
.wap-header .head {
	position: relative;
	height: 3.125rem;
	padding: 0.5rem 0.75rem;
}
.wap-header .head .wap-logo {
	position: absolute;
	left: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
}
.wap-header .head .wap-logo img { height: 2rem; width: auto; }
.wap-header .head .wap-tel {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	display: block;
	width: 1.875rem;
}
.wap-header .head .wap-tel img { width: 100%; height: auto; }
.wap-header .head .wap-title {
	text-align: center;
	font-size: 1.0625rem;
	color: #333;
	font-weight: bold;
	line-height: 3.125rem;
	margin: 0 5rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wap-nav {
	background: #fff;
	border-top: 1px solid #f5f5f5;
	white-space: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0 0.25rem;
	text-align: center;
}
.wap-nav::-webkit-scrollbar { display: none; }
.wap-nav a {
	display: inline-block;
	padding: 0 0.875rem;
	line-height: 2.25rem;
	font-size: 0.9375rem;
	color: #555;
}
.wap-nav a:active { color: #dc0303; }
.wap-nav a.zxUrl { color: #dc0303; font-weight: bold; }

/* ===== 内容通用排版 ===== */
.wap-crumb {
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	color: #999;
	background: #fafafa;
	border-bottom: 1px solid #f0f0f0;
}
.wap-crumb a { color: #666; }
.wap-crumb span { color: #dc0303; }
.wap-box { padding: 0.75rem; }
.wap-tt {
	margin: 0.625rem 0.75rem;
	padding-left: 0.5625rem;
	border-left: 0.3125rem solid #dc0303;
	font-size: 1.125rem;
	font-weight: bold;
	color: #333;
	line-height: 1.4;
}
.wap-tt .more {
	float: right;
	font-size: 0.8125rem;
	color: #999;
	font-weight: normal;
	line-height: 1.7;
}
.wap-art { padding: 0.75rem; font-size: 1rem; color: #444; word-break: break-word; }
.wap-art .p { margin-bottom: 0.875rem; text-indent: 2em; line-height: 1.9; }
.wap-art img { width: 100%; height: auto; margin: 0.5rem auto; border-radius: 0.3125rem; }
.wap-art p { margin-bottom: 0.875rem; line-height: 1.9; }

/* 通用图文列表 */
.wap-list li {
	display: block;
	background: #fff;
	padding: 0.75rem;
	border-bottom: 1px solid #f2f2f2;
}
.wap-list li a { display: block; }
.wap-list .list-pic {
	width: 30%;
	float: left;
	border-radius: 0.3125rem;
	overflow: hidden;
}
.wap-list .list-pic img { width: 100%; height: 4.5rem; object-fit: cover; }
.wap-list .list-info { margin-left: 33%; }
.wap-list .list-info h3 {
	font-size: 1rem;
	font-weight: normal;
	color: #333;
	line-height: 1.45;
	max-height: 2.9em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.wap-list .list-info .list-date {
	margin-top: 0.4375rem;
	font-size: 0.8125rem;
	color: #999;
}
.wap-list .list-info .list-desc {
	margin-top: 0.3125rem;
	font-size: 0.875rem;
	color: #888;
	max-height: 2.7em;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* 详情页 */
.wap-detail-tit {
	padding: 1rem 0.75rem 0.625rem;
	font-size: 1.25rem;
	font-weight: bold;
	color: #222;
	line-height: 1.5;
	text-align: center;
}
.wap-detail-meta {
	text-align: center;
	font-size: 0.8125rem;
	color: #999;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #f0f0f0;
	margin: 0 0.75rem;
}

/* 分页 */
.wap-page { text-align: center; padding: 1.25rem 0; }
.wap-page a, .wap-page span {
	display: inline-block;
	min-width: 2rem;
	height: 2rem;
	line-height: 2rem;
	padding: 0 0.5rem;
	margin: 0 0.1875rem;
	border: 1px solid #e5e5e5;
	border-radius: 0.3125rem;
	font-size: 0.875rem;
	color: #555;
	background: #fff;
	box-sizing: border-box;
}
.wap-page .current { background: #dc0303; border-color: #dc0303; color: #fff; }
.wap-page .disabled { color: #ccc; }

/* ===== 页脚 ===== */
.wap-footer {
	background: #f7f7f7;
	border-top: 1px solid #eee;
	padding: 1.25rem 0.75rem 5.5rem;
	text-align: center;
	font-size: 0.8125rem;
	color: #888;
	line-height: 2;
}
.wap-footer .footer-tel { font-size: 1rem; color: #dc0303; font-weight: bold; }
.wap-footer .footer-tel a { color: #dc0303; }
.wap-footer .footer-addr { color: #666; }
.wap-footer a.beian { color: #888; }
/* 页脚链接须继承容器字号:首页引用的老站全局 a{font-size:.25rem} 会把号码/备案号压成芝麻小字 */
.wap-footer a { font-size: inherit; }

/* ===== 底部悬浮操作条(全站,替代老站 submit-box) ===== */
.wap-bar {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	width: 100%;
	max-width: 640px;
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	z-index: 80;
	background: #fff;
	border-top: 1px solid #eaeaea;
	box-shadow: 0 -0.0625rem 0.375rem rgba(0, 0, 0, 0.06);
}
.wap-bar a {
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	flex: 1;
	display: block;
	text-align: center;
	line-height: 2.875rem;
	font-size: 1.0625rem;
	color: #333;
	border-right: 1px solid #f0f0f0;
}
.wap-bar a:last-child { border-right: none; }
.wap-bar a.zxUrl { color: #dc0303; }
.wap-bar a.bm-bar { color: #dc0303; font-weight: bold; }
body { padding-bottom: 2.875rem; }

/* ===== 报名弹层 ===== */
.wap-mask {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	background: rgba(0, 0, 0, 0.55);
}
.wap-pop {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 88%;
	max-width: 560px;
	background: #fff;
	border-radius: 0.625rem;
	padding: 1.25rem 1.125rem 1.125rem;
	box-sizing: border-box;
}
.wap-pop-close {
	position: absolute;
	right: 0.625rem;
	top: 0.25rem;
	width: 2rem;
	height: 2rem;
	line-height: 2rem;
	text-align: center;
	font-size: 1.375rem;
	color: #999;
	cursor: pointer;
}
.wap-pop h3 {
	font-size: 1.25rem;
	color: #dc0303;
	text-align: center;
	line-height: 1.6;
}
.wap-pop .wap-pop-sub {
	text-align: center;
	font-size: 0.8125rem;
	color: #999;
	margin-bottom: 0.875rem;
}
/* bm-form 字段/提交为通用组件(公共 include bmform.html 使用),弹层只负责卡片布局 */
.wap-pop .bm-form input[type=text], .wap-pop .bm-form input[type=tel],
.bm-form input[type=text], .bm-form input[type=tel] {
	display: block;
	width: 100%;
	height: 2.5rem;
	border: 1px solid #ddd;
	border-radius: 0.3125rem;
	padding: 0 0.75rem;
	margin-bottom: 0.625rem;
	background: #fafafa;
	font-size: 1rem;
	box-sizing: border-box;
}
.wap-pop .bm-code-row, .bm-code-row { position: relative; }
.wap-pop .bm-code-row input, .bm-code-row input { padding-right: 7.5rem; }
.wap-pop .bm-code-row img.bm-code,
.bm-code-row img.bm-code {
	position: absolute;
	right: 0;
	top: 0;
	width: 6.5rem;
	height: 2.5rem;
	border: 1px solid #eee;
	border-radius: 0.3125rem;
	cursor: pointer;
}
.wap-pop .bm-submit,
.bm-submit {
	width: 100%;
	height: 2.625rem;
	margin-top: 0.625rem;
	border: none;
	border-radius: 0.3125rem;
	background: #dc0303;
	color: #fff;
	font-size: 1.125rem;
	letter-spacing: 0.25em;
	cursor: pointer;
}
.wap-pop .bm-zx,
.bm-zx {
	display: block;
	text-align: center;
	margin-top: 0.625rem;
	font-size: 0.875rem;
	color: #666;
}
.wap-pop .bm-zx em, .bm-zx em { color: #dc0303; font-style: normal; }
