/* =========================================================
   revamp-inner.css — 全站内页视觉升级（配合 revamp.css 使用）
   覆盖：子导航 / 列表卡片 / 详情排版 / 分页 / 面包屑 / 翻页
   ========================================================= */

/* ---------- 1. 子导航（nymenu）胶囊化 ---------- */
.nymenu .nymenu_mid { text-align: center; }
.nymenu .nymenu_mid ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nymenu .nymenu_mid ul li {
	list-style: none;
	float: none;
	display: inline-block;
	margin: 0;
	padding: 0;
}
.nymenu .nymenu_mid ul li a {
	display: block;
	padding: 8px 24px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--wb-line);
	color: var(--wb-muted);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	box-shadow: 0 2px 8px rgba(23, 51, 46, .04);
	transition: all .3s ease;
}
.nymenu .nymenu_mid ul li a:hover,
.nymenu .nymenu_mid ul li a.active {
	background: var(--wb-teal-deep);
	border-color: var(--wb-teal-deep);
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(27, 107, 93, .28);
}

/* ---------- 2. 文章列表卡片 ---------- */
.home-block.srv-container { padding: 46px 0 60px; }

/* 列表页双栏：主列表 + 侧栏 */
.wb-list-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 350px;
	gap: 26px;
	align-items: start;
}
.wb-list-main > table { margin-top: 0 !important; }

/* 侧栏栏目卡 */
.wb-side-box {
	background: #fff;
	border: 1px solid var(--wb-line);
	border-radius: var(--wb-radius);
	box-shadow: var(--wb-shadow);
	padding: 20px 20px 10px;
	margin-bottom: 22px;
}
.wb-side-t {
	font-size: 17px;
	font-weight: 700;
	color: var(--wb-ink);
	margin: 0 0 4px;
	padding-left: 12px;
	position: relative;
}
.wb-side-t::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 4px;
	border-radius: 2px;
	background: var(--wb-teal);
}
.wb-side-item {
	display: flex;
	gap: 12px;
	padding: 13px 0;
	border-bottom: 1px dashed var(--wb-line);
	text-decoration: none;
}
.wb-side-item:last-child { border-bottom: none; }
.wb-side-item img {
	width: 96px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}
.wb-side-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	min-width: 0;
}
.wb-side-info b {
	font-size: 14px;
	color: var(--wb-ink);
	font-weight: 600;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .3s ease;
}
.wb-side-item:hover .wb-side-info b { color: var(--wb-teal); }
.wb-side-info .ico-read {
	font-size: 12px;
	color: var(--wb-muted);
	background: none;
	padding: 0;
}
.wb-side-news { list-style: none; margin: 0; padding: 0; }
.wb-side-news li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 11px 0;
	border-bottom: 1px dashed var(--wb-line);
}
.wb-side-news li:last-child { border-bottom: none; }
.wb-side-news li a {
	flex: 1;
	font-size: 13.5px;
	color: var(--wb-ink);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .3s ease;
}
.wb-side-news li a:hover { color: var(--wb-teal); }
.wb-side-news li span {
	font-size: 12px;
	color: var(--wb-muted);
	flex-shrink: 0;
}

dl.listInfo {
	background: #fff;
	border: 1px solid var(--wb-line);
	border-radius: var(--wb-radius);
	overflow: hidden;
	box-shadow: var(--wb-shadow);
	margin: 0 0 22px !important;
	transition: transform .3s ease, box-shadow .3s ease;
}
dl.listInfo:hover {
	transform: translateY(-4px);
	box-shadow: var(--wb-shadow-hover);
}
dl.listInfo dt { margin: 0 !important; overflow: hidden; }
dl.listInfo dt img {
	width: 100%;
	height: 195px;
	object-fit: cover;
	display: block;
	transition: transform .45s ease;
}
dl.listInfo:hover dt img { transform: scale(1.04); }
dl.listInfo dd {
	padding: 18px 24px 22px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
dl.listInfo dd h3 {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.5;
}
dl.listInfo dd h3 a { color: var(--wb-ink); transition: color .3s ease; }
dl.listInfo dd h3 a:hover { color: var(--wb-teal); }
dl.listInfo dd p { margin: 0 0 12px; }
dl.listInfo dd p a {
	color: var(--wb-muted) !important;
	font-size: 14px;
	line-height: 1.8;
}
dl.listInfo dd .ico-read,
dl.listInfo dd .info .ico-read {
	display: inline-block;
	color: var(--wb-teal);
	background: var(--wb-mint);
	padding: 3px 12px;
	border-radius: 999px;
	font-size: 12.5px;
}

/* ---------- 3. 详情页排版 ---------- */
.news-pagecontent .page .title h1 {
	font-size: 26px;
	line-height: 1.55;
	color: var(--wb-ink);
	margin: 0 0 14px;
}
.news-pagecontent .artInfo { margin-bottom: 22px; }
.news-pagecontent .artInfo time,
.news-pagecontent .artInfo span {
	display: inline-block;
	font-size: 12.5px;
	color: var(--wb-teal);
	background: var(--wb-mint);
	padding: 3px 12px;
	border-radius: 999px;
	margin-right: 8px;
}
.news-pagecontent .content {
	font-size: 16px;
	line-height: 2;
	color: #3a4a46;
}
.news-pagecontent .content p { margin: 0 0 1.1em; }
.news-pagecontent .content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}
.news-pagecontent .content h2,
.news-pagecontent .content h3 {
	color: var(--wb-ink);
	line-height: 1.5;
	margin: 1.4em 0 .7em;
}
.news-pagecontent .content a { color: var(--wb-teal); }

/* 详情页底部咨询条 */
.news-pagecontent .wb-cta {
	border-radius: 14px;
	padding: 28px 34px !important;
	margin: 36px 0 !important;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 18px;
	overflow: hidden;
}
.news-pagecontent .wb-cta p {
	margin: 0;
	color: rgba(255, 255, 255, .85);
	font-size: 14.5px;
	line-height: 1.8;
}
.news-pagecontent .wb-cta p strong {
	color: #fff;
	font-size: 17.5px;
	letter-spacing: .5px;
}
.news-pagecontent .wb-cta .wb-cta__btn {
	display: inline-block;
	background: #fff;
	color: var(--wb-teal-deep) !important;
	padding: 12px 32px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
	transition: all .3s ease;
}
.news-pagecontent .wb-cta .wb-cta__btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(0, 0, 0, .22);
	color: var(--wb-teal-deep) !important;
}

/* 上一篇 / 下一篇 */
.news-pagecontent .section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.news-pagecontent .section ul li {
	padding: 10px 0;
	border-bottom: 1px dashed var(--wb-line);
}
.news-pagecontent .section ul li a {
	color: var(--wb-muted);
	transition: color .3s ease;
}
.news-pagecontent .section ul li a:hover { color: var(--wb-teal); }

/* ---------- 4. 分页 ---------- */
.news-pagelist { margin-top: 30px; }
.news-pagelist a,
.news-pagelist span {
	display: inline-block;
	min-width: 38px;
	padding: 7px 13px;
	margin: 0 4px 8px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--wb-line);
	color: var(--wb-muted);
	text-align: center;
	font-size: 14px;
	transition: all .3s ease;
}
.news-pagelist a:hover {
	border-color: var(--wb-teal);
	color: var(--wb-teal);
}
.news-pagelist .current,
.news-pagelist span.current {
	background: var(--wb-teal-deep);
	border-color: var(--wb-teal-deep);
	color: #fff !important;
}

/* ---------- 5. 面包屑 ---------- */
.crumb, .news-breadcrumb {
	color: var(--wb-muted);
	font-size: 13.5px;
}
.crumb a, .news-breadcrumb a { color: var(--wb-muted); }
.crumb a:hover, .news-breadcrumb a:hover { color: var(--wb-teal); }

/* ---------- 6. 图片兜底 ---------- */
img[src$="nopic.jpg"] { object-fit: cover; }

/* ---------- 7. 移动端 ---------- */
@media (max-width: 991px) {
	.wb-list-layout { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.home-block.srv-container { padding: 34px 0 44px; }
	dl.listInfo dt img { height: 170px; }
	dl.listInfo dd { padding: 14px 16px 18px; }
	dl.listInfo dd h3 { font-size: 16px; }
	.news-pagecontent .page .title h1 { font-size: 21px; }
	.news-pagecontent .content { font-size: 15px; line-height: 1.9; }
	.news-pagecontent .wb-cta { padding: 22px 18px !important; }
	.nymenu .nymenu_mid ul li a { padding: 7px 16px; font-size: 13px; }
}
