/* 通用模块样式 */
.section {
	padding: 50px 100px;
	text-align: center;
}

.section-title {
	display: inline-block;
	font-size: 20px;
	color: #333;
	position: relative;
	margin-bottom: 30px;
}

.section-title-en {
	font-size: 14px;
	color: #999;
	display: block;
	margin-bottom: 5px;
}

.section-title::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 2px;
	background: #0078d7;
}

/* 智慧气瓶模块 */
.smart-cylinders {
	background: #fff;
}

.card-group {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.card {
	width: 14%;
	aspect-ratio: 1/0.9;
	border-radius: 4px;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 15px;
	text-align: left;
	position: relative;
	border-radius: 4px;
}

.card h3 {
	font-size: 16px;
	margin-bottom: 5px;
	position: relative;
	z-index: 1;
}

.card p {
	font-size: 12px;
	opacity: 0.8;
	margin-bottom: 8px;
	position: relative;
	z-index: 1;
}

/* 内容容器：默认仅显示标题，悬浮显示全部 */
.card-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.card-title {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 10px;
	opacity: 1; /* 标题始终显示 */
}

.card:hover .card-p {
	display: none; /* 默认隐藏详情 */
}

.card-desc {
	font-size: 14px;
	line-height: 1.6;
	opacity: 0; /* 默认隐藏详情 */
	height: 0;
	overflow: hidden;
	transition: all 0.3s ease;
}
/* 悬浮时显示详情 */
.card:hover .card-desc {
	opacity: 1;
	height: auto;
	margin-top: 10px;
}
/* 了解更多按钮样式 */
.more-btn {
	color: #fff;
	text-decoration: none;
	margin-top: 15px;
	display: inline-block;
	opacity: 1;
	transition: all 0.3s ease;
}

.more-btn {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	text-decoration: none;
	position: relative;
	padding-bottom: 2px;
}

.more-btn::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 1px;
	background-color: #409eff;
	transition: width 0.3s ease;
}

.more-btn:hover::after {
	width: 100%;
}

.more-btn i {
	margin-left: 6px;
	font-size: 12px;
	transition: transform 0.3s ease;
}

.more-btn:hover i {
	transform: translateX(3px);
	color: #409eff;
}

.card:hover .more-btn {
	opacity: 1;
}

/* 智慧特种设备平台（大屏模块） */
.smart-equipment-big {
	background: #fff;
}

.big-card-group {
	display: flex;
	justify-content: center;
	gap: 25px;
}

.big-card {
	width: 40%;
	background: white;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.big-card-img {
	aspect-ratio: 1/0.4;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	font-size: 16px;
}

.big-card-content {
	padding: 20px;
	text-align: left;
}

.big-card-content h3 {
	font-size: 18px;
	color: #333;
	margin-bottom: 10px;
}

.big-card-content p {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 15px;
}

.big-card-content a {
	font-size: 12px;
	color: #0078d7;
	text-decoration: none;
	border: 1px solid #0078d7;
	padding: 5px 15px;
	border-radius: 4px;
	display: inline-block;
}

.smart-equipment-small {
	background: #fff;
}

.small-card-group {
	display: grid;
	grid-template-columns: repeat(2, 40%);
	gap: 20px;
	justify-content: center;
	justify-items: center;
}

.small-card {
	width: 95%;
	aspect-ratio: 1/0.3;
	background: pink;
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: flex-start; /* 交叉轴（水平方向）左对齐 → 决定文字“左”的位置 */
	justify-content: flex-end;
	padding: 20px;
	border-radius: 4px;
	position: relative;
}
.small-card h3 {
	font-size: 18px;
	margin-bottom: 5px;
	position: relative;
	z-index: 2;
}

.small-card-en {
	font-size: 12px;
	opacity: 0.8;
	margin-bottom: 10px;
	position: relative;
	z-index: 2;
}

.card-overlay-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.small-card-desc {
	font-size: 14px;
	line-height: 1.6;
	opacity: 0; /* 默认隐藏详情 */
	height: 0;
	overflow: hidden;
	z-index: 2;
	transition: all 0.3s ease;
}
/* 悬浮时显示详情 */
.small-card:hover .small-card-desc {
	opacity: 1;
	height: auto;
	z-index: 2;
	margin-top: 10px;
}


.outline-btn {
	display: inline-block;
	padding: 7px 15px;
	border: 1px solid #409eff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 14px;
	transition: all 0.3s ease;
	background-color: transparent;
	cursor: pointer;
	color: #fff;
	z-index: 2;
}

.outline-btn:hover {
	background-color: #409eff;
}

/* 新闻资讯模块 */
.news {
	background: #ffffff;
}

.news-list {
	display: flex;
	justify-content: center;
	width: 80%;
	margin: 0 auto;
	border: 1px solid #eee;
	background: white;
}

.news-img {
	width: 30%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #666;
	font-size: 14px;
}


.news-content {
	width: 70%;
	padding: 20px;
	text-align: left;
}

.news-item {
	border-bottom: 1px dashed #eee;
	padding: 15px 0;
}

.news-item:last-child {
	border: none;
}

.news-item h4 {
	font-size: 16px;
	color: #333;
	margin-bottom: 8px;
}

.news-item p {
	font-size: 12px;
	color: #999;
	line-height: 1.5;
}

.news-item .date {
	font-size: 12px;
	color: #ccc;
	margin-top: 5px;
	display: block;
}

/* 响应式适配 */
@media ( max-width : 992px) {
	.header {
		padding: 10px 20px;
	}
	.banner-swiper, .swiper-slide {
		height: 250px;
	}
	.swiper-slide {
		padding: 0 50px;
	}
	.swiper-slide h1 {
		font-size: 28px;
	}
	.swiper-pagination {
		left: 50px;
	}
	.section {
		padding: 30px 50px;
	}
	.big-card-group {
		flex-direction: column;
		align-items: center;
	}
	.big-card {
		width: 80%;
		margin-bottom: 20px;
	}
	.news-list {
		flex-direction: column;
		width: 90%;
	}
	.news-img, .news-content {
		width: 100%;
	}
	.news-img {
		height: 150px;
	}
}