/* 婚姻995 — 列表 / 分類 / 搜尋 (archive.css) */

.archive-hero { background: linear-gradient(180deg,#FBF7F0, var(--bg-warm)); border-bottom: 1px solid var(--border-default); padding-block: clamp(2.4rem,5vw,3.8rem); text-align: center; }
.archive-hero .container { max-width: 760px; }
.archive-hero .eyebrow { margin-bottom: .6rem; }
.archive-hero h1 { margin-bottom: .7rem; }
.archive-hero p { color: var(--text-secondary); font-size: 1.06rem; margin: 0; }

/* 分類篩選列 */
.cat-filter { display: flex; gap: .55rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
.cat-filter a { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--border-default); background: #fff; font-size: .9rem; font-weight: 600; color: var(--brand-navy); }
.cat-filter a:hover, .cat-filter a.active { background: var(--brand-navy); color: #fff; border-color: var(--brand-navy); }

.archive-body { padding-block: clamp(2.4rem,5vw,3.6rem); }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }

.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border-default); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); transition: all .22s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--brand-rose); }
.post-card__thumb { aspect-ratio: 16/9; background: var(--bg-warm); overflow: hidden; display:block; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { width:100%; height:100%; display:grid; place-items:center; background: linear-gradient(135deg,#EEE6DA,#F4E7E7); }
.post-card__ph svg { width: 54px; height: 54px; color: var(--brand-gold); opacity: .55; }
.post-card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: .7rem; margin-bottom: .7rem; font-size: .8rem; color: var(--text-secondary); }
.post-card h3 { font-size: 1.12rem; line-height: 1.5; margin-bottom: .6rem; }
.post-card h3 a { color: var(--brand-navy); } .post-card h3 a:hover { color: var(--brand-rose); }
.post-card p { font-size: .92rem; color: var(--text-secondary); flex: 1; margin-bottom: 1rem; }
.post-card__more { font-size: .9rem; font-weight: 600; color: var(--brand-rose-dark); }

.no-results { text-align: center; padding: 3rem 1rem; color: var(--text-secondary); }

@media (max-width: 980px) { .archive-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .archive-grid { grid-template-columns: 1fr; } }
