﻿/* 产品总页样式 */

/* proType_sort */
.proType_sort {
	padding-bottom: 30px;
}

.proType_sort_list {
	flex-wrap: wrap;
	gap: 12px;
}

.proType_sort_list li {
	width: calc(50% - 6px);
	position: relative;
	margin-bottom: 90px;
}

.proType_sort_list li .sort_pic {
	padding-bottom: 80.6%;
	border-radius: 6px;
}

.proType_sort_list li .sort_pic img {
	border-radius: 6px;
}

.proType_sort_list li .sort_info {
	position: absolute;
	bottom: -40px;
	left: 0;
	right: 18%;
	background: url(../img/sub_14.png) no-repeat left center/99.9% 100%;
	padding: 36px;
	border-radius: 8px;
	gap: 12%;
	align-items: center;
	/* border: 2px solid transparent; border-image: linear-gradient(to bottom, #fff, var(--color-main)) 1; */
	transition: all 0.3s ease;
}

.proType_sort_list li:hover .sort_info {
	bottom: -32px;
}

.proType_sort_list li:hover .sort_pic {
	box-shadow: 0 0 15px 6px rgba(0, 0, 0, 0.2);
}

.proType_sort_list li .sort_info:hover {
	bottom: -32px;
}

.proType_sort_list li .sort_info::before {
	/* content: '';
	position: absolute;
	top: -4px; right: -4px; bottom: -4px; left: -4px;
	border-radius: 14px;
	background-image: linear-gradient(to bottom, #fff, var(--color-main));
	z-index: -1; */
}

.sort_info_left {
	flex: 1;
	width: 100%;
}

.sort_info .name {
	padding-bottom: 26px;
	padding-right: 30px;
}

.sort_info .name a {
	font-size: 20px;
	font-weight: bold;
	padding-bottom: 16px;
	position: relative;
}

.sort_info .name a::after {
	position: absolute;
	left: 0;
	right: -30px;
	bottom: 0;
	height: 5px;
	background: var(--color-main);
	content: '';
	border-radius: 3px;
	transition: all 0.3s ease;
}

.sort_info .name a:hover::after {
	background: var(--color-main);
}

.sort_info .brief {
	line-height: 30px;
	color: #333;
}

.sort_info .more {
	width: 52px;
	height: 52px;
	display: block;
	background: var(--color-main);
	border-radius: 4px;
	position: relative;
}

.sort_info .more::before {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	content: '';
	background: url(../img/sub_13.png) no-repeat center /auto 28px;
}

.sort_info .more:hover {
	background: var(--hover-main);
}

/* proType_topic */
.proType_topic .topic_inner {
	padding-top: 20px;
}

.topic_left {
	width: 49%;
	gap: 20px;
	justify-content: space-between;
}

.topic_right {
	width: 49.7%;
}

.topic_left .topic_pic {
	border-radius: 12px;
	overflow: hidden;
	height: calc(100% - 216px);
}

.topic_left .topic_pic a img {
	transition: all 0.3s ease;
	position: static;
}

.topic_left .topic_pic a:hover img {
	transform: scale(1.1);
}

.topic_item_bg {
	border-radius: 12px;
	background: linear-gradient(to right, #fff, var(--color-main));
	padding: 1px;
}

.topic_item_bg .topic_item {
	border-radius: 12px;
	padding: 32px;
	background: #fff;
	gap: 24px;
	align-items: center;
	transition: all 0.3s ease;
}

.topic_item .topic_order {
	color: #333;
	font-size: 32px;
	font-weight: 500;
}

.topic_item .topic_item_info {
	width: calc(100% - 68px);
}

.topic_item .topic_item_info .name {
	font-size: 32px;
	line-height: 36px;
	font-weight: bold;
}

.topic_item .topic_item_info a {
	color: #333;
	transition: all 0.3s ease;
}

.topic_item .topic_item_info .name a {
	transition: all 0.3s ease;
}

.topic_item .topic_item_info .name a:hover {
	padding-left: 6px;
}

.topic_item .topic_item_info .brief {
	line-height: 36px;
	color: #666;
	line-height: 28px;
	margin: 8px 0;
	overflow: hidden;
	-webkit-line-clamp: unset;
	max-height: 84px;
}

.topic_item .topic_item_info .more {
	line-height: 20px;
	padding: 0 30px 6px 0;
	border-bottom: 1px solid #333;
	position: relative;
	font-weight: bold;
}

.topic_item .more::after {
	position: absolute;
	content: '';
	bottom: 4px;
	right: 0;
	width: 20px;
	height: 100%;
	background: url(../img/sub_18.png) no-repeat center center/ 100% auto;
	transform: rotate(-45deg);
}

.topic_item .topic_item_info .more:hover {
	margin-left: 6px;
}

.topic_item_bg .topic_item:hover,
.topic_left .topic_item_bg .topic_item {
	background: var(--color-main);
}

.topic_left .topic_item .name a,
.topic_left .topic_item .brief,
.topic_left .topic_item .topic_order {
	color: #fff;
}

.topic_left .topic_item .more {
	color: #fff;
	border-bottom-color: #fff;
}

.topic_left .topic_item .more::after {
	background-image: url(../img/sub_17.png);
}

.topic_item:hover .name a,
.topic_item:hover .brief,
.topic_item:hover .topic_order {
	color: #fff;
}

.topic_item:hover .more {
	color: #fff;
	border-bottom-color: #fff;
}

.topic_item:hover .more::after {
	background-image: url(../img/sub_17.png);
}

.topic_right ul {
	gap: 20px;
	margin-top: 22px;
}

.topic_right .topic_more {
	border-bottom: 2px solid #333;
	text-align: right;
	line-height: 30px;
	margin-top: 30px;
}

.topic_right .topic_more a {
	font-weight: bold;
}


@media only screen and (max-width: 950px) {

	/* proType_sort */
	.proType_sort_list {
		gap: 15px;
	}

	.proType_sort_list li {
		width: 100%;
		margin-bottom: 40px;
	}

	.proType_sort_list li .sort_info {
		padding: 15px 18px;
		gap: 15px;
	}

	.sort_info .brief {
		line-height: 24px;
	}

	.sort_info .more {
		width: 45px;
		height: 45px;
	}

	/* proType_topic */
	.proType_topic .topic_inner {
		flex-direction: column;
	}

	.topic_left {
		width: 100%;
		gap: 15px;
	}

	.topic_item .topic_item_info .brief {
		max-height: unset;
	}

	.topic_left .topic_pic {
		height: 0;
		padding-bottom: 69.4%;
	}

	.topic_left .topic_pic a img {
		position: absolute;
	}

	.topic_right {
		width: 100%;
	}

	.topic_right ul {
		gap: 15px;
	}

	.topic_right .topic_more {
		margin-top: 20px;
	}
}