/* The Blog (/blog/ and each post): the site's calm type (legal.css), its posts as the HIG's grouped cards, light and dark. */
.blog.legal { max-width: 980px; }
.blog-lede { margin: 10px 0 0; font-size: 21px; line-height: 1.45; color: #424245; }
.blog .blog-cards { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .blog .blog-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .blog .blog-cards { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; margin: 0; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .72); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1); }
.blog-card-image { aspect-ratio: 1200 / 630; border-radius: 10px; overflow: hidden; }
.blog-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.blog .blog-card h2 { margin: 14px 0 4px; font-size: 19px; line-height: 1.3; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card h2 a:hover { color: #0066cc; }
.blog-card time, .blog-post-meta { font-size: 13px; color: #6e6e73; }
.blog .blog-card-summary { flex: 1; margin: 8px 0 16px; font-size: 15px; color: #6e6e73; }
.blog-card-more { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; background: rgba(118, 118, 128, .12); color: #007aff; font-weight: 600; text-decoration: none; }
.blog-card-more:hover { background: rgba(118, 118, 128, .2); }

/* A post: one readable column, its image on top, dated. */
.blog-post-page.legal { max-width: 720px; }
.blog-post-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 14px; }
.blog-post-meta a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; text-decoration: none; }
.blog-post h1 { margin-bottom: 18px; }
.blog-post-image { display: block; width: 100%; height: auto; margin: 0 0 28px; border-radius: 14px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1); }
.blog-post-lede { font-size: 21px; line-height: 1.45; color: #424245; }
.blog-post h2 { margin-top: 40px; }
.blog-closing { margin-top: 48px; padding: 28px 24px; border-radius: 14px; background: rgba(255, 255, 255, .72); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1); text-align: center; }
.blog-post-page .blog-closing-title { margin: 0 0 6px; font-size: 24px; }
.blog-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin: 16px 0 0; }
.blog-actions a { display: inline-flex; align-items: center; min-height: 44px; }
.blog-actions .blog-start { padding: 0 22px; border-radius: 980px; background: #007aff; color: #fff; font-weight: 600; text-decoration: none; }

@media (prefers-color-scheme: dark) {
  .blog-lede, .blog-post-lede { color: #a1a1a6; }
  .blog-card, .blog-closing { background: rgba(28, 28, 30, .8); box-shadow: 0 0 0 .5px rgba(255, 255, 255, .12); }
  .blog-card h2 a:hover { color: #409cff; }
  .blog-card time, .blog-post-meta, .blog .blog-card-summary { color: #a1a1a6; }
  .blog-card-more { background: rgba(118, 118, 128, .24); color: #0a84ff; }
  .blog-card-more:hover { background: rgba(118, 118, 128, .32); }
  .blog-actions .blog-start { background: #0a84ff; }
}
