/* =========================================================================
   tjc-blog.css —— 博客列表 / 归档页卡片美化（子主题）
   目标：与文章详情页统一的品牌风格。纯样式，不改父主题结构。
   仅在博客首页与归档页加载。作用域 .inner-blog，不影响单篇文章与其它页面。

   品牌色：#ff5e14 橙(主) / #e04d0a 深橙(hover) / #001d67 藏蓝(标题)
          / #6b7a90 次要字 / #4a5a70 正文 / #e6ebf2 线
   ========================================================================= */

/* ---------- 列表页布局 / 留白 ---------- */
/* 加宽容器，缩小两侧留白（与文章详情页思路一致）。作用域限本列表模板，不影响其它归档。 */
.tjc-blog-list .container { max-width: 1500px; }

/* 注：侧栏「Talk to an Expert / 联系按钮 / 占位」等共用模块样式已移至 tjc-article.css，
   因为该文件在列表页与文章详情页都会加载，两处侧栏可共用。 */

/* ---------- 卡片容器（横向：左图右文） ---------- */
.inner-blog .bsingle-post {
	display: flex;
	align-items: stretch;
	min-height: 150px;                /* 固定卡片高度，缩略图成规整横图 */
	margin-bottom: 18px;
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 12px;
	overflow: hidden;                 /* 让缩略图跟着圆角裁切 */
	box-shadow: 0 6px 24px rgba(16, 42, 82, .08);
	transition: transform .2s ease, box-shadow .2s ease;
}
.inner-blog .bsingle-post:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(16, 42, 82, .14);
}

/* ---------- 缩略图（左侧，横向长方形） ---------- */
.inner-blog .blog-thumb {
	flex: 0 0 300px;
	max-width: 300px;
	margin: 0;
	line-height: 0;
	overflow: hidden;
	align-self: stretch;              /* 撑满卡片高度 */
}
.inner-blog .blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;               /* 裁切填满，不变形 */
	display: block;
	transition: transform .4s ease;
}
.inner-blog .bsingle-post:hover .blog-thumb img {
	transform: scale(1.04);           /* hover 轻微放大 */
}

/* ---------- 内容区（右侧） ---------- */
.inner-blog .bpost-content {
	flex: 1 1 auto;
	min-width: 0;                    /* 防止长标题撑破 flex */
	padding: 16px 22px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* 分类小标签（橙色软胶囊，与详情页 kicker 一致） */
.inner-blog .b-tag {
	margin-bottom: 12px;
	line-height: 1;
}
.inner-blog .b-tag a {
	display: inline-block;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1;
	color: #ff5e14;
	background: rgba(255, 94, 20, .1);
	border-radius: 6px;
	transition: all .15s ease;
}
.inner-blog .b-tag a:hover {
	background: #ff5e14;
	color: #fff;
}

/* 标题 */
.inner-blog .post-title {
	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;
	margin: 0 0 8px;
}
.inner-blog .post-title a { color: #001d67; }
.inner-blog .post-title a:hover { color: #ff5e14; }

/* meta 行：作者 / 日期 */
.inner-blog .bpost-meta ul {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}
.inner-blog .bpost-meta li span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	color: #6b7a90;
}
.inner-blog .bpost-meta li i { color: #ff5e14; font-size: 14px; }
.inner-blog .bpost-meta a { color: #6b7a90; }
.inner-blog .bpost-meta a:hover { color: #ff5e14; }

/* 摘要（最多两行，超出省略） */
.inner-blog .bpost-content p {
	font-size: 14.5px;
	line-height: 1.7;
	color: #4a5a70;
	margin: 0 0 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 作者 */
.inner-blog .bpost-avatar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
}
.inner-blog .bavatar-img img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: block;
}
.inner-blog .bavatar-info p {
	margin: 0;
	font-size: 13.5px;
	color: #6b7a90;
}
.inner-blog .bavatar-info a { color: #001d67; font-weight: 500; }
.inner-blog .bavatar-info a:hover { color: #ff5e14; }

/* Read More */
.inner-blog .b-readmore a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #ff5e14;
	transition: color .15s ease, gap .15s ease;
}
.inner-blog .b-readmore a:hover { color: #e04d0a; gap: 12px; }

/* ---------- 分页（对应 geoport_paging_nav 输出的 .pagination/.page-item/.page-link） ---------- */
.inner-blog .pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}
.inner-blog .pagination .page-item { margin: 0; }
.inner-blog .pagination .page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #e6ebf2;
	border-radius: 8px;
	color: #001d67;
	font-weight: 600;
	background: #fff;
	transition: all .15s ease;
}
.inner-blog .pagination .page-link:hover,
.inner-blog .pagination .page-item.active .page-link,
.inner-blog .pagination .page-link.activeborder {
	background: #ff5e14;
	border-color: #ff5e14;
	color: #fff;
}

/* ---------- 响应式：窄屏卡片竖排（图在上、文在下） ---------- */
@media (max-width: 575px) {
	.inner-blog .bsingle-post {
		flex-direction: column;
		min-height: 0;                /* 竖排时取消固定高度 */
	}
	.inner-blog .blog-thumb {
		flex-basis: auto;
		max-width: none;
		width: 100%;
	}
	.inner-blog .blog-thumb img {
		height: auto;                 /* 竖排时恢复自然高度 */
	}
	.inner-blog .bpost-content {
		padding: 20px 20px 22px;
	}
}

