body{
	background-color: #FAFAFA;
}
.container{
	min-height: 48.9vh;
}
.cates .item{
	color: #444;
	font-size: 14px;
	overflow: hidden;
	border-radius: 20px;
	margin: 0 20px 15px 0;
	border: 1px solid #AAA;
	background-color: #FFF;
	transition: all 0.2s ease;
}
.cates .item a{
	display: block;
	padding: 6px 20px;
	transition: all 0.2s ease;
}
.cates .item.active,
.cates .item:hover{
	border-color: var(--theme-color);
	background-color: var(--theme-color);
}
.cates .item.active a,
.cates .item:hover a{
	color: #FFF;
}

.cases{
	margin-top: 15px;
}
.cases .item{
	margin-right: 20px;
	margin-bottom: 20px;
	width: calc((100% - 60px) / 4);
	background-color: #FFF;
	border: 1px solid #EDEDED;
	transition: all 0.1s ease;
}
.cases .item:nth-child(4n){
	margin-right: 0;
}
.cases .item .cover{
	width: 100%;
	height: 200px;
	overflow: hidden;
}
.cases .item .cover img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1s ease;
}
.cases .item .name{
	padding: 20px 15px 15px;
}
.cases .item .name a{
	font-size: 18px;
	transition: color 0.1s ease;
}
.cases .item .name a:hover{
	color: var(--theme-color);
}
.cases .item .desc{
	color: #666;
	padding: 0 15px 20px;
}
.cases .item:hover{
	box-shadow: 0 0 15px 2px rgba(0,0,0,.1);
}
.cases .item:hover .cover img{
	transform: scale(1.05);
}

.case-detail{
	align-items: flex-start;
}
.case-detail .sidebar{
	width: 240px;
	margin-right: 30px;
}
.case-detail .sidebar dt{
	color: #FFF;
	height: 60px;
	font-size: 20px;
	background-color: var(--theme-color);
}
.case-detail .sidebar dd{
	height: 52px;
	padding-right: 20px;
	background-color: #F7F7F7;
	border-bottom: 1px solid #EDEDED;
}
.case-detail .sidebar dd a{
	flex: 1;
	height: 100%;
	font-size: 15px;
	padding-left: 20px;
	align-items: flex-start;
	transition: color 0.2s ease;
}
.case-detail .sidebar dd i{
	color: #999;
	font-size: 12px;
	transition: color 0.2s ease;
}
.case-detail .sidebar dd:hover a,
.case-detail .sidebar dd:hover i{
	color: var(--theme-color);
}

.case-detail .content{
	flex: 1;
	font-size: 15px;
}
.case-detail .content .name{
	font-size: 24px;
	font-weight: normal;
	margin-bottom: 20px;
}
.case-detail .content .context{
	font-size: 15px;
	line-height: 1.6;
}
.case-detail .content .context img{
	max-width: 100% !important;
}

@media (max-width: 1240px) {
	.cases .item{
		width: calc((100% - 40px) / 3);
	}
	.cases .item:nth-child(3n){
		margin-right: 0;
	}
	.cases .item:nth-child(4n){
		margin-right: 20px;
	}
}
@media (max-width: 768px) {
	.cases .item{
		width: calc((100% - 20px) / 2);
	}
	.cases .item:nth-child(3n){
		margin-right: 20px;
	}
	.cases .item:nth-child(2n){
		margin-right: 0;
	}
}
@media (max-width: 540px) {
	.cases .item .cover{
		height: 150px;
	}
	.cases .item{
		margin: 0 10px 10px 0;
		width: calc((100% - 10px) / 2);
	}
	.cases .item:nth-child(3n){
		margin-right: 10px;
	}
	.cases .item:nth-child(2n){
		margin-right: 0;
	}
}