/* 宝梅智能 - 新闻中心 */

body.page-template-template-news .home-container,
body.page-template-template-news .wrapper .container.home-container,
body.single-post .home-container,
body.single-post .wrapper .container.home-container {
	max-width: 100%;
	padding: 0;
}

body.page-template-template-news #content,
body.single-post #content {
	padding: 0;
}

.baomei-nw-hero {
	position: relative;
	min-height: 300px;
	display: flex;
	align-items: flex-end;
	padding: 48px 0 56px;
	background-size: cover;
	background-position: center;
}

.baomei-nw-hero--single {
	min-height: 340px;
}

.baomei-nw-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(18, 26, 46, 0.92) 0%, rgba(26, 35, 64, 0.7) 100%);
}

.baomei-nw-hero .container {
	position: relative;
	z-index: 1;
}

.baomei-breadcrumb {
	font-size: 14px;
	margin-bottom: 20px;
}

.baomei-breadcrumb a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

.baomei-breadcrumb a:hover {
	color: #fff;
}

.baomei-breadcrumb span {
	color: rgba(255, 255, 255, 0.65);
	margin: 0 8px;
}

.baomei-breadcrumb--light a {
	color: rgba(255, 255, 255, 0.85);
}

.baomei-breadcrumb--light span {
	color: rgba(255, 255, 255, 0.65);
}

.baomei-nw-hero-content h1 {
	color: #fff;
	font-size: 40px;
	font-weight: 700;
	margin-bottom: 10px;
	line-height: 1.25;
}

.baomei-nw-hero-content p {
	color: rgba(255, 255, 255, 0.85);
	font-size: 17px;
	margin: 0;
}

.baomei-nw-single-date {
	font-size: 15px !important;
	margin-top: 12px !important;
}

.baomei-nw-main {
	padding: 56px 0 80px;
	background: #f4f6fa;
}

.baomei-nw-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-bottom: 40px;
}

.baomei-nw-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #fff;
	border-radius: 999px;
	color: #1a2340;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	box-shadow: 0 2px 10px rgba(26, 35, 64, 0.06);
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.baomei-nw-tab:hover,
.baomei-nw-tab.is-active {
	background: var(--primary-color, #ff5e3a);
	color: #fff;
	box-shadow: 0 6px 18px rgba(255, 94, 58, 0.28);
}

.baomei-nw-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

.baomei-nw-badge {
	display: inline-block;
	padding: 3px 10px;
	background: rgba(255, 94, 58, 0.1);
	color: var(--primary-color, #ff5e3a);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

.baomei-nw-badge--hero {
	margin-bottom: 12px;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
}

.baomei-nw-readmore {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--primary-color, #ff5e3a);
	text-decoration: none !important;
}

.baomei-nw-readmore:hover {
	gap: 10px;
}

.baomei-nw-empty {
	text-align: center;
	padding: 72px 24px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(26, 35, 64, 0.06);
}

.baomei-nw-empty i {
	font-size: 48px;
	color: #ccd;
	margin-bottom: 16px;
}

.baomei-nw-empty h3 {
	font-size: 22px;
	margin-bottom: 10px;
	color: #1a2340;
}

.baomei-nw-empty p {
	color: #778;
	margin: 0;
}

.baomei-nw-pagination {
	margin-top: 48px;
	text-align: center;
}

.baomei-nw-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0 4px;
	padding: 0 12px;
	border-radius: 8px;
	background: #fff;
	color: #1a2340;
	text-decoration: none !important;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(26, 35, 64, 0.06);
}

.baomei-nw-pagination .page-numbers.current,
.baomei-nw-pagination .page-numbers:hover {
	background: var(--primary-color, #ff5e3a);
	color: #fff;
}

.baomei-nw-article {
	padding: 0 0 80px;
	background: #f4f6fa;
}

/* ── 详情页 ── */
.baomei-nw-single-head {
	padding: 24px 0 0;
	background: #f4f6fa;
}

.baomei-nw-single-head .baomei-breadcrumb {
	margin-bottom: 0;
}

.baomei-nw-single-head .baomei-breadcrumb a {
	color: #556;
}

.baomei-nw-single-head .baomei-breadcrumb a:hover {
	color: var(--primary-color, #ff5e3a);
}

.baomei-nw-single-head .baomei-breadcrumb span {
	color: #99a;
}

.baomei-nw-single-layout {
	padding-top: 20px;
}

.baomei-nw-article-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 4px 24px rgba(26, 35, 64, 0.08);
	overflow: hidden;
}

.baomei-nw-article-header {
	padding: 32px 36px 0;
}

.baomei-nw-meta--single {
	margin-bottom: 14px;
}

.baomei-nw-meta--single .baomei-nw-badge {
	text-decoration: none !important;
	transition: background 0.2s, color 0.2s;
}

.baomei-nw-meta--single .baomei-nw-badge:hover {
	background: var(--primary-color, #ff5e3a);
	color: #fff;
}

.baomei-nw-meta--single .baomei-nw-single-date {
	font-size: 13px;
	color: #778;
}

.baomei-nw-article-title {
	font-size: 32px;
	font-weight: 800;
	color: #1a2340;
	line-height: 1.35;
	margin: 0 0 12px;
}

.baomei-nw-article-lead {
	font-size: 17px;
	line-height: 1.75;
	color: #556;
	margin: 0;
	padding-bottom: 4px;
	border-left: 3px solid var(--primary-color, #ff5e3a);
	padding-left: 14px;
}

.baomei-nw-cover {
	margin: 24px 36px 0;
	border-radius: 10px;
	overflow: hidden;
	background: #eef1f6;
}

.baomei-nw-cover img {
	display: block;
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
}

.baomei-nw-prose {
	padding: 28px 36px 0;
}

.baomei-nw-gallery-wrap {
	padding: 8px 36px 36px;
	border-top: 1px solid #eef1f6;
	margin-top: 28px;
}

.baomei-nw-gallery-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 700;
	color: #1a2340;
	margin: 24px 0 20px;
}

.baomei-nw-gallery-title i {
	color: var(--primary-color, #ff5e3a);
}

.baomei-nw-gallery-wrap .baomei-nw-gallery {
	margin-top: 0;
}

.baomei-nw-post-nav {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 24px;
}

.baomei-nw-post-nav-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 12px rgba(26, 35, 64, 0.06);
	text-decoration: none !important;
	transition: box-shadow 0.2s, transform 0.2s;
}

.baomei-nw-post-nav-item:hover {
	box-shadow: 0 8px 24px rgba(26, 35, 64, 0.1);
	transform: translateY(-2px);
}

.baomei-nw-post-nav-item span {
	font-size: 12px;
	font-weight: 600;
	color: var(--primary-color, #ff5e3a);
}

.baomei-nw-post-nav-item strong {
	font-size: 14px;
	line-height: 1.5;
	color: #1a2340;
	font-weight: 600;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.baomei-nw-post-nav-next {
	text-align: right;
}

.baomei-nw-sidebar {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.baomei-nw-sidebar-box {
	background: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 2px 16px rgba(26, 35, 64, 0.06);
}

.baomei-nw-sidebar-box h3 {
	font-size: 18px;
	font-weight: 700;
	color: #1a2340;
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f0f2f6;
}

.baomei-nw-contact-box p {
	font-size: 14px;
	color: #667;
	line-height: 1.65;
	margin: 0 0 16px;
}

.baomei-nw-contact-box ul {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

.baomei-nw-contact-box li {
	font-size: 14px;
	color: #334;
	margin-bottom: 10px;
}

.baomei-nw-contact-box li i {
	width: 18px;
	color: var(--primary-color, #ff5e3a);
	margin-right: 6px;
}

.baomei-nw-contact-box a {
	color: inherit;
	text-decoration: none;
}

.baomei-nw-sidebar-btn {
	display: block;
	text-align: center;
	padding: 11px 16px;
	background: var(--primary-color, #ff5e3a);
	color: #fff !important;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.2s;
}

.baomei-nw-sidebar-btn:hover {
	background: #e54e2a;
}

.baomei-nw-related-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.baomei-nw-related-list a {
	display: flex;
	gap: 12px;
	text-decoration: none !important;
	align-items: flex-start;
}

.baomei-nw-related-thumb {
	width: 72px;
	height: 54px;
	flex-shrink: 0;
	border-radius: 6px;
	overflow: hidden;
	background: #eef1f6;
}

.baomei-nw-related-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.baomei-nw-related-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.baomei-nw-related-text small {
	font-size: 11px;
	color: var(--primary-color, #ff5e3a);
	font-weight: 600;
}

.baomei-nw-related-text strong {
	font-size: 13px;
	line-height: 1.45;
	color: #1a2340;
	font-weight: 600;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.baomei-nw-related-text em {
	font-style: normal;
	font-size: 11px;
	color: #99a;
}

.baomei-nw-related-list a:hover strong {
	color: var(--primary-color, #ff5e3a);
}

.baomei-nw-article-inner {
	max-width: none;
	margin: 0;
	font-size: 16px;
	line-height: 1.9;
	color: #334;
}

.baomei-nw-article-inner p {
	margin-bottom: 1.2em;
}

.baomei-nw-article-inner img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 1.5em 0;
}

.baomei-nw-article-inner h2,
.baomei-nw-article-inner h3 {
	color: #1a2340;
	margin: 1.6em 0 0.8em;
}

.baomei-nw-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 40px;
	align-items: start;
}

.baomei-nw-gallery-item {
	margin: 0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(26, 35, 64, 0.08);
	background: #f5f7fa;
	border: 1px solid #eef1f6;
}

.baomei-nw-gallery-item img {
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
	display: block;
	cursor: zoom-in;
	transition: opacity 0.25s;
}

.baomei-nw-gallery-item:hover img {
	opacity: 0.92;
}

.baomei-nw-back {
	max-width: none;
	margin: 24px 0 0;
}

.baomei-nw-back a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--primary-color, #ff5e3a);
	font-weight: 600;
	text-decoration: none !important;
}

@media (max-width: 991px) {
	.baomei-nw-sidebar {
		position: static;
	}
}

@media (max-width: 767px) {
	.baomei-nw-hero-content h1 {
		font-size: 28px;
	}

	.baomei-nw-article-header,
	.baomei-nw-prose,
	.baomei-nw-gallery-wrap {
		padding-left: 20px;
		padding-right: 20px;
	}

	.baomei-nw-cover {
		margin-left: 20px;
		margin-right: 20px;
	}

	.baomei-nw-article-title {
		font-size: 24px;
	}

	.baomei-nw-post-nav {
		grid-template-columns: 1fr;
	}

	.baomei-nw-post-nav-next {
		text-align: left;
	}

	.baomei-nw-gallery {
		grid-template-columns: 1fr;
	}

	.baomei-nw-gallery-item img {
		height: auto;
	}

	.baomei-nw-tabs {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 6px;
	}

	.baomei-nw-tab {
		flex-shrink: 0;
	}
}
