/* Blog post cards: used on the homepage and the blog index. Relies on the site's :root tokens. */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 1rem; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s; }
.post-card:hover { border-color: rgba(13,148,136,0.45); }
.post-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--slate); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; filter: grayscale(12%); transition: filter .3s; }
.post-card:hover .post-card-img img { filter: none; }
.post-card-body { padding: 1.25rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-card time { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-dark); }
.post-card h3 { font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; margin: 0.4rem 0 0.6rem; }
.post-card p { font-size: 0.9rem; color: var(--ink-2); line-height: 1.6; flex: 1; }
.post-card-more { margin-top: 1rem; font-size: 0.85rem; font-weight: 600; color: var(--accent-dark); }
