body.knowledge-base .site-content {
	padding-top: calc(2rem + 60px) !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	background: #f5f5f5 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

.breadcrumbs {
	font-size: 0.85rem;
	color: #999;
	padding-bottom: 0.75rem;
}

.breadcrumbs a {
	color: #666;
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: #ff6b35;
}

body.knowledge-base .breadcrumbs a:hover {
	color: #4a6cf7;
}


.page-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: #333;
	margin-bottom: 0;
}

body.knowledge-base .kb-nav {
	background: #f8faff;
	border-radius: 8px;
	padding: 0;
	margin-top: 1rem;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	position: relative;
	border: 1px solid #e8f0ff;
}

body.knowledge-base .kb-nav ul {
	list-style: none !important;
	display: flex !important;
	flex-direction: row !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border-bottom: 1px solid #eee;
}

body.knowledge-base .kb-nav ul:last-child {
	border-bottom: none;
}

body.knowledge-base .kb-nav li {
	display: block !important;
	float: none !important;
}

body.knowledge-base .kb-nav ul.kb-level-1 li:first-child {
	margin-left: 0;
}

body.knowledge-base .kb-nav ul.kb-level-2 {
	padding-left: 60px;
}

body.knowledge-base .kb-nav ul.kb-level-3 {
	padding-left: 120px;
}

body.knowledge-base .kb-nav ul.kb-level-4 {
	padding-left: 180px;
}

body.knowledge-base .kb-nav a {
	display: block;
	padding: 0.75rem 1rem;
	color: #666;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.3s ease;
	border-bottom: 2px solid transparent;
}

body.knowledge-base .kb-nav a:hover {
	color: #4a6cf7;
}

body.knowledge-base .kb-nav a.active {
	color: #4a6cf7;
	border-bottom: 2px solid #4a6cf7;
}

.category-description {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.5;
}

.posts-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* === Card Layout === */
.archive-post {
	background: #fff;
	border-radius: 12px;
	padding: 16px;
	display: flex;
	gap: 14px;
	border: 1px solid #e8f0ff;
	transition: box-shadow 0.3s ease;
}

.archive-post:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.archive-post .post-content-wrapper {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

/* Author Row */
.archive-post .post-author-row {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	font-size: 13px !important;
	color: #999 !important;
	margin-bottom: 8px !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
}

.archive-post .post-author-info {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	flex-shrink: 0 !important;
}

/* Avatar - force round shape regardless of WordPress output */
.archive-post .post-author-info img.avatar,
.archive-post .post-author-info img.avatar-24,
.archive-post .post-author-info img.photo,
.archive-post .post-author-info img.wp-user-avatar,
.archive-post .post-author-info img {
	border-radius: 50% !important;
	-webkit-border-radius: 50% !important;
	-moz-border-radius: 50% !important;
	shape-outside: circle() !important;
	width: 24px !important;
	height: 24px !important;
	min-width: 24px !important;
	max-width: 24px !important;
	min-height: 24px !important;
	max-height: 24px !important;
	object-fit: cover !important;
	overflow: hidden !important;
}

.archive-post .post-author-info .avatar,
.archive-post .post-author-info .wp-user-avatar,
.archive-post .post-author-info .wp-avatar {
	border-radius: 50% !important;
	-webkit-border-radius: 50% !important;
	overflow: hidden !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 24px !important;
	height: 24px !important;
}

.archive-post .post-author-name {
	color: #333 !important;
	font-weight: 500 !important;
	white-space: nowrap !important;
}

.archive-post .post-dot {
	color: #ccc !important;
	flex-shrink: 0 !important;
	white-space: nowrap !important;
}

.archive-post .post-time {
	color: #999 !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
}

/* Title */
.archive-post .post-title {
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 8px 0;
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.archive-post .post-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.archive-post .post-title a:hover {
	color: #ff6b35;
}

body.knowledge-base .archive-post .post-title a:hover {
	color: #4a6cf7;
}

/* Excerpt */
.archive-post .post-excerpt {
	color: #666;
	font-size: 0.9rem;
	line-height: 1.6;
	display: -webkit-box;
	line-clamp: 3;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 6px 0;
}

/* Primary Tag */
.archive-post .post-primary-tag {
	display: inline-block !important;
	font-size: 13px !important;
	color: #4a6cf7 !important;
	text-decoration: none !important;
	margin-bottom: 4px !important;
	background: none !important;
	padding: 0 !important;
	border: none !important;
	cursor: pointer !important;
}

.archive-post .post-primary-tag:hover {
	color: #ff6b35 !important;
	text-decoration: underline !important;
	background: none !important;
}

/* Footer */
.archive-post .post-footer {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid #eef2f7;
}

.archive-post .post-stats {
	display: flex;
	align-items: center;
	gap: 16px;
	font-size: 13px;
	color: #999;
}

.archive-post .stat-item {
	display: flex;
	align-items: center;
	gap: 4px;
}

/* Right Thumbnail */
.archive-post .post-thumb-right {
	flex-shrink: 0;
	width: 120px;
	min-height: 100px;
	border-radius: 10px;
	overflow: hidden;
	background: #EEF3FF;
	display: flex;
	align-items: center;
	justify-content: center;
}

.archive-post .post-thumb-link {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100px;
}

.archive-post .post-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Status Badge (已锁定/已过期) */
.archive-post {
	position: relative;
}

.archive-post .post-status-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 500;
	z-index: 10;
}

.archive-post .post-status-badge.locked {
	background: #e8f0ff;
	color: #4a6cf7;
}

.archive-post .post-status-badge.expired {
	background: #fee2e2;
	color: #dc2626;
}

.archive-post .post-status-badge.author-expired {
	background: #fef3c7;
	color: #b45309;
}

.archive-post .post-status-badge.is-clickable:hover {
	filter: brightness(0.95);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.archive-post .post-status-badge svg {
	flex-shrink: 0;
}

/* 置顶文章标识 */
.archive-post .sticky-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	z-index: 10;
	background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
	color: #fff;
	box-shadow: 0 2px 6px rgba(249, 115, 22, 0.35);
	letter-spacing: 0.5px;
}

.archive-post .sticky-badge svg {
	flex-shrink: 0;
}

.archive-post .post-excerpt-password {
	color: #999 !important;
	font-style: italic;
}

/* 待审核文章卡片样式 */
.archive-post.pending-review {
	border-left: 3px solid #f59e0b;
	background: linear-gradient(135deg, #fffbeb 0%, #fffef5 100%);
}

.archive-post .post-review-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.archive-post .post-review-badge {
	display: inline-block;
	padding: 2px 10px;
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: #fff;
	font-size: 12px;
	border-radius: 10px;
	font-weight: 600;
}

.archive-post .bk-post-review-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 12px;
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: #fff;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.2s;
}

.archive-post .bk-post-review-link:hover {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	color: #fff;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
	transform: translateY(-1px);
}

/* No Posts */
.no-posts {
	text-align: center;
	padding: 3rem;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e8f0ff;
}

.no-posts h2 {
	font-size: 1.2rem;
	font-weight: 600;
	color: #333;
}

.no-posts p {
	font-size: 0.9rem;
	color: #666;
}
