/* ========================================
   VapeSmall - News Archive Page
   Premium Design with Featured Banner
======================================== */

/* 页面标题区域 */
.news-archive-header {
	text-align: left;
	margin-bottom: 40px;
	padding: 0;
	border: none;
}

.news-archive-title {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #333;
}

.news-breadcrumb {
	font-size: 14px;
	color: #999;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 30px;
}

.news-breadcrumb a {
	color: #999;
	text-decoration: none;
	transition: color 0.3s;
}

.news-breadcrumb a:hover {
	color: #FFAA01;
}

/* 特色新闻大横幅 */
.featured-news-banner {
	position: relative;
	height: 500px;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 50px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.15);
	cursor: pointer;
	transition: transform 0.5s ease;
    display: block;
}

.featured-news-banner:hover {
	transform: scale(1.01);
}

.featured-news-banner::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 10px;
	background: linear-gradient(
		to top,
		rgba(0,0,0,0.85) 0%,
		rgba(0,0,0,0.4) 40%,
		rgba(0,0,0,0.1) 70%,
		rgba(0,0,0,0) 100%
	);
	z-index: 1;
	transition: all 0.3s ease;
}

.featured-news-banner:hover::before {
	opacity: 0.9;
}

.featured-news-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}


.featured-news-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 50px 30px 30px 30px;
	z-index: 2;
	color: white;
}

.featured-news-label {
	display: inline-block;
	background: #FFAA01;
	color: #fff;
	padding: 6px 18px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 15px;
}

.featured-news-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 15px;
	color: white;
	text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.featured-news-title:hover {
	color: #FFAA01;
}

.featured-news-excerpt {
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255,255,255,0.95);
	max-width: 800px;
	text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.featured-news-meta {
	display: flex;
	align-items: center;
	gap: 20px;
	font-size: 14px;
	color: rgba(255,255,255,0.85);
}

.featured-news-meta span {
	display: flex;
	align-items: center;
	gap: 6px;
}

.featured-news-meta svg {
	width: 16px;
	height: 16px;
	opacity: 0.8;
}

/* 新闻网格布局 - 4列 */
.news-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-bottom: 60px;
}

.news-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.4s ease;
	/* box-shadow: 0 2px 12px rgba(0,0,0,0.06); */
	cursor: pointer;
	display: flex;
	flex-direction: column;
}

.news-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.news-card-image-wrapper {
	position: relative;
	width: 100%;
	height: 220px;
	overflow: hidden;
	background: #f5f5f5;
}

.news-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.news-card:hover .news-card-image {
	transform: scale(1.1);
}

.news-card-category {
	position: absolute;
	top: 15px;
	left: 15px;
	background: #FFAA01;
	color: white;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	z-index: 1;
}

.news-card-content {
	padding: 12px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.news-card-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 12px;
	color: #333;
	transition: color 0.3s;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

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

.news-card-excerpt {
	font-size: 16px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 10px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 12px;
	color: #999;
	/* padding-top: 15px; */
	/* border-top: 1px solid #f0f0f0; */
}

.news-tag-item{
    font-size: 14px;
    color: #333;
    background: #fff;
    padding: 6px 10px;
    border-radius: 2px;
    border: 1px solid #D2D2D2;
}

.news-card-date {
	display: flex;
	align-items: center;
	gap: 5px;
}

.news-card-read-more {
	color: #FFAA01;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 5px;
	transition: gap 0.3s;
}

.news-card:hover .news-card-read-more {
	gap: 10px;
}

/* 分页样式 */
.news-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 60px;
}

.news-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 15px;
	border-radius: 8px;
	background: white;
	border: 2px solid #f0f0f0;
	color: #333;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
	background: #FFAA01;
	border-color: #FFAA01;
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 170, 1, 0.3);
}

.news-pagination .page-numbers.dots {
	border: none;
	background: transparent;
}

.news-pagination .page-numbers.dots:hover {
	transform: none;
	box-shadow: none;
}

/* 无结果页面 */
.no-results {
	text-align: center;
	padding: 100px 20px;
}

.no-results h2 {
	font-size: 28px;
	color: #333;
	margin-bottom: 15px;
}

.no-results p {
	font-size: 16px;
	color: #666;
}

/* 响应式设计 */
@media (max-width: 1200px) {
	.news-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 25px;
	}
	
	.featured-news-title {
		font-size: 36px;
	}
}

@media (max-width: 992px) {
	.news-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	
	.featured-news-banner {
		height: 400px;
	}
	
	.featured-news-content {
		padding: 35px;
	}
	
	.featured-news-title {
		font-size: 32px;
	}
}

@media (max-width: 768px) {
	.news-archive-container {
		padding: 30px 15px 60px;
	}
	
	.news-archive-title {
		font-size: 26px;
	}
	
	.news-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.featured-news-banner {
		height: 350px;
		border-radius: 12px;
		margin-bottom: 35px;
	}
	
	.featured-news-content {
		padding: 25px;
	}
	
	.featured-news-title {
		font-size: 26px;
	}
	
	.featured-news-excerpt {
		font-size: 14px;
		margin-bottom: 15px;
	}
	
	.featured-news-meta {
		flex-wrap: wrap;
		gap: 12px;
		font-size: 13px;
	}
	
	.news-card-image-wrapper {
		height: 200px;
	}
	
	.news-pagination {
		gap: 5px;
	}
	
	.news-pagination .page-numbers {
		min-width: 38px;
		height: 38px;
		padding: 0 12px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.featured-news-banner {
		height: 300px;
	}
	
	.featured-news-title {
		font-size: 22px;
	}
	
	.news-card-content {
		padding: 20px;
	}
}