/* Banner轮播样式 */
.index_banner {
	margin-top: 80px;
	width: 100%;
}

.index_banner .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 自定义导航按钮样式 */
.index_banner .swiper-button-next,
.index_banner .swiper-button-prev {
	color: #fff;
	background: rgba(0, 0, 0, 0.3);
	width: 50px;
	height: 50px;
	border-radius: 50%;
}

.index_banner .swiper-button-next:hover,
.index_banner .swiper-button-prev:hover {
	background: rgba(0, 0, 0, 0.5);
}

/* 只使用after伪元素，移除before */
.index_banner .swiper-button-next::after,
.index_banner .swiper-button-prev::after {
	font-size: 20px;
}

/* 自定义分页器样式 */
.index_banner .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: #fff;
	opacity: 0.5;
}

.index_banner .swiper-pagination-bullet-active {
	opacity: 1;
	background: #fff;
}

/* 响应式 */
@media (max-width: 768px) {
	.index_banner {
		height: 400px;
	}
}

@media (max-width: 480px) {
	.index_banner {
		height: 300px;
	}
}

/* ========== Product Application Cases 手风琴优化 ========== */

/* 优化过渡效果 */
.sec2-tbody-item {
	cursor: pointer;
}

.sec2-tbody-item .item-box .item-pic img {
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sec2-tbody-item .item-box .item-body {
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 鼠标悬停提示 */
.sec2-tbody-item:not(.active)::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 155, 75, 0);
	transition: all 0.3s ease;
	pointer-events: none;
	z-index: 1;
}

.sec2-tbody-item:not(.active):hover::before {
	background: rgba(0, 155, 75, 0.1);
}

/* 激活状态的标题和描述动画 */
.sec2-tbody-item.active .item-title,
.sec2-tbody-item.active .item-desc {
	animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ========== News & Articles Section - 全新独立样式 ========== */

/* 区块容器 */
.news-section {
	padding: 80px 0;
	background: #f8f9fa;
}

/* 标题区域 */
.news-header {
	text-align: center;
	margin-bottom: 60px;
}

.news-main-title {
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 15px 0;
}

.news-main-title a {
	color: #222;
	text-decoration: none;
	transition: color 0.3s ease;
}

.news-main-title a:hover {
	color: #df000f;
}

.news-subtitle {
	font-size: 16px;
	color: #666;
	margin: 0;
}

/* 网格布局容器 */
.news-grid-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-bottom: 50px;
}

/* 新闻卡片 */
.news-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.news-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

/* 卡片图片 */
.news-card-image {
	position: relative;
	overflow: hidden;
	padding-top: 65%;
	background: #e8e8e8;
}

.news-card-image a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.news-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 图片遮罩 */
.news-card-mask {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.75) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 30px;
}

.news-card:hover .news-card-mask {
	opacity: 1;
}

.news-read-btn {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.5px;
	transform: translateY(20px);
	transition: transform 0.4s ease;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.news-card:hover .news-read-btn {
	transform: translateY(0);
}

/* 卡片内容 */
.news-card-body {
	padding: 28px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.news-card-date {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #df000f;
	font-weight: 500;
	margin-bottom: 15px;
}

.news-card-date .fa {
	font-size: 16px;
	margin-right: 2px;
}

.news-card-date time {
	color: #df000f;
}

.news-card-title {
	margin: 0 0 12px 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
}

.news-card-title a {
	color: #222;
	text-decoration: none;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	transition: color 0.3s ease;
}

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

.news-card-excerpt {
	font-size: 15px;
	line-height: 1.7;
	color: #666;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* 查看更多按钮区域 */
.news-section .sec-tbody-btn {
	text-align: center;
	margin-top: 20px;
}

/* ========== 响应式设计 ========== */

/* 平板 (1024px以下) */
@media (max-width: 1024px) {
	.news-grid-wrapper {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
	}

	.news-main-title {
		font-size: 36px;
	}

	.news-card-title {
		font-size: 19px;
	}

	.news-card-body {
		padding: 24px;
	}
}

/* 手机 (768px以下) */
@media (max-width: 768px) {
	.index_banner{
		margin-top: 60px;
	}
	.news-section {
		padding: 60px 0;
	}

	.news-header {
		margin-bottom: 40px;
	}

	.news-grid-wrapper {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-bottom: 40px;
	}

	.news-main-title {
		font-size: 32px;
	}

	.news-subtitle {
		font-size: 14px;
	}

	.news-card-body {
		padding: 22px;
	}

	.news-card-title {
		font-size: 18px;
	}

	.news-card-excerpt {
		font-size: 14px;
		-webkit-line-clamp: 2;
	}

}

/* 小屏手机 (480px以下) */
@media (max-width: 480px) {
	.news-section {
		padding: 40px 0;
	}

	.news-main-title {
		font-size: 28px;
	}

	.news-card-image {
		padding-top: 70%;
	}

	.news-card-body {
		padding: 20px;
	}

	.news-card-title {
		font-size: 17px;
	}

	.news-card-excerpt {
		font-size: 13px;
	}

}

/* ========== 产品分类导航样式 ========== */
.sec3 .cateul {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	margin: 40px 0 30px 0;
	padding: 0;
	flex-wrap: wrap;
}

.sec3 .cateul li {
	position: relative;
	padding: 12px 30px;
	font-size: 16px;
	font-weight: 500;
	color: #333;
	background: #fff;
	border: 2px solid #e0e0e0;
	border-radius: 30px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	list-style: none;
	white-space: nowrap;
}

.sec3 .cateul li:hover {
	color: #df000f;
	border-color: #df000f;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(223, 0, 15, 0.15);
}

.sec3 .cateul li.active {
	color: #fff;
	background: #df000f;
	border-color: #df000f;
	box-shadow: 0 4px 15px rgba(223, 0, 15, 0.3);
}

.sec3 .cateul li.active::before {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid #df000f;
}

/* 产品列表容器过渡效果 */
.sec3 .sec3-tbody-list {
	animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ========== 响应式设计 ========== */

/* 平板 (1024px以下) */
@media (max-width: 1024px) {
	.sec3 .cateul {
		gap: 12px;
		margin: 30px 0 25px 0;
	}

	.sec3 .cateul li {
		padding: 10px 24px;
		font-size: 15px;
	}
}

/* 手机 (768px以下) */
@media (max-width: 768px) {
	.sec3 .cateul {
		gap: 10px;
		margin: 25px 15px 20px 15px;
	}

	.sec3 .cateul li {
		padding: 8px 20px;
		font-size: 14px;
	}

	.sec3 .cateul li.active::before {
		border-left: 6px solid transparent;
		border-right: 6px solid transparent;
		border-top: 6px solid #df000f;
		bottom: -6px;
	}
}

/* 小屏手机 (480px以下) */
@media (max-width: 480px) {
	.sec3 .cateul {
		gap: 8px;
		margin: 20px 10px 15px 10px;
	}

	.sec3 .cateul li {
		padding: 6px 16px;
		font-size: 13px;
	}
}

/* ========== 产品分类折叠图区域 ========== */
.product-categories-section {
	margin-top: 0;
}

/* ========== 证书与展会合并区域样式 ========== */
.certificates-exhibition-section {
	padding: 80px 0;
	background: #f8f9fa;
}

.certificates-exhibition-section .container {
	position: relative;
	padding: 0 70px; /* 左右留出70px给按钮 */
}

.certificates-exhibition-swiper {
	position: relative;
	padding: 0 0 50px;
	margin-top: 50px;
	overflow: hidden; /* 保持hidden以隐藏未轮播内容 */
}

.certificates-exhibition-swiper .swiper-slide {
	height: auto;
}

.cert-exhibit-card {
	position: relative;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-exhibit-card:hover {
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.cert-exhibit-card img {
	width: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-exhibit-card:hover img {
	transform: scale(1.1);
}

.cert-exhibit-info {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
	padding: 30px 20px 20px;
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cert-exhibit-card:hover .cert-exhibit-info {
	transform: translateY(0);
}

.cert-exhibit-title {
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	margin: 0;
	text-align: center;
}

.certificates-exhibition-section .cert-nav-next,
.certificates-exhibition-section .cert-nav-prev {
	position: absolute;
	width: 42px;
	height: 42px;
	background: #df000f;
	border-radius: 50%;
	color: #fff;
	top: 60%;
	transform: translateY(-50%);
	z-index: 10;
	margin-top: 0;
}

.certificates-exhibition-section .cert-nav-next {
	right: -10px; /* 相对于container，显示在padding区域 */
}

.certificates-exhibition-section .cert-nav-prev {
	left: -10px; /* 相对于container，显示在padding区域 */
}

.certificates-exhibition-section .cert-nav-next::after,
.certificates-exhibition-section .cert-nav-prev::after {
	font-size: 18px;
}

.certificates-exhibition-section .cert-nav-next:hover,
.certificates-exhibition-section .cert-nav-prev:hover {
	background: #b70000;
}

/* ========== 奖杯区域样式 ========== */
.awards-section {
	padding: 80px 0 0;
	background: #fff;
}

.awards-section .container {
	position: relative;
	padding: 0 70px; /* 左右留出70px给按钮 */
}

.awards-swiper {
	position: relative;
	padding: 0 0 50px;
	margin-top: 50px;
	overflow: hidden; /* 保持hidden以隐藏未轮播内容 */
}

.awards-swiper .swiper-slide {
	height: auto;
}

.award-card {
	background: #fff;
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	height: 100%;
}

.award-image {
	position: relative;
	overflow: hidden;
	padding-top: 100%;
}

.award-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	object-fit: cover;
	/* 已移除鼠标经过放大效果 - 注释掉transition和hover效果 */
	/* transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); */
}

/* .award-card:hover .award-image img {
	transform: scale(1.1);
} */

.award-info {
	padding: 20px;
	background: #fff;
}

.award-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin: 0;
	line-height: 1.4;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.awards-section .awards-nav-next,
.awards-section .awards-nav-prev {
	position: absolute;
	width: 42px;
	height: 42px;
	background: #df000f;
	border-radius: 50%;
	color: #fff;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	margin-top: 0;
}

.awards-section .awards-nav-next {
	right: -10px; /* 相对于container，显示在padding区域 */
}

.awards-section .awards-nav-prev {
	left: -10px; /* 相对于container，显示在padding区域 */
}

.awards-section .awards-nav-next::after,
.awards-section .awards-nav-prev::after {
	font-size: 20px;
	font-weight: bold;
}

.awards-section .awards-nav-next:hover,
.awards-section .awards-nav-prev:hover {
	background: #b70000;
}

.awards-swiper .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: #ccc;
	opacity: 1;
}

.awards-swiper .swiper-pagination-bullet-active {
	background: #df000f;
	width: 30px;
	border-radius: 6px;
}

/* ========== 响应式设计 ========== */

/* 平板 (1024px以下) */
@media (max-width: 1024px) {
	.certificates-exhibition-section,
	.awards-section {
		padding: 60px 0;
	}

	.certificates-exhibition-section .container,
	.awards-section .container {
		padding: 0 65px;
	}

	.certificates-exhibition-swiper,
	.awards-swiper {
		padding: 0 0 40px;
		overflow: hidden;
	}

	.certificates-exhibition-section .cert-nav-next,
	.certificates-exhibition-section .cert-nav-prev,
	.awards-section .awards-nav-next,
	.awards-section .awards-nav-prev {
		width: 40px;
		height: 40px;
	}

	.certificates-exhibition-section .cert-nav-next,
	.awards-section .awards-nav-next {
		right: -10px;
	}

	.certificates-exhibition-section .cert-nav-prev,
	.awards-section .awards-nav-prev {
		left: -10px;
	}
}

/* 手机 (768px以下) */
@media (max-width: 768px) {
	.certificates-exhibition-section,
	.awards-section {
		padding: 50px 0;
	}

	.certificates-exhibition-section .container,
	.awards-section .container {
		padding: 0 60px;
	}

	.certificates-exhibition-swiper,
	.awards-swiper {
		padding: 0 0 30px;
		overflow: hidden;
	}

	.cert-exhibit-card img {
		height: 280px;
	}

	.award-image {
		padding-top: 100%;
	}

	.award-info {
		padding: 15px;
	}

	.award-title {
		font-size: 16px;
	}

	.certificates-exhibition-section .cert-nav-next,
	.certificates-exhibition-section .cert-nav-prev,
	.awards-section .awards-nav-next,
	.awards-section .awards-nav-prev {
		width: 38px;
		height: 38px;
	}

	.certificates-exhibition-section .cert-nav-next,
	.awards-section .awards-nav-next {
		right: -10px;
	}

	.certificates-exhibition-section .cert-nav-prev,
	.awards-section .awards-nav-prev {
		left: -10px;
	}

	.certificates-exhibition-section .cert-nav-next::after,
	.certificates-exhibition-section .cert-nav-prev::after,
	.awards-section .awards-nav-next::after,
	.awards-section .awards-nav-prev::after {
		font-size: 16px;
	}
}

/* 小屏手机 (480px以下) */
@media (max-width: 480px) {
	.certificates-exhibition-section,
	.awards-section {
		padding: 40px 0;
	}

	.certificates-exhibition-section .container,
	.awards-section .container {
		padding: 0 55px;
	}

	.certificates-exhibition-swiper,
	.awards-swiper {
		padding: 0 0 25px;
		overflow: hidden;
	}

	.cert-exhibit-card img {
		height: 240px;
	}

	.cert-exhibit-title {
		font-size: 16px;
		padding: 15px;
	}

	.award-title {
		font-size: 15px;
	}

	.certificates-exhibition-section .cert-nav-next,
	.certificates-exhibition-section .cert-nav-prev,
	.awards-section .awards-nav-next,
	.awards-section .awards-nav-prev {
		width: 35px;
		height: 35px;
	}

	.certificates-exhibition-section .cert-nav-next,
	.awards-section .awards-nav-next {
		right: -10px;
	}

	.certificates-exhibition-section .cert-nav-prev,
	.awards-section .awards-nav-prev {
		left: -10px;
	}

	.certificates-exhibition-section .cert-nav-next::after,
	.certificates-exhibition-section .cert-nav-prev::after,
	.awards-section .awards-nav-next::after,
	.awards-section .awards-nav-prev::after {
		font-size: 14px;
	}
}
