/* Wistorix · định dạng thân bài blog (17/09/2026)
   tools/dung-bai-blog.js gắn file này vào trang bài dựng bằng script.
   Template Webflow đặt a{letter-spacing:.12em;color:inherit;text-decoration:none} cho mọi link,
   nên link trong bài giãn chữ và trông như chữ thường. Ảnh trong bài có width và height để trang
   không nhảy khi tải, cần height:auto để ảnh không bị méo trên điện thoại. */
.w-richtext a{letter-spacing:inherit;color:#0052CD;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em}
.w-richtext a:hover{text-decoration-thickness:2px}
.w-richtext figure.w-richtext-figure-type-image{display:block;width:100%;max-width:100%;margin:2rem auto}
.w-richtext figure.w-richtext-figure-type-image>div{display:block}
.w-richtext figure.w-richtext-figure-type-image img{width:100%;height:auto;border-radius:12px}
.w-richtext figure.w-richtext-figure-type-image>figcaption{display:block;margin-top:.625rem;font-size:.875rem;line-height:1.5;color:#585858;text-align:center}
.w-richtext h3{margin:.25rem 0 0;font-size:1.25rem;line-height:1.4;font-weight:700}
.w-richtext blockquote{margin:0;padding:.25rem 0 .25rem 1.25rem;border-left:3px solid #0052CD;font-size:inherit;line-height:inherit}
.w-richtext ol{padding-left:1.25rem}
/* Breadcrumb đầu bài, trỏ về /blog và trang danh mục (26/09/2026) */
.wx-crumb{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;font-size:.9375rem;line-height:1.4;color:#585858}
.wx-crumb a{letter-spacing:normal;color:#0052CD;text-decoration:none}
.wx-crumb a:hover{text-decoration:underline}
/* Mục lục đầu bài */
.w-richtext ol li a[href^="#"]{text-decoration:none}
.w-richtext ol li a[href^="#"]:hover{text-decoration:underline}

/* Bảng trong thân bài (29/09/2026): viền mảnh, hàng tiêu đề nền nhạt, cuộn ngang trên điện thoại */
.w-richtext table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:0 0 1.5rem;font-size:1rem;line-height:1.5}
.w-richtext th,.w-richtext td{border:1px solid #d9e1ee;padding:.65rem .9rem;text-align:left;vertical-align:top;white-space:nowrap}
.w-richtext thead th{background:#eef3fb;color:#041335;font-weight:700}
.w-richtext tbody tr:nth-child(even) td{background:#f8fafd}
