/* ============================================================================
   Vnjin — lớp giao diện "NextPage" (19/11/2026), nạp SAU site.css.
   Dải navy + thanh menu xanh, nhãn chuyên mục xanh, điểm nhấn vàng, thẻ ảnh phủ chữ,
   cột tiện ích bên phải. Các trang cũ (bóng đá, lịch, tìm kiếm) nhận màu qua token.
   ============================================================================ */
:root {
  --np-navy: #102950;
  --np-navy-2: #0b1e3c;
  --np-navy-3: #183766;
  --np-blue: #097bed;
  --np-blue-2: #086ed5;
  --np-yellow: #ffbe00;
  --np-head: #201654;
  --np-text: #565872;
  --np-soft: #f2f8fe;
  --np-line: #e4ebf3;
  --np-card: #fff;
  --np-r: 6px;

  /* token của site.css */
  --bg: #fff;
  --soft: var(--np-soft);
  --ink: var(--np-head);
  --ink-2: #3c3f5a;
  --muted: #6d7088;
  --line: var(--np-line);
  --red: var(--np-blue);
  --red-deep: var(--np-blue-2);
  --red-soft: #e6f2fd;
  --accent: var(--np-blue);
  --navy: var(--np-navy);
  --r: 8px;
  --r-sm: 6px;
  --shadow: 0 6px 24px -14px rgba(16, 41, 80, .35);
}
:root[data-theme="dark"] {
  --np-head: #eef2fb;
  --np-text: #aeb6c9;
  --np-soft: #0f1a2e;
  --np-line: #22314d;
  --np-card: #13203a;
  --bg: #0b1426;
  --card: #13203a;
  --ink: #eef2fb;
  --ink-2: #c9d1e2;
  --muted: #8d97ad;
  --red-soft: #12304f;
}

body { background: var(--bg); color: var(--np-text); }
.wrap { max-width: 1240px; }
a { transition: color .2s; }
.icon { flex: none; }

/* ---- Đầu trang -------------------------------------------------------- */
.np-head { position: relative; z-index: 50; }
.np-top { background: var(--np-navy-2); color: rgba(255, 255, 255, .78); font-size: 13px; }
.np-top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.np-top__links { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.np-top__links a:hover { color: var(--np-yellow); }
.np-top__right { display: flex; align-items: center; gap: 14px; }
.np-today { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.np-today .icon { width: 14px; height: 14px; color: var(--np-yellow); }
.np-mode { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.np-mode .icon { width: 15px; height: 15px; }
.np-mode .icon--sun { display: none; }
:root[data-theme="dark"] .np-mode .icon--sun { display: block; }
:root[data-theme="dark"] .np-mode .icon--moon { display: none; }

.np-brand { background: var(--np-navy); }
.np-brand__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; }
.np-brand .logo { color: #fff; }
.np-brand .logo__word, .np-foot .logo__word { color: #fff; }
.np-brand .logo__word b, .np-foot .logo__word b { color: var(--np-yellow); }
.np-brand .logo__tag, .np-foot .logo__tag { color: rgba(255, 255, 255, .62); }
.np-promo { display: flex; align-items: center; gap: 16px; width: min(100%, 560px); padding: 12px 14px 12px 12px; border-radius: var(--np-r); color: #fff;
  background: linear-gradient(110deg, #c8102e 0%, #a30d26 46%, #6e0a1c 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.np-promo::after { content: ""; position: absolute; right: -40px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid rgba(255, 190, 0, .18); }
.np-promo__ball { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--np-yellow); color: var(--np-navy); flex: none; }
.np-promo__ball .icon { width: 28px; height: 28px; }
.np-promo__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; position: relative; z-index: 1; }
.np-promo__txt small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--np-yellow); }
.np-promo__txt strong { font-size: 18px; font-weight: 800; line-height: 1.2; }
.np-promo__txt em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-promo__cta { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 4px; background: #fff; color: #a30d26; font-weight: 700; font-size: 13px; white-space: nowrap; position: relative; z-index: 1; }
.np-promo__cta .icon { width: 14px; height: 14px; }
.np-promo:hover .np-promo__cta { background: var(--np-yellow); color: var(--np-navy); }

.np-navbar { background: var(--np-blue); position: sticky; top: 0; z-index: 40; box-shadow: 0 6px 18px -10px rgba(9, 60, 130, .6); }
.np-navbar__in { display: flex; align-items: center; gap: 16px; min-height: 54px; }
.np-nav { display: flex; align-items: center; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.np-nav::-webkit-scrollbar, .np-top__links::-webkit-scrollbar { display: none; }
.np-nav a { position: relative; padding: 17px 13px; color: #fff; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.np-nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 3px; background: var(--np-yellow); transform: scaleX(0); transition: transform .25s; }
.np-nav a:hover::after, .np-nav a[aria-current]::after { transform: scaleX(1); }
.np-search { display: flex; align-items: center; width: 260px; height: 38px; border-radius: 4px; background: var(--np-blue-2); flex: none; }
.np-search input { flex: 1; min-width: 0; height: 100%; padding: 0 14px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 14px; outline: 0; }
.np-search input::placeholder { color: rgba(255, 255, 255, .7); }
.np-search button { display: grid; place-items: center; width: 40px; height: 100%; border: 0; background: transparent; color: #fff; cursor: pointer; }
.np-burger { display: none; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 4px; background: var(--np-blue-2); color: #fff; cursor: pointer; }
@media (max-width: 1080px) { .np-search { display: none; } .np-burger { display: grid; } }
@media (max-width: 760px) {
  .np-brand__in { min-height: 72px; }
  .np-promo { display: none; }
  .np-top__links { display: none; }
  .np-top__in { justify-content: flex-end; }
  .np-nav a { padding: 15px 11px; font-size: 14px; }
}
.progress { background: var(--np-yellow); }

/* ---- Thành phần chung ---------------------------------------------- */
.np-sec { padding: 64px 0; }
.np-sec--tight { padding: 0 0 64px; }
.np-sec--soft { background: var(--np-soft); }
.np-sec--navy { background: var(--np-navy); }
@media (max-width: 760px) { .np-sec { padding: 44px 0; } .np-sec--tight { padding-bottom: 44px; } }

.np-title { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.np-title h2 { font-size: 20px; font-weight: 700; color: var(--np-head); line-height: 1.25; position: relative; padding-left: 14px; }
.np-title h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: var(--np-blue); }
.np-title h2 a:hover { color: var(--np-blue); }
.np-title--wide { justify-content: space-between; flex-wrap: wrap; }
.np-title--light h2 { color: #fff; }
.np-title--light h2::before { background: var(--np-yellow); }
.np-title--light .np-more { color: #fff; }
.np-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--np-blue); }
.np-more .icon { width: 15px; height: 15px; transition: transform .2s; }
.np-more:hover .icon { transform: translateX(3px); }

.np-badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 3px; background: var(--np-blue); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .01em; }
.np-badge--solid { padding: 6px 14px; font-size: 13px; }
.np-date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.np-date .icon { width: 13px; height: 13px; }
.np-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.np-meta > span:not(.np-badge) { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.np-meta .icon { width: 13px; height: 13px; }

.np-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 4px; background: var(--np-blue); color: #fff; font-weight: 600; font-size: 14.5px; transition: background .2s, transform .2s; }
.np-btn .icon { width: 16px; height: 16px; }
.np-btn:hover { background: var(--np-blue-2); }
.np-btn--yellow { background: var(--np-yellow); color: var(--np-navy); }
.np-btn--yellow:hover { background: #fff; }
.np-btn--navy { background: var(--np-navy); }
.np-btn--navy:hover { background: var(--np-blue); }

.np-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--np-navy-3), var(--np-blue)); }
.np-box { background: var(--np-card); border-radius: var(--np-r); box-shadow: 0 10px 40px -24px rgba(16, 41, 80, .45); padding: 22px; }
:root[data-theme="dark"] .np-box { box-shadow: none; border: 1px solid var(--np-line); }

.np-grid4 { display: grid; gap: 26px 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .np-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .np-grid4 { grid-template-columns: 1fr; } }

/* Thẻ: ảnh trên, nhãn trên ảnh, tiêu đề, ngày */
.np-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.np-card__img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--np-r); overflow: hidden; background: var(--np-soft); }
.np-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.np-card:hover .np-card__img img { transform: scale(1.06); }
.np-card__img .np-badge { position: absolute; left: 12px; top: 12px; }
.np-card__title { font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--np-head); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-card__title a:hover { color: var(--np-blue); }
.np-card--ex .np-card__img { aspect-ratio: 16 / 11; }
.np-card--ex .np-card__title { font-size: 17px; -webkit-line-clamp: 2; }
.np-card__dek { font-size: 14.5px; line-height: 1.65; color: var(--np-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Thẻ phủ chữ lên ảnh */
.np-ov { position: relative; display: flex; align-items: flex-end; min-height: 200px; border-radius: var(--np-r); overflow: hidden; background: var(--np-navy-3); isolation: isolate; }
.np-ov > img, .np-ov > .np-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.np-ov::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 30, 60, 0) 25%, rgba(11, 30, 60, .55) 58%, rgba(11, 30, 60, .94) 100%); }
.np-ov:hover > img { transform: scale(1.06); }
.np-ov__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; width: 100%; }
.np-ov .np-date { color: rgba(255, 255, 255, .8); }
.np-ov__title { font-size: 16px; font-weight: 600; line-height: 1.4; color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-ov__title a::after { content: ""; position: absolute; inset: 0; }
.np-ov__title a:hover { color: var(--np-yellow); }

/* Dòng: ảnh nhỏ + ngày + tiêu đề */
.np-row { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; }
.np-row__img { display: block; aspect-ratio: 1; border-radius: 4px; overflow: hidden; background: var(--np-soft); }
.np-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.np-row:hover .np-row__img img { transform: scale(1.08); }
.np-row .np-date { font-size: 12px; }
.np-row__title { margin-top: 4px; font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--np-head); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-row__title a:hover { color: var(--np-blue); }
.np-list { display: grid; gap: 18px; }
.np-list--dark .np-row__title { color: #fff; }
.np-list--dark .np-row__title a:hover { color: var(--np-yellow); }
.np-list--dark .np-date { color: rgba(255, 255, 255, .62); }
.np-list--dark .np-row { padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.np-list--dark .np-row:last-child { border-bottom: 0; padding-bottom: 0; }

.np-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.np-pills a { padding: 7px 14px; border-radius: 4px; background: var(--np-soft); color: var(--np-head); font-size: 13.5px; font-weight: 500; }
.np-pills a:hover, .np-pills a.is-active { background: var(--np-blue); color: #fff; }

/* ---- Trang chủ: bìa navy ------------------------------------------- */
.np-hero { background: var(--np-navy); padding: 56px 0 64px; color: #fff; }
.np-slider { position: relative; min-height: 420px; }
.np-lead { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.np-lead.is-active { position: relative; opacity: 1; visibility: visible; }
.has-js .np-lead:not(.is-active) { pointer-events: none; }
.np-lead__img { position: relative; display: block; aspect-ratio: 16 / 10; margin: 18px 0 0 18px; }
.np-lead__img::before { content: ""; position: absolute; left: -18px; top: -18px; width: 62%; height: 70%; background: var(--np-yellow); border-radius: 4px; }
.np-lead__img img, .np-lead__img .np-ph { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.np-lead__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.np-lead .np-date { color: rgba(255, 255, 255, .75); }
.np-lead__title { font-size: clamp(28px, 3.1vw, 42px); font-weight: 700; line-height: 1.22; color: #fff; text-wrap: balance; }
.np-lead__title a:hover { color: var(--np-yellow); }
.np-lead__dek { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, .8); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-lead .np-btn { background: var(--np-navy-3); }
.np-lead .np-btn:hover { background: var(--np-blue); }
.np-slider__ctrl { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; z-index: 2; }
.np-arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; cursor: pointer; }
.np-arrow:hover { background: var(--np-blue); border-color: var(--np-blue); }
.np-dots { display: flex; gap: 6px; }
.np-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s, background .3s; }
.np-dots button.is-active { width: 24px; background: var(--np-yellow); }
.np-hero__row { margin-top: 56px; }
.np-hero .np-card__title { color: #fff; }
.np-hero .np-card__title a:hover { color: var(--np-yellow); }
.np-hero .np-date { color: rgba(255, 255, 255, .65); }
@media (max-width: 900px) {
  .np-slider { min-height: 0; }
  .np-lead { grid-template-columns: 1fr; gap: 26px; }
  .np-slider__ctrl { position: static; margin-top: 22px; }
  .np-hero { padding: 36px 0 44px; }
  .np-hero__row { margin-top: 40px; }
}

/* ---- Trang chủ: 4 cột ---------------------------------------------- */
.np-cols4 { display: grid; gap: 34px 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .np-cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .np-cols4 { grid-template-columns: 1fr; } }
.np-stack { display: grid; gap: 16px; }
.np-stack .np-ov { min-height: 142px; }
.np-stack .np-ov__title { font-size: 14.5px; -webkit-line-clamp: 2; }
.np-stack .np-ov__body { padding: 14px; gap: 6px; }

.np-lich { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; border-radius: var(--np-r); background: var(--np-navy); color: #fff; margin-bottom: 16px; }
.np-lich__page { display: flex; flex-direction: column; align-items: center; padding: 8px 4px 10px; border-radius: 4px; background: #fff; color: var(--np-navy); text-align: center; border-top: 6px solid var(--np-yellow); }
.np-lich__page span { font-size: 12px; font-weight: 600; }
.np-lich__page strong { font-size: 40px; font-weight: 800; line-height: 1; color: #c8102e; }
.np-lich__page small { font-size: 11px; color: #555; }
.np-lich__info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.np-lich__info b { font-size: 15px; color: var(--np-yellow); }
.np-lich__info small { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.np-lich__info em { margin-top: 6px; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12.5px; font-weight: 600; color: #fff; }
.np-lich__info em .icon { width: 13px; height: 13px; }
.np-lich:hover em { color: var(--np-yellow); }
.np-lich__hol:empty { display: none; }
.wx.np-box { padding: 18px; border-radius: var(--np-r); }

.np-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.np-cats a { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 4px; background: var(--np-soft); color: var(--np-head); }
.np-cats__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c, var(--np-blue)); color: #fff; }
.np-cats__ic .icon { width: 17px; height: 17px; }
.np-cats__name { font-weight: 600; font-size: 14.5px; }
.np-cats__n { font-size: 12.5px; color: var(--muted); }
.np-cats__go { width: 15px; height: 15px; color: var(--np-blue); }
.np-cats a:hover { background: var(--np-blue); color: #fff; }
.np-cats a:hover .np-cats__n, .np-cats a:hover .np-cats__go { color: #fff; }

/* ---- Trang chủ: chuyên trang World Cup U17 -------------------------- */
.np-wc__grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); }
.np-wc__lead .np-ov { height: 100%; min-height: 420px; }
.np-wc__lead .np-ov__title { font-size: 21px; }
.np-wc__cards { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.np-wc__cards .np-card__img { aspect-ratio: 16 / 10; }
.np-wc__cards .np-card__title { font-size: 15px; -webkit-line-clamp: 2; }
@media (max-width: 1080px) { .np-wc__grid { grid-template-columns: 1fr 1fr; } .np-fx { grid-column: 1 / -1; } }
@media (max-width: 640px) { .np-wc__grid { grid-template-columns: 1fr; } .np-wc__lead .np-ov { min-height: 300px; } }
.np-fx h3 { font-size: 17px; font-weight: 700; color: var(--np-head); margin-bottom: 8px; }
.np-fx ul { list-style: none; margin: 0 0 14px; padding: 0; }
.np-fx li { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--np-line); }
.np-fx li:not([data-round*="World Cup"]) { display: none; }
.np-fx__when { font-size: 12.5px; font-weight: 600; color: var(--np-blue); }
.np-fx__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; font-size: 14px; color: var(--np-head); }
.np-fx__teams b { font-weight: 600; }
.np-fx__teams b:last-child { text-align: right; }
.np-fx__teams i { font-style: normal; font-weight: 700; padding: 3px 9px; border-radius: 3px; background: var(--np-soft); font-size: 13px; }
.np-fx li.is-finished i { background: var(--np-navy); color: #fff; }
.np-fx__round { font-size: 12px; color: var(--muted); }

/* ---- Trang chủ: lưới 8 ảnh, dải công nghệ, banner bóng đá -------------- */
.np-tiles .np-ov { min-height: 230px; }
.np-split { display: grid; gap: 30px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.np-split__big .np-ov { height: 100%; min-height: 400px; }
.np-split__big .np-ov__title { font-size: clamp(20px, 2vw, 26px); }
@media (max-width: 900px) { .np-split { grid-template-columns: 1fr; } .np-split__big .np-ov { min-height: 300px; } }

.np-banner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 34px; align-items: center; padding: 36px; border-radius: var(--np-r);
  background: linear-gradient(120deg, var(--np-blue) 0%, #0a5fc0 55%, var(--np-navy) 100%); color: #fff; position: relative; overflow: hidden; }
.np-banner::before { content: ""; position: absolute; left: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; border: 34px solid rgba(255, 190, 0, .16); }
.np-banner__txt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.np-banner__txt small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--np-yellow); }
.np-banner__txt h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.2; }
.np-banner__txt p { color: rgba(255, 255, 255, .85); line-height: 1.6; }
.np-banner__box { position: relative; background: var(--np-card); color: var(--ink); border-radius: var(--np-r); padding: 16px 18px; max-height: 360px; overflow: auto; }
@media (max-width: 900px) { .np-banner { grid-template-columns: 1fr; padding: 24px; } }

/* ---- Trang chủ: văn học + nhận tin, tab chuyên mục ------------------ */
.np-trio { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr); }
.np-trio__mid .np-ov { min-height: 380px; }
.np-trio__mid .np-ov__title { font-size: 22px; }
@media (max-width: 1080px) { .np-trio { grid-template-columns: 1fr 1fr; } .np-trio__mid { grid-column: 1 / -1; order: -1; } }
@media (max-width: 640px) { .np-trio { grid-template-columns: 1fr; } }
.np-news { align-self: start; padding: 28px 24px; border-radius: var(--np-r); background: var(--np-yellow); color: var(--np-navy); text-align: center; }
.np-news h3 { font-size: 22px; font-weight: 700; }
.np-news p { margin: 8px 0 18px; font-size: 14px; line-height: 1.6; color: rgba(16, 41, 80, .82); }
.np-news form { display: grid; gap: 10px; }
.np-news input[type=email], .np-news input:not([type]) { width: 100%; height: 46px; padding: 0 14px; border: 0; border-radius: 4px; background: #fff; color: #222; font: inherit; font-size: 14px; }
.np-news button, .np-news input[type=submit] { width: 100%; height: 46px; border: 0; border-radius: 4px; background: var(--np-blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.np-news button:hover, .np-news input[type=submit]:hover { background: var(--np-navy); }
.np-news .tn-form__field label, .np-news label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.np-tabs { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.np-tabs button { padding: 6px 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.np-tabs button:hover { color: var(--np-blue); }
.np-tabs button.is-active { color: var(--np-blue); border-color: var(--np-blue); font-weight: 600; }
.has-js [data-tab-panel]:not(.is-active) { display: none; }
html:not(.has-js) [data-tab-panel] + [data-tab-panel] { margin-top: 30px; }

/* ---- Trang chuyên mục ---------------------------------------------- */
.np-pagehead, .rubric-hero { background: var(--np-navy) linear-gradient(120deg, var(--np-navy) 40%, var(--np-navy-3)); color: #fff; padding: 46px 0 40px; margin: 0; }
.np-pagehead h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; line-height: 1.15; margin: 14px 0 10px; }
.np-pagehead p { max-width: 720px; color: rgba(255, 255, 255, .8); line-height: 1.65; }
.np-pagehead .np-pills { margin-top: 22px; }
.np-pills--light a { background: rgba(255, 255, 255, .1); color: #fff; }
.np-pills--light a:hover, .np-pills--light a.is-active { background: var(--np-yellow); color: var(--np-navy); }
.np-pills--sub { margin-top: 10px !important; }
.np-pills--sub a { font-size: 12.5px; padding: 5px 11px; }
.np-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.np-crumbs a:hover { color: var(--np-blue); }
.np-crumbs--light { color: rgba(255, 255, 255, .7); }
.np-crumbs--light a:hover { color: var(--np-yellow); }
/* site.css cũ: trang bóng đá, lịch, tìm kiếm dùng .rubric-hero */
.rubric-hero__box { background: none !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; color: #fff; }
.rubric-hero h1, .rubric-hero p, .rubric-hero .crumbs, .rubric-hero .crumbs a { color: #fff; }
.rubric-hero p { opacity: .82; }
.rubric-hero .chip { background: rgba(255, 255, 255, .1); color: #fff; border-color: transparent; }
.rubric-hero .chip.is-active, .rubric-hero .chip:hover { background: var(--np-yellow); color: var(--np-navy); }

/* Lưới danh sách: bài đầu nằm ngang to, sau đó 3 cột */
.np-listing { display: grid; gap: 34px 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.np-listing > .np-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px 36px; align-content: center; padding-bottom: 34px; border-bottom: 1px solid var(--np-line); }
.np-listing > .np-card:first-child .np-card__img { grid-row: 1 / span 4; aspect-ratio: 16 / 10; }
.np-listing > .np-card:first-child .np-card__title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; -webkit-line-clamp: 3; align-self: end; }
.np-listing > .np-card:first-child .np-meta { align-self: end; }
.np-listing > .np-card:first-child .np-card__dek { font-size: 15.5px; -webkit-line-clamp: 4; align-self: start; }
@media (max-width: 1000px) { .np-listing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .np-listing > .np-card:first-child { display: flex; }
}
@media (max-width: 560px) { .np-listing { grid-template-columns: 1fr; } }
.paginator, .tn-pager { margin-top: 44px; }

/* ---- Trang bài ----------------------------------------------------- */
.np-article-wrap { padding-top: 40px; }
.np-with-side { display: grid; gap: 44px; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 1080px) { .np-with-side { grid-template-columns: 1fr; } }
.np-article .np-crumbs { margin-bottom: 18px; }
.np-article__title { margin: 16px 0 14px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; line-height: 1.22; color: var(--np-head); text-wrap: balance; }
.np-article__dek { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.np-article__fig { margin: 26px 0 8px; }
.np-article__fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--np-r); }
.np-article__fig figcaption { margin-top: 8px; font-size: 12.5px; color: var(--muted); }
.np-article .article__body { max-width: none; padding: 0; margin-top: 26px; }
.np-article .prose { font-size: 17.5px; line-height: 1.8; color: var(--ink-2); }
.np-article .prose h2 { color: var(--np-head); }
.np-article .prose a { color: var(--np-blue); }
.np-article .prose blockquote { border-left: 4px solid var(--np-blue); background: var(--np-soft); padding: 18px 22px; border-radius: 0 var(--np-r) var(--np-r) 0; font-style: italic; }
.np-tagline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--np-line); }
.np-tagline b { color: var(--np-head); margin-right: 4px; }
.np-tagline a { padding: 5px 12px; border-radius: 3px; background: var(--np-soft); font-size: 13px; color: var(--np-head); }
.np-tagline a:hover { background: var(--np-blue); color: #fff; }
.np-side { display: grid; gap: 28px; position: sticky; top: 76px; }
@media (max-width: 1080px) { .np-side { position: static; } }
.np-side .np-row { grid-template-columns: 76px minmax(0, 1fr); }
.np-folders { list-style: none; margin: 0; padding: 0; }
.np-folders a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--np-line); color: var(--np-head); font-size: 14.5px; }
.np-folders li:last-child a { border-bottom: 0; }
.np-folders a span { min-width: 30px; padding: 2px 8px; border-radius: 3px; background: var(--np-soft); font-size: 12px; text-align: center; color: var(--muted); }
.np-folders a:hover { color: var(--np-blue); }
.np-folders a:hover span { background: var(--np-blue); color: #fff; }

/* ---- Chân trang ----------------------------------------------------- */
.np-foot { background: var(--np-navy); color: rgba(255, 255, 255, .72); font-size: 14.5px; }
.np-foot__grid { display: grid; gap: 40px 34px; grid-template-columns: 1.2fr 1fr .8fr 1.2fr; padding-top: 64px; padding-bottom: 54px; }
@media (max-width: 1000px) { .np-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .np-foot__grid { grid-template-columns: 1fr; } }
.np-foot h4 { margin-bottom: 20px; font-size: 18px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .02em; }
.np-foot p { line-height: 1.75; margin-bottom: 20px; }
.np-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.np-tags a { padding: 7px 12px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; }
.np-tags a:hover { background: var(--np-blue); border-color: var(--np-blue); color: #fff; }
.np-foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.np-foot__links a:hover, .np-foot .np-row__title a:hover { color: var(--np-yellow); }
.np-foot .np-row { grid-template-columns: 70px minmax(0, 1fr); margin-bottom: 14px; }
.np-foot .np-row__title { color: #fff; font-size: 14px; -webkit-line-clamp: 2; }
.np-foot .np-date { color: rgba(255, 255, 255, .55); }
.np-foot__bottom { border-top: 1px solid rgba(255, 255, 255, .1); background: var(--np-navy-2); font-size: 13px; }
.np-foot__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.to-top { background: var(--np-blue) !important; color: #fff !important; border-radius: 4px !important; }
