/* ============================================================
 * 内页 banner 优化（2026-11-18）
 * 1) 图片按原图比例展示，不再强制压扁变形
 * 2) 去掉 banner 上叠加的栏目名称
 * 3) 面包屑做成清晰的胶囊导航条，明显且好看
 * 本文件由 common/inner_banner.html 直接引入，删除引入即可整体回滚
 * ============================================================ */

/* 1. banner 容器跟随图片实际高度，不再固定 540px */
.ey_banner {
	height: auto !important;
	padding: 0 !important;
}

/* 图片等比铺满宽度，高度自适应，取消原来的绝对定位+负边距裁切 */
.ey_banner img {
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	position: static !important;
	margin: 0 !important;
	left: auto !important;
	top: auto !important;
}

/* 2. 文字区改为绝对定位，贴在图片底部（栏目名 p / 分隔线 em 已在模板移除） */
.ey_banner .eyba_text {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: auto !important;
	bottom: 28px !important;
	width: auto !important;
	max-width: 1400px !important;
	margin: 0 auto !important;
	padding: 0 20px !important;
}

/* 3. 面包屑：白色简约胶囊 + 深灰字 + 当前栏目品牌棕高亮 */
.eyba_text .n_position {
	width:100%;
	display: inline-flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	background: rgba(255, 255, 255, .94) !important;
	padding: 9px 18px !important;
	border-radius: 40px !important;
	-webkit-backdrop-filter: blur(8px) !important;
	backdrop-filter: blur(8px) !important;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .12) !important;
}

/* 隐藏原来的小房子伪元素，改用模板里的图标 */
.n_position:before {
	display: none !important;
}

.np-home {
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-right: 1px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23735e48' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 3l9 6.5'/%3E%3Cpath d='M5 9.5V20a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9.5'/%3E%3Cpath d='M9.5 21v-7h5v7'/%3E%3C/svg%3E") center center / contain no-repeat;
	vertical-align: -3px;
	opacity: .95;
}

.n_position a {
	color: #333 !important;
	font-size: 15px !important;
	text-decoration: none !important;
}

.n_position a:hover {
	color: #735e48 !important;
}

/* 当前所在栏目高亮（品牌棕） */

.np-sep {
	font-style: normal;
	color: #bbb;
	font-size: 13px;
	line-height: 1;
}

@media (max-width: 767px) {
	/* 手机端 banner 加高：原图 1920x600 超宽，等比铺到窄屏只有 ~122px 高，
	   显得又扁又窄。改为固定高度 + 裁切填充，保留左侧文案与产品主体。 */
	.ey_banner {
		height: 220px !important;
		min-height: 220px !important;
		padding: 0 !important;
		overflow: hidden !important;
	}

	.ey_banner img {
		position: absolute !important;
		left: 0 !important;
		top: 0 !important;
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		object-fit: cover !important;
		object-position: left center !important;
	}

	.ey_banner .eyba_text {
		bottom: 14px !important;
		padding: 0 12px !important;
	}

	.eyba_text .n_position {
		padding: 7px 12px !important;
		gap: 4px !important;
	}

	.n_position a,
	.np-sep {
		font-size: 13px !important;
	}
}
