/* 宝梅智能 - 应用领域页面 */

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

body.page-template-template-application #content {
	padding: 0;
}

/* Hero */
.baomei-app-hero {
	position: relative;
	min-height: 380px;
	display: flex;
	align-items: flex-end;
	padding: 48px 0 56px;
	background-size: cover;
	background-position: center;
}

.baomei-app-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(18, 26, 46, 0.88) 0%, rgba(26, 35, 64, 0.65) 60%, rgba(255, 94, 58, 0.15) 100%);
}

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

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

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

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

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

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

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

.baomei-app-hero-icon {
	display: inline-flex;
	width: 56px;
	height: 56px;
	align-items: center;
	justify-content: center;
	background: var(--primary-color, #ff5e3a);
	border-radius: 12px;
	color: #fff;
	font-size: 24px;
	margin-bottom: 16px;
	box-shadow: 0 8px 24px rgba(255, 94, 58, 0.35);
}

.baomei-app-hero h1 {
	color: #fff;
	font-size: 40px;
	font-weight: 700;
	margin-bottom: 10px;
}

.baomei-app-hero-sub {
	color: rgba(255, 255, 255, 0.8);
	font-size: 18px;
	margin: 0;
}

/* 概述 */
.baomei-app-intro {
	padding: 72px 0;
	background: #fff;
}

.baomei-app-intro-image {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(26, 35, 64, 0.12);
}

.baomei-app-intro-image img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	display: block;
}

.baomei-app-intro-text h2 {
	color: #1a2340;
	font-size: 28px;
	font-weight: 700;
	margin: 12px 0 18px;
}

.baomei-app-lead {
	color: #556;
	font-size: 16px;
	line-height: 1.9;
	margin-bottom: 24px;
}

.baomei-app-equipment-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.baomei-app-equipment-label {
	font-size: 14px;
	color: #778;
	font-weight: 600;
}

.baomei-app-equipment-tag {
	display: inline-block;
	padding: 6px 14px;
	background: #f4f6fa;
	color: #1a2340;
	font-size: 13px;
	font-weight: 600;
	border-radius: 4px;
	border-left: 3px solid var(--primary-color, #ff5e3a);
}

/* 场景 */
.baomei-app-scenarios {
	padding: 72px 0;
	background: #f4f6fa;
}

.baomei-app-scenario-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.baomei-app-scenario-card {
	background: #fff;
	padding: 32px 28px;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(26, 35, 64, 0.06);
	transition: transform 0.3s, box-shadow 0.3s;
	border-top: 3px solid transparent;
}

.baomei-app-scenario-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(26, 35, 64, 0.1);
	border-top-color: var(--primary-color, #ff5e3a);
}

.baomei-app-scenario-num {
	display: block;
	font-size: 32px;
	font-weight: 800;
	color: rgba(255, 94, 58, 0.2);
	line-height: 1;
	margin-bottom: 12px;
}

.baomei-app-scenario-card h4 {
	color: #1a2340;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 10px;
}

.baomei-app-scenario-card p {
	color: #778;
	font-size: 14px;
	line-height: 1.75;
	margin: 0;
}

/* 优势 */
.baomei-app-advantages {
	padding: 72px 0;
	background: #fff;
}

.baomei-app-adv-panel h3 {
	color: #1a2340;
	font-size: 26px;
	font-weight: 700;
	margin: 12px 0 14px;
}

.baomei-app-adv-panel > p {
	color: #667;
	line-height: 1.8;
	margin-bottom: 24px;
}

.baomei-app-adv-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.baomei-app-adv-list li {
	padding: 10px 0;
	color: #445;
	font-size: 15px;
	line-height: 1.6;
	border-bottom: 1px solid #f0f2f6;
}

.baomei-app-adv-list li:last-child {
	border-bottom: none;
}

.baomei-app-adv-list i {
	color: var(--primary-color, #ff5e3a);
	margin-right: 10px;
}

.baomei-app-adv-visual {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 16px 48px rgba(26, 35, 64, 0.12);
	height: 100%;
	min-height: 360px;
}

.baomei-app-adv-visual img {
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
	display: block;
}

.baomei-app-adv-badge {
	position: absolute;
	bottom: 24px;
	left: 24px;
	background: var(--primary-color, #ff5e3a);
	color: #fff;
	padding: 14px 20px;
	border-radius: 8px;
	line-height: 1.3;
}

.baomei-app-adv-badge strong {
	display: block;
	font-size: 20px;
	font-weight: 800;
}

.baomei-app-adv-badge span {
	font-size: 12px;
	opacity: 0.9;
}

/* 相关领域 */
.baomei-app-related {
	padding: 60px 0;
	background: #f4f6fa;
}

.baomei-app-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.baomei-app-related-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 24px 16px;
	background: #fff;
	border-radius: 10px;
	text-decoration: none !important;
	color: #1a2340;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	box-shadow: 0 2px 12px rgba(26, 35, 64, 0.06);
	transition: transform 0.3s, box-shadow 0.3s, color 0.2s;
}

.baomei-app-related-item i {
	font-size: 28px;
	color: var(--primary-color, #ff5e3a);
	transition: transform 0.3s;
}

.baomei-app-related-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(26, 35, 64, 0.1);
	color: var(--primary-color, #ff5e3a);
}

.baomei-app-related-item:hover i {
	transform: scale(1.1);
}

/* CTA */
.baomei-app-cta {
	padding: 0 0 80px;
	background: #f4f6fa;
}

.baomei-app-cta-box {
	background: linear-gradient(135deg, #1a2340 0%, #2c365d 100%);
	padding: 48px 44px;
	border-radius: 14px;
	color: #fff;
	box-shadow: 0 12px 40px rgba(26, 35, 64, 0.2);
}

.baomei-app-cta-box h3 {
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 10px;
}

.baomei-app-cta-box p {
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.75;
	margin: 0;
	font-size: 15px;
}

/* 首页卡片增强（应用领域页不加载 baomei-home，此处保留供内页复用） */
.baomei-app-card-link {
	text-decoration: none !important;
	display: block;
	height: 100%;
}

.baomei-app-card--linked {
	padding: 0;
	overflow: hidden;
	text-align: left;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.baomei-app-card-thumb {
	position: relative;
	height: 180px;
	overflow: hidden;
}

.baomei-app-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.baomei-app-card--linked:hover .baomei-app-card-thumb img {
	transform: scale(1.08);
}

.baomei-app-card-overlay {
	position: absolute;
	inset: 0;
	background: rgba(26, 35, 64, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.35s;
}

.baomei-app-card-overlay span {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 20px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 30px;
}

.baomei-app-card-overlay span i {
	margin-left: 6px;
	transition: transform 0.3s;
}

.baomei-app-card--linked:hover .baomei-app-card-overlay {
	opacity: 1;
}

.baomei-app-card--linked:hover .baomei-app-card-overlay span i {
	transform: translateX(4px);
}

.baomei-app-card-body {
	padding: 24px 22px 28px;
	flex: 1;
}

.baomei-app-card-body .baomei-app-icon {
	width: 48px;
	height: 48px;
	line-height: 48px;
	font-size: 20px;
	margin: 0 0 14px;
}

.baomei-app-card-body h4 {
	color: #1a2340;
	transition: color 0.2s;
}

.baomei-app-card--linked:hover .baomei-app-card-body h4 {
	color: var(--primary-color, #ff5e3a);
}

@media (max-width: 991px) {
	.baomei-app-hero h1 {
		font-size: 30px;
	}

	.baomei-app-scenario-grid {
		grid-template-columns: 1fr;
	}

	.baomei-app-related-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.baomei-app-intro-image img {
		height: 280px;
	}

	.baomei-app-cta-box {
		padding: 32px 24px;
		text-align: center;
	}

	.baomei-app-cta-box .text-lg-end {
		text-align: center !important;
	}
}

@media (max-width: 575px) {
	.baomei-app-related-grid {
		grid-template-columns: 1fr 1fr;
	}
}
