/* CSS bài viết và chuyên mục — giữ nguyên bản gốc. */
.single-post #main,.single-post .blog-single{background:#fff}
.single-post .blog-single{padding:24px 0 40px}
.single-post .blog-single>.row{margin:0 auto}
.single-post .blog-single>.row>.large-9{flex-basis:66.666667%;max-width:66.666667%;padding:0 30px 0 15px;border:0}
.single-post .blog-single>.row>.large-3{flex-basis:33.333333%;max-width:33.333333%;padding:0 15px 0 26px;border-left:1px solid #eee}
.single-post .article-inner{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.single-post .td-breadcrumb{padding:0}
.td-breadcrumb a{color:inherit}
.single-post .entry-header-text{padding:0;text-align:left}
.single-post .entry-category{display:none}
.single-post h1.entry-title{font-family:'Times New Roman',serif;font-size:36px;line-height:1.28;letter-spacing:-.4px;color:#222;margin:0 0 14px}
.single-post .entry-header .entry-divider{display:none}
.single-post .entry-header .entry-meta{font-size:13px;line-height:1.6;color:#777;text-transform:none;margin-bottom:16px;letter-spacing:0}
.single-post .td-reading-time{margin-left:6px;color:#777}
.single-post .td-lead{font-family:Arial,sans-serif;font-size:19px;line-height:1.6;color:#333;font-weight:400;margin:0 0 20px}
.single-post .td-lead strong{font-weight:400}
.single-post .entry-image{margin:0 0 20px;border-radius:0;overflow:visible}
.single-post .entry-image img{display:block;width:100%;height:auto;border-radius:0}
.single-post .entry-image .post-date{display:none}
.single-post .entry-content{padding:0;font-family:Arial,sans-serif;font-size:18px;line-height:1.65;color:#333}
.single-post .entry-content>p:first-child:has(>strong:only-child){background:none;border:0;padding:0;border-radius:0}
.single-post .entry-content p{margin:0 0 18px}
.single-post .entry-content h2{font-size:23px;line-height:1.4;margin:26px 0 12px;color:#222;scroll-margin-top:130px}
.single-post .entry-content h3{font-size:20px;line-height:1.4;margin:22px 0 10px;scroll-margin-top:130px}
.single-post .entry-content a{color:#9e1727;text-underline-offset:3px}
.single-post .entry-content img{border-radius:0}
.single-post .entry-content blockquote{background:none;border-left:2px solid #aaa;padding:0 0 0 18px;margin:20px 0}
.single-post .td-toc{padding:10px 0;margin:0 0 20px;border:0;border-top:1px solid #eee;border-bottom:1px solid #eee;background:none;border-radius:0}
.single-post .td-toc summary{font-size:14px;font-weight:400;color:#666;cursor:pointer}
.single-post .td-toc ol{margin:12px 0 0 20px}
.single-post .td-toc li{font-size:15px;line-height:1.5;margin-bottom:6px}
.single-post .td-toc a{text-decoration:none;color:#555}
.single-post #secondary{border:0}
.single-post #secondary .widget{padding:0;margin:0 0 24px;background:none;border:0;border-radius:0;box-shadow:none}
.single-post #secondary .widget_search,.single-post #secondary .widget:has(.no-comments){display:none}
.single-post #secondary .wp-block-heading,.single-post #secondary .widget-title{font-size:18px;line-height:1.4;color:#333;text-transform:none;padding:0 0 10px;margin:0 0 6px;border-bottom:1px solid #ddd;letter-spacing:0}
.single-post #secondary li{padding:12px 0;font-size:15px;line-height:1.5;border-bottom:1px solid #eee}
.single-post .td-consult{padding:16px 0;margin:24px 0;background:none;border:0;border-top:1px solid #ddd;border-bottom:1px solid #ddd;border-radius:0;color:#333}
.single-post .td-consult h2{font-size:18px;margin:0 0 8px;color:#333}
.single-post .td-consult p{font-size:15px;line-height:1.6;color:#666;margin:0 0 8px}
.single-post .td-consult a,.single-post .td-consult a.td-secondary{display:inline;background:none;border:0;border-radius:0;padding:0;color:#9e1727;font-size:15px;margin:0 18px 0 0;text-decoration:underline;font-weight:400}
.single-post .td-link-cards{display:block}
.single-post .td-link-cards a{display:block;border:0;border-bottom:1px solid #eee;border-radius:0;padding:10px 0;background:none;color:#333;font-size:16px;line-height:1.5;text-decoration:none}
.single-post .blog-share{padding:10px 0;text-align:left}
.single-post .article-inner>footer.entry-meta{padding:14px 0;background:none;text-align:left;border-top:1px solid #eee;line-height:1.7;font-size:13px}
.single-post .article-inner>footer a[rel=tag]{background:none;border-radius:0;padding:0;margin:0 3px}
.single-post .entry-author:has(.author-desc:empty){display:none}
.single-post .entry-author{margin:18px 0}
.single-post .navigation-post{padding:0;margin:18px 0}
.single-post #comments{border-top:1px solid #ddd;margin-top:20px}
.single-post .td-progress{position:fixed;bottom:0;left:0;height:2px;background:#c90000;z-index:9999;pointer-events:none;width:0}
@media(max-width:849px){.single-post .blog-single{padding:18px 0 30px}
.single-post .blog-single>.row>.large-9{flex-basis:100%;max-width:100%;padding:0 20px}
.single-post .blog-single>.row>.large-3{flex-basis:100%;max-width:100%;padding:20px;border:0;border-top:1px solid #eee}
.single-post h1.entry-title{font-size:32px}
.single-post .entry-header-text,.single-post .entry-content{padding:0}
.single-post .entry-image{margin:0 0 18px}
.single-post #secondary{margin-top:0}
.single-post .td-breadcrumb{padding:0}}
@media(max-width:549px){.single-post .blog-single>.row>.large-9{padding:0 16px}
.single-post .blog-single>.row>.large-3{padding:20px 16px}
.single-post h1.entry-title{font-size:29px;line-height:1.25;letter-spacing:-.2px}
.single-post .td-breadcrumb{font-size:12px;margin-bottom:12px}
.single-post .entry-header-text,.single-post .entry-content{padding:0}
.single-post .td-lead{font-size:18px;line-height:1.55}
.single-post .entry-content{font-size:18px;line-height:1.6}
.single-post .entry-content h2{font-size:22px}
.single-post .entry-image{margin:0 0 18px;border-radius:0}
.single-post .article-inner>footer.entry-meta{padding:14px 0}
.single-post .navigation-post{padding:0}
.single-post #comments{padding:20px 0}
.single-post .td-consult{padding:16px 0}
.single-post .td-consult h2{font-size:18px}}
.single-post .td-breadcrumb{display:flex;align-items:center;gap:9px;white-space:nowrap;font-family:Arial,sans-serif;font-size:13px;line-height:20px;margin:0 0 14px;color:#777}
.single-post .td-breadcrumb a{color:#666;text-decoration:none}
.single-post .td-breadcrumb a:last-child{color:#444;font-weight:500;overflow:hidden;text-overflow:ellipsis}
.single-post .td-breadcrumb .td-crumb-sep{color:#aaa;font-size:16px;flex:none}
@media(max-width:549px){.single-post .td-breadcrumb{font-size:12px;gap:8px;margin-bottom:12px}}
@media(min-width:850px){.single-post .blog-single>.row{align-items:stretch}
.single-post .post-sidebar{align-self:stretch}
.single-post #secondary{position:sticky;top:86px;max-height:calc(100dvh - 102px);overflow-y:auto;scrollbar-width:thin}
.single-post.admin-bar #secondary{top:118px;max-height:calc(100dvh - 134px)}}
@media(max-width:849px){.single-post #secondary{position:static;top:auto;max-height:none;overflow:visible}}
.single-post .td-related-box{border:1px solid #e2e8f0;border-radius:8px;padding:18px;background:#fff;margin:24px 0;font-family:Arial,sans-serif}
.single-post .td-related-box>h2{font-size:21px;line-height:1.4;margin:0 0 4px;color:#222}
.single-post .td-related-item{display:flex;flex-direction:row;align-items:center;gap:18px;padding:16px 0;border-bottom:1px solid #edf2f7}
.single-post .td-related-item:last-child{border-bottom:0;padding-bottom:0}
.single-post .td-related-image{flex:0 0 180px;width:180px;height:120px;display:block;overflow:hidden;border-radius:5px;background:#f8fafc}
.single-post .td-related-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.single-post .td-related-image:hover img{transform:scale(1.05)}
.single-post .td-related-copy{flex:1;min-width:0}
.single-post .td-related-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:17px;font-weight:600;line-height:1.45;text-decoration:none;color:#222;transition:color .2s}
.single-post .td-related-title:hover{color:#c10000}
.single-post .td-related-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:1.55;color:#85909c;margin:7px 0}
.single-post .td-related-meta{display:flex;align-items:center;gap:5px;color:#89929d;font-size:12px;line-height:1.5;text-decoration:none}
.single-post .td-related-meta svg{width:14px;height:14px;flex:none}
.single-post .td-related-fallback img{object-fit:contain;padding:12px;background:#c10000}
@media(max-width:549px){.single-post .td-related-box{padding:14px}
.single-post .td-related-item{gap:12px;padding:14px 0}
.single-post .td-related-image{flex-basis:100px;width:100px;height:80px}
.single-post .td-related-title{font-size:15px}
.single-post .td-related-excerpt{font-size:13px;margin:5px 0}
.single-post .td-related-box>h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){.single-post .td-related-image img{transition:none}}
.single-post #comments{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:24px 0;font-family:Arial,sans-serif;color:#334155;scroll-margin-top:130px}
.single-post #comments .comments-title,.single-post #comments .comment-reply-title{font-size:22px;font-weight:600;line-height:1.4;margin:0 0 18px;padding:0 0 13px;border-bottom:1px solid #e2e8f0;color:#222}
.single-post #comments .comment-list{list-style:none;margin:0 0 24px;padding:0}
.single-post #comments .comment-list li{list-style:none;margin:0 0 14px;padding:0;border:0}
.single-post #comments .comment-list .children{list-style:none;margin:14px 0 0 24px;padding:0}
.single-post #comments .comment-body{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:18px;box-shadow:0 2px 6px rgba(15,23,42,.035);overflow-wrap:anywhere}
.single-post #comments .comment-author,.single-post #comments .comment-author .fn{font-weight:700;font-style:normal;color:#263244}
.single-post #comments .avatar{border-radius:50%;width:40px;height:40px;margin-right:12px}
.single-post #comments .comment-meta,.single-post #comments .comment-metadata,.single-post #comments .comment-meta a,.single-post #comments .comment-metadata a{font-size:12px;color:#8793a2;line-height:1.5}
.single-post #comments .comment-content,.single-post #comments .comment-text{font-size:15px;line-height:1.5;margin-top:12px}
.single-post #comments .comment-content p,.single-post #comments .comment-text p{margin:0 0 10px}
.single-post #comments .comment-reply-link{display:inline-block;padding:5px 11px;border-radius:5px;background:#eef5fc;color:#0066cc;font-size:12px;font-weight:600;text-decoration:none;line-height:1.5;transition:background .2s,color .2s}
.single-post #comments .comment-reply-link:hover{background:#0066cc;color:#fff}
.single-post #comments #respond{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:0}
.single-post #comments #commentform{margin:0;padding:0;background:transparent;border:0;box-shadow:none}
.single-post #comments #commentform p{margin:0 0 16px}
.single-post #comments #commentform .logged-in-as,.single-post #comments .comment-notes{font-size:13px;line-height:1.6;color:#748091}
.single-post #comments #commentform label{font-size:14px;font-weight:600;line-height:1.5;margin-bottom:7px;color:#475569}
.single-post #comments #commentform textarea,.single-post #comments #commentform input:not([type=submit]):not([type=checkbox]):not([type=hidden]){width:100%;max-width:100%;border:1px solid #e2e8f0;border-radius:6px;background:#fff;box-shadow:none;padding:11px 13px;font-family:inherit;font-size:16px;line-height:1.5;color:#334155;transition:border-color .2s;margin:0}
.single-post #comments #commentform textarea{min-height:150px;resize:vertical}
.single-post #comments #commentform input:not([type=submit]):not([type=checkbox]):not([type=hidden]){height:46px}
.single-post #comments #commentform textarea:focus,.single-post #comments #commentform input:not([type=submit]):not([type=checkbox]):not([type=hidden]):focus{outline:none;border-color:#93c5fd;box-shadow:none}
.single-post #comments #commentform .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:8px}
.single-post #comments #commentform .comment-form-cookies-consent input{flex:none;margin:4px 0 0}
.single-post #comments #commentform .comment-form-cookies-consent label{font-size:13px;font-weight:400;margin:0}
.single-post #comments #commentform .form-submit{margin:0}
.single-post #comments #submit{background:#0066cc;color:#fff;border:1px solid #0066cc;border-radius:6px;padding:11px 22px;min-height:46px;font-size:15px;font-weight:700;line-height:1.5;text-transform:none;letter-spacing:0;box-shadow:none;margin:0;cursor:pointer;transition:background .2s,border-color .2s}
.single-post #comments #submit:hover{background:#0052a3;border-color:#0052a3}
.single-post #comments a:focus-visible,.single-post #comments #submit:focus-visible{outline:2px solid #0066cc;outline-offset:3px}
.single-post #comments #cancel-comment-reply-link{font-size:13px;font-weight:400;color:#0066cc;margin-left:8px}
.single-post #comments .comment-list #respond{margin-top:14px}
@media(max-width:549px){.single-post #comments{padding:0}
.single-post #comments #respond{padding:0}
.single-post #comments .comments-title,.single-post #comments .comment-reply-title{font-size:20px}
.single-post #comments .comment-body{padding:14px}
.single-post #comments .comment-list .children{margin-left:12px}
.single-post #comments #submit{width:100%}}
body.single-post{background:#f4f6f8;background-image:none}
.single-post #wrapper{background:transparent;overflow:visible}
.single-post #main{width:calc(100% - 32px);max-width:1200px;margin:24px auto;background:#fff;border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,.05)}
.single-post .blog-single{background:transparent}
.single-post .blog-single>.row{max-width:1120px}
.single-post #footer{background:#fff}
@media(max-width:849px){.single-post #main{width:100%;margin:0 auto;border-radius:0;box-shadow:none}}
body.category{background:#f4f6f8}
.category #wrapper{background:transparent}
.category #main{max-width:1200px;width:calc(100% - 32px);margin:24px auto;background:#fff;border-radius:8px;box-shadow:0 4px 20px rgba(0,0,0,.05)}
.category .blog-archive{padding:26px 24px 32px}
.category .blog-archive>.row,.category .archive-page-header .row{max-width:100%;margin:0}
.category .archive-page-header .col{text-align:left;padding:0}
.category .archive-page-header{margin:0 0 24px;padding:0 0 20px;border-bottom:1px solid #e2e8f0}
.category .page-title{font-size:30px;text-transform:none;letter-spacing:0;margin:8px 0 10px;color:#222}
.category .td-archive-breadcrumb{font-size:12px;color:#777;margin-bottom:8px}
.category .td-archive-breadcrumb a{color:inherit}
.category .blog-archive>.row>.large-9{flex-basis:66.666667%;max-width:66.666667%;padding:0 26px 0 0;border:0}
.category .blog-archive>.row>.large-3{flex-basis:33.333333%;max-width:33.333333%;padding:0 0 0 24px;border-left:1px solid #edf2f7}
.category #post-list article{margin:0;padding:20px 0;border-bottom:1px solid #edf2f7}
.category #post-list article:first-child{padding-top:0}
.category #post-list .article-inner{display:grid;grid-template-columns:220px minmax(0,1fr);column-gap:20px;background:none;box-shadow:none;border:0;border-radius:0}
.category #post-list .entry-header{display:contents}
.category #post-list .entry-image{grid-column:1;grid-row:1 / span 2;margin:0;align-self:start;overflow:hidden;border-radius:4px}
.category #post-list .entry-image img{width:220px;height:147px;object-fit:cover;display:block;transition:transform .2s}
.category #post-list .entry-image:hover img{transform:scale(1.03)}
.category #post-list .entry-header-text{grid-column:2;grid-row:1;text-align:left;padding:0}
.category #post-list .entry-title{font-size:21px;line-height:1.4;margin:0 0 9px;font-weight:600;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.category #post-list .entry-title a{color:#222}
.category #post-list .entry-title a:hover{color:#c10000}
.category #post-list .entry-meta{font-size:12px;color:#89929d;text-transform:none;letter-spacing:0;margin-bottom:8px}
.category #post-list .entry-meta a{color:inherit}
.category #post-list .entry-content{grid-column:2;grid-row:2;padding:0}
.category #post-list .entry-summary p{font-size:14px;color:#748091;line-height:1.6;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.category #post-list .entry-category,.category #post-list .entry-divider,.category #post-list .byline,.category #post-list .post-date,.category #post-list footer.entry-meta,.category #post-list .more-link{display:none}
.category #secondary .widget{background:none;border:0;box-shadow:none;padding:0;margin-bottom:24px}
.category #secondary .widget_search,.category #secondary .widget:has(.no-comments){display:none}
.category #secondary .wp-block-heading{font-size:18px;text-transform:none;color:#333;border-bottom:1px solid #ddd;padding-bottom:10px;margin-bottom:8px}
.category #secondary li{font-size:14px;line-height:1.5;padding:12px 0;border-bottom:1px solid #edf2f7}
.category .page-numbers{margin-top:24px}
.category .page-numbers a,.category .page-numbers span{border-radius:4px}
.category #secondary{position:sticky;top:86px;max-height:calc(100dvh - 102px);overflow-y:auto}
.category.admin-bar #secondary{top:118px}
.category .blog-archive>.row{align-items:stretch}
.category .post-sidebar{align-self:stretch}
@media(max-width:849px){.category #main{width:100%;margin:0;border-radius:0;box-shadow:none}
.category .blog-archive{padding:20px}
.category .blog-archive>.row>.large-9,.category .blog-archive>.row>.large-3{flex-basis:100%;max-width:100%;padding:0;border:0}
.category .blog-archive>.row>.large-3{padding-top:24px}
.category #secondary{position:static;max-height:none;overflow:visible}}
@media(max-width:549px){.category .blog-archive{padding:18px 16px}
.category .page-title{font-size:26px}
.category #post-list .article-inner{grid-template-columns:110px minmax(0,1fr);gap:0 12px}
.category #post-list .entry-image img{width:110px;height:83px}
.category #post-list .entry-title{font-size:16px;line-height:1.4}
.category #post-list .entry-summary p{font-size:13px;line-height:1.5}
.category #post-list article{padding:16px 0}}
.category .td-category-nav ul{list-style:none;margin:0}
.category .td-category-nav li{margin:0}
.category .td-category-nav a{color:#475569;display:block}
.category .td-category-nav a:hover,.category .td-category-nav a[aria-current=page]{color:#c10000}
.category .td-category-nav a[aria-current=page]{font-weight:600}
.category .td-category-consult p{font-size:14px;line-height:1.6;color:#748091;margin-bottom:12px}
.category .td-category-consult>a{display:block;font-size:14px;color:#9e1727;margin:8px 0}
.category .td-category-nav li>a{display:flex;align-items:center;gap:12px;min-height:44px}
.category .td-category-thumb{width:44px;height:44px;flex:0 0 44px;border-radius:6px;display:block;margin:0}
.category #secondary .td-category-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}
.category #secondary .td-category-nav li{padding:5px 0;margin:0;border:0}
.category #secondary .td-category-nav li>a{gap:7px;min-height:36px;font-size:12px;line-height:1.35}
.category #secondary .td-category-thumb{width:28px;height:28px;flex:0 0 28px;border-radius:4px}
.category #secondary .td-category-nav .wp-block-heading{margin-bottom:8px;padding-bottom:8px}
.category #secondary .td-category-nav{margin-bottom:18px}
@media(max-width:849px){.category #secondary .td-category-nav li>a{font-size:13px;min-height:40px}
.category #secondary .td-category-nav ul{gap:4px 12px}}
.single-post #secondary .td-category-nav ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px;list-style:none;margin:0}
.single-post #secondary .td-category-nav li{padding:5px 0;margin:0;border:0}
.single-post #secondary .td-category-nav li>a{display:flex;align-items:center;gap:7px;min-height:36px;font-size:12px;line-height:1.35;color:#475569}
.single-post #secondary .td-category-thumb{width:28px;height:28px;flex:0 0 28px;margin:0}
.single-post #secondary .td-category-nav a[aria-current=page],.single-post #secondary .td-category-nav a:hover{color:#c10000}
.td-image-placeholder{display:flex;align-items:center;justify-content:center;height:100%;background:#f4f6f8;color:#c10000;font-size:14px;font-weight:600}
.single-post .entry-content .td-related-box>h2{font-size:21px;margin:0 0 4px}
.single-post .entry-content .td-related-excerpt{font-size:14px;line-height:1.55;margin:7px 0;color:#85909c}
.single-post .entry-content .td-related-title{color:#222}
.single-post .entry-content .td-related-title:hover{color:#c10000}
#secondary>.widget{flex-shrink:0}
.single-post .blog-share,.single-post .article-inner>footer.entry-meta,.single-post .navigation-post{display:none}
.single-post #secondary>.widget,.category #secondary>.widget{flex-shrink:0}
@media(max-width:849px){.single-post #secondary .td-category-nav li>a{font-size:13px;min-height:40px}}
.single-post .entry-content table{display:block;max-width:100%;overflow-x:auto;font-size:15px}.single-post #secondary .td-category-thumb{border-radius:4px}
body.single-post #secondary,body.category #secondary{display:flex;flex-direction:column}#secondary .td-popular-posts{order:-1}#secondary .td-popular-posts ul{list-style:none;margin:0;padding:0}#secondary .td-popular-posts li{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #edf2f7;margin:0}#secondary .td-popular-photo{flex:0 0 88px;width:88px;height:66px;overflow:hidden;border-radius:3px}#secondary .td-popular-photo img{width:88px;height:66px;object-fit:cover;display:block}#secondary .td-popular-title{flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:1.45;color:#333;font-weight:500}#secondary .td-popular-title:hover{color:#c10000}#secondary .td-popular-placeholder{display:flex;align-items:center;justify-content:center;width:88px;height:66px;background:#f4f6f8;color:#c10000;font-weight:700}
