/* 新闻页面样式 */

/* 全局样式 - 从products.css拷贝 */
body {
	background-color: #ffffff;
	margin: 0;
	padding: 0;
	width: 100%;
	overflow-x: hidden;
	font-family: 'MiSans-Medium', sans-serif
}

/* 基础容器 - 从products.css拷贝 */
.page-wrapper {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	position: relative;
	max-width: 1920px;
}



/* 移动端头部导航 */
/* Mobile header styles removed - see global.css */

/* 头部底部边框 - 从products.css拷贝 */
.header-with-border {
	border-bottom: 1px solid #e3e3e3;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	width: 1920px;
	/* 全屏宽度 */
	max-width: 100%;
	margin: 0 auto;
	padding: 0 46px 0 88px;
	/* 左边88px，右边46px */
}

.logo {
	width: 52px;
	height: auto;
}

.nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 87px;
	flex: 1;
	justify-content: center;
}

.nav-item {
	color: #000;
	text-decoration: none;
	font-size: 14px;
	font-weight: 400;
	transition: color 0.3s ease;
	position: relative;
}

.nav-item:hover {
	color: #0078ff;
}

.nav-item.active {
	color: #0078ff;
}

.nav-item.active::after {
	content: '';
	position: absolute;
	bottom: 10px;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #0078ff;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 21px;
	/* 与language-switch的margin-left保持一致 */
}

.search-icon {
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.language-switch {
	position: relative;
	width: 31px;
	height: 31px;
	background-color: #0078ff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border: none;
	outline: none;
	padding: 0;
}

.lang-text {
	font-size: 12px;
	color: #ffffff;
	line-height: 1;
	margin: 0;
	padding: 0;
}

.language-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	width: 120px;
	background-color: #ffffff;
	border-radius: 5px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 1000;
	margin-top: 8px;
}

.language-switch:hover .language-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown-item {
	padding: 12px 16px;
	font-size: 14px;
	color: #000;
	cursor: pointer;
	transition: background-color 0.2s ease;
	display: block;
	text-decoration: none;
}

.dropdown-item:hover {
	background-color: #f5f5f5;
}


@media (max-width: 768px) {}


/* 主要内容区域 */
.main-content {
	padding-bottom: 5vw;
	width: 81.9792vw;
	margin: 0 auto;
}


/* 新闻区域 */
.news-section {
	padding-top: 56px;
	background: #fff;
}

/* 手机版新闻列表（默认隐藏） */
.m-news-section {
	display: none;
	padding: 24px 16px 40px;
	background: #fff;
}

.m-news-main-title {
	font-size: 3.7333vw;
	font-weight: normal;
	font-stretch: normal;
	letter-spacing: 0;
	color: #0078ff;
	margin: 0 0 5vw 0;
	font-family: 'MiSans-Medium', sans-serif;
	padding-left: 3vw;
}

.m-container {
	margin: 0;
	padding: 0;
}

.m-news-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

/* 手机版推荐新闻（大图卡片） */
.m-featured-news-item {
	margin-bottom: 24px;
}

.m-featured-news-item .m-news-image {
	width: 100%;
	aspect-ratio: 720 / 540;
	border-radius: 1.333vw;
	overflow: hidden;
}

.m-featured-news-item .m-news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.m-featured-news-item .m-news-content {
	padding: 16px 8px 0;
}

.m-featured-news-item .m-news-title {
	font-size: 3.7333vw;
	color: #000;
	line-height: 1.5;
	font-family: 'MiSans-Regular' !important;
	}

.m-featured-news-item .m-news-date {
	font-size: 2.6666vw;
	color: #717171;
	line-height: 3em;
}

/* 手机版普通新闻（2列网格） */
.m-regular-news {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.6667vw;
}

.m-regular-news-item .m-news-image {
	width: 100%;
	aspect-ratio: 351 / 281;
	overflow: hidden;
}

.m-regular-news-item .m-news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.m-regular-news-item .m-news-content {
	padding: 12px 4px 0;
}

.m-regular-news-item .m-news-title {
	font-size: 3.7333vw;
	color: #000;
	line-height: 1.5;
	height: 12vw;
	overflow: hidden;

}

.m-regular-news-item .m-news-date {
	font-size: 2.6667vw;
	color: #717171;
}

/* 手机版“Discover More”按钮 */
.m-news-discover {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 0 8px;
}



.m-news-discover-button svg {
	width: 12px;
	height: 8px;
}

.m-news-discover-button:hover {
	background: #f5f5f5;
}

/* 显示切换：PC 显示桌面列表，移动端显示手机版 */
@media (max-width: 768px) {
	.news-section {
		display: none;
	}

	.m-news-section {
		display: block;
		width: 96vw;
		margin-left: -6.9vw;
		padding: 5vw 0;
	}
}

.container {
	padding: 0;
}

/* News标题 */
.news-main-title {
	font-size: 32px;
	font-family: 'MiSans-Medium', sans-serif;
	font-stretch: normal;
	letter-spacing: 0px;
	color: #010101;
	margin: 0 0 40px 0;
	/* 下边距改为35px */
	font-weight: normal;
}

/* 新闻链接样式 */
.news-link {
	text-decoration: none;
	color: inherit;
	display: block;
	width: 100%;
	height: 100%;
}

.news-link:hover {
	text-decoration: none;
	color: inherit;
}

/* 推荐新闻区域 */
.featured-news {
	display: flex;
	gap: 1.770833vw;
	margin-bottom: 40px;
}

.featured-news-item {
	width: 40.104166vw;
}

.featured-news-item .news-image {
	width: 100%;
	height: 30.20833vw;
	padding-bottom: 75.32%;
	/* 580/770 = 0.7532 */
	position: relative;
	overflow: hidden;
	border-radius: 10px;
}

.featured-news-item .news-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured-news-item .news-content {
	padding: 20px;
}

.featured-news-item .news-meta {
	margin-bottom: 12px;
	margin-top: 15px;
}

.news-date {
	font-size: 18px;
	color: #b8b1b8;
	line-height: 24px;
	font-family: 'MiSans-Normal', sans-serif;
}

.featured-news-item .news-title {
	font-size: 18px;
	color: #000;
	line-height: 1.4;
	margin: 0;
	font-family: 'MiSans-Regular', sans-serif !important;
}

/* 普通新闻区域 */
.regular-news {
	display: flex;
	gap: 1.92708vw;
	/* 每张图片间距2% */
}

.regular-news-item {
	width: 26%;
	/* 每张图片宽度26% */
}

.regular-news-item .news-image {
	width: 100%;
	height: 0;
	padding-bottom: 75%;
	/* 375/500 = 0.75 */
	position: relative;
	overflow: hidden;
}

.regular-news-item .news-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.regular-news-item .news-content {
	padding: 20px;
}

.regular-news-item .news-meta {
	margin-bottom: 10px;
	margin-top: 15px
}

.regular-news-item .news-date {
	font-size: 18px;
	color: #b8b1b8;
}

.news-title {
	font-size: 18px;
	color: #000;
	line-height: 1.4;
	margin: 0;
	font-family: 'MiSans-Regular', sans-serif !important;
}

/* Social Media栏目 */
.social-media-section {
	padding-top: 56px;
	background: #fff;
}

/* Social Media标题 */
.social-media-title {
	font-size: 32px;
	font-stretch: normal;
	letter-spacing: 0px;
	color: #010101;
	margin: 0 0 40px 0;
	font-weight: normal;
}

/* Social Media容器 */
.social-media-section .container {
	padding: 0;
}

.social-media-news {
	display: flex;
	justify-content: flex-start;
	gap: 3.48958vw;
	/* 使用vw单位，确保间距是屏幕宽度的2% */
}

/* Social Media项 */
.social-media-item {
	width: 26vw;
	/* 使用vw单位，确保宽度是屏幕宽度的26% */
}

.social-media-item .news-image {
	width: 100%;
	aspect-ratio: 480 / 240;
	background: transparent;
	overflow: hidden;
}

.social-media-item .news-image a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.social-media-item .news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: none;
}

/* 手机版 Social Media（默认隐藏） */
.m-social-media-section {
	display: none;
	background: #fff;
}

.m-social-media-title {
	height: 26px;
	font-size: 32px;
	font-weight: normal;
	font-stretch: normal;
	line-height: 15px;
	letter-spacing: 0;
	color: #010101;
	text-align: center;
	margin: 0 0 20px;
}

.m-social-grid {
	display: grid;
	grid-template-columns: repeat(3, 30vw);
	gap: 3.0667vw;
	justify-content: center;
}

.m-social-card {
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	width: 30vw;
	aspect-ratio: 420 / 240;
	overflow: hidden;
	cursor: pointer;
}

.m-social-card .m-social-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: none;
}

/* 手机版新闻详情顶部栏 */
.m-news-detail-top {
	display: none;
	padding: 12px 16px 8px;
	background: #fff;
}

.m-news-detail-title {
	font-size: 3.7333vw;
	color: #0078ff;
	line-height: 1.4;
}

.m-news-detail-divider {
	height: 1px;
	background: #eaeaea;
	margin-top: 8px;
}

@media (max-width: 768px) {
	.m-news-detail-top, .news-detail-container {
		display: block;
		width: 96vw !important;
		margin-left: -6.8vw !important;
		padding: 3vw 0 0 2vw;
		font-size: 3.7333vw;
	}
}

/* 显示切换：PC 显示桌面栏目，移动端显示手机版 */
@media (max-width: 768px) {
	.social-media-section {
		display: none;
	}

	.m-social-media-section {
		display: block;
		width: 96vw;
		margin-left: -6.8vw;
	}
	.news-detail-sidebar{
		display: none;
		
	}
	
}

/* Social Media项内容 */
.social-media-item .news-content {
	padding: 16px 0;
}

.social-media-item .news-date {
	font-size: 14px;
	color: #666;
	line-height: 1.4;
	margin-bottom: 8px;
}

.social-media-item .news-title {
	font-size: 16px;
	color: #000;
	line-height: 1.5;
	margin: 0;
}

/* 分页 */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 60px;
}

.pagination-btn {
	padding: 12px 16px;
	border: 1px solid #e0e0e0;
	background: #fff;
	color: #666;
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	min-width: 44px;
}

.pagination-btn:hover {
	background: #f8f9fa;
	border-color: #0078ff;
	color: #0078ff;
}

.pagination-btn.active {
	background: #0078ff;
	border-color: #0078ff;
	color: #fff;
}

.pagination-btn.active:hover {
	background: #0056b3;
	border-color: #0056b3;
}

/* 新闻详情页样式 */
.news-detail-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
	display: flex;
	gap: 6vw;
}

.news-detail-content {
	flex: 1;
	max-width: 800px;
}

.news-detail-title {
	font-size: 32px;
	font-stretch: normal;
	line-height: 1.2;
	letter-spacing: 0px;
	color: #000000;
	margin-bottom: 20px;
	min-height: 35px;
	font-family: 'MiSans-Medium', sans-serif;
	font-weight: normal;
}

.news-detail-meta {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
}

.news-detail-author {
	height: 14px;
	font-size: 16px;
	font-weight: normal;
	font-stretch: normal;
	line-height: 15px;
	letter-spacing: 0px;
	color: #717171;
}

.news-detail-date {
	width: 77px;
	height: 14px;
	font-size: 16px;
	font-weight: normal;
	font-stretch: normal;
	line-height: 15px;
	letter-spacing: 0px;
	color: #717171;
}

.news-detail-body {
	font-size: 3.733vw;
	line-height: 1.8;
	color: #717171;
}

.news-detail-body p {
	margin-bottom: 20px;
}

.news-detail-body img {
	max-width: 100%;
	height: auto;
	display: block;
}

.news-detail-image {
	margin: 30px 0;
	text-align: center;
}

.news-detail-image img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-detail-sidebar {
	width: 300px;
	flex-shrink: 0;
}

.sidebar-title {
	font-size: 26px;
	font-stretch: normal;
	line-height: 26px;
	letter-spacing: 0px;
	color: #000000;
	margin: 15px 0 59px 0;
	font-family: 'MiSans-Demibold', sans-serif;
	font-weight: normal;
}

.related-news-list {
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.related-news-item {
	display: flex;
	flex-direction: column;
	width: 284px;
}

.related-news-image {
	width: 284px;
	height: 160px;
	overflow: hidden;
	margin-bottom: 15px;
}

.related-news-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-news-content {
	width: 284px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.related-news-title {
	font-size: 15px;
	font-weight: normal;
	font-stretch: normal;
	line-height: 24px;
	letter-spacing: 0px;
	color: #000000;
	margin: 0 0 8px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.related-news-date {
	height: 14px;
	font-size: 16px;
	font-weight: normal;
	font-stretch: normal;
	line-height: 15px;
	letter-spacing: 0px;
	color: #717171;
}

/* 响应式设计 - 从products.css拷贝 */
/* 1920px及以上 - 保持固定尺寸，居中显示 */
@media (min-width: 1920px) {
	.page-wrapper {
		max-width: 1920px;
		margin: 0 auto;
	}

	.nav-container {
		width: 1920px;
		padding: 0 46px 0 88px;
		/* 确保在1920px下精确的左右间距 */
	}
}

/* 1920px以下的响应式设计 */
@media (max-width: 1919px) {
	.nav-container {
		width: calc(100% - 100px);
		margin: 0 auto;
		padding-left: 50px;
		padding-right: 50px;
	}
}

@media (max-width: 1599px) and (min-width: 1366px) {
	.nav-container {
		width: calc(100% - 80px);
		margin: 0 auto;
		padding-left: 40px;
		padding-right: 40px;
	}

	.footer-row-one,
	.footer-row-three {
		padding-left: 40px;
		padding-right: 40px;
	}
}

@media (max-width: 1366px) {
	.nav-container {
		width: calc(100% - 60px);
		margin: 0 auto;
		padding-left: 30px;
		padding-right: 30px;
	}

	.footer-row-one,
	.footer-row-three {
		padding-left: 30px;
		padding-right: 30px;
	}
}

@media (max-width: 1024px) {

	.nav-container,
	.footer-row-one,
	.footer-row-three {
		padding-left: 20px;
		padding-right: 20px;
	}

	.container {
		margin: 0 5%;
	}

	.featured-news {
		flex-direction: column;
		gap: 20px;
	}

	.featured-news-item {
		width: 100%;
	}

	.regular-news {
		flex-direction: column;
		gap: 20px;
	}

	.regular-news-item {
		width: 100%;
	}
}

@media (max-width: 768px) {

	.nav-container,
	.footer-row-one,
	.footer-row-three {
		padding-left: 15px;
		padding-right: 15px;
	}

	.nav-menu {
		gap: 20px;
	}

	.nav-item {
		font-size: 14px;
	}

	.footer-row-one {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}

	.footer-contact {
		flex-direction: column;
		gap: 20px;
	}

	.footer-row-three {
		flex-direction: column;
		gap: 10px;
		text-align: center;
	}

	.news-section {
		padding-top: 40px;
	}

	.news-main-title {
		font-size: 24px;
		margin-bottom: 30px;
	}

	.container {
		margin: 0 4%;
	}

	/* Social Media响应式 */
	.social-media-section {
		padding: 40px 5% 0 5%;
	}

	.social-media-title {
		margin: 0 5% 30px 5%;
		font-size: 28px;
	}

	.social-media-news {
		flex-direction: column;
		gap: 20px;
		/* 移动端使用固定像素间距 */
	}

	.social-media-item {
		width: 100%;
		/* 移动端占满宽度 */
	}

	/* 新闻详情页移动端样式 */
	.news-detail-container {
		flex-direction: column;
		gap: 30px;
	}

	.news-detail-sidebar {
		width: 100%;
	}

	.news-detail-title {
		font-size: 3.7333vw;
		line-height: 1.3;
		min-height: auto;
		margin: 2.5vw 0 4vw 0;
	}

	.sidebar-title {
		font-size: 20px;
		height: auto;
		line-height: 1.3;
		margin-bottom: 30px;
	}

	.related-news-list {
		gap: 30px;
	}

	.related-news-item {
		flex-direction: column;
		gap: 12px;
	}

	.related-news-image {
		width: 100%;
		height: 200px;
		margin-bottom: 10px;
	}

	.related-news-title {
		font-size: 14px;
		height: auto;
		line-height: 1.4;
	}

	.related-news-date {
		font-size: 14px;
		height: auto;
	}
}

@media (max-width: 480px) {
	.container {
		margin: 0 3%;
	}

	.news-main-title {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.pagination {
		flex-wrap: wrap;
		gap: 8px;
		margin-top: 40px;
	}

	.pagination-btn {
		padding: 10px 14px;
		font-size: 13px;
	}

	/* 新闻详情页小屏幕样式 */
	.news-detail-container {
		padding: 15px 10px;
		gap: 25px;
	}

	.news-detail-title {
		font-size: 20px;
		line-height: 1.4;
		min-height: auto;
	}

	.news-detail-meta {
		flex-direction: column;
		gap: 8px;
		margin-bottom: 25px;
	}

	.news-detail-author,
	.news-detail-date {
		height: auto;
		font-size: 14px;
	}

	.news-detail-body {
		font-size: 15px;
		line-height: 1.7;
	}

	.news-detail-image {
		margin: 25px 0;
	}

	.sidebar-title {
		font-size: 18px;
		height: auto;
		line-height: 1.3;
		margin-bottom: 25px;
	}

	.related-news-list {
		gap: 25px;
	}

	.related-news-item {
		gap: 10px;
	}

	.related-news-image {
		width: 100%;
		height: 150px;
		margin-bottom: 8px;
	}

	.related-news-title {
		font-size: 12px;
		height: auto;
		line-height: 1.3;
	}

	.related-news-date {
		font-size: 11px;
		height: auto;
	}
}