/* Website 2 (/tin, /hoi-dap): chỉ phần thêm cho bài viết; màu, chữ, khung lấy từ luat.css. */
article > .sub { margin-bottom: 1.5rem; }
.posts { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.posts li { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.posts li > a { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; text-decoration: none; }
.posts li > a:hover { text-decoration: underline; }
.posts .sub { display: block; margin-top: 0.25rem; }
.post img, .cover img { max-width: 100%; height: auto; border-radius: 8px; }
.post figure, .cover { margin: 1.25rem 0; }
.post figcaption { margin-top: 0.35rem; font-size: 0.85rem; color: var(--muted); }
.post ul, .post ol { padding-left: 1.25rem; margin: 0 0 0.75rem; }
.post li { margin: 0.3rem 0; }
.post h2:first-child { margin-top: 0; }
.post blockquote { margin: 1rem 0; padding: 0.6rem 1rem; border-left: 3px solid var(--accent); background: var(--wash); }
.post blockquote p:last-child { margin-bottom: 0; }

/* Trang 404: chép từ khối <style> của public/404.html (CSP website 2 không cho style nội tuyến). */
body.notfound { display: flex; flex-direction: column; min-height: 100vh; background: var(--paper); }
.notfound header.site { width: 100%; max-width: 68rem; }
.notfound main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2rem 3.5rem; width: 100%; max-width: 68rem; margin: 0 auto; padding: 1.5rem 16px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.notfound-art { width: 100%; max-width: 30rem; height: auto; justify-self: center; }
.notfound h1 { margin: 0 0 1rem; font-family: var(--font-sans); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; line-height: 1.1; }
.notfound-text { margin: 0 0 2rem; font-size: 1.15rem; line-height: 1.6; color: var(--muted); }
.notfound-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.notfound-actions .button { padding: 0.8rem 1.5rem; font-size: 1.05rem; }
.notfound-actions .link { font-weight: 600; text-decoration: none; }
.notfound-actions .link:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .notfound main { grid-template-columns: 1fr; margin: 0 auto; padding: 1rem 16px 2rem; text-align: center; }
  .notfound-art { max-width: 18rem; }
  .notfound-actions { justify-content: center; }
}
