/**
 * 杂志布局样式
 */

/** 07. 组合推荐 **/
.collect-box {
	position: relative;
	background: var(--be-bg-white);
	overflow: hidden;
	margin: 0 0 10px 0;
	padding: 0 5px;
	border-radius: 8px;
	box-shadow: 0 0 0 1px var(--be-shadow);
}

.collect-menu {
	display: flex;
	font-size: 1.5rem;
	color: var(--be-body);
	margin: 0 0 5px 0;
}

.collect-link {
	position: relative;
	font-weight: 700;
	cursor: pointer;
	margin: 0 1px 0 0;
}

.collect-link i {
	margin: 0 5px 0 0;
}

.collect-active {
	color: var(--be-body);
}

.colltab.collect-box {
	padding: 0 5px;
}

.colltab .collect-menu {
	background: var(--be-bg-grey-9);
	position: relative;
	overflow: hidden;
	margin: 0 -6px 15px -6px;
	border-radius: 8px 8px 0 0;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: cover !important;
}

.colltab .collect-menu:before {
	background: rgba(0, 0, 0, 0.3);
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	content: '';
	z-index: 1;
}

.colltab .collect-link {
	position: relative;
	color: var(--be-white);
	font-weight: 700;
	text-align: center;
	z-index: 1;
	margin: 0 3px;
	padding: 8px 15px;
	border-radius: 5px 5px 0 0;
	background: rgba(0, 0, 0, 0.5);
	-webkit-backdrop-filter: saturate(5) blur(20px);
	backdrop-filter: saturate(5) blur(20px);
}

.colltab .collect-active {
	background: var(--be-bg-white);
	color: var(--be-body);
}

.colltag .collect-menu {
	margin: 0 0 5px 0;
}

.colltab .collect-active {
	color: var(--be-body);
}

.colltag .collect-link {
	padding: 10px 12px;
}

.colltag .collect-link:before {
	background: var(--be-bg-yellow);
	position: absolute;
	bottom: 15px;
	right: 5px;
	content: "";
	width: 3px;
	height: 0;
	display: inline-block;
	margin: -18px 0 0 0;
	border-radius: 3px;
	-webkit-transition: all 0.3s ease-in 0s;
	transition: all 0.3s ease-in 0s;
}

.colltag .collect-link:hover:before {
	height: 7px;
}

.colltag .collect-active.collect-link:before {
	height: 15px;
}

.collect-content {
	position: relative;
	display: flex;
	flex-wrap: wrap;
}

.collectloading .collect-item {
	opacity: 0.2;
}

.collect-loading {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
}

.collect-item {
	width: 50%;
	padding: 0 10px;
}

.collect-list.collect-item {
	margin: 0 0 10px 0;
	padding: 0 10px;
}

.collect-item .thumbnail {
	width: 120px;
	max-width: 120px;
	max-height: 90px;
	min-height: 90px;
	margin: 0 15px 15px 0;
}

.collect-area {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	height: 100%;
	padding: 0 0 4px 0;
}

.collect-list .collect-title {
	width: 100%;
	font-size: 1.5rem;
	line-height: 1.85;
	font-weight: 400;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	text-overflow: ellipsis;
	overflow: hidden;
}

.collect-img .collect-title {
	flex-grow: 1;
	width: 100%;
	font-size: 1.5rem;
	height: 48px;
	overflow: hidden;
	margin: -13px 0 0 0;
}

.collect-meta a,
.collect-meta {
	color: var(--be-grey-9);
	flex-grow: 1;
}

.collect-meta .vip-cat {
	margin: 0 10px 0 0;
}

.collect-meta-comment .meta-cat,
.collect-meta-qa .ap-vote-count,
.collect-meta .date {
	float: right;
	margin: 0 5px 0 0;
}

.collect-list .collect-meta-comment .meta-cat,
.collect-list .collect-meta-qa .ap-vote-count,
.collect-list .collect-meta .date {
	float: inherit;
	margin: 0 0 0 10px;
}

.ap-questions-widget .ap-vote-count,
.collect-list .collect-meta-qa .ap-vote-count {
	float: right;
}

.collect-item-qa .collect-title i {
	display: none;
	color: var(--be-grey-6);
	margin: 0 3px 0 0;
}

.collect-item-qa.collect-list .collect-title i {
	display: inline-block;
}

@media screen and (max-width: 1025px) {
	.collect-item .thumbnail {
		max-width: 100px;
		max-height: 75px;
		min-height: 75px;
	}
}

@media screen and (max-width: 768px) {
	.collect-item {
		width: 100%;
	}
}

/** 29. 热门推荐 **/
.cms-hot {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	margin: 0 -4px;
}

.cms-hot-main {
	position: relative;
	background: var(--be-bg-white);
	margin: 0 0 10px;
	padding: 10px 18px;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 0 0 1px var(--be-shadow);
}

.cms-hot-item {
	padding: 8px 0;
}

.cms-hot-head {
	font-weight: 700;
}

.cms-hot-head i {
	font-weight: 400;
	margin: 0 5px 0 0;
}

.cms-hot-head .icon {
	margin: 0 5px 0 0;
}

.cms-hot-head .more-i {
	margin: 0 -10px 0 0;
	padding: 10px;
}

.su-model-cat-title:hover .more-i,
.cms-hot-head:hover .more-i {
	-webkit-animation: blink 0.5s linear infinite;
	animation: blink 0.5s linear infinite;
}

.cms-hot-main .thumbnail {
	position: relative;
	float: left;
	width: 100px;
	height: 75px;
	margin: 0 15px 0 0;
	overflow: hidden;
}

.cms-hot-title {
	font-size: 1.4rem;
	height: 53px;
	margin-top: -2px;
	line-height: 25px;
	overflow: hidden;
	white-space: normal;
	display: block;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	word-break: break-all;
}

.cms-hot-main .views,
.widget-cat a {
	color: var(--be-grey-9);
}

.cms-hot-main .date {
	float: right;
	color: var(--be-grey-9);
}

.cms-hot-box {
	position: relative;
	float: left;
	width: 25%;
	margin: 0;
	padding: 0 5px;
	-webkit-transition-duration: .5s;
	transition-duration: .5s;
}

.hot3 {
	width: 33.333333333333%;
}

.hot4 {
	width: 25%;
}

.hot5 {
	width: 20%;
}

@media screen and (max-width: 900px) {
	.cms-hot-box {
		width: 50%;
	}
}

@media screen and (max-width: 580px) {
	.cms-hot-box {
		width: 100%;
	}
}

/** 31. 分类图片 **/
.cms-cat-square {
	margin: 0 0 10px;
}

.cms-cat-square .post {
	background: transparent;
	float: left;
	width: 16.66666666666666%;
	margin: 0;
	padding: 15px;
	box-shadow: none;
}

.cms-cat-square .thumbnail {
	float: none;
	max-width: 240px;
	margin: 0;
}

.cms-cat-square .entry-header {
	margin: 0;
}

.cms-cat-square .entry-header h2 {
	height: auto;
	text-align: center;
	margin: 5px 0 -4px 0;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 0;
	border-left: none;
}

.cms-cat-square .entry-header h2 a {
	font-size: 1.5rem;
	font-weight: normal;
}

@media screen and (max-width: 1025px) {
	.cms-cat-square .post {
		width: 25%;
	}
}

@media screen and (max-width: 620px) {
	.cms-cat-square .post {
		width: 50%;
	}
}

/** 40. 标签标题 **/
.cat-tdk-main {
	margin: 0 -1px -1px 0;
}

.cat-tdk-list {
	display: flex;
	flex-wrap: wrap;
}

.cat-tdk-area {
	width: 20%;
	padding: 15px 20px;
	border-bottom: 1px solid var(--be-border-x);
	border-right: 1px solid var(--be-border-x);
}

@media screen and (max-width: 768px) {
	.cat-tdk-area {
		width: 50%;
	}
}

.cat-tdk-tag {
	display: block;
}

.tdk-entry-title {
	font-weight: 400;
	overflow: hidden;
}

a.cat-tdk-tag {
	position: relative;
	font-size: 1.5rem;
	color: var(--be-grey-3);
}

.cat-tdk-tag:before {
	position: absolute;
	top: 8px;
	left: -20px;
	background: var(--be-bg-btn);
	content: "";
	width: 2px;
	height: 0;
	display: inline-block;
	vertical-align: 5.5%;
	transition: all .3s ease-in-out 0s;
	-webkit-transition: all .3s ease-in-out 0s;
}

.cat-tdk-area:hover .cat-tdk-tag:before {
	height: 10px;
	animation: tdkheight .3s ease-in-out forwards;
	-webkit-animation: tdkheight .3s ease-in-out forwards;
}

@keyframes tdkheight {
	from {
		height: 0;
	}

	to {
		height: 10px;
	}
}

@-webkit-keyframes tdkheight {
	from {
		height: 0;
	}

	to {
		height: 10px;
	}
}

.cat-tdk-title {
	width: 100%;
	line-height: 25px;
	height: 50px;
	color: var(--be-grey-9);
}

.cat-tdk-area.cut .cat-tdk-tag {
	white-space: nowrap;
	word-wrap: normal;
	text-overflow: ellipsis;
	overflow: hidden;
}

/** 45. 聚合RSS **/
.cms-rss {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	margin: 0 -4px;
}

.cms-rss-main {
	position: relative;
	background: var(--be-bg-white);
	margin: 0 0 10px;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 0 0 1px var(--be-shadow);
}

.cms-rss-main-head {
	position: relative;
}

.cms-rss-head-text {
	position: absolute;
	top: 15px;
	left: 15px;
	color: var(--be-white);
	font-size: 1.3rem;
	z-index: 2;
	overflow: hidden;
	padding: 4px 10px;
	border-radius: 5px;
	background: rgba(0, 0, 0, 0.4);
	-webkit-backdrop-filter: saturate(5) blur(20px);
	backdrop-filter: saturate(5) blur(20px);
}

.thumbs-rss {
	position: relative;
	padding-top: 35%;
	overflow: hidden;
}

.rss-list {
	padding: 15px;
}

.list-title.cms-rss-no-date a {
	width: 100%;
}

.cms-rss-box {
	position: relative;
	float: left;
	width: 25%;
	margin: 0;
	padding: 0 5px;
	-webkit-transition-duration: .5s;
	transition-duration: .5s;
}

.rss2 {
	width: 50%;
}

.rss3 {
	width: 33.333333333333%;
}

.rss4 {
	width: 25%;
}

.rss5 {
	width: 20%;
}

@media screen and (max-width: 900px) {
	.cms-rss-box {
		width: 50%;
	}
}

@media screen and (max-width: 580px) {
	.cms-rss-box {
		width: 100%;
	}
}
