/* Honor Page Styles */

/* ========== Base & Variables ========== */
.page-honor {
	--honor-green: #009b4c;
	--honor-green-dark: #006b35;
	--honor-green-light: #f0faf4;
	--honor-bg-soft: #f5f7fa;
	--honor-text: #1f2937;
	--honor-muted: #5b6472;
	--honor-border: #e5e7eb;
}

/* ========== Hero Section ========== */
.honor-hero {
	background: #fff;
	padding: 80px 0 64px;
}

.honor-hero__inner {
	text-align: center;
	max-width: 860px;
	margin: 0 auto;
}

.honor-hero__title {
	font-size: 42px;
	font-weight: 700;
	color: var(--honor-text);
	margin: 0 0 20px;
	line-height: 1.3;
}

.honor-hero__subtitle {
	font-size: 20px;
	font-weight: 500;
	color: var(--honor-green);
	margin: 0 0 28px;
	line-height: 1.5;
	letter-spacing: 2px;
}

.honor-hero__desc {
	font-size: 16px;
	line-height: 1.9;
	color: var(--honor-muted);
	margin: 0;
	text-align: center;
}

/* ========== Section Header ========== */
.honor-section-header {
	text-align: center;
	margin-bottom: 56px;
}

.honor-section-title {
	font-size: 36px;
	font-weight: 700;
	color: var(--honor-text);
	margin: 0 0 20px;
	line-height: 1.3;
}

.honor-section-divider {
	width: 60px;
	height: 4px;
	background: var(--honor-green);
	margin: 0 auto;
	border-radius: 2px;
}

/* ========== Certificates Section ========== */
.honor-certs {
	padding: 64px 0 80px;
	background: var(--honor-bg-soft);
}

.honor-certs-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	max-width: 1280px;
	margin: 0 auto;
}

/* 第二排两个居中对齐，对应上面一排的第2、3个 */
.honor-certs-grid .honor-cert-card:nth-child(5) {
	grid-column: 2;
}

.honor-certs-grid .honor-cert-card:nth-child(6) {
	grid-column: 3;
}

.honor-cert-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: center;
	display: flex;
	flex-direction: column;
}

.honor-cert-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 36px rgba(0, 107, 53, 0.15);
}

.honor-cert-card__image {
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
	flex: 1;
	background: #fafbfc;
}

.honor-cert-card__image img {
	max-width: 100%;
	max-height: 300px;
	width: auto;
	height: auto;
	display: block;
	object-fit: contain;
}

.honor-cert-card__title {
	padding: 20px 16px;
	font-size: 16px;
	font-weight: 600;
	color: var(--honor-text);
	background: #fff;
	border-top: 1px solid var(--honor-border);
}

/* ========== Responsive Styles ========== */
@media (max-width: 991px) {
	.honor-hero {
		padding: 64px 0 48px;
	}

	.honor-hero__title {
		font-size: 34px;
	}

	.honor-hero__subtitle {
		font-size: 18px;
	}

	.honor-section-title {
		font-size: 30px;
	}

	.honor-certs-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media (max-width: 767px) {
	.honor-hero {
		padding: 48px 0 40px;
	}

	.honor-hero__title {
		font-size: 28px;
	}

	.honor-hero__subtitle {
		font-size: 16px;
		letter-spacing: 1px;
	}

	.honor-hero__desc {
		font-size: 14px;
		line-height: 1.8;
	}

	.honor-section-title {
		font-size: 24px;
	}

	.honor-section-header {
		margin-bottom: 40px;
	}

	.honor-certs {
		padding: 48px 0 56px;
	}

	.honor-certs-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.honor-cert-card__image {
		min-height: 240px;
		padding: 20px;
	}

	.honor-cert-card__image img {
		max-height: 260px;
	}
}
