/* Lab Equipment Showcase Section - 实验室设备/文章展示模块 */

.lab-equipment-showcase {
	position: relative;
	padding: 56px 0 64px;
	background: #f0f1f3;
}

.lab-equipment-showcase__inner {
	position: relative;
}

/* ========== 顶部标题区 ========== */
.les-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-bottom: 36px;
}

/* 左侧橙色圆形徽章 */
.les-header__badge {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #ff8a1f;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 14px rgba(255, 138, 31, 0.28);
}

.les-header__badge-text {
	font-size: 40px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1;
	letter-spacing: 1px;
}

/* 右侧文字区 */
.les-header__text {
	flex: 0 1 auto;
	min-width: 0;
	text-align: left;
}

.les-header__title {
	margin: 0 0 8px;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.25;
	color: #1e8a47;
	letter-spacing: 0.5px;
}

.les-header__subtitle {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.6;
	color: #666666;
}

/* ========== 2行4列 卡片网格 ========== */
.les-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 36px;
}

/* 单张卡片 */
.les-card {
	background: #ffffff;
	border: 2px solid transparent;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.les-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

/* 鼠标悬停：橙色边框 + 橙色标题底 + 白色标题字 */
.les-card:hover {
	border-color: #ff8a1f;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	transform: translateY(-3px);
}

.les-card:hover .les-card__caption {
	background: #ff8a1f;
}

.les-card:hover .les-card__title {
	color: #ffffff;
}

/* 卡片图片区 */
.les-card__image {
	position: relative;
	overflow: hidden;
	background: #f3f4f6;
	aspect-ratio: 4 / 3;
}

.les-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.les-card:hover .les-card__image img {
	transform: scale(1.05);
}

/* 卡片底部标题条 */
.les-card__caption {
	padding: 14px 16px;
	background: #ffffff;
	border-top: 1px solid #f0f0f0;
	text-align: center;
	transition: background 0.25s ease;
}

.les-card__title {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	color: #333333;
	letter-spacing: 0.3px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.25s ease;
}

/* ========== 底部按钮区 ========== */
.les-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.les-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	padding: 14px 36px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
	color: #ffffff;
	border: none;
	border-radius: 2px;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
	letter-spacing: 1px;
}

.les-btn:hover {
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	transform: translateY(-1px);
}

.les-btn:active {
	transform: translateY(0);
}

.les-btn--green {
	background: #1e8a47;
}

.les-btn--green:hover {
	background: #146c35;
	box-shadow: 0 4px 14px rgba(30, 138, 71, 0.35);
}

.les-btn--orange {
	background: #ff8a1f;
}

.les-btn--orange:hover {
	background: #f27606;
	box-shadow: 0 4px 14px rgba(255, 138, 31, 0.4);
}

/* 空状态 */
.les-empty {
	padding: 40px;
	text-align: center;
	color: #888888;
	font-size: 15px;
	border: 1px dashed #dddddd;
	border-radius: 4px;
	background: #fafafa;
	margin-bottom: 36px;
}

/* ========== 响应式适配 ========== */
@media (max-width: 1199px) {
	.les-header__title {
		font-size: 32px;
	}

	.les-header__subtitle {
		font-size: 16px;
	}

	.les-header__badge {
		width: 64px;
		height: 64px;
	}

	.les-header__badge-text {
		font-size: 36px;
	}

	.les-grid {
		gap: 16px;
	}

	.les-btn {
		min-width: 180px;
		padding: 12px 30px;
		font-size: 20px;
	}
}

@media (max-width: 991px) {
	.lab-equipment-showcase {
		padding: 44px 0 52px;
	}

	.les-header {
		margin-bottom: 30px;
		gap: 16px;
	}

	.les-header__title {
		font-size: 28px;
	}

	.les-header__subtitle {
		font-size: 15px;
	}

	.les-header__badge {
		width: 56px;
		height: 56px;
	}

	.les-header__badge-text {
		font-size: 32px;
	}

	/* 平板：4列变3列 */
	.les-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 16px;
		margin-bottom: 30px;
	}

	.les-card__title {
		font-size: 14px;
	}

	.les-btn {
		min-width: 160px;
		padding: 11px 26px;
		font-size: 18px;
	}
}

@media (max-width: 767px) {
	.lab-equipment-showcase {
		padding: 36px 0 44px;
	}

	.les-header {
		gap: 14px;
		margin-bottom: 26px;
	}

	.les-header__badge {
		width: 50px;
		height: 50px;
	}

	.les-header__badge-text {
		font-size: 28px;
	}

	.les-header__title {
		font-size: 24px;
	}

	.les-header__subtitle {
		font-size: 14px;
	}

	/* 手机：3列变2列 */
	.les-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
		margin-bottom: 28px;
	}

	.les-card__caption {
		padding: 12px 12px;
	}

	.les-card__title {
		font-size: 13px;
	}

	.les-actions {
		gap: 14px;
	}

	.les-btn {
		min-width: 140px;
		padding: 10px 22px;
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.lab-equipment-showcase {
		padding: 28px 0 36px;
	}

	.les-header {
		gap: 12px;
		align-items: flex-start;
		margin-bottom: 22px;
	}

	.les-header__badge {
		width: 44px;
		height: 44px;
		margin-top: 2px;
	}

	.les-header__badge-text {
		font-size: 24px;
	}

	.les-header__title {
		font-size: 20px;
		margin-bottom: 6px;
	}

	.les-header__subtitle {
		font-size: 13px;
		line-height: 1.5;
	}

	.les-grid {
		gap: 12px;
		margin-bottom: 24px;
	}

	.les-card__caption {
		padding: 10px 10px;
	}

	.les-card__title {
		font-size: 12px;
	}

	.les-actions {
		flex-direction: column;
		gap: 12px;
	}

	.les-btn {
		width: 100%;
		max-width: 280px;
		padding: 11px 20px;
		font-size: 16px;
	}
}
