/* news.css — Mục Tin tức Trạm Công Dân Số (hub + article) */
.news-page .hero-band--inner { min-height: auto; padding-bottom: 8px; }
.news-hub-hero, .news-article-hero { padding: 28px 0 8px; }
.news-hub-hero h1, .news-article-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif; color: #0f2740; line-height: 1.22;
  font-size: clamp(24px, 3.2vw, 38px); margin: 10px 0 8px; max-width: 900px; }
.news-hub-hero p { color: #47617d; font-size: 16px; max-width: 720px; }
.news-breadcrumb { font-size: 13px; color: #6b7f96; font-weight: 600; }
.news-breadcrumb a { color: #0077fa; text-decoration: none; }
.news-breadcrumb span { margin: 0 6px; opacity: .6; }
.news-meta { color: #6b7f96; font-size: 14px; font-weight: 600; margin-top: 6px; }

/* Category chip */
.news-cat { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: #fff; background: var(--cat, #0077fa);
  padding: 4px 11px; border-radius: 999px; }

/* Hub grid */
.news-main { padding: 24px 0 60px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6edf5;
  border-radius: 16px; overflow: hidden; text-decoration: none; transition: box-shadow .25s, transform .25s;
  box-shadow: 0 6px 18px rgba(15,23,42,.05); }
.news-card:hover { box-shadow: 0 14px 34px rgba(15,23,42,.12); transform: translateY(-3px); }
.news-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: #eef2f7; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.news-card-body h3 { font-family: 'Plus Jakarta Sans', sans-serif; color: #0f2740; font-size: 17px;
  line-height: 1.35; margin: 2px 0 0; }
.news-card-body p { color: #55697f; font-size: 13.5px; line-height: 1.55; margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card-meta { color: #8595a8; font-size: 12.5px; font-weight: 700; margin-top: 4px; }

/* Article */
.news-article { max-width: 800px; margin: 0 auto; }
.news-figure { margin: 4px 0 22px; border-radius: 16px; overflow: hidden; border: 1px solid #e6edf5; }
.news-figure img { width: 100%; height: auto; display: block; }
.news-figure figcaption { font-size: 12.5px; color: #7a8ba0; padding: 8px 12px; background: #f6f9fc;
  text-align: right; font-style: italic; }
.news-article h2 { font-family: 'Plus Jakarta Sans', sans-serif; color: #0f2740; font-size: 21px;
  margin: 28px 0 10px; }
.news-article p { color: #35485c; font-size: 16px; line-height: 1.75; margin: 0 0 15px; }
.news-article ul { margin: 4px 0 18px; padding-left: 4px; list-style: none; }
.news-article ul li { position: relative; padding-left: 22px; margin-bottom: 10px; color: #35485c;
  font-size: 15.5px; line-height: 1.65; }
.news-article ul li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px;
  border-radius: 50%; background: linear-gradient(135deg, #149DD6, #26AB88); }

/* Sources */
.news-sources { margin-top: 30px; padding: 18px 20px; background: #f6f9fc; border: 1px solid #e6edf5;
  border-radius: 14px; }
.news-sources h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: #526480;
  margin: 0 0 10px; }
.news-sources ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.news-sources ul li a { color: #0077fa; text-decoration: none; font-weight: 700; font-size: 14px; }
.news-sources ul li a:hover { text-decoration: underline; }
.news-disclaimer { font-size: 12.5px; color: #8595a8; line-height: 1.6; margin: 0; }
.news-back { display: inline-block; margin-top: 24px; color: #0077fa; font-weight: 700; text-decoration: none; }

/* Homepage teaser */
.news-teaser .news-grid { margin-top: 8px; }

@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .news-grid { grid-template-columns: 1fr; } .news-article p { font-size: 15.5px; } }

/* News hero (dùng .legal-hero base — chip category + meta) */
.news-hero .news-cat { margin-bottom: 2px; }
.news-hero .legal-hero-copy { margin-top: 20px; }
.news-hero .news-meta { color: var(--text-secondary, #55697f); font-size: 15px; font-weight: 600; margin-top: 14px; }
.news-hero h1 { letter-spacing: -1px; }

/* Pagination (archive) */
.news-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px; margin-top: 40px; }
.news-pagination a { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 10px; border: 1px solid #e6edf5;
  background: #fff; color: #35485c; font-weight: 700; font-size: 14px; text-decoration: none;
  transition: all .2s; }
.news-pagination a:hover { border-color: #0077fa; color: #0077fa; }
.news-pagination a.active { background: linear-gradient(135deg, #149DD6, #26AB88); color: #fff;
  border-color: transparent; box-shadow: 0 6px 16px rgba(20,157,214,.28); }
.news-pagination .pg-nav { font-weight: 800; }
