/* ============================================================
   首页案例卡片：图片比例 100:60 + 小图标与文字同行对齐
   作用域 .site-content —— 仅首页生效，与 fuwu/guwen 页保持同款
   ============================================================ */

/* 图片宽高比 100:60（5:3），居中裁剪填充，不变形 */
.site-content .post-inner .entry-media a {
    display: block;
    width: 100%;
    aspect-ratio: 100 / 60;
    overflow: hidden;
}
.site-content .post-inner .entry-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.site-content .post-inner:hover .entry-media img { transform: scale(1.07); }

/* 小图标(anli.png)与"SEO优化案例"文字强制同行、垂直居中 */
.site-content .post-inner .entry-meta > span.posted-on > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}
.site-content .post-inner .entry-meta > span a img {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0;
    vertical-align: middle;
}

/* ============================================================
   案例卡片等高：同排卡片底部对齐（消除标题/摘要行数差异导致的高度不齐）
   Bootstrap col 默认 stretch 等高，此处让卡片继承该高度并固定文字区行数
   ============================================================ */
.site-content .post-inner {
    display: flex;
    flex-direction: column;
    /* 抵消原有 margin-top:30px，避免撑高父级 col */
    height: calc(100% - 30px);
}
.site-content .post-inner .inner-post {
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* 标题固定占 2 行高度（字号24px，line-height 约1.4） */
.site-content .post-inner .entry-title { min-height: 2.8em; }
/* 摘要固定占 2 行高度（字号16px，line-height 约2） */
.site-content .post-inner .entry-summary { min-height: 3.2em; }
