/* --- Banner 主容器 --- */
.page-banner {
	/* 背景图设置 */
	/* 请将 url('...') 替换为您实际的图片路径 */
	background-image: url("/static/img/brand_icon_1.jpeg");
	background-size: cover;
	/* 保持比例覆盖整个区域 */
	background-position: center;
	/* 居中显示 */
	background-repeat: no-repeat;
}

/* 整体容器 */
.factory-section {
	width: 100%;
	max-width: 1200px;
	margin: 60px auto;
	padding: 0 40px;
	font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
	background-color: #fff;
}

/* 标题 */
.section-title {
	font-size: 32px;
	font-weight: 700;
	color: #333;
	text-align: center;
	margin-bottom: 40px;
}

/* 三段说明文字 */
.intro-text {
	margin-bottom: 50px;
}

.text-para {
	font-size: 14px;
	color: #666;
	line-height: 1.8;
	text-align: justify;
	margin-bottom: 16px;
}

.text-para:last-child {
	margin-bottom: 0;
}

/* 图片容器：左右布局 */
.image-container {
	display: flex;
	gap: 40px;
	align-items: stretch;
	flex-wrap: wrap;
}

/* 左侧主图 */
.main-image {
	flex: 1 1 620px;
	min-width: 0;
	width: auto;
	max-width: 900px;
	height: clamp(380px, 40vw, 600px);
	/* overflow: hidden; */
	/* border-radius: 8px; */
	/* box-shadow: 0 4px 12px rgba(0,0,0,0.08); */
}

.main-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 右侧证书图（两张合并为一张） */
.certificates-side {
	/* flex: 1;  */
	/* display: flex; */
	/* flex-direction: column; */
	/* gap: 20px; */
	flex: 0 1 213px;
	width: 213px;
	max-width: 100%;
	height: 180px;
}

.certificates-side img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	object-fit: contain;
	/* 保持证书原比例 */
}

/* 整体容器 */
.equipment-section {
	width: 100%;
	max-width: 1200px;
	margin: 60px auto;
	padding: 0 40px;
	font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
	background-color: #fff;
}

/* 每组设备区域 */
.equipment-group {
	margin-bottom: 50px;
	padding-top: 30px;
}

.equipment-group2 {
	background-color: #f5f5f5;

}

/* 组标题 */
.group-title {
	font-size: 24px;
	font-weight: 700;
	color: #333;
	text-align: center;
	margin-bottom: 30px;
}

/* 设备网格布局 */
.equipment-grid {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
}

/* 第一行：3列 */
.grid-3 {
	/* grid-template-columns: repeat(3, 1fr); */
}

/* 第二行：4列 */
.grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

/* 单个设备项 */
.equipment-item {
	display: flex;
	flex-direction: column;
	flex: 1 1 232px;
	min-width: 0;
	width: 232px;
	max-width: 300px;
	height: auto; /* 由图片 + 下方文字撑开 */
	overflow: hidden;
	border-radius: 8px;
	background-color: #f5f5f5;
	/* 浅灰背景衬托透明图 */
	/* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
	/* transition: transform 0.3s, box-shadow 0.3s; */
}

.equipment-item2 {
	flex: 1 1 560px;
	min-width: 0;
	width: 560px;
	max-width: 100%;
	height: auto;
}

.equipment-item:hover {
	/* transform: translateY(-5px); */
	/* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); */
}

.equipment-item img {
	width: 100%;
	height: 300px; /* 原 100%，图片区域高度保持不变 */
	object-fit: cover;
	display: block;
}

/* 图片下方的设备名称（后台文案可编辑） */
.equipment-name {
	margin-top: 10px;
	padding: 0 14px 14px;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
	text-align: center;
	word-break: break-word;
}

/* 上排三张图：文字浮在图片底部（图片底部留白较高），不单独占一行 */
.grid-3 .equipment-item {
	position: relative;
	height: 300px;
}

.grid-3 .equipment-name {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 10px 14px 12px;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
	text-align: center;
	word-break: break-word;
	background: transparent;
}

/* ——— 白色隔断条（关键修正） ——— */
.white-divider {
	width: 100%;
	height: 60px;
	/* 高度可根据设计稿调整，比如 40px~80px */
	background-color: #ffffff;
	/* 纯白色背景，形成视觉隔断 */
	/* margin: 20px 0; */
	/* border-top: 1px solid #e0e0e0; 
  border-bottom: 1px solid #e0e0e0;  */
}

.shangrao-sectionc {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 40px;
	padding-bottom: 40px;

}



.shangrao-section {
	width: 100%;
	margin: 60px auto;
	font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
	background-color: #f7f7f7;
}

.section-title {
	font-size: 24px;
	font-weight: 700;
	color: #222;
	text-align: center;
	margin-bottom: 50px;
}

.content-block {
	display: flex;
	align-items: flex-start;
	gap: 50px;
	margin-bottom: 60px;
}


.text-side {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.company-title {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin-bottom: 8px;
}

.paragraph {
	font-size: 14px;
	color: #555;
	line-height: 1.8;
	/* text-indent: 2em;  */
	text-align: left;
}

.image-side {
	flex: 1;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.image-side img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}


.hefei-section {
	width: 100%;
	max-width: 1200px;
	margin: 60px auto;
	padding: 40px;
	font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
	background-color: #fff;
}

.section-title {
	font-size: 24px;
	font-weight: 700;
	color: #222;
	text-align: center;
	margin-bottom: 40px;
}

.intro-text {
	margin-bottom: 50px;
}

.paragraph {
	font-size: 14px;
	color: #555;
	line-height: 1.8;
	/* 首行缩进 */
	text-align: left;
	/* 两端对齐 */
}

.image-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	/* 两列等宽 */
	gap: 30px;
	/* 图片间距 */
}

.image-item {
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	aspect-ratio: 16 / 9;
	/* 保持图片比例，可根据实际调整 */
}

.image-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 从首页 / 关于页带锚点跳进来时，让开固定的头部 */
.shangrao-section,
.hefei-section {
	scroll-margin-top: 80px;
}

/* ===== 手机端适配（<=768px），PC 端样式不受影响 ===== */
@media (max-width: 768px) {
	.shangrao-section {
		margin: 30px auto;
	}

	.shangrao-sectionc {
		padding: 24px 16px 10px;
	}

	.shangrao-section .section-title {
		margin-bottom: 24px;
	}

	/* 手机端改为「上图下文」，避免文字过长而图片过矮 */
	.shangrao-section .content-block {
		flex-direction: column;
		gap: 18px;
		margin-bottom: 36px;
	}

	.shangrao-section .content-block > .text-side,
	.shangrao-section .content-block > .image-side {
		flex: 0 0 auto;
		width: 100%;
	}

	.shangrao-section .image-side {
		order: 1;
	}

	.shangrao-section .text-side {
		order: 2;
		gap: 12px;
	}

	.shangrao-section .text-side .company-title {
		margin-bottom: 0;
	}
}

/* ===== 手机端（<=768px）：镇江基地图片区 / 设备图片网格 ===== */
@media (max-width: 768px) {
	.factory-section,
	.equipment-section {
		margin: 24px auto;
		padding: 0 16px;
	}

	.factory-section .section-title,
	.equipment-section .group-title {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.intro-text {
		margin-bottom: 24px;
	}

	.text-para {
		font-size: 13px;
		line-height: 1.75;
		text-align: left;
	}

	/* 左大图 + 右证书改为上下排列，证书两张并排 */
	.image-container {
		flex-direction: column;
		gap: 14px;
	}

	.main-image {
		flex: none;
		width: 100%;
		max-width: 100%;
		height: 220px;
	}

	.certificates-side {
		flex: none;
		width: 100%;
		height: auto;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.certificates-side img {
		width: 100%;
		height: auto;
		margin: 0 !important;
	}

	/* 设备图一行两个 */
	.equipment-group {
		margin-bottom: 24px;
		padding-top: 16px;
	}

	.equipment-grid {
		gap: 10px;
	}

	.equipment-item,
	.equipment-item2 {
		flex: 0 0 calc(50% - 5px);
		width: auto;
		max-width: calc(50% - 5px);
		height: auto;
	}

	.equipment-item img {
		width: 100%;
		height: 150px;
		object-fit: cover;
	}

	.grid-4 .equipment-item img {
		object-fit: contain;
		padding: 8px;
		box-sizing: border-box;
	}

	.equipment-name {
		margin-top: 6px;
		padding: 0 8px 10px;
		font-size: 12px;
	}

	/* 上排三张：文字同样浮在图片底部 */
	.grid-3 .equipment-item {
		position: relative;
		height: 150px;
	}

	.grid-3 .equipment-name {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		margin: 0;
		padding: 6px 8px 8px;
		font-size: 12px;
	}
}