/* Blog: the index and the post page (Designer spec, design/specs/rodmjay-blog.md).
   Type, code, quotes and lists come from .ds-prose (design system v0.29.0). */
.bar nav a[aria-current] { color: var(--md-sys-color-on-surface); box-shadow: inset 0 -2px 0 var(--md-sys-color-primary); }

.ix { padding-top: var(--space-10); }
.ix .sample { margin: 0 0 var(--space-8); }
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-8); padding: 0; list-style: none; }
.more { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-top: var(--space-8); }
.post { padding-top: var(--space-10); }
.post .ds-post-head { margin-bottom: var(--space-10); }
.post .ds-toc { margin-bottom: var(--space-10); }
.post-foot { margin-top: var(--space-16); display: grid; gap: var(--space-8); }
.post-foot .ds-post-tags { margin: 0; }

/* Shiki token colors as classes (src/lib/blog.mjs styleToClass; the CSP allows no style attributes). */
.shk-foreground { color: var(--shiki-foreground); }
.shk-token-keyword { color: var(--shiki-token-keyword); }
.shk-token-constant { color: var(--shiki-token-constant); }
.shk-token-function { color: var(--shiki-token-function); }
.shk-token-string { color: var(--shiki-token-string); }
.shk-token-string-expression { color: var(--shiki-token-string-expression); }
.shk-token-comment { color: var(--shiki-token-comment); }
.shk-token-parameter { color: var(--shiki-token-parameter); }
.shk-token-punctuation { color: var(--shiki-token-punctuation); }
.shk-token-link { color: var(--shiki-token-link); }
.shk-background { background-color: var(--shiki-background); }
.shk-i { font-style: italic; }
.shk-b { font-weight: bold; }
.shk-u { text-decoration: underline; }
