/*
Theme Name:   Partdo Child
 Theme URI:    http://klbtheme.com/partdo/
 Description:  Partdo Child Theme
 Author:       KlbTheme
 Author URI:   http://themeforest.net/user/KlbTheme
 Template:     partdo
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  partdo-child
*/

/* 404 页面：搜索框与按钮间距 */
#error-404-section .page-not-found-search {
	margin: 1.5rem 0;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}
#error-404-section .page-not-found-actions {
	margin-top: 1rem;
}

/* ========== 新闻资讯列表样式（文章/分类） ========== */
.blog-list-style-news .blog-posts {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.klb-article-news {
	margin-bottom: 0;
	border-radius: var(--theme-theme-radius-base, 8px);
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	background: #fff;
}

.klb-article-news .entry-news-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
	min-height: 180px;
}

.klb-article-news .entry-news-cover {
	flex: 0 0 260px;
	max-width: 260px;
	min-height: 180px;
	overflow: hidden;
	background: #f1f5f9;
}

.klb-article-news .entry-news-cover a {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
}

.klb-article-news .entry-news-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.klb-article-news .entry-news-cover a:hover img {
	transform: scale(1.05);
}

.klb-article-news .entry-news-cover-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 180px;
	background: #e2e8f0;
	color: #94a3b8;
	font-size: 0.875rem;
}

.klb-article-news .entry-news-body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: 1.25rem 1.5rem;
}

.klb-article-news .entry-news-title {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 0.5rem 0;
}

.klb-article-news .entry-news-title a {
	color: inherit;
	text-decoration: none;
}

.klb-article-news .entry-news-title a:hover {
	color: var(--theme-theme-color-primary, #3b82f6);
}

.klb-article-news .entry-news-description {
	flex: 1;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: #64748b;
	margin: 0 0 0.75rem 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.klb-article-news .entry-news-description p {
	margin: 0;
}

.klb-article-news .entry-news-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	font-size: 0.8125rem;
	color: #94a3b8;
}

.klb-article-news .entry-news-meta .meta-item a {
	color: inherit;
}

.klb-article-news .entry-news-more {
	color: var(--theme-theme-color-primary, #3b82f6);
	text-decoration: none;
	font-weight: 500;
}

.klb-article-news .entry-news-more:hover {
	text-decoration: underline;
}

@media (max-width: 767px) {
	.klb-article-news .entry-news-inner {
		flex-direction: column;
		min-height: 0;
	}
	.klb-article-news .entry-news-cover {
		flex: 0 0 auto;
		max-width: 100%;
		width: 100%;
		min-height: 200px;
	}
	.klb-article-news .entry-news-cover a {
		min-height: 200px;
	}
	.klb-article-news .entry-news-cover-placeholder {
		min-height: 200px;
	}
	.klb-article-news .entry-news-body {
		padding: 1rem 1.25rem;
	}
	.klb-article-news .entry-news-title {
		font-size: 1.125rem;
	}
}