.blog-index .section-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.3px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.blog-chip {
border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
padding: 7px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600;
transition: background-color .2s, color .2s, border-color .2s;
}
.blog-chip:hover { border-color: var(--line-strong); color: var(--ink); }
.blog-chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.blog-note, .blog-empty {
color: var(--muted); background: var(--surface-2); border: 1px solid var(--line);
border-radius: var(--radius); padding: 12px 16px; margin-bottom: 24px; font-size: .95rem;
}
.blog-empty { margin-top: 8px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.blog-card {
display: flex; flex-direction: column;
background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
box-shadow: var(--shadow-sm);
}
.blog-card-media { display: block; aspect-ratio: 1200 / 630; background: var(--surface-2); overflow: hidden; border-radius: calc(var(--radius-l) - 1px) calc(var(--radius-l) - 1px) 0 0; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1; }
.blog-card-title { font-size: 1.15rem; line-height: 1.45; }
.blog-card-title a { transition: color var(--motion-fast, .16s); }
.blog-card-title a:hover { color: var(--accent-ink); }
.blog-card { position: relative; }
.blog-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.blog-card-excerpt { color: var(--muted); font-size: .95rem; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .84rem; color: var(--muted); }
.blog-meta > * + *::before { content: "·"; margin-inline-end: 14px; color: var(--line-strong); }
.blog-meta > * + * { display: inline-flex; }
.blog-cat {
color: var(--on-accent-tint); background: var(--accent-tint);
padding: 2px 10px; border-radius: 999px; font-weight: 700;
}
a.blog-cat { position: relative; z-index: 1; }
a.blog-cat:hover { background: color-mix(in srgb, var(--accent) 45%, var(--accent-tint)); }
.post-nav { padding-top: 28px; }
.post-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.post-back:hover { color: var(--ink); }
html[dir="ltr"] .post-back-arrow { transform: scaleX(-1); }
.post-head { padding-top: 22px; padding-bottom: 26px; }
.post-head h1 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); line-height: 1.35; margin-top: 14px; letter-spacing: -.2px; }
.post-excerpt { margin-top: 14px; font-size: 1.12rem; color: var(--muted); }
.post-author { margin-top: 16px; font-size: .92rem; color: var(--muted); }
.post-author b { color: var(--ink); }
.post-cover { max-width: 980px; margin-bottom: 36px; }
.post-cover img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius-l); border: 1px solid var(--line); }
.prose { font-size: 1.06rem; line-height: 1.95; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.45rem; margin-top: 1.9em; }
.prose h3 { font-size: 1.18rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent-ink); }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-ink-hover); }
.prose blockquote {
border-inline-start: 3px solid var(--accent-ink); padding: 6px 18px; color: var(--ink-soft);
background: var(--surface-2); border-radius: var(--radius-s);
}
.prose img { border-radius: var(--radius); height: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.post-cta {
margin-top: 48px; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-l);
background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
border-inline-start: 4px solid var(--accent-ink);
}
.post-cta h2 { font-size: 1.35rem; }
.post-cta p { margin-top: 10px; margin-bottom: 20px; color: var(--muted); }
.related { padding-top: clamp(48px, 7vw, 80px); }
.related-title { font-size: 1.4rem; margin-bottom: 22px; }
@media (max-width: 960px) {
.blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
.blog-grid { grid-template-columns: 1fr; gap: 18px; }
.prose { font-size: 1rem; line-height: 1.9; }
}
.read-progress {
position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 120; pointer-events: none;
background: var(--accent-ink); transform: scaleX(0); transform-origin: 0 50%; display: none;
}
html[dir="rtl"] .read-progress { transform-origin: 100% 50%; }
@supports (animation-timeline: scroll()) {
.read-progress { display: block; animation: m-progress linear both; animation-timeline: scroll(root block); }
}
@keyframes m-progress { to { transform: scaleX(1); } }
.post-preview-bar { margin: 16px 0 0; padding: 10px 16px; border-radius: 12px; background: #FCF1DD; color: #8A5300; font-weight: 700; font-size: .9rem; text-align: center; }
