/* =0xo.net Style Layout - Fixed
-------------------------------------------------------------- */

/* 主容器 */
#main {
	overflow: hidden;
}

/* 两栏布局 */
.site-content {
	float: left;
	width: 68%;
	padding-right: 30px;
	box-sizing: border-box;
}

#secondary,
#secondary-default {
	float: right;
	width: 32%;
	box-sizing: border-box;
}

/* 文章卡片样式 */
article {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
	padding-bottom: 25px;
	border-bottom: 1px solid #eee;
	overflow: hidden;
}

.post-thumbnail {
	flex-shrink: 0;
	width: 220px;
	height: 160px;
	overflow: hidden;
	border-radius: 4px;
}

.post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
	display: block;
}

.post-thumbnail:hover img {
	transform: scale(1.05);
}

.post-content {
	flex: 1;
	min-width: 0;
}

.post-content .entry-title {
	font-size: 18px;
	line-height: 1.4;
	margin-bottom: 8px;
	margin-top: 0;
}

.post-content .entry-title a {
	color: #333;
	text-decoration: none;
}

.post-content .entry-title a:hover {
	color: #21759b;
}

.entry-meta {
	font-size: 12px;
	color: #999;
	margin-bottom: 10px;
}

.entry-meta a {
	color: #999;
	text-decoration: none;
}

.entry-meta a:hover {
	color: #21759b;
}

.meta-sep {
	margin: 0 5px;
}

.entry-summary {
	font-size: 14px;
	line-height: 1.6;
	color: #666;
	margin-bottom: 10px;
}

.entry-summary p {
	margin: 0;
}

.entry-meta-bottom {
	margin-top: 8px;
	font-size: 12px;
}

.tag-links a {
	display: inline-block;
	padding: 2px 8px;
	margin: 2px;
	background: #f5f5f5;
	color: #666;
	text-decoration: none;
	border-radius: 3px;
	font-size: 12px;
}

.tag-links a:hover {
	background: #21759b;
	color: #fff;
}

/* 侧边栏样式 */
.widget {
	margin-bottom: 25px;
	padding: 15px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
}

.widget-title {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid #21759b;
	color: #333;
}

.widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.widget ul li {
	padding: 6px 0;
	border-bottom: 1px dotted #eee;
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget ul li a {
	color: #666;
	text-decoration: none;
	font-size: 14px;
}

.widget ul li a:hover {
	color: #21759b;
}

.tag-cloud a {
	display: inline-block;
	padding: 3px 10px;
	margin: 3px;
	background: #f5f5f5;
	color: #666;
	text-decoration: none;
	border-radius: 3px;
	font-size: 13px;
}

.tag-cloud a:hover {
	background: #21759b;
	color: #fff;
}

/* 响应式 */
@media (max-width: 768px) {
	.site-content,
	#secondary,
	#secondary-default {
		float: none;
		width: 100%;
		padding-right: 0;
	}

	article {
		flex-direction: column;
	}

	.post-thumbnail {
		width: 100%;
		height: 200px;
	}
}
