/*
分类归档页专属CSS：只在is_archive()/is_home()加载（见functions.php的条件enqueue），
文章列表卡片网格，不影响首页/单篇文章/单页面。从astra-child/style.css拆出来（2026-09-30）。
*/

/* 欧爸在澳洲：分类归档页 — 文章列表改为卡片网格
   断点用固定列数（不用auto-fill自动猜），因为侧边栏占了35%宽度后内容区变窄，
   auto-fill的minmax判断容易在中间宽度下意外退化成1列，行为不可预期。
   移动端优先：默认1列，>=600px起2列——内容区加了侧边栏之后最宽也就~750px左右，
   撑死放得下2列，硬塞3列每张卡宽度不够放图+标题+摘要。 */
#main > .ast-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	padding: 0;
	margin-left: 0;
	margin-right: 0;
}
@media (min-width: 600px) {
	#main > .ast-row {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}
}
@media (min-width: 1100px) {
	#main > .ast-row {
		grid-template-columns: repeat(3, 1fr);
	}
}
.ast-row .ast-article-post {
	margin: 0;
	padding: 0;
	background: #FFFFFF;
	border: 1px solid rgba(43,42,40,0.08);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ast-row .ast-article-post:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(43,42,40,0.10);
}
.ast-row .ast-article-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.ast-row .post-content {
	display: flex;
	flex-direction: column;
	flex: 1;
}
.ast-row .ast-blog-featured-section.post-thumb {
	margin: 0;
}
.ast-row .post-thumb-img-content img {
	object-fit: cover;
	width: 100%;
	display: block;
}
.ast-row .entry-title {
	font-size: 18px;
	line-height: 1.4;
	margin: 16px 20px 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ast-row .ast-blog-meta-container {
	margin: 0 20px;
}
.ast-row .entry-meta {
	font-size: 12px;
	color: #3E8FC4;
}
.ast-row .entry-meta a {
	color: #3E8FC4;
}
.ast-row .ast-excerpt-container {
	margin: 8px 20px 0;
	flex: 1;
}
.ast-row .ast-excerpt-container p {
	font-size: 14px;
	color: #6B6862;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
}
.ast-row .ast-read-more-container {
	margin: 12px 20px 20px;
}
.ast-row .ast-read-more-container a {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	color: #E8834B;
}
