
/* 推荐产品 */
.p_relevance {
	overflow: hidden;
}
.p_relevance>.tit {
	font-size: 22px;
	color: #000;
	margin-bottom: 30px;
	font-weight: bold;
}

.p_relevance_list {
	padding: 10px;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
}

.p_relevance_list li {
	width: 22.75%;
	margin: 0 3% 30px 0;
	position: relative;
        list-style: none;
}
.p_relevance_list li:nth-child(4n) {
	margin-right: 0
}
/* .p_relevance_list li:after{content:""; position:absolute; left:0; bottom:0; width:100%; height:1px; background:var(--border_color)} */
.p_relevance_list a {
	display: block;
	box-sizing: border-box;
	box-shadow: 0 0 10px rgb(0 0 0 / 0%);
}

.p_relevance_list .img {
	width: 100%;
	position: relative;
	box-sizing: border-box;
	overflow: hidden
}
.p_relevance_list .img:before {
	content: "";
	display: block;
	padding-bottom: 100%
}
.p_relevance_list .img img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	object-fit: cover
}

.p_relevance_list .txt {
	padding: 14px 10px 30px;
	text-align: center
}
.p_relevance_list .txt h3 {
	font-size: 16px;
	color: #0B2572;
	font-weight: bold;
        line-height: inherit;
}
.p_relevance_list .txt h6 {
	margin-top: 10px;
	font-size: 16px;
	color: #555;
	line-height: 20px;
	min-height: 40px
}

.p_relevance_list li:hover a {
	box-shadow: 0 0 10px rgb(0 0 0 / 16%)
}
.p_relevance_list li:hover h6 {
	color: var(--i_color);
}

@media screen and (max-width:1366px) {
	.p_relevance_list .txt h3 {
		font-size: 15px;
	}
	.p_relevance_list .txt h6 {
		font-size: 15px;
	}
}
@media screen and (max-width:1200px) {
	.p_relevance_list li {
		margin-bottom: 30px;
	}
}
@media screen and (max-width:768px) {
	.p_relevance>.tit {
		font-size: 18px;
	}
	.p_relevance_list li {
		width: 48%;
		margin: 0 4% 30px 0;
	}
	.p_relevance_list li:nth-child(2n) {
		margin-right: 0
	}
	.p_relevance_list .txt h3 {
		font-size: 14px;
	}
	.p_relevance_list .txt h6 {
		font-size: 14px;
	}
}
@media screen and (max-width:560px) {
	.p_relevance_list li {
		margin-bottom: 20px;
	}
	.p_relevance_list .txt h3 {
		font-size: 13px;
	}
	.p_relevance_list .txt h6 {
		font-size: 13px;
	}
}

