
	/* =========================================================
       公共样式：二级分类导航 (可提取到 style.css 供全站复用)
       ========================================================= */
.sub-nav-wrap {
	width: 100%;
	margin: 40px 0 40px 0;
	text-align: center;
	border-bottom: 2px solid #eee;
}
.sub-nav-wrap ul {
	display: inline-flex;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sub-nav-wrap ul li a {
	display: block;
	padding: 0 35px;
	line-height: 50px;
	font-size: 16px;
	color: #555;
	border-radius: 4px 4px 0 0;
	transition: all 0.3s;
	text-decoration: none;
}
.sub-nav-wrap ul li a:hover,
.sub-nav-wrap ul li a.current {
	color: #fff;
	background: #c52525;
	font-weight: bold;
}
@media screen and (max-width: 760px) {
	.sub-nav-wrap ul { flex-wrap: wrap; justify-content: center; }
	.sub-nav-wrap ul li a { padding: 0 15px; font-size: 14px; line-height: 40px; }
}

/* =========================================================
   新闻列表定制样式
   ========================================================= */
.news-list-container { background: #f8f9fb;}
#right { float: left; width: 100%; }

.news-row {
	display: flex;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 30px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.03);
	transition: all 0.3s ease;
	text-decoration: none;
	color: inherit;
	border: 1px solid #eaeaea;
}
.news-row:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.08);
	border-color: #e0e0e0;
}

/* 左侧图片：固定比例 5:3 */
.news-img-box {
	width: 340px;
	flex-shrink: 0;
	aspect-ratio: 5 / 3.5; /* 固定比例 5:3 */
	overflow: hidden;
	position: relative;
	background: #eef1f6;
	display: flex;
	align-items: center;
	justify-content: center;
}
.news-img-box img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* 保证图片铺满且不变形 */
	transition: transform 0.5s ease;
}
.news-row:hover .news-img-box img {
	transform: scale(1.05);
}
/* 如果没有图片，显示默认背景文字 */
.news-img-box.no-img::after {
	content: "丹诚科技";
	color: #b0b8c8;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 2px;
}

/* 右侧内容 */
.news-info {
	flex: 1;
	padding: 35px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.news-title {
	font-size: 22px;
	color: #333;
	font-weight: bold;
	margin: 0 0 15px 0;
	line-height: 1.4;
	transition: color 0.3s;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.news-row:hover .news-title {
	color: #c52525;
}
.news-desc {
	font-size: 15px;
	color: #777;
	line-height: 1.8;
	margin-bottom: 25px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: justify;
}

.news-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
}
.news-date {
	font-size: 14px;
	color: #999;
	display: flex;
	align-items: center;
}
.news-date i {
	margin-right: 6px;
	font-size: 15px;
}
.news-btn {
	font-size: 14px;
	color: #c52525;
	font-weight: bold;
	display: flex;
	align-items: center;
	transition: all 0.3s;
}
.news-btn i {
	margin-left: 6px;
	font-size: 12px;
	transition: transform 0.3s;
}
.news-row:hover .news-btn i {
	transform: translateX(5px);
}

/* 移动端适配 */
@media screen and (max-width: 960px) {
	.news-img-box { width: 280px; }
	.news-info { padding: 25px 30px; }
	.news-title { font-size: 18px; }
}
@media screen and (max-width: 760px) {
	.news-row { flex-direction: column; }
	.news-img-box { width: 100%; aspect-ratio: 5 / 3; height: auto; }
	.news-info { padding: 20px; }
	.news-title { font-size: 16px; margin-bottom: 10px; }
	.news-desc { font-size: 14px; margin-bottom: 15px; }
}
