.custom-category-posts {

}
.post-excerpt p{
	margin-bottom: 0;
}
.custom-category-posts .hidden-posts {
	margin-top:20px;
}
.custom-category-posts .post-list,
.custom-category-posts .hidden-posts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.routes-category-posts .post-list,
.routes-category-posts .hidden-posts {
	gap: 12px 28px;
}

.blog-category-posts .post-list,
.blog-category-posts .hidden-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.custom-category-posts .category-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #FF7D04;
	font-size: 20px;
	line-height:20px;
	font-weight:700;
	margin-bottom:12px;
}
.custom-category-posts .category-title span {
	font-weight:400;
	font-size: 16px;
}

.custom-category-posts .toggle-more-btn {
	color: #464444;
	font-size: 14px;
	padding: 5px 0px;
	cursor: pointer;
	font-weight:400;
}

.custom-category-posts .show-more-btn:hover, .show-less-btn:hover {
    background-color: #005177;
}

.custom-category-posts .post-item {
    display: flex;
    align-items: center;
}

.custom-category-posts .post-thumbnail {
	width: 40%;
	height:100%;
	margin-right: 20px;
}

.custom-category-posts .post-thumbnail img {
	max-width: 100%;
	width:100%;
	height: 100%;
	display: block;
	object-fit: cover; /* 保持比例并裁剪 */
}

.custom-category-posts .post-content {
	width: 60%;
	justify-content: center;
}

.custom-category-posts .post-title {
	font-size: 18px;
	line-height: 24px;
	font-weight: 400;
}
.news-category-posts .post-title {
	font-weight: 700;
}
.custom-category-posts .post-title a {
	color:#000;
}

.custom-category-posts .post-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	overflow-wrap: break-word;
}
.routes-category-posts .post-title
{
	-webkit-line-clamp: 5;
}
.blog-category-posts .post-title
{
	-webkit-line-clamp: 3;
	margin-top: 4px;
}

.custom-category-posts .post-excerpt {
	line-height:24px;
	font-size: 16px;
	color: #000;
	margin-top:8px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	overflow-wrap: break-word;
}

.routes-category-posts .category-title div {
	color: #2196F3;
}

.routes-category-posts .post-thumbnail,
.routes-category-posts .post-content{
	width: 50%;
}


.blog-category-posts .category-title .total-number {
	display: none;
}

.blog-category-posts .post-item {
	flex-direction: column;
}
.blog-category-posts .post-item .post-thumbnail {
	width: 100%;
	height:70%;
	margin-right:0;
}

.blog-category-posts .post-item .post-content {
	width: 100%;
	height:30%;
}
.blog-category-posts .post-item .post-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	overflow-wrap: break-word;
}

.rotate-arrow {
    display: inline-block;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    transition: transform 0.3s ease;
}

.rotate-arrow.down {
    transform: rotate(90deg);
}

@media (max-width: 768px) { /* 平板和小屏幕，宽度 <= 768px 单列显示 */
	.custom-category-posts .post-list,
	.custom-category-posts .hidden-posts{
		grid-template-columns: 1fr;
	}
	
	.custom-category-posts .category-title div {
		font-size: 16px;
	}
	.custom-category-posts .category-title div .total-number,
	.custom-category-posts .category-title div .toggle-more-btn,
	.custom-category-posts .category-title div .rotate-arrow{
		font-size: 14px;
	}
	.custom-category-posts .post-title,
	.custom-category-posts .post-excerpt{
		font-size: 14px
	}
	
	.blog-category-posts .post-list,
	.blog-category-posts .hidden-posts {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.custom-category-posts .post-excerpt {
		-webkit-line-clamp: 4;
	}
	.blog-category-posts .post-item .post-thumbnail {
		height:80%;
	}

	.blog-category-posts .post-item .post-content {
		height:20%;
	}
}
