/* News: /tin-tuc, categories and articles. Mobile first; the sidebar goes to the left from 992px. */
.news-hero { text-align: left; padding: 26px 0 22px; }
.news-hero h1 { margin: .2em 0 .25em; }
.news-hero p { margin: 0; max-width: 46em; }
.news-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 6px; padding: 0; font-size: .8rem; }
.news-crumbs li + li::before { content: "›"; margin-right: 4px; opacity: .6; }
.news-crumbs a { color: inherit; opacity: .85; text-decoration: none; }
.news-crumbs a:hover { opacity: 1; text-decoration: underline; }
.news-cats { display: flex; gap: 8px; overflow-x: auto; margin-top: 14px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.news-cats a { flex: none; padding: .35em .95em; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; font-size: .86rem; white-space: nowrap; }
.news-cats a:hover, .news-cats a.active { background: var(--bm-gold); border-color: var(--bm-gold); color: #24170b; }

.news-layout { display: grid; gap: 24px; padding-top: 22px; padding-bottom: 40px; }
.news-main, .news-article { min-width: 0; }
.news-side { order: 2; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 992px) {
  .news-layout { grid-template-columns: 290px minmax(0, 1fr); gap: 32px; padding-top: 28px; }
  .news-side { order: 0; position: sticky; top: calc(var(--header-h) + 16px); align-self: start; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; }
}

/* sidebar */
.nside-box { background: var(--bm-surface); border-radius: var(--bm-radius); box-shadow: var(--bm-shadow); padding: 16px; }
.nside-title { font-family: var(--bm-font-heading); text-transform: uppercase; letter-spacing: .04em; font-size: .95rem; color: var(--bm-primary); margin-bottom: 10px; }
.nside-contact { background: linear-gradient(140deg, var(--bm-primary), #3a1016); color: #ead9c6; }
.nside-contact .nside-title { color: var(--bm-gold); }
.nside-hotline { display: flex; align-items: center; gap: 8px; font-size: 1.45rem; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .02em; }
.nside-hotline .ico { width: 1.1em; height: 1.1em; color: var(--bm-gold); }
.nside-note { font-size: .84rem; margin: 6px 0 12px; opacity: .9; }
.nside-actions { display: grid; gap: 8px; }
.nside-actions .btn { width: 100%; min-height: 42px; }
.nside-contact .btn-primary { background: var(--bm-gold); color: #24170b; box-shadow: none; }
.nside-dishes, .nside-latest { list-style: none; margin: 0; padding: 0; }
.nside-dishes li + li, .nside-latest li + li { border-top: 1px solid var(--bm-line); }
.nside-dishes a { display: flex; gap: 10px; align-items: center; padding: 8px 0; color: inherit; text-decoration: none; }
.nside-dishes img, .nside-thumb { flex: none; width: 64px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--bm-gold-soft); display: inline-grid; place-items: center; color: var(--bm-primary); }
.nside-dishes strong { display: block; font-size: .9rem; line-height: 1.3; }
.nside-dishes small { color: var(--bm-primary); font-weight: 700; }
.nside-dishes a:hover strong { color: var(--bm-primary); }
.nside-latest li { padding: 8px 0; }
.nside-latest a { display: block; color: var(--bm-charcoal); text-decoration: none; font-weight: 600; font-size: .9rem; line-height: 1.35; }
.nside-latest a:hover { color: var(--bm-primary); }
.nside-latest time { font-size: .75rem; color: var(--bm-gray); }

/* cards */
.news-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .news-main .news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ncard { display: flex; flex-direction: column; background: var(--bm-surface); border-radius: var(--bm-radius); box-shadow: var(--bm-shadow); overflow: hidden; transition: transform .15s ease, box-shadow .2s ease; }
.ncard:hover { transform: translateY(-2px); box-shadow: var(--bm-shadow-lg); }
.ncard-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bm-ivory); overflow: hidden; }
.ncard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ncard-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--bm-gold) 35%, transparent), transparent 55%), linear-gradient(140deg, var(--bm-primary), #3a1016); color: var(--bm-gold); }
.ncard-ph svg { width: 34%; max-width: 110px; height: auto; opacity: .9; }
.ncard-ph small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #ead9c6; padding: 0 10px; text-align: center; }
.ncard-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; font-size: 1rem; padding-left: 3px; }
.ncard-badge { position: absolute; left: 10px; top: 10px; padding: .2em .65em; border-radius: 999px; background: var(--bm-gold); color: #24170b; font-weight: 700; font-size: .74rem; }
.ncard-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.ncard-cat { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bm-gold); text-decoration: none; }
.ncard-title { font-family: var(--bm-font-body); text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 700; line-height: 1.35; margin: 0; }
.ncard-title a { color: var(--bm-charcoal); text-decoration: none; }
.ncard-title a:hover { color: var(--bm-primary); }
.ncard-excerpt { margin: 0; font-size: .86rem; color: #555; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard-meta { margin-top: auto; font-size: .76rem; color: var(--bm-gray); display: flex; gap: 10px; }
.ncard-meta .ico { width: 1em; height: 1em; vertical-align: -.12em; }
.ncard-sm .ncard-title { font-size: .92rem; }
.news-hero-card { margin-bottom: 26px; }
.news-hero-card .ncard-lg { display: grid; }
.ncard-lg .ncard-title { font-family: var(--bm-font-heading); text-transform: var(--bm-heading-transform); font-size: clamp(1.2rem, 3.4vw, 1.7rem); letter-spacing: .01em; }
.ncard-lg .ncard-excerpt { font-size: .95rem; -webkit-line-clamp: 4; }
@media (min-width: 768px) { .news-hero-card .ncard-lg { grid-template-columns: 1.25fr 1fr; } .ncard-lg .ncard-media { aspect-ratio: auto; min-height: 260px; } .ncard-lg .ncard-body { padding: 22px; justify-content: center; } }

.news-group { margin-bottom: 30px; }
.news-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--bm-line); margin-bottom: 12px; padding-bottom: 6px; }
.news-group-head h2 { margin: 0; font-size: calc(clamp(1.15rem, 3vw, 1.45rem) * var(--bm-heading-scale)); position: relative; }
.news-group-head h2::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 56px; height: 2px; background: var(--bm-primary); }
.news-group-head h2 a { color: inherit; text-decoration: none; }
.news-more { font-size: .85rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.news-group-desc { color: var(--bm-gray); font-size: .88rem; margin: 0 0 12px; }

/* article */
.news-article { background: var(--bm-surface); border-radius: var(--bm-radius); box-shadow: var(--bm-shadow); padding: 18px 16px 24px; }
@media (min-width: 768px) { .news-article { padding: 28px 36px 36px; } }
.article-head .news-crumbs ol { color: var(--bm-gray); }
.article-head h1 { font-size: calc(clamp(1.5rem, 5vw, 2.3rem) * var(--bm-heading-scale)); line-height: 1.2; margin: .25em 0 .35em; }
.article-lead { font-size: 1.08rem; font-weight: 500; color: #3d3d3d; margin: 0 0 .8em; line-height: 1.6; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: var(--bm-gray); padding-bottom: 14px; border-bottom: 1px solid var(--bm-line); margin-bottom: 18px; }
.article-cover { margin: 0 0 18px; }
.article-cover img { width: 100%; height: auto; border-radius: var(--bm-radius-sm); display: block; }
.article-program { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 16px; border-radius: var(--bm-radius-sm); background: var(--bm-gold-soft); border: 1px solid color-mix(in srgb, var(--bm-gold) 40%, transparent); margin-bottom: 18px; }
.article-program dl { margin: 0; display: grid; gap: 4px; }
.article-program dl div { display: flex; flex-wrap: wrap; gap: 6px; }
.article-program dt { font-weight: 700; }
.article-program dd { margin: 0; }
.article-program .ico { width: 1em; height: 1em; vertical-align: -.12em; color: var(--bm-primary); }
.ap-state { padding: .3em .85em; border-radius: 999px; background: var(--bm-primary); color: #fff; font-weight: 700; font-size: .82rem; }
.article-program-past .ap-state { background: var(--bm-gray); }
.article-video, .article-body iframe { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--bm-radius-sm); overflow: hidden; margin: 0 0 18px; background: #000; display: block; }
.article-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-toc { border: 1px solid var(--bm-line); border-radius: var(--bm-radius-sm); padding: 12px 16px; margin-bottom: 18px; background: var(--bm-ivory); }
.article-toc-title { font-weight: 700; margin-bottom: 6px; }
.article-toc ol { margin: 0; padding-left: 1.2rem; }
.article-toc li.lv3 { margin-left: 1rem; list-style: circle; }
.article-toc a { text-decoration: none; }
.article-body { font-size: 1.04rem; line-height: 1.8; overflow-wrap: anywhere; }
.article-body h2, .article-body h3 { scroll-margin-top: calc(var(--header-h) + 16px); font-family: var(--bm-font-body); text-transform: none; letter-spacing: 0; font-weight: 700; }
.article-body img { max-width: 100%; height: auto; border-radius: var(--bm-radius-sm); }
.article-body figure { margin: 1.2em 0; }
.article-body figcaption { font-size: .85rem; color: var(--bm-gray); text-align: center; margin-top: 6px; }
.article-body table { display: block; width: max-content; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; margin: 0 0 1.2em; font-size: .95rem; line-height: 1.5; }
.article-body th, .article-body td { border: 1px solid var(--bm-line, #e8e1dc); padding: 8px 12px; text-align: left; vertical-align: top; min-width: 90px; overflow-wrap: normal; word-break: keep-all; }
.article-body thead th { background: var(--bm-ivory, #f7f2ee); font-weight: 700; }
.article-body tbody tr:nth-child(even) td { background: #fcfaf8; }
.article-body pre { overflow-x: auto; background: var(--bm-ivory); padding: 12px; border-radius: 10px; }
.article-body .ta-center { text-align: center; } .article-body .ta-right { text-align: right; } .article-body .ta-justify { text-align: justify; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--bm-line); font-size: .9rem; }
.article-share a, .link-btn { font-weight: 600; color: var(--bm-primary); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.article-related { margin-top: 30px; }
.article-related h2 { font-size: 1.25rem; }
@media (min-width: 1200px) { .news-article .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* home strip */
.home-news .news-grid { margin-bottom: 8px; }
@media (min-width: 992px) { .home-news .news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
