/* 荣誉资质页面样式 */


/* 面包屑导航 */
.breadcrumb {
	background: #f8f9fa;
	padding: 15px 0;
	border-bottom: 1px solid var(--border-color);
}

.breadcrumb .w1 {
	display: flex;
	align-items: center;
	font-size: 0.95rem;
	color: var(--light-text);
}

.breadcrumb a {
	color: var(--light-text);
	transition: color 0.3s ease;
}

.breadcrumb a:hover {
	color: var(--primary-color);
}

.breadcrumb .separator {
	margin: 0 10px;
	color: #ccc;
}

.breadcrumb .current {
	color: var(--primary-color);
	font-weight: 600;
}

/* 荣誉资质主要内容 */
.honor-container {
	padding: 60px 0;
	min-height: 600px;
	background: #fff;
}

/* 页面标题 */
.page-title {
	text-align: center;
	margin-bottom: 50px;
	position: relative;
	padding-bottom: 20px;
}

.page-title h1 {
	font-size: 2.5rem;
	color: var(--primary-color);
	font-weight: bold;
	margin-bottom: 15px;
}

.page-title .title-line {
	width: 80px;
	height: 4px;
	background: var(--primary-color);
	margin: 0 auto;
	border-radius: 2px;
	position: relative;
}

.page-title .title-line::before,
.page-title .title-line::after {
	content: '';
	position: absolute;
	top: 0;
	width: 20px;
	height: 4px;
	background: var(--accent-color);
	border-radius: 2px;
}

.page-title .title-line::before {
	left: -30px;
}

.page-title .title-line::after {
	right: -30px;
}

.page-subtitle {
	font-size: 1.2rem;
	color: var(--light-text);
	max-width: 800px;
	margin: 20px auto 0;
	line-height: 1.6;
}

/* 荣誉分类筛选 */
.honor-filter {
	margin-bottom: 40px;
	text-align: center;
}

.filter-list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 15px;
	list-style: none;
	padding: 0;
}

.filter-item a {
	display: inline-block;
	padding: 10px 25px;
	background: #f5f7ff;
	color: var(--text-color);
	border-radius: 30px;
	font-size: 1rem;
	font-weight: 500;
	transition: all 0.3s ease;
	border: 1px solid var(--border-color);
}

.filter-item a:hover,
.filter-item.active a {
	background: var(--primary-color);
	color: white;
	border-color: var(--primary-color);
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(23, 55, 130, 0.2);
}

/* 荣誉证书网格 - 3行4列 */
.honor-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-bottom: 50px;
}

/* 荣誉证书项 */
.honor-item {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(23, 55, 130, 0.08);
	transition: all 0.4s ease;
	border: 1px solid rgba(23, 55, 130, 0.08);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.honor-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 35px rgba(23, 55, 130, 0.2);
	border-color: rgba(23, 55, 130, 0.15);
}

/* 证书图片区域 */
.honor-image {
	height: 220px;
	overflow: hidden;
	position: relative;
	background: #f8f9fa;
	display: flex;
	align-items: center;
	justify-content: center;
}

.honor-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.honor-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 20px;
	transition: transform 0.6s ease;
}

.honor-item:hover .honor-image img {
	transform: scale(1.05);
}

/* 图片放大按钮 */
.image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(23, 55, 130, 0.8);
	opacity: 0;
	transition: opacity 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.honor-item:hover .image-overlay {
	opacity: 1;
}

.view-btn {
	background: white;
	color: var(--primary-color);
	padding: 10px 25px;
	border-radius: 30px;
	font-weight: bold;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 8px;
	transform: translateY(20px);
	transition: all 0.3s ease;
	opacity: 0;
}

.honor-item:hover .view-btn {
	transform: translateY(0);
	opacity: 1;
}

.view-btn:hover {
	background: var(--primary-color);
	color: white;
}

/* 证书信息区域 - 简化版（只保留名称） */
.honor-info {
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 70px;
	border-top: 1px solid var(--border-color);
}

.honor-name {
	font-size: 1rem;
	font-weight: normal;
	color: var(--dark-color);
	line-height: 1.4;
	text-align: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	width: 100%;
	transition: color 0.3s ease;
}

.honor-name a {
	color: inherit;
	transition: color 0.3s ease;
}

.honor-name a:hover {
	color: var(--primary-color);
}



/* 无数据提示 */
.no-honor {
	grid-column: 1 / -1;
	text-align: center;
	padding: 80px 20px;
	color: var(--light-text);
}

.no-honor i {
	font-size: 3rem;
	color: #ddd;
	margin-bottom: 20px;
}

/* 分页器 */


/* 响应式设计 */
@media (max-width: 1200px) {

	.honor-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 25px;
	}
}

@media (max-width: 992px) {

	.honor-container {
		padding: 40px 0;
	}

	.page-title h1 {
		font-size: 2rem;
	}

	.page-subtitle {
		font-size: 1.1rem;
	}

	.honor-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.honor-image {
		height: 200px;
	}
}

@media (max-width: 768px) {

	.page-title h1 {
		font-size: 1.6rem;
	}

	.filter-list {
		gap: 10px;
	}

	.filter-item a {
		padding: 8px 20px;
		font-size: 0.9rem;
	}

	.honor-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.honor-image {
		height: 180px;
	}

	.honor-info {
		padding: 15px;
		min-height: 60px;
	}

	.honor-name {
		font-size: 1rem;
	}
}

@media (max-width: 576px) {


	.honor-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 0 auto 30px;
	}

	.honor-image {
		height: 200px;
	}

	.filter-list {
		flex-direction: column;
		align-items: center;
	}

	.filter-item {
		width: 100%;
		max-width: 250px;
	}

	.filter-item a {
		display: block;
		width: 100%;
		text-align: center;
	}

	.pagination-item a {
		min-width: 38px;
		height: 38px;
		line-height: 38px;
		font-size: 0.9rem;
		padding: 0 10px;
	}
}

@media (max-width: 480px) {


	.page-title h1 {
		font-size: 1.4rem;
	}

	.page-subtitle {
		font-size: 1rem;
	}

	.honor-image {
		height: 180px;
	}
}