/*card*/
.card{
	padding: 50px var(--padding) 0;
}
.card .card-head .name{
	position: relative;
}
.card .card-head .name::before,
.card .card-head .name::after{
	content: '';
	height: 1px;
	position: absolute;
	bottom: -10px;
	left: 0;
}
.card .card-head .name::before{
	width: 88px;
	z-index: 1;
	background-color: #bbb;
}
.card .card-head .name::after{
	width: 100%;
	background-color: #EEE;
}
.card .card-head .name .text{
	color: #2d212a;
	font-size: 22px;
}
.card .card-head .name .dot{
	color: #CCC;
	margin: 0 2px;
	font-size: 20px;
}
.card .card-head .name .subtext{
	color: #ddd;
	font-size: 22px;
}
.card .card-head .more{
	width: 80px;
	height: 34px;
	cursor: pointer;
	color: var(--theme-color);
	font-size: 13px;
	border: 1px solid var(--theme-color);
	transition: all 0.3s ease;
}
.card .card-head .more:hover{
	color: #FFF;
	padding-left: 10px;
	background-color: var(--theme-color);
}
.card .card-body{
	padding-top: 20px;
}

/*product*/
.product .items{
	justify-content: flex-start;
}
.product .items .item{
	width: calc((100% - 90px) / 4);
	flex: 0 0 calc((100% - 90px) / 4);
	margin: 30px 30px 0 0;
}
.product .items .item:nth-child(4n){
	margin-right: 0;
}
.product .items .item .cover{
	display: block;
	width: 100%;
	height: 240px;
	overflow: hidden;
}
.product .items .item .cover img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.2s ease-in-out;
}
.product .items .item .name{
	color: #333;
	padding: 10px 0;
	font-size: 15px;
	font-weight: normal;
}
.product .items .item .name a{
	transition: all 0.2s ease-in-out;
}
.product .items .item .name a:hover{
	color: var(--theme-color);
	text-decoration: underline;
}
.product .items .item:hover .cover img{
	transform: scale(1.1);
}

/*case*/
.case .items{
	justify-content: flex-start;
}
.case .items .item{
	width: calc((100% - 60px) / 3);
	flex: 0 0 calc((100% - 60px) / 3);
	margin: 30px 30px 0 0;
	position: relative;
	overflow: hidden;
}
.case .items .item:nth-child(3n){
	margin-right: 0;
}
.case .items .item .cover{
	width: 100%;
	height: 280px;
	object-fit: cover;
}
.case .items .item .mask{
	width: 100%;
	height: 100%;
	padding: 0 20px;
	background: rgba(0, 0, 0, 0.5);
	transition: top 0.4s ease-in-out;
	position: absolute;
	top: calc(100% - 60px);
	left: 0;
	z-index: 1;
}
.case .items .item .mask .name{
	color: #EEE;
	height: 60px;
	font-size: 20px;
	font-weight: normal;
	transition: height 0.4s ease-in-out;
}
.case .items .item .mask .desc{
	color: #DDD;
	font-size: 16px;
	line-height: 1.6;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	word-break: break-all;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
}
.case .items .item .mask .date{
	color: #CCC;
	font-size: 13px;
	margin-top: 15px;
}
.case .items .item .mask .btn{
	color: #fff;
	width: 90px;
	height: 40px;
	border: 1px solid #FFF;
	background: rgba(0, 0, 0, 0);
	transition: all 0.2s ease;
	position: absolute;
	right: 20px;
	bottom: 20px;
}
.case .items .item .mask .btn:hover{
	background: rgba(0, 0, 0, 0.3);
	border-color: #F2F2F2;
}
.case .items .item:hover .mask{
	top: 0;
}
.case .items .item:hover .mask .name{
	height: 80px;
}

/*news*/
.news .items{
	justify-content: flex-start;
}
.news .items .item{
	height: 60px;
	width: calc((100% - 50px) / 2);
	flex: 0 0 calc((100% - 50px) / 2);
	margin: 30px 50px 0 0;
	align-items: stretch;
}
.news .items .item:nth-child(2n){
	margin-right: 0;
}
.news .items .item .date{
	width: 80px;
	height: 100%;
	background-color: var(--theme-color);
}
.news .items .item .date .month{
	color: #FFF;
	font-size: 13px;
}
.news .items .item .date .year{
	color: #FFF;
	font-size: 16px;
	margin-top: 2px;
}
.news .items .item .info{
	width: calc(100% - 100px);
}
.news .items .item .info .title{
	font-weight: 500;
	margin-bottom: 5px;
}
.news .items .item .info .title a{
	font-size: 16px;
	transition: color 0.2s ease-in-out;
}
.news .items .item .info .title a:hover{
	color: var(--theme-color);
	text-decoration: underline;
}
.news .items .item .info .desc{
	color: #888;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 1px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	word-break: break-all;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/*about*/
.about .card-body{
	align-items: stretch;
}
.about .img{
	width: 35%;
	margin-left: 50px;
}
.about .info{
	padding-top: 30px;
}
.about .info .name{
	font-size: 20px;
	font-weight: normal;
	margin-bottom: 20px;
}
.about .info .desc{
	color: #999;
	font-size: 16px;
	line-height: 36px;
	letter-spacing: 1px;
}
.about .info .more{
	color: #FFF;
	width: 120px;
	height: 36px;
	font-size: 12px;
	margin-top: 20px;
	border-radius: 2px;
	color: var(--theme-color);
	border: 1px solid var(--theme-color);
	background-color: transparent;
	transition: all 0.3s ease;
}
.about .info .more:hover{
	color: #FFF;
	background-color: var(--theme-color);
}

@media (max-width: 1240px) {
	.product .items .item{
		width: calc((100% - 60px) / 3);
		flex: 0 0 calc((100% - 60px) / 3);
	}
	.product .items .item:nth-child(3n){
		margin-right: 0;
	}
	.product .items .item:nth-child(4n){
		margin-right: 30px;
	}
}
@media (max-width: 1024px) {
	.card{
		padding: 30px 20px 0;
	}
	.card .card-body{
		padding-top: 15px;
	}
	.product .items .item,
	.case .items .item{
		margin-top: 20px;
		margin-right: 20px;
		width: calc((100% - 40px) / 3);
		flex: 0 0 calc((100% - 40px) / 3);
	}
	.product .items .item:nth-child(4n){
		margin-right: 20px;
	}
	.product .items .item .name{
		padding-bottom: 0;
	}
	.case .items .item .cover{
		height: 240px;
	}
	.case .items .item .mask{
		padding: 0 15px;
		top: calc(100% - 40px);
	}
	.case .items .item .mask .name{
		height: 40px;
		font-size: 16px;
	}
	.case .items .item .mask .desc{
		font-size: 14px;;
	}
	.news .items .item{
		margin: 20px 30px 0 0;
	}
}
@media (max-width: 900px) {
	.case .items .item{
		width: calc((100% - 20px) / 2);
		flex: 0 0 calc((100% - 20px) / 2);
	}
	.case .items .item:nth-child(2n){
		margin-right: 0 !important;
	}
	.case .items .item:nth-child(3n){
		margin-right: 20px;
	}
	.about .card-body{
		flex-direction: column-reverse;
	}
	.about .img{
		width: 100%;
		margin-left: 0;
		margin-top: 20px;
	}
}
@media (max-width: 768px) {
	.card{
		padding: 20px 20px 0;
	}
	.product .items .item{
		margin-top: 20px;
		margin-right: 20px;
		width: calc((100% - 20px) / 2);
		flex: 0 0 calc((100% - 20px) / 2);
	}
	.product .items .item:nth-child(2n),
	.product .items .item:nth-child(6n){
		margin-right: 0 !important;
	}
	.product .items .item:nth-child(3n){
		margin-right: 20px;
	}
	.case .items .item .cover{
		height: 200px;
	}
	.case .items .item .mask{
		padding: 0 10px;
	}
	.case .items .item .mask .name{
		font-size: 14px;
	}
	.case .items .item .mask .desc{
		-webkit-line-clamp: 2;
	}
	.case .items .item .mask .date{
		margin-top: 5px;
	}
	.case .items .item .mask .btn{
		width: 80px;
		height: 32px;
	}
	.news .items .item{
		width: 100%;
		flex: 0 0 100%;
	}
	.case .items .item:hover .mask .name{
		height: 40px;
	}
}
@media (max-width: 540px){
	.card .card-body{
		padding-top: 10px;
	}
	.product .items .item .cover{
		height: 160px;
	}
	.case .items .item .cover{
		height: 180px;
	}
	.case .items .item .mask .btn{
		width: 44px;
		height: 24px;
		right: 10px;
		bottom: 10px;
		font-size: 12px;
	}
}
@media (max-width: 375px){
	.product .items .item .cover{
		height: 120px;
	}
	.case .items .item .cover{
		height: 120px;
	}
}