/* TWG Holidays — 首页「最新文章」列表 + /zh/blog/ 全部文章 + /zh/blog/<slug>/ 原创文章。列表由 C:\tools\twg_blog_index.py 生成。 */
.hero.hero-short { min-height: auto; padding: calc(var(--nav-h) + 3.5rem) 0 6rem; }
.hero.hero-short .hero-content { padding-top: 0; }  /* 10-19 外层已留 nav-h，别再叠一层 */
.hero.hero-short .hero-title { font-size: clamp(2rem, 5vw, 3.4rem); }
.hero.hero-short .hero-sub { margin-bottom: 1.75rem; }

.post-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.post-item { display: flex; gap: 1.25rem; background: #fff; border: 1px solid #e3ebf3; border-radius: 6px; overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.post-item:hover { box-shadow: 0 6px 22px rgba(10,61,107,.12); transform: translateY(-2px); }
.post-thumb { flex: 0 0 240px; min-height: 150px; background: var(--bg) center/cover no-repeat; }
/* 卡片图改成 <img loading=lazy>（10-19：列表页 100 多张图，滑到才加载），铺满图框、裁切同原来的背景图 */
.post-thumb { position: relative; overflow: hidden; }
.post-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.post-body { padding: 1.1rem 1.25rem 1.1rem 0; display: flex; flex-direction: column; justify-content: center; }
.post-meta { font-size: .9rem; letter-spacing: .04em; color: var(--blue); margin-bottom: .4rem; }
.post-title { font-size: 1.12rem; line-height: 1.5; color: var(--navy); font-weight: 600; margin-bottom: .45rem; }
.post-excerpt { font-size: .9rem; line-height: 1.75; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-more { margin-top: 1.75rem; text-align: center; }
/* 卡片是 div：标题链接 ::after 铺满整张卡，分类名浮在上面单独可点（10-18 加分类页） */
.post-item { position: relative; }
.post-title a { color: inherit; text-decoration: none; }
.post-title a::after { content: ""; position: absolute; inset: 0; }
.post-cat { position: relative; z-index: 1; color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.post-cat:hover { color: var(--gold); }
.post-item.no-thumb .post-body { padding-left: 1.25rem; }
.cat-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-bar a { padding: .4rem .95rem; border: 1px solid #dbe6f1; border-radius: 999px; color: var(--navy); font-size: .88rem; text-decoration: none; background: #fff; }
.cat-bar a:hover { border-color: var(--gold); }
.cat-bar a.on { background: var(--navy); border-color: var(--navy); color: #fff; }

.quick-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; margin-top: 1.5rem; }
.quick-links a { display: block; padding: 1rem .9rem; background: #fff; border: 1px solid #dbe6f1; border-radius: 6px; text-align: center; color: var(--navy); font-weight: 600; text-decoration: none; transition: border-color .2s; }
.quick-links a:hover { border-color: var(--gold); }
.quick-links a span { display: block; font-size: .78rem; font-weight: 400; color: var(--gray); margin-top: .3rem; }

.blog-cover { margin: 0 0 1.75rem; }
.blog-cover img { width: 100%; height: auto; border-radius: 4px; display: block; }
.blog-cover figcaption { font-size: .78rem; color: var(--gray); margin-top: .4rem; text-align: right; }
.blog-date { font-size: .85rem; color: rgba(255,255,255,.7); margin-top: .5rem; }

@media (max-width: 700px) {
  .post-item { flex-direction: column; gap: 0; }
  .post-thumb { flex: none; height: 180px; }
  .post-body { padding: 1rem 1.1rem; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
}

/* 10-19 封面图顶部和右栏第一个框对齐：guides.css 给文章里所有 figure 加了 22px 上边距，封面要去掉 */
.twg-article .entry-content > .blog-cover:first-child { margin-top: 0; }
