/* 经典案例页面样式 */
.epc img{width: 100%}
/* 经典案例Banner */
.cases-banner {
	width: 100%;
	height: 300px;
	overflow: hidden;
	position: relative;
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.cases-banner::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80') center/cover no-repeat;
	opacity: 0.15;
}

.cases-banner .banner-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	font-size: 3rem;
	font-weight: bold;
	text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
	text-align: center;
	width: 100%;
	padding: 0 20px;
	letter-spacing: 2px;
}

.banner-subtitle {
	position: absolute;
	top: 60%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.2rem;
	text-align: center;
	width: 100%;
	padding: 0 20px;
	margin-top: 20px;
	font-weight: 300;
}

/* 面包屑导航 */
.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;
}

/* 经典案例主要内容 */
.cases-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;
}

/* 经典案例网格 - 3行4列 */
.cases-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	margin-bottom: 50px;
}

/* 案例项 */
.case-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%;
}

.case-item:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 35px rgba(23, 55, 130, 0.2);
	border-color: rgba(23, 55, 130, 0.15);
}

/* 案例图片区域 */
.case-image {
	height: 220px;
	overflow: hidden;
	position: relative;
	background: #f8f9fa;
}

.case-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.case-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.case-item:hover .case-image img {
	transform: scale(1.08);
}

/* 图片标签 */
.case-tag {
	position: absolute;
	top: 15px;
	left: 15px;
	background: var(--accent-color);
	color: white;
	padding: 5px 12px;
	border-radius: 15px;
	font-size: 0.8rem;
	font-weight: bold;
	z-index: 2;
	box-shadow: 0 3px 10px rgba(219, 37, 30, 0.3);
}

/* 图片遮罩层 */
.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;
}

.case-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;
}

.case-item:hover .view-btn {
	transform: translateY(0);
	opacity: 1;
}

.view-btn:hover {
	background: var(--primary-color);
	color: white;
}

/* 案例信息区域 */
.case-info {
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 70px;
	border-top: 1px solid var(--border-color);
	flex: 1;
}

.case-name {
	font-size: 1.1rem;
	font-weight: bold;
	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;
}

.case-name a {
	color: inherit;
	transition: color 0.3s ease;
}

.case-name a:hover {
	color: var(--primary-color);
}

/* 无数据提示 */
.no-cases {
	grid-column: 1 / -1;
	text-align: center;
	padding: 80px 20px;
	color: var(--light-text);
}

.no-cases i {
	font-size: 3rem;
	color: #ddd;
	margin-bottom: 20px;
}

/* 分页器 */


/* 响应式设计 */
@media (max-width: 1200px) {
	.cases-banner {
		height: 280px;
	}

	.cases-banner .banner-title {
		font-size: 2.5rem;
	}

	.cases-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 25px;
	}
}

@media (max-width: 992px) {
	.cases-banner {
		height: 250px;
	}

	.cases-banner .banner-title {
		font-size: 2.2rem;
	}

	.banner-subtitle {
		font-size: 1.1rem;
	}

	.cases-container {
		padding: 40px 0;
	}

	.page-title h1 {
		font-size: 2rem;
	}

	.page-subtitle {
		font-size: 1.1rem;
	}

	.cases-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.case-image {
		height: 200px;
	}
}

@media (max-width: 768px) {
	.cases-banner {
		height: 220px;
	}

	.cases-banner .banner-title {
		font-size: 1.8rem;
	}

	.banner-subtitle {
		font-size: 1rem;
		margin-top: 15px;
	}

	.page-title h1 {
		font-size: 1.6rem;
	}

	.cases-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.case-image {
		height: 180px;
	}

	.case-info {
		padding: 15px;
		min-height: 60px;
	}

	.case-name {
		font-size: 1rem;
	}

	.case-tag {
		top: 10px;
		left: 10px;
		font-size: 0.75rem;
		padding: 4px 10px;
	}
}

@media (max-width: 576px) {
	.cases-banner {
		height: 200px;
	}

	.cases-banner .banner-title {
		font-size: 1.6rem;
	}

	.cases-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 0 auto 30px;
	}

	.case-image {
		height: 220px;
	}

	.pagination-item a {
		min-width: 38px;
		height: 38px;
		line-height: 38px;
		font-size: 0.9rem;
		padding: 0 10px;
	}
}

@media (max-width: 480px) {
	.cases-banner .banner-title {
		font-size: 1.4rem;
	}

	.banner-subtitle {
		display: none;
	}

	.page-title h1 {
		font-size: 1.4rem;
	}

	.page-subtitle {
		font-size: 1rem;
	}

	.case-image {
		height: 200px;
	}
}