/* 新闻中心页面样式 */

/* 页面基础样式 */
.news-page {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background-color: #f8f9fa;
}

/* 新闻中心头部 */
.news-hero {
	position: relative;
	min-height: 60vh;
	background:    url('./newsbg1.jpg');
	background-size: cover;
	background-position: center;
	/* background-attachment: fixed; */
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: white;
	overflow: hidden;
}

/* .news-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(44, 82, 130, 0.5) 50%, rgba(49, 130, 206, 0.1) 100%);
	z-index: 1;
} */

.news-hero .container {
	position: relative;
	z-index: 2;
}

.news-hero .hero-content {
	/* padding-top: 120px; */
}

.news-hero .breadcrumb {
	margin-bottom: 20px;
	font-size: 14px;
	opacity: 0.9;
}

.news-hero .breadcrumb a {
	color: white;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.news-hero .breadcrumb a:hover {
	opacity: 0.8;
}

.news-hero .breadcrumb .separator {
	margin: 0 10px;
	opacity: 0.7;
}

.news-hero .breadcrumb .current {
	opacity: 0.8;
}

.news-hero h1 {
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 20px;
}

.news-hero p {
	font-size:1.3rem;
	/* max-width: 600px; */
	margin: 0 auto;
	line-height: 1.6;
}

/* 新闻内容区域 */
.news-content {
	/* padding: 0 0 10px 0; */
	/* background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.8)), url(./aboutbg2.png); */
	background-color: rgba(245, 245, 245, 1);
	min-height: 100vh;
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: contain;
}
.newsBoxAllover{
	background: rgba(245, 245, 245, 0.7);
	padding-bottom: 15vh;
}
.newsBoxAll{
	background: url('./aboutbg2.png');
	background-repeat: no-repeat;
	background-position: bottom;
	background-size: cover;
}


/* 新闻分类标签 */
.news-tabs {
	display: flex;
	justify-content: center;
	margin-bottom: 60px;
	gap: 40px;
	border-bottom: 1px solid rgba(229, 229, 229, 1);
}

.tab-items {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 20px 0;
	background: transparent;
	border: none;
	/* border-right: 1px solid rgba(0, 0, 0, 0.1); */
	color: #666;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 14px;
	font-weight: 500;
	flex: 1;
	position: relative;
	text-decoration: none;
}

.tab-items::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, rgba(227, 174, 41, 1) 0%, rgba(255, 208, 0, 1) 100%);
	transition: width 0.3s ease;
}

.tab-items:hover::after,
.tab-items.active::after {
	width: 10%;
}
.tab-items:hover,
.tab-items.active {
	color: rgba(185, 122, 59, 1);
}

/* Tab内容区域 */
.tab-content {
	width: 100%;
	background: url('./newsTitleBg.png');
	background-repeat: no-repeat;
	background-position: top center;
	background-size: 60%;
}

/* 推荐新闻部分 */
.recommended-news {
	margin-bottom: 80px;
	
}

.recommended-news .section-header {
	text-align: center;
	margin-bottom: 40px;
	position: relative;
}

 
.recommended-news .section-bg-text-right {
	position: absolute;
	top: 50%;
	right: -20px;
	transform: translateY(-50%);
	width: 200px;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, #e7d280 50%, transparent 100%);
	z-index: 1;
}

 

.recommended-news .section-description {
	font-size: 12px;
	color: rgba(138, 138, 138, 1);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
	position: relative;
	z-index: 2;
}

/* 推荐新闻三列布局 */
.recommended-layout {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 30px;
	margin: 10vh 0;
}

.recommended-card {
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
}

/* .recommended-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
} */

.recommended-card .card-image {
	/* height: 300px; */
	height: 45vh;
	overflow: hidden;
	position: relative;
}

.recommended-card .card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	border-radius: 20px;
}

.recommended-card:hover .card-image img {
	transform: scale(1.05);
}

.recommended-card.focus .card-image {
	background: linear-gradient(135deg, #dc3545, #c82333);
	display: flex;
	align-items: center;
	justify-content: center;
}

.focus-bg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.focus-text {
	font-size: 48px;
	font-weight: 700;
	color: white;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 图片覆盖层样式 */
.image-overlays {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
	padding: 30px 20px 20px;
	color: white;
}
.image-overlays h3{
	overflow: hidden;
	height: 7vh;
	max-height: calc(1.5em * 2);
	/* display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	line-height: 1.4;
	text-overflow: ellipsis;
	word-break: break-word;
	max-height: calc(1.4em * 2); */
}
.overlay-date {
	font-size: 0.7rem;
	color: #fff;
	/* font-weight: 600; */
	margin-bottom: 3%;
	display: flex;
	align-items: center;
}

.overlay-date::before {
	content: '';
	margin-right: 8px;
	width: 0.8rem;
	height: 0.8rem;
	background: url('./newsRiLi.png');
	background-repeat: no-repeat;
	background-size: contain;
}

.overlay-title {
	font-size: 0.8rem;
	font-weight: 700;
	color: white;
	/* line-height: 1.4; */
	margin: 0;

}

/* 右侧列表区域 */
.recommended-lists {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.news-list {
	/* background: white; */
	/* border-radius: 16px; */
	/* padding: 25px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.list-title {
	font-size: 18px;
	font-weight: 700;
	color: #1a365d;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e7d280;
}

.list-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 20px;
	background: white;
	/* border-bottom: 1px solid #f0f0f0; */
	transition: all 0.3s ease;
	height: 47%;
	border-radius: 20px;
	/* margin-bottom: 10px; */
	cursor: pointer;
}
.list-item h5{
	height: 7vh;
	overflow: hidden;
	max-height: calc(1.5em * 2);
}

.list-item:last-child {
	border-bottom: none;
}

/* .list-item:hover {
	background: rgba(231, 210, 128, 0.05);
	margin: 0 -15px;
	padding: 30px 15px;
	border-radius: 8px;
} */

.item-date {
	font-size: 0.7rem;
	color: rgba(166, 166, 166, 1);
	/* font-weight: 600; */
	white-space: nowrap;
	min-width: 80px;
	display: block;
	width: 100%;
	margin-bottom: 8px;
	display: flex;
	align-items: center;

}
.rightImage{
	width: 0.8rem;
	height: 0.8rem;
	margin-right: 7px;
}

.item-title {
	font-size: 0.8rem;
	font-weight: 500;
	color: #333;
	line-height: 1.4;
	margin: 0;
	transition: color 0.3s ease;
}
.newsRightBBox{
	display: flex;
	align-items: center;
	justify-content: flex-end;
	font-size: 0.8rem;
	font-weight: 700;
	color: rgba(179, 131, 36, 1);
	border: 1px solid rgba(179, 131, 36, 1);
	border-radius: 20px;
	padding: 3px 5%;
}
.newsrBox{
	display: flex;
	justify-content: flex-end;
	width: 100%;
}
.newsRightBtn{
	width: 0.8rem;
	height: 0.8rem;
	margin-left: 5px;
}
.list-item:hover .item-title {
	color: #1a365d;
}

/* 响应式设计 */
@media (max-width: 1200px) {
	.recommended-layout {
		grid-template-columns: 1fr 1fr;
		gap: 25px;
	}
	
	.recommended-lists {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 25px;
		margin-top: 20px;
	}
}

@media (max-width: 768px) {
	.recommended-layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.recommended-lists {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.recommended-card .card-image {
		height: 250px;
	}
	
	.overlay-title {
		font-size: 14px;
	}
	
	.list-item {
		gap: 6px;
	}
	
	.item-date {
		min-width: auto;
	}
	.tab-items:hover::after, .tab-items.active::after{
		width: 100%;
	}
	.list-item{
		height: max-content;
		margin-bottom: 20px;
	}
}

/* 全部新闻部分 */
.all-news {
	/* margin-bottom: 60px; */
}

.all-news .section-header {
	text-align: center;
	margin-bottom: 50px;
}
 
.all-news .section-description {
	font-size: 12px;
	color: rgba(138, 138, 138, 1);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.6;
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-bottom: 60px;
}

.news-card {
	background: white;
	border-radius: 10px;
	padding: 1.5rem;
	transition: all 0.3s ease;
	position: relative;
	cursor: pointer;
	position: relative;
}

.news-card:hover {
	background: linear-gradient(135deg, rgba(179, 131, 36, 1) 0%, rgba(245, 232, 156, 1) 100%)
}

/* 新闻卡片选中状态 */
/* .news-card.selected {
	background: linear-gradient(135deg, rgba(179, 131, 36, 1) 0%, rgba(245, 232, 156, 1) 100%);
} */
/* 选中状态下的悬停效果 */
/* .news-card.selected:hover {
	background: linear-gradient(135deg, rgba(179, 131, 36, 1) 0%, rgba(245, 232, 156, 1) 100%);
} */



.news-card .card-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: rgba(56, 56, 56, 1);
	margin-bottom: 2vh;
	line-height: 1.4;
	height: 15vh;
	max-height: calc(1.4em * 2);
	overflow: hidden;
}
.news-card:hover .card-title,
.news-card:hover .card-date{
	color: #fff;
}
.news-card:hover .card-description{
	/* border-bottom: 0.5px solid #fff; */
	color:#fff;
}
.news-card:hover::before{
	content:'';
	position: absolute;
	bottom: 2%;
	right: 3%;
	background: url('./newsListBg.png');
	width: 20vh;
	height: 20vh;
	background-repeat: no-repeat;
	background-size: contain;
}
.news-card .card-description {
	font-size: 0.7rem;
	color: rgba(166, 166, 166, 1);
	/* line-height: 1.6; */
	/* padding: 4vh 0 5vh; */
	/* border-bottom: 0.5px solid rgba(204, 204, 204, 1); */
	height: 10vh;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	-webkit-box-orient: vertical;
	/* line-height: 1.4; */
	text-overflow: ellipsis;
	word-break: break-word;
	max-height: calc(4em * 4);
}
.cardNewsLine{
	width: 100%;
	height: 0.5px;
	background-color: rgba(204, 204, 204, 1);
	margin: 3vh 0;
}

.news-card:hover .cardNewsLine{
	background-color: #fff;
}

.news-card .card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.news-card .card-date {
	font-size: 0.7rem;
	color: rgba(166, 166, 166, 1);
	/* font-weight: 600; */
}
.card-date{
	display: flex;
	align-items: center;
	position: relative;
	/* margin-left: 1rem; */
}
.card-date::after{
	position: absolute;
	content:'';
	width: 0.8rem;
	height: 0.8rem;
	background: url('./newsRiliRight.png');
	background-repeat: no-repeat;
	background-size: contain;
}
.news-card:hover .card-date::after{
	position: absolute;
	content:'';
	width: 0.8rem;
	height: 0.8rem;
	background: url('./newsRiLi.png');
	background-repeat: no-repeat;
	background-size: contain;
	
}
/* .card-date .btn .primary */
/* 分页样式 */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 60px;
}


/* 平滑滚动 */
html {
	scroll-behavior: smooth;
}

/* 分页按钮样式 - 支持button和a标签 */
.page-btn {
	width: 40px;
	height: 40px;
	border: 0.5px solid rgba(16, 41, 110, 1);
	border-radius: 50%;
	background: white;
	color: #666;
	font-size: 16px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	text-decoration: none;
}

.pageBtnClsleft{
	width: 1rem;
	height: 1rem;
	background: url('./newsLeft.png');
	background-repeat: no-repeat;
	background-size: contain;
}
.pageBtnClsright{
	width: 1rem;
	height: 1rem;
	background: url('./newsRight.png');
	background-repeat: no-repeat;
	background-size: contain;
}

.page-btn:hover:not(:disabled) {
	background: #fff;
	color: rgba(16, 41, 110, 1);
	transform: translateY(-2px);
	/* box-shadow: 0 4px 12px rgba(231, 210, 128, 0.3); */
	text-decoration: none;
}

.page-btn.active {
	background: rgba(16, 41, 110, 1);
	color: #fff;
	/* box-shadow: 0 4px 12px rgba(231, 210, 128, 0.3); */
}

.page-btn:disabled {
	/* opacity: 0.5; */
	cursor: not-allowed;
}

.page-btn.prev,
.page-btn.next {
	background: white;
	color: #666;
}

.page-btn.prev:hover:not(:disabled),
.page-btn.next:hover:not(:disabled) {
	background: rgba(16, 41, 110, 1);
	color: white;
}
.page-btn.prev:hover:not(:disabled) .pageBtnClsleft{
	width: 1rem;
	height: 1rem;
	background: url('./homebannerLeftActive.png');
	background-repeat: no-repeat;
	background-size: contain;
}

.page-btn.next:hover:not(:disabled) .pageBtnClsright{
	width: 1rem;
	height: 1rem;
	background: url('./newsRightActive.png');
	background-repeat: no-repeat;
	background-size: contain;
}

/* 按钮样式 - 新闻页面专用，提高优先级 */
.news-content .btn.primary,
.news-item .btn.primary {
	background: #fff;
	color: rgba(179, 131, 36, 1);
	border: 1px solid rgba(179, 131, 36, 1);
	padding: 5px 1rem;
	font-size: 0.7rem;
	font-weight: 700;
	border-radius: 999px;
	cursor: pointer;
	min-height: max-content;
	/* transition: all 0.3s ease; */
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
}
.card-dateTime{
	margin-left: 1.5rem;
}
.news-content .btn.primary:hover,
.news-item .btn.primary:hover {
	/* color:rgba(179, 131, 36, 1);
	border: 1px solid #fff; */
}

.news-card:hover .btn.primary{
	border: none;
}

.news-content .btn.primary svg,
.news-item .btn.primary svg {
	/* transition: transform 0.3s ease; */
}

.news-content .btn.primary:hover svg,
.news-item .btn.primary:hover svg {
	/* transform: translateX(4px); */
}

/* 响应式设计 */
@media (max-width: 768px) {
	.news-hero {
		min-height: 40vh;
		padding: 100px 0 60px 0;
	}
	
	.news-hero h1 {
		font-size: 20px;
	}
	
	.news-hero p {
		font-size: 13px;
	}
	
	.news-content {
		padding: 60px 0;
	}
	
	.news-tabs {
		gap: 20px;
		margin-bottom: 40px;
	}
	
	.tab-item {
		padding: 10px 16px;
		font-size: 14px;
	}
	
	.recommended-grid {
		grid-template-columns: 1fr;
		gap: 30px;
		margin-top: 40px;
	}
	
	.recommended-card .card-content {
		padding: 20px;
	}
	
	.recommended-card .card-title {
		font-size: 18px;
	}
	
	.news-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.news-card {
		padding: 20px;
	}
	
	.news-card .card-title {
		font-size: 16px;
	}
	
	.pagination {
		gap: 8px;
		margin-top: 40px;
	}
	
	.page-btn {
		width: 36px;
		height: 36px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.news-hero {
		min-height: 35vh;
		padding-top: 80px;
	}
	
	.news-hero .breadcrumb {
		font-size: 12px;
	}
	
	.news-tabs {
		flex-direction: column;
		gap: 15px;
		align-items: center;
	}
	
	.recommended-news .section-bg-text {
		/* font-size: clamp(40px, 15vw, 80px); */
		font-size: 2.5rem;
	}
	
	.recommended-card .card-content {
		padding: 15px;
	}
	
	.recommended-card .card-title {
		font-size: 16px;
	}
	
	.focus-text {
		font-size: 36px;
	}
	
	.news-card {
		padding: 15px;
	}
	
	.news-card .card-title {
		font-size: 15px;
	}
	
	.news-card .card-footer {
		flex-direction: column;
		gap: 15px;
		align-items: flex-start;
	}
	
	.news-content .btn.primary,
	.news-item .btn.primary {
		padding: 10px 16px;
		font-size: 14px;
		font-weight: 400;
	}
}
