.contain-out {
	height: 864px;
	margin-top: 100px;
}

.contain-in {
	margin-top: 15px !important;
	height: 736px;
}

.contain-in .box {
	display: inline-block;
	box-sizing: border-box;
	float: left;
	width: 380px;
	height: 340px;
	border: 1px solid #eee;
	transition: 0.3s;
	margin-right: 20px;

}

.contain-in .box:nth-child(-n+3) {
	margin-bottom: 30px;
}

.contain-in .box:hover {
	border: 1px solid #1A4285;
}


.box .img-box {
	display: block;
	width: 100%;
	height: 220px;
	overflow: hidden;
}

.box img {
	width: 100%;
	height: 100%;
	transition: 0.5s;
}

.box img:hover {
	transform: scale(1.2);
}

.box h4 {
	font-size: 18px;
	font-family: 'Noto Sans CJK';
	font-weight: normal;
	line-height: 32px;
}

.box p {

	line-height: 22px;
	font-size: 14px;
	color: #999;
	/* 设置显示文字两行,多余用省略号代替 */
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
}

.box .text {

	position: relative;
	box-sizing: border-box;
	width: 380px;
	height: 115px;
	padding: 0 10px 10px;
}

.text .details {
	position: absolute;
	bottom: 8px;
	display: block;
	width: 360px;
	height: 24px;
	line-height: 24px;
	border: 1px solid #1A4285;
	border-radius: 12px;
	text-align: center;
	font-size: 12px;
	color: #1A4285;
	font-family: 'Noto Sans CJK';
	transition: 0.5s;
}

.text .details:hover {
	color: white;
	background-color: #1A4285;
}

@media (max-width: 768px) {
	.contain-out {
		height: 807px
	}

	.contain-out,
	.contain-in,
	.contain-out>.center,
	.contain-out>.center.contain-in {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 4px !important;
		box-sizing: border-box;
	}

	.contain-in {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 16px 8px !important;
		padding-bottom: 24px !important;
	}

	.contain-in .box {
		margin: 0 0 10px 0 !important;
		height: auto !important;
		border-radius: 10px !important;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
		border: 1px solid #eee !important;
		background: #fff !important;
		padding: 0 !important;
		display: flex !important;
		flex-direction: column !important;
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
	}

	/* .contain-in .box:nth-child(4) {
		margin: 0 0 30px 0 !important;
	} */


}

/* 隐藏contain-in里面的page类 */
.contain-in .page {
	display: none !important;
}

/* 为contain-out外面的page类添加居中样式 */
.contain-out .page {
	margin: 0 auto;
	margin-top: 40px;
	width: 194px;
	height: 30px;
	text-align: center;
}

/* 移动端样式 */
@media (max-width: 768px) {
	.contain-out .page {
		width: 100%;
		display: flex;
		justify-content: center;
		gap: 12px;
		margin-top: 18px;
		padding: 0 8px;
		box-sizing: border-box;
	}
}