/**
 * JapanMago Blog Styles
 * 参考 VIA 官方博客 (https://via-official.com/blog/) 的简洁专业风格
 */

/* ===== 博客主区域 ===== */
.archive .content-area,
.blog .content-area,
.home .content-area {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 2rem 1.5rem;
}

/* ===== 博客标题区域 (类似 VIA Nextwave Blog) ===== */
.archive-header,
.archive .entry-hero,
.blog .entry-hero {
	text-align: center;
	padding: 3rem 1rem 2rem;
	margin-bottom: 1rem;
}

.archive-header .archive-title,
.archive .entry-hero .entry-hero-title,
.blog .entry-hero .entry-hero-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: 0.02em;
	margin-bottom: 0.5rem;
}

.archive-header .archive-description {
	font-size: 0.95rem;
	color: #666;
}

/* ===== 文章卡片布局 (VIA 风格) ===== */
#archive-container {
	display: grid;
	gap: 2rem;
}

/* 单栏或网格 - 根据屏幕宽度 */
@media (min-width: 768px) {
	#archive-container.grid-lg-col-1,
	#archive-container:not([class*="grid-lg-col"]) {
		grid-template-columns: 1fr;
	}
}

/* 文章卡片样式 */
.loop-entry.entry {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	border: 1px solid #eee;
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.loop-entry.entry:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

/* 文章标题 */
.loop-entry .entry-header .entry-title {
	font-size: 1.15rem;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 0.5rem;
}

.loop-entry .entry-header .entry-title a {
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.2s;
}

.loop-entry .entry-header .entry-title a:hover {
	color: #333;
}

/* 文章元信息 (日期等) */
.loop-entry .entry-meta,
.loop-entry .entry-taxonomies {
	font-size: 0.85rem;
	color: #888;
}

.loop-entry .entry-meta .posted-on,
.loop-entry .entry-meta time {
	color: #888;
}

/* 文章摘要 */
.loop-entry .entry-summary,
.loop-entry .entry-content {
	font-size: 0.95rem;
	line-height: 1.7;
	color: #555;
}

/* ===== 文章详情页 ===== */
.single .entry-content {
	font-size: 1rem;
	line-height: 1.8;
	max-width: 720px;
	margin: 0 auto;
}

.single .entry-header .entry-title {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.4;
}

/* ===== 分页 ===== */
.pagination-wrap,
.nav-links {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid #eee;
}

/* ===== 整体背景 ===== */
body.archive,
body.blog,
body.home {
	background-color: #f8f9fa;
}

.content-bg {
	background: transparent;
}

/* ===== 侧边栏隐藏时全宽 ===== */
.archive:not(.has-sidebar) .content-container,
.blog:not(.has-sidebar) .content-container {
	max-width: 900px;
	margin: 0 auto;
}
