/* Blog jennie.yinyangmasters.com (EC-040) — chỉ dùng token của styles.css. Trang sinh bởi scripts/build_jennie_blog.py. */
.post-main { padding: clamp(1.5rem, 1rem + 2vw, 3rem) 0 var(--space-section); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.post-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
.post-meta { color: var(--muted); font-size: .95rem; }
.post-answer { padding: 18px 20px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: var(--radius-s); font-weight: 500; }
.post-hero { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-l); border: 1px solid var(--line); margin: 1.2rem 0 2rem; }
.post-body { overflow-wrap: anywhere; }
.post-body h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); margin-top: 1.8em; }
.post-body h3 { margin-top: 1.4em; }
.post-body img { margin: 1.5rem auto; border-radius: var(--radius-s); }
.post-body a { color: var(--accent); text-underline-offset: 3px; }
.post-body a:hover { color: var(--accent-hover); }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.post-body li { margin-bottom: .4em; }
.post-body blockquote { margin: 1.5rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--line); color: var(--muted); font-style: italic; }
.post-body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.post-body td, .post-body th { border: 1px solid var(--line); padding: 8px 10px; }
.post-box { margin-top: 2rem; padding: clamp(18px, 2.5vw, 26px); border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); }
.post-box h2 { font-size: 1.6rem; }
.post-box ul { margin: 0; padding-left: 1.2em; }
.post-box details { border-top: 1px solid var(--line); padding: 10px 0; }
.post-box summary { cursor: pointer; font-weight: 600; min-height: 32px; }
.post-box details p { margin: .6em 0 0; color: var(--muted); }
.post-note { margin-top: 2rem; font-size: .9rem; color: var(--muted); }
.post-home { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.post-home p { margin: 0; flex: 1 1 18rem; }
.related { margin-top: var(--space-section); }
.blog-index h1 { font-size: var(--text-h2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 .95rem var(--font-body); cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.blog-empty { padding: 20px; border: 1px dashed var(--line); border-radius: var(--radius-l); color: var(--muted); }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; transition: border-color var(--duration-fast) var(--ease-out), transform var(--duration-normal) var(--ease-out); }
.post-card a:hover { border-color: var(--ink); transform: translateY(-2px); }
.post-card img, .post-card-noimg { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface-2); display: block; }
.post-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.post-card-cat { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--sage); }
.post-card-title { font-size: 1.3rem; margin: 0; }
.post-card time { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.post-card[hidden] { display: none; }
