/* Bài viết & chuyên mục blog — bổ sung cho partial.css, giữ đúng tông Minavi (đỏ #cb1930, xanh link #0079ed). */
.minavi-blog nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.minavi-blog article.post-article { background: none; border: 0; max-width: 900px; margin: 0 auto; }
.minavi-blog .crumb a { color: #666; }
.minavi-blog .post-meta { text-align: center; color: #666; font-size: .95rem; margin: -1rem 0 1.5rem; }
.minavi-blog .post-cover { margin: 0 0 2rem; text-align: center; }
.minavi-blog .post-cover img { max-width: 100%; height: auto; max-height: 460px; object-fit: contain; }

.post-content { font-size: 17px; line-height: 1.7; color: #333; }
.post-content > p:first-child { font-size: 18px; }
.post-content h2 { color: #cb1930; font-size: 1.35rem; text-transform: uppercase; margin: 2.2rem 0 .9rem; padding-left: 12px; border-left: 4px solid #cb1930; line-height: 1.35; }
.post-content h3 { color: #24269c; font-size: 1.12rem; margin: 1.6rem 0 .6rem; }
.post-content p, .post-content ul, .post-content ol { margin: 0 0 1rem; }
.post-content ul, .post-content ol { padding-left: 1.4rem; }
.post-content li { margin-bottom: .35rem; }
.post-content strong { color: #222; }
.post-content img { max-width: 100%; height: auto; }
.post-content figure { margin: 1.5rem 0; text-align: center; }
.post-content figcaption { color: #666; font-size: .9rem; margin-top: .4rem; }
.post-content blockquote { margin: 1.5rem 0; padding: .8rem 1.2rem; background: #f6f6f6; border-left: 4px solid #bd0c20; }

.post-content table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; }
.post-content th { background: #bd0c20; color: #fff; text-align: left; font-weight: bold; }
.post-content th, .post-content td { padding: 10px 12px; border: 1px solid #ddd; vertical-align: top; }
.post-content tbody tr:nth-child(even) td { background: #f7f7f7; }

.post-related { max-width: 900px; margin: 3rem auto 0; }
.post-related ul { padding-left: 1.2rem; }
.post-related li { margin-bottom: .5rem; }

.post-list { display: grid; gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.post-item { display: grid; grid-template-columns: 240px 1fr; gap: 1.25rem; background: #eee; border: 4px solid #eee; }
.post-item > div { padding: 8px 8px 8px 0; }
.post-item-thumb { background: #fff; display: grid; place-items: center; }
.post-item-thumb img { width: 100%; height: auto; display: block; }
.post-item .post-meta { text-align: left; margin: .3rem 0; }
.minavi-blog .pagination { text-align: center; margin-top: 2rem; }
.minavi-blog .page-numbers { padding: 4px 10px; }

@media (max-width: 700px) {
  .post-content { font-size: 16px; }
  .post-content h2 { font-size: 1.15rem; }
  .post-item { grid-template-columns: 1fr; }
  .post-item > div { padding: 8px; }
}

/* Trang Tin tức (bản lưu) — khối "Bài viết mới" chèn từ WordPress */
.minavi-latest { margin: 0 0 2rem; }
.minavi-latest .post-list { margin-bottom: 2.5rem; }
.minavi-latest .post-item h3 a { color: #24269c; }
.post-item:not(:has(.post-item-thumb)) { grid-template-columns: 1fr; }
.post-item:not(:has(.post-item-thumb)) > div { padding: 8px 12px; }
.minavi-blog .post-item h3 { font-size: clamp(15px, 1.1vw, 20px); line-height: 1.4; }
.minavi-blog .post-item p { font-size: 15px; }
