/* Bài viết: nội dung thoáng, sidebar bám theo phần bài viết. */
.news-article { --news-border: #dce5ee; --news-tint: #f2f5f9; --news-orange: #c74305; padding: 0 0 2rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 27%); gap: clamp(1.5rem, 3.5vw, 3rem); align-items: stretch; padding-top: 1.4rem; }
.article-body { min-width: 0; }
.article-header h1 { margin: 0 0 .9rem; padding-left: 1rem; border-left: 5px solid #f16b13; color: var(--c-navy-dark); font-size: clamp(1.65rem, 2.65vw, 2.2rem); line-height: 1.16; text-wrap: pretty; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1rem; font-size: .82rem; }
.article-meta time, .article-meta > a { display: inline-flex; gap: .4rem; align-items: center; color: var(--c-navy-dark); text-decoration: none; }
.article-meta .icon { width: 16px; height: 16px; }
.article-share { display: flex; align-items: center; gap: .45rem; margin-left: auto; font-size: .8rem; font-weight: 700; }
.article-share a, .article-share button { display: grid; place-items: center; flex: none; width: 31px; height: 31px; border: 0; border-radius: 50%; background: #e9eff5; color: #123959; text-decoration: none; cursor: pointer; padding: 6px; }
.article-share a { background: #0866ff; color: white; font: 800 24px Arial, sans-serif; padding: 0; }
.article-share button:hover { background: #d6e2ee; }
.article-share .icon { width: 16px; height: 16px; }
.article-intro { margin: .8rem 0 .7rem; font-size: 1rem; line-height: 1.65; color: #152e43; }
.article-cover { margin: .9rem 0 1.1rem; }
.article-cover img { width: 100%; max-height: 345px; aspect-ratio: 2.8; object-fit: cover; border-radius: 9px; display: block; }
.article-cover figcaption { font-size: .75rem; text-align: right; color: #53667b; margin-top: .25rem; }
.article-content { counter-reset: article-section; font-size: 1rem; line-height: 1.8; color: #172e42; }
.article-content > h2 { display: flex; align-items: baseline; gap: .55rem; margin: 1.35rem 0 .55rem; font-size: clamp(1.2rem, 1.7vw, 1.5rem); color: var(--c-navy-dark); line-height: 1.3; scroll-margin-top: 100px; }
.article-content > h2::before { counter-increment: article-section; content: counter(article-section); display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 6px; background: #cf4808; color: white; font-size: .9rem; }
.article-content p { margin: 0 0 1rem; }
.article-content img { max-width: 100%; height: auto; border-radius: 7px; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; }
.article-content pre { max-width: 100%; overflow: auto; }
.article-content a { overflow-wrap: anywhere; }
.article-content ul, .article-content ol { padding-left: 1.5rem; }
.article-content blockquote { margin: 1rem 0; border-left: 3px solid #ec6715; padding: .8rem 1rem; background: #fff3e9; }
.article-foot { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.25rem; padding-top: .8rem; border-top: 1px solid #dce5ee; }
.article-tags { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; }
.article-tags a { border: 1px solid #dce5ee; padding: .15rem .5rem; border-radius: 18px; text-decoration: none; color: #173b58; }
.article-sidebar { min-width: 0; }
.article-sidebar__sticky { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h-compact, 60px) + 16px); max-height: calc(100dvh - var(--header-h-compact, 60px) - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 2px 3px 4px; scrollbar-width: thin; }
.article-toc ol { margin: 0; padding: .65rem; list-style: none; max-height: 30vh; overflow-y: auto; }
.article-toc li + li { border: 0; }
.article-toc a { display: flex; align-items: baseline; gap: .45rem; border-radius: 5px; padding: .45rem .6rem; font-size: .88rem; line-height: 1.4; font-weight: 650; }
.article-toc a > span { color: #c44405; }
.article-toc a[aria-current] { background: #ffead8; color: #0b2740; }
.article-consult { padding: 1rem; }
.article-consult h2 { padding: 0; background: transparent; }
.article-consult p { font-size: .9rem; line-height: 1.6; margin: .6rem 0 .8rem; }
.article-consult .newsroom-button, .article-zalo { width: 100%; }
.article-zalo { display: flex; justify-content: center; align-items: center; gap: .5rem; min-height: 40px; margin-top: .6rem; border: 1px solid #467eaf; border-radius: 22px; color: #123959; text-decoration: none; font-weight: 700; font-size: .9rem; }
.article-zalo .icon { width: 19px; height: 19px; }
.article-related { margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid #e0e7ee; }
.article-related > h2 { display: flex; align-items: center; gap: .6rem; color: var(--c-navy-dark); font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 0 0 1.1rem; }
.article-related > h2 .icon { width: 25px; height: 25px; color: #cf4808; }
.article-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.article-related__card { min-width: 0; border: 1px solid #dce5ee; border-radius: 12px; background: #fff; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.article-related__link { display: flex; flex-direction: column; height: 100%; color: var(--c-navy-dark); text-decoration: none; }
.article-related__image { display: block; overflow: hidden; aspect-ratio: 1.9; background: #edf2f7; }
.article-related__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.article-related__copy { display: flex; flex-direction: column; flex: 1; align-items: flex-start; padding: 1rem 1.1rem; }
.article-related__copy time { display: inline-flex; align-items: center; gap: .4rem; color: #53667b; font-size: .78rem; }
.article-related__copy time .icon { width: 14px; height: 14px; }
.article-related__copy h3 { margin: .55rem 0 1rem; color: inherit; font-size: 1.08rem; line-height: 1.45; text-wrap: pretty; }
.article-related__more { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; color: #b83a05; font-size: .84rem; font-weight: 700; }
.article-related__more .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.article-related__card:hover { border-color: #d69a72; box-shadow: 0 8px 24px rgb(11 39 64 / .09); }
.article-related__card:hover h3 { color: #b83a05; }
.article-related__card:hover img { transform: scale(1.035); }
.article-related__card:hover .article-related__more .icon { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
 .article-related__card, .article-related__image img, .article-related__more .icon { transition: none; }
 .article-related__card:hover img, .article-related__card:hover .article-related__more .icon { transform: none; }
}
.news-article :is(a, button):focus-visible { outline: 2px solid #0875b8; outline-offset: 3px; }
@media(max-width: 1023px) {
 .article-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 1.3rem; }
 .article-meta .article-share { margin-left: 0; }
}
@media(max-width: 767px) {
 .article-layout { grid-template-columns: minmax(0, 1fr); }
 .article-sidebar__sticky { position: static; max-height: none; overflow: visible; }
 .article-cover img { aspect-ratio: 1.8; }
 .article-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .article-meta { gap: .5rem .8rem; }
 .article-content > h2 { scroll-margin-top: 90px; }
}

@media(max-width: 599px) { .article-related__grid { grid-template-columns: minmax(0, 1fr); } }
