/* 科技资讯列表 —— 与详情页/品牌色 #1da193 一致 */

/* 顶部 Banner */
.news-banner {
	position: relative;
	height: 280px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	overflow: hidden;
}
.news-banner-mask {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 24, 28, 0.82) 0%, rgba(10, 28, 32, 0.55) 48%, rgba(12, 40, 42, 0.28) 100%);
}
.news-banner-inner {
	position: relative;
	z-index: 1;
	height: 280px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.news-banner-inner h1 {
	margin: 0;
	font-size: 42px;
	font-weight: 600;
	color: #fff;
	line-height: 1.3;
	letter-spacing: 0.04em;
}
.news-banner-inner p {
	margin: 14px 0 0;
	max-width: 560px;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.7;
}

.news-list-page {
	background: #f5f7f8;
	padding-top: 28px;
	padding-bottom: 48px;
}

/* 分类 Tab */
.news-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 24px;
}
.news-tab-btn {
	display: inline-block;
	padding: 8px 18px;
	font-size: 14px;
	line-height: 20px;
	color: #555;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 20px;
	text-decoration: none !important;
	transition: all 0.15s ease;
}
.news-tab-btn:hover {
	color: #1da193;
	border-color: #1da193;
}
.news-tab-btn.active {
	color: #fff;
	background: #1da193;
	border-color: #1da193;
}

/* 分类滚动推荐 */
.news-feature {
	display: flex;
	gap: 16px;
	margin-bottom: 28px;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	overflow: hidden;
	min-height: 320px;
}
.news-feature-main {
	position: relative;
	flex: 1.35;
	min-width: 0;
	min-height: 320px;
	background: #111;
}
.feature-slide {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.35s ease;
	text-decoration: none !important;
	color: #fff;
}
.feature-slide.active {
	opacity: 1;
	visibility: visible;
}
.feature-cover {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
}
.feature-cover:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.05) 20%, rgba(0,0,0,0.72) 100%);
}
.feature-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 28px 28px 32px;
}
.feature-cat {
	display: inline-block;
	padding: 2px 10px;
	margin-bottom: 10px;
	font-size: 12px;
	line-height: 18px;
	color: #fff;
	background: #1da193;
	border-radius: 2px;
}
.feature-content h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.4;
	color: #fff;
}
.feature-content p {
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255,255,255,0.88);
	max-width: 90%;
}
.feature-more {
	display: inline-block;
	margin-top: 16px;
	font-size: 13px;
	color: #7fd6cc;
}
.feature-more .glyphicon {
	font-size: 11px;
	top: 1px;
}
.news-feature-side {
	flex: 0.9;
	min-width: 280px;
	display: flex;
	flex-direction: column;
	padding: 12px 12px 10px;
}
.feature-side-list {
	flex: 1;
	overflow: auto;
}
.feature-side-item {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px;
	margin: 0 0 6px;
	border: 1px solid transparent;
	border-radius: 4px;
	background: transparent;
	text-align: left;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.feature-side-item:hover,
.feature-side-item.active {
	background: #f3faf8;
	border-color: rgba(29, 161, 147, 0.25);
}
.side-thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 48px;
	border-radius: 2px;
	background-position: center;
	background-size: cover;
	background-color: #eee;
}
.side-text {
	min-width: 0;
	flex: 1;
}
.side-text em {
	display: block;
	font-style: normal;
	font-size: 12px;
	color: #1da193;
	line-height: 1.2;
	margin-bottom: 4px;
}
.side-text strong {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	line-height: 1.45;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.feature-dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	padding-top: 8px;
}
.feature-dots i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d8d8d8;
	cursor: pointer;
}
.feature-dots i.active {
	background: #1da193;
}

@media (max-width: 991px) {
	.news-feature {
		flex-direction: column;
		min-height: 0;
	}
	.news-feature-main {
		min-height: 260px;
	}
	.news-feature-side {
		min-width: 0;
	}
	.feature-content h2 {
		font-size: 20px;
	}
}

@media (max-width: 767px) {
	.news-banner {
		height: 200px;
	}
	.news-banner-inner {
		height: 200px;
	}
	.news-banner-inner h1 {
		font-size: 28px;
	}
	.news-banner-inner p {
		font-size: 13px;
		margin-top: 10px;
	}
	.news-list-page {
		padding-top: 18px;
	}
	.news-tabs {
		gap: 8px;
		margin-bottom: 16px;
	}
	.news-tab-btn {
		padding: 6px 14px;
		font-size: 13px;
	}
	.news-feature-main {
		min-height: 220px;
	}
	.feature-content {
		padding: 18px;
	}
	.feature-content h2 {
		font-size: 18px;
	}
	.feature-content p {
		display: none;
	}
}

.news-card-grid {
	margin: 0 -10px;
	overflow: hidden;
}

.news-card-col {
	padding: 0 10px 20px;
}

.news-card {
	display: block;
	background: #fff;
	border-radius: 4px;
	overflow: hidden;
	height: 100%;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	text-decoration: none !important;
	color: inherit;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.news-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
	text-decoration: none;
	color: inherit;
}

.news-card-cover {
	display: block;
	width: 100%;
	height: 168px;
	object-fit: cover;
	background: #eee;
}

.news-card-body {
	padding: 16px 18px 18px;
}

.news-card-title {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: #222;
	line-height: 1.5;
	height: 48px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.news-card:hover .news-card-title {
	color: #1da193;
}

.news-card-desc {
	margin: 10px 0 0;
	font-size: 13px;
	color: #888;
	line-height: 1.65;
	height: 64px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.news-card-meta {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #f0f0f0;
	font-size: 12px;
	color: #b0b0b0;
	line-height: 18px;
	overflow: hidden;
}

.news-card-meta .meta-tag {
	display: inline-block;
	padding: 1px 8px;
	background: rgba(29, 161, 147, 0.1);
	color: #1da193;
	border-radius: 2px;
	margin-right: 10px;
}

.news-card-meta .meta-views {
	float: right;
	color: #b0b0b0;
}

.news-list-pages {
	padding: 8px 0 16px;
	text-align: center;
}

.news-list-pages a {
	display: inline-block;
	min-width: 36px;
	height: 36px;
	margin: 0 4px 8px;
	padding: 0 12px;
	line-height: 34px;
	font-size: 14px;
	color: #666;
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	text-decoration: none;
	vertical-align: middle;
}

.news-list-pages a:hover {
	color: #1da193;
	border-color: #1da193;
	text-decoration: none;
}

.news-list-pages a.pages-active {
	color: #fff;
	background: #1da193;
	border-color: #1da193;
}

.news-list-empty {
	padding: 64px 16px;
	text-align: center;
	color: #989898;
	background: #fff;
	border-radius: 4px;
}

@media (min-width: 992px) {
	.news-card-cover {
		height: 180px;
	}
}

@media (max-width: 767px) {
	.news-list-page {
		padding-bottom: 24px;
	}

	.news-list-page .currentLocation {
		padding-top: 16px;
	}

	.news-list-hero h1 {
		font-size: 22px;
	}

	.news-card-col {
		padding-bottom: 14px;
	}

	.news-card-cover {
		height: 160px;
	}

	.news-card-title {
		font-size: 15px;
		height: auto;
		max-height: 45px;
	}

	.news-card-desc {
		height: auto;
		max-height: 63px;
	}
}
