/* ============================================================
   THANHTHIEUNHI — NEWS PORTAL DESIGN SYSTEM 2026
   Phong cách: báo chí chuyên nghiệp, sang trọng, hiện đại
   ============================================================ */

:root {
  --np-primary: #0b2545;
  --np-primary-2: #13315c;
  --np-primary-3: #1d4e89;
  --np-accent: #d7263d;
  --np-accent-2: #b01e31;
  --np-gold: #f4a93c;
  --np-bg: #f4f6f9;
  --np-surface: #ffffff;
  --np-ink: #131c2e;
  --np-text: #33415c;
  --np-muted: #7a8699;
  --np-line: #e4e9f1;
  --np-radius: 14px;
  --np-radius-sm: 9px;
  --np-shadow: 0 2px 10px rgba(11, 37, 69, .06);
  --np-shadow-lg: 0 18px 46px rgba(11, 37, 69, .14);
  --np-font: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --np-serif: 'Lora', 'Times New Roman', serif;
  --np-header-h: 66px;
  --np-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Nền tảng ---------- */
html { scroll-behavior: smooth; }
body.np-body {
  font-family: var(--np-font);
  background: var(--np-bg);
  color: var(--np-text);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
body.np-body * , body.np-body *::before, body.np-body *::after { box-sizing: border-box; }
body.np-body img { max-width: 100%; display: block; }
body.np-body a { text-decoration: none; }
/* Reset màu link ở ĐỘ ƯU TIÊN THẤP NHẤT (:where = 0) để mọi thành phần có
   màu riêng (menu, .np-btn, .np-chip, nút chia sẻ...) đều tự thắng, không bị
   ép kế thừa màu tối gây chìm chữ. Link văn bản thường vẫn kế thừa màu xung quanh. */
:where(body.np-body) a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.np-body *, body.np-body *::before, body.np-body *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* View Transitions — chuyển trang mượt trên trình duyệt mới */
@view-transition { navigation: auto; }
@keyframes np-vt-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
::view-transition-new(root) { animation: np-vt-in .32s var(--np-ease); }
::view-transition-old(root) { animation: none; }

.np-container { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

/* ---------- Nút ---------- */
.np-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px; font-family: inherit;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--np-ease), box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.np-btn:hover { transform: translateY(-2px); }
.np-btn:active { transform: translateY(0); }
/* Quy tắc tương phản nút: nền màu đặc + chữ trắng; hover đảo: nền trắng + chữ màu + viền màu */
.np-btn--accent { background: var(--np-accent); color: #fff; border-color: var(--np-accent); box-shadow: 0 8px 20px rgba(215, 38, 61, .3); }
.np-btn--accent:hover { background: #fff; color: var(--np-accent); border-color: var(--np-accent); box-shadow: 0 10px 24px rgba(215, 38, 61, .28); }
.np-btn--primary { background: var(--np-primary); color: #fff; border-color: var(--np-primary); box-shadow: 0 8px 20px rgba(11, 37, 69, .25); }
.np-btn--primary:hover { background: #fff; color: var(--np-primary); border-color: var(--np-primary); box-shadow: 0 10px 24px rgba(11, 37, 69, .22); }
.np-btn--ghost { border-color: var(--np-line); color: var(--np-primary); background: #fff; }
.np-btn--ghost:hover { border-color: var(--np-primary-3); color: var(--np-primary-3); }
.np-btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.np-btn--light:hover { background: #fff; color: var(--np-accent-2); border-color: #fff; }
.np-btn--sm { padding: 8px 16px; font-size: 13px; }
.np-btn--lg { padding: 14px 30px; font-size: 15.5px; }

/* ---------- Chip chuyên mục ----------
   Quy tắc tương phản: nền màu đặc + chữ trắng; hover đảo: nền trắng + chữ màu.
   Quy ước hình khối toàn trang: nút bấm = pill, badge = 7px, khối chứa = 14px */
.np-chip {
  --chip: var(--chip-bg, var(--np-accent));
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px; border-radius: 7px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  background: var(--chip);
  color: #fff;
  border: 1px solid var(--chip);
  line-height: 1.5;
  box-shadow: 0 3px 10px rgba(9, 20, 38, .14);
  transition: background .2s, color .2s, transform .2s var(--np-ease);
}
.np-chip::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .28);
  transition: background .2s;
}
a.np-chip:hover { background: #fff; color: var(--chip); border-color: var(--chip); transform: translateY(-1px); }
a.np-chip:hover::before { background: var(--chip); box-shadow: none; }

/* Chip nằm trên ảnh → thêm bóng đậm hơn cho nổi khối */
.np-card__img .np-chip,
.np-feature__body .np-chip,
.np-lead__body .np-chip {
  box-shadow: 0 5px 16px rgba(9, 20, 38, .3);
}

/* ============================================================
   TOPBAR
   ============================================================ */
.np-topbar {
  background: var(--np-primary); color: rgba(255,255,255,.82);
  font-size: 12.5px; padding: 7px 0;
}
.np-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.np-topbar__date { display: inline-flex; align-items: center; gap: 8px; }
.np-topbar__date i { color: var(--np-gold); }
.np-topbar__links { display: flex; align-items: center; gap: 18px; }
.np-topbar__links a { color: rgba(255,255,255,.82); transition: color .2s; display: inline-flex; align-items: center; gap: 6px; }
.np-topbar__links a:hover { color: #fff; }
.np-topbar__social { display: flex; gap: 4px; }
.np-topbar__social a {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1); color: #fff; font-size: 12px; transition: background .2s, transform .2s;
}
.np-topbar__social a:hover { background: var(--np-accent); transform: translateY(-2px); }

/* ============================================================
   HEADER — logo + tìm kiếm
   ============================================================ */
.np-masthead { background: var(--np-surface); border-bottom: 1px solid var(--np-line); }
.np-masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.np-logo { display: flex; align-items: center; gap: 14px; min-width: 0; }
.np-logo img { height: 58px; width: auto; }
.np-logo__name { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.np-logo__name strong {
  font-family: var(--np-serif); font-size: 21px; color: var(--np-primary);
  font-weight: 700; letter-spacing: .01em;
}
.np-logo__name span { font-size: 12px; color: var(--np-muted); letter-spacing: .12em; text-transform: uppercase; }
.np-masthead__right { display: flex; align-items: center; gap: 14px; }

.np-search { position: relative; }
.np-search input {
  width: 240px; padding: 10px 42px 10px 18px;
  border-radius: 999px; border: 1.5px solid var(--np-line);
  font-family: inherit; font-size: 13.5px; background: var(--np-bg);
  transition: border-color .2s, box-shadow .2s, width .3s var(--np-ease);
}
.np-search input:focus { outline: none; border-color: var(--np-primary-3); box-shadow: 0 0 0 4px rgba(29, 78, 137, .1); width: 290px; background: #fff; }
.np-search button {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--np-primary); color: #fff; font-size: 12.5px; transition: background .2s;
}
.np-search button:hover { background: var(--np-accent); }
.np-hotline { display: flex; align-items: center; gap: 10px; }
.np-hotline__icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(215, 38, 61, .09); color: var(--np-accent); font-size: 16px;
  animation: np-ring 2.4s infinite;
}
@keyframes np-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215,38,61,.25); }
  50% { box-shadow: 0 0 0 9px rgba(215,38,61,0); }
}
.np-hotline__txt { line-height: 1.3; }
.np-hotline__txt small { display: block; font-size: 11px; color: var(--np-muted); text-transform: uppercase; letter-spacing: .08em; }
.np-hotline__txt a { font-weight: 800; color: var(--np-accent); font-size: 16.5px; }

/* ============================================================
   NAV chính — sticky
   ============================================================ */
.np-nav {
  position: sticky; top: 0; z-index: 900;
  background: linear-gradient(180deg, var(--np-primary-2), var(--np-primary));
  box-shadow: 0 6px 18px rgba(11, 37, 69, .22);
}
.np-nav.is-scrolled { backdrop-filter: blur(10px); background: rgba(11, 37, 69, .94); }
.np-nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.np-menu { display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.np-menu > li { position: relative; }
.np-menu > li > a {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.88); font-weight: 600; font-size: 14px;
  padding: 16px 17px; position: relative; transition: color .2s;
}
.np-menu > li > a::after {
  content: ''; position: absolute; left: 17px; right: 17px; bottom: 9px; height: 2.5px;
  background: var(--np-gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--np-ease);
}
.np-menu > li > a:hover, .np-menu > li.is-active > a { color: #fff; }
.np-menu > li > a:hover::after, .np-menu > li.is-active > a::after { transform: scaleX(1); }
.np-menu i.np-caret { font-size: 9px; opacity: .7; transition: transform .25s; }
.np-menu > li:hover i.np-caret { transform: rotate(180deg); }

.np-sub {
  position: absolute; top: calc(100% - 4px); left: 8px; min-width: 240px;
  background: #fff; border-radius: 12px; padding: 8px;
  box-shadow: var(--np-shadow-lg); border: 1px solid var(--np-line);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .22s var(--np-ease), transform .22s var(--np-ease), visibility .22s;
  z-index: 50;
}
.np-menu > li:hover > .np-sub, .np-menu > li:focus-within > .np-sub {
  opacity: 1; visibility: visible; transform: translateY(4px);
}
.np-sub li a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  color: var(--np-ink); font-size: 13.8px; font-weight: 500;
  transition: background .18s, color .18s, padding-left .18s;
}
.np-sub li a i { width: 18px; text-align: center; color: var(--np-primary-3); font-size: 13px; }
.np-sub li a:hover { background: #f0f4fa; color: var(--np-primary-3); padding-left: 18px; }

.np-nav__cta { display: flex; align-items: center; gap: 10px; }
.np-burger {
  display: none; width: 42px; height: 42px; border: 0; border-radius: 10px;
  background: rgba(255,255,255,.12); color: #fff; font-size: 17px; cursor: pointer;
  transition: background .2s;
}
.np-burger:hover { background: rgba(255,255,255,.22); }

/* ---------- Drawer mobile ---------- */
.np-drawer {
  position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); z-index: 1200;
  background: #fff; box-shadow: 30px 0 80px rgba(0,0,0,.25);
  transform: translateX(-104%); transition: transform .34s var(--np-ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.np-drawer.is-open { transform: none; }
.np-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--np-line);
  background: var(--np-primary); color: #fff;
}
.np-drawer__head strong { font-family: var(--np-serif); font-size: 17px; }
.np-drawer__close { background: rgba(255,255,255,.14); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
.np-drawer nav { padding: 10px 0; }
.np-drawer nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 20px; color: var(--np-ink); font-weight: 600; font-size: 14.5px;
  border-bottom: 1px solid #f1f4f9;
}
.np-drawer nav .np-drawer__sub a {
  padding: 11px 20px 11px 38px; font-weight: 500; font-size: 13.5px; color: var(--np-text);
}
.np-drawer__sub { display: none; background: #f8fafc; }
.np-drawer__group.is-open .np-drawer__sub { display: block; }
.np-drawer__group.is-open > a > i { transform: rotate(180deg); }
.np-drawer__group > a > i { transition: transform .25s; font-size: 11px; color: var(--np-muted); }
.np-overlay {
  position: fixed; inset: 0; z-index: 1100; background: rgba(11, 37, 69, .5);
  opacity: 0; visibility: hidden; transition: opacity .3s; backdrop-filter: blur(2px);
}
.np-overlay.is-show { opacity: 1; visibility: visible; }

/* ============================================================
   TICKER — tin mới
   ============================================================ */
.np-ticker { background: #fff; border-bottom: 1px solid var(--np-line); overflow: hidden; }
.np-ticker__inner { display: flex; align-items: center; gap: 16px; height: 42px; }
.np-ticker__label {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px;
  background: var(--np-accent); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.np-ticker__label i { animation: np-blink 1.2s infinite; }
@keyframes np-blink { 50% { opacity: .35; } }
.np-ticker__track { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.np-ticker__move { display: inline-flex; gap: 44px; white-space: nowrap; animation: np-marquee 80s linear infinite; will-change: transform; }
.np-ticker__track:hover .np-ticker__move { animation-play-state: paused; }
@keyframes np-marquee { to { transform: translateX(-50%); } }
.np-ticker__move a { font-size: 13.5px; color: var(--np-ink); font-weight: 500; display: inline-flex; align-items: center; gap: 9px; }
.np-ticker__move a:hover { color: var(--np-accent); }
.np-ticker__move a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--np-gold); flex-shrink: 0; }

/* ============================================================
   HERO trang chủ
   ============================================================ */
.np-hero { padding: 26px 0 10px; }
.np-hero__grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: 22px; }
.np-feature {
  position: relative; border-radius: var(--np-radius); overflow: hidden;
  min-height: 430px; display: flex; align-items: flex-end;
  box-shadow: var(--np-shadow); background: var(--np-primary);
}
.np-feature img.np-feature__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--np-ease);
}
.np-feature:hover img.np-feature__bg { transform: scale(1.05); }
.np-feature::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,37,69,0) 30%, rgba(9, 20, 38, .88) 82%);
}
.np-feature__body { position: relative; z-index: 2; padding: 30px 32px; color: #fff; }
.np-feature__body h2 {
  font-family: var(--np-serif); font-size: clamp(22px, 3vw, 31px);
  line-height: 1.28; margin: 12px 0 10px; font-weight: 700; color: #fff;
}
.np-feature__body h2 a { color: #fff; }
.np-feature__body h2 a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.np-feature__body p { color: rgba(255,255,255,.82); font-size: 14.5px; margin: 0 0 12px; max-width: 640px; }
.np-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--np-muted); }
.np-feature .np-meta { color: rgba(255,255,255,.66); }
.np-meta span { display: inline-flex; align-items: center; gap: 6px; }

.np-hero__side { display: flex; flex-direction: column; gap: 14px; }
.np-hero__side-title {
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--np-primary); display: flex; align-items: center; gap: 10px; margin: 0;
}
.np-hero__side-title::after { content: ''; flex: 1; height: 1px; background: var(--np-line); }
.np-mini {
  display: flex; gap: 13px; align-items: flex-start;
  background: #fff; border-radius: var(--np-radius-sm); padding: 11px;
  border: 1px solid var(--np-line);
  transition: transform .24s var(--np-ease), box-shadow .24s, border-color .24s;
}
.np-mini:hover { transform: translateX(5px); box-shadow: var(--np-shadow); border-color: transparent; }
.np-mini img { width: 96px; height: 70px; object-fit: cover; border-radius: 7px; flex-shrink: 0; }
.np-mini h4 { margin: 2px 0 6px; font-size: 14px; line-height: 1.4; color: var(--np-ink); font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.np-mini:hover h4 { color: var(--np-primary-3); }
.np-mini small { font-size: 11.5px; color: var(--np-muted); display: flex; gap: 8px; align-items: center; }
.np-mini small b { color: var(--np-accent); font-weight: 700; text-transform: uppercase; font-size: 10.5px; letter-spacing: .05em; }

/* ============================================================
   SECTION BOX — khối chuyên mục trang chủ
   ============================================================ */
.np-section { padding: 34px 0 6px; }

/* Đầu box kiểu báo chí: thanh màu + tiêu đề đậm + kẻ ngang chạy tới cụm nút */
.np-box__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}
.np-box__head::after {
  content: ''; order: 1; flex: 1 1 40px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--box-color, var(--np-accent)) 28%, var(--np-line)),
    var(--np-line) 55%, transparent 96%);
}
.np-box__title { display: flex; align-items: center; gap: 13px; margin: 0; order: 0; }
.np-box__tabs, .np-box__head > .np-box__more { order: 2; }
.np-box__title .bar {
  width: 5px; height: 24px; border-radius: 99px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--box-color, var(--np-accent)) 15%,
    color-mix(in srgb, var(--box-color, var(--np-accent)) 40%, var(--np-gold)));
  box-shadow: 0 3px 10px color-mix(in srgb, var(--box-color, var(--np-accent)) 45%, transparent);
}
.np-box__title h2, .np-box__title h1 {
  margin: 0; font-family: var(--np-font); font-size: 18.5px;
  color: var(--np-ink); font-weight: 800;
  text-transform: uppercase; letter-spacing: .035em; line-height: 1.3;
}
.np-box__title h2 a, .np-box__title h1 a {
  transition: color .2s;
}
.np-box__title h2 a:hover, .np-box__title h1 a:hover { color: var(--box-color, var(--np-primary-3)); }
.np-box__more {
  font-size: 12.5px; font-weight: 700; color: var(--np-text);
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 999px;
  background: #fff; border: 1.5px solid var(--np-line);
  transition: all .22s var(--np-ease);
  flex-shrink: 0; white-space: nowrap;
}
.np-box__more:hover {
  background: var(--box-color, var(--np-accent));
  border-color: var(--box-color, var(--np-accent));
  color: #fff; gap: 10px; transform: translateY(-1px);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--box-color, var(--np-accent)) 35%, transparent);
}
.np-box__tabs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
/* Link "xem thêm" dạng chữ (trong thẻ dịch vụ, widget) — không viền */
.np-service .np-box__more, .np-widget .np-box__more {
  padding: 0; border: 0; background: none; color: var(--np-muted);
}
.np-service .np-box__more:hover, .np-widget .np-box__more:hover {
  background: none; color: var(--box-color, var(--np-accent));
  transform: none; box-shadow: none; gap: 11px;
}

.np-grid { display: grid; gap: 20px; }
.np-grid--2 { grid-template-columns: repeat(2, 1fr); }
.np-grid--3 { grid-template-columns: repeat(3, 1fr); }
.np-grid--4 { grid-template-columns: repeat(4, 1fr); }
.np-grid--main-side { grid-template-columns: 1.55fr 1fr; }

/* ---------- Card tin ---------- */
.np-card {
  background: #fff; border-radius: var(--np-radius); overflow: hidden;
  border: 1px solid var(--np-line); display: flex; flex-direction: column;
  transition: transform .28s var(--np-ease), box-shadow .28s, border-color .28s;
  position: relative;
}
.np-card:hover { transform: translateY(-6px); box-shadow: var(--np-shadow-lg); border-color: transparent; }
.np-card__img { position: relative; aspect-ratio: 16 / 9.6; overflow: hidden; background: #e9eef5; }
.np-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--np-ease); }
.np-card:hover .np-card__img img { transform: scale(1.07); }
.np-card__img .np-chip { position: absolute; left: 12px; top: 12px; z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,.22); }
.np-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.np-card__body h3 {
  margin: 0; font-size: 16.5px; line-height: 1.42; font-weight: 700; color: var(--np-ink);
  font-family: var(--np-serif);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.np-card:hover h3 { color: var(--np-primary-3); }
.np-card__body p {
  margin: 0; font-size: 13.5px; color: var(--np-muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.np-card__body .np-meta { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--np-line); }

/* Card ngang */
.np-card--row { flex-direction: row; align-items: stretch; }
.np-card--row .np-card__img { width: 42%; aspect-ratio: auto; min-height: 150px; flex-shrink: 0; }
.np-card--row .np-card__body h3 { font-size: 15.5px; }

/* Card lớn (lead) */
.np-lead { position: relative; border-radius: var(--np-radius); overflow: hidden; min-height: 100%; display: flex; align-items: flex-end; background: var(--np-primary); box-shadow: var(--np-shadow); }
.np-lead img.np-lead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--np-ease); }
.np-lead:hover img.np-lead__bg { transform: scale(1.05); }
.np-lead::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,37,69,.02) 32%, rgba(9,20,38,.9) 85%); }
.np-lead__body { position: relative; z-index: 2; padding: 26px 28px; color: #fff; }
.np-lead__body h3 { font-family: var(--np-serif); font-size: clamp(19px, 2.3vw, 25px); line-height: 1.3; margin: 11px 0 9px; color: #fff; }
.np-lead__body h3 a { color: #fff; }
.np-lead__body h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.np-lead__body p { color: rgba(255,255,255,.82); font-size: 14px; margin: 0 0 10px; }
.np-lead .np-meta { color: rgba(255,255,255,.65); }

/* Danh sách gạch chân bên phải box */
.np-list { display: flex; flex-direction: column; }
.np-list a {
  display: flex; gap: 12px; align-items: baseline;
  padding: 12px 2px; border-bottom: 1px dashed var(--np-line);
  color: var(--np-ink); font-size: 14.5px; font-weight: 500; line-height: 1.45;
  transition: color .2s, padding-left .25s var(--np-ease);
}
.np-list a:last-child { border-bottom: 0; }
.np-list a:hover { color: var(--np-primary-3); padding-left: 8px; }
.np-list a i { color: var(--np-gold); font-size: 11px; flex-shrink: 0; position: relative; top: -1px; }
.np-list a time { margin-left: auto; font-size: 11.5px; color: var(--np-muted); flex-shrink: 0; font-weight: 400; }

/* ---------- Pills / Tabs ---------- */
.np-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: inherit;
  color: var(--np-text); background: #fff; border: 1.5px solid var(--np-line);
  transition: all .22s var(--np-ease);
}
.np-pill:hover { border-color: var(--np-primary-3); color: var(--np-primary-3); transform: translateY(-1px); }
.np-pill.is-active { background: var(--np-primary); border-color: var(--np-primary); color: #fff; box-shadow: 0 6px 16px rgba(11,37,69,.28); }

.np-tabs { border-bottom: 2px solid var(--np-line); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.np-tabs::-webkit-scrollbar { display: none; }
.np-tab {
  padding: 13px 22px; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--np-muted);
  position: relative; white-space: nowrap; display: inline-flex; align-items: center; gap: 9px;
  transition: color .2s;
}
.np-tab i { font-size: 13px; }
.np-tab::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--np-accent); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transition: transform .28s var(--np-ease);
}
.np-tab:hover { color: var(--np-ink); }
.np-tab.is-active { color: var(--np-accent); }
.np-tab.is-active::after { transform: scaleX(1); }
.np-pane { display: none; }
.np-pane.is-active { display: block; animation: np-fadeup .38s var(--np-ease); }
@keyframes np-fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================================================
   PAGE HEAD — banner đầu trang trong
   ============================================================ */
.np-pagehead {
  background:
    radial-gradient(900px 340px at 85% -60%, rgba(244, 169, 60, .28), transparent 60%),
    radial-gradient(700px 300px at 0% 130%, rgba(215, 38, 61, .25), transparent 55%),
    linear-gradient(135deg, var(--np-primary) 0%, var(--np-primary-2) 100%);
  color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden;
}
.np-pagehead::after {
  content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.6px);
  background-size: 26px 26px;
}
.np-pagehead__inner { position: relative; z-index: 2; }
.np-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 12.5px; color: rgba(255,255,255,.66); margin-bottom: 13px; }
.np-crumb a { color: rgba(255,255,255,.66); transition: color .2s; }
.np-crumb a:hover { color: #fff; }
.np-crumb i { font-size: 9px; opacity: .6; }
.np-pagehead h1 { margin: 0 0 9px; font-family: var(--np-serif); font-size: clamp(26px, 4vw, 38px); font-weight: 700; color: #fff; }
.np-pagehead p { margin: 0; color: rgba(255,255,255,.78); max-width: 700px; font-size: 15px; }
.np-pagehead__nav { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 22px; }
.np-pagehead__nav .np-pill { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.9); backdrop-filter: blur(4px); }
.np-pagehead__nav .np-pill:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-1px); }
.np-pagehead__nav .np-pill.is-active { background: #fff; border-color: #fff; color: var(--np-primary); box-shadow: 0 8px 22px rgba(0,0,0,.25); }

/* ============================================================
   ARTICLE — chi tiết bài viết
   ============================================================ */
.np-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--np-gold), var(--np-accent));
  z-index: 2000; transition: width .1s linear;
}
.np-article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 34px; padding: 34px 0 20px; }
.np-article {
  background: #fff; border-radius: var(--np-radius); padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--np-line); box-shadow: var(--np-shadow);
}
.np-article h1.np-article__title {
  font-family: var(--np-serif); font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.3; color: var(--np-ink); margin: 14px 0 14px;
}
.np-article__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 16px;
  padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--np-line);
  font-size: 13px; color: var(--np-muted);
}
.np-article__meta span { display: inline-flex; align-items: center; gap: 7px; }
.np-article__sapo {
  font-size: 17px; line-height: 1.7; color: var(--np-ink); font-weight: 600;
  border-left: 4px solid var(--np-gold); padding: 4px 0 4px 18px; margin: 0 0 22px;
  background: linear-gradient(90deg, rgba(244,169,60,.07), transparent 70%);
}
.np-content { font-size: 16px; line-height: 1.85; color: #2c3a55; }
.np-content p { margin: 0 0 18px; }
.np-content img { border-radius: 12px; margin: 10px auto 20px; box-shadow: var(--np-shadow); }
.np-content h2, .np-content h3 {
  font-family: var(--np-serif); color: var(--np-ink); line-height: 1.35;
  margin: 30px 0 14px; position: relative; padding-left: 16px;
}
.np-content h2::before, .np-content h3::before {
  content: ''; position: absolute; left: 0; top: 5px; bottom: 5px; width: 4px;
  background: var(--np-accent); border-radius: 3px;
}
.np-content ul, .np-content ol { margin: 0 0 18px; padding-left: 24px; }
.np-content li { margin-bottom: 8px; }
.np-content blockquote {
  margin: 22px 0; padding: 18px 24px; border-radius: 12px;
  background: #f0f4fa; border-left: 4px solid var(--np-primary-3);
  font-style: italic; color: var(--np-primary-2);
}
.np-content a { color: var(--np-primary-3); text-decoration: underline; text-underline-offset: 3px; }

.np-eventmeta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px;
  margin: 0 0 24px;
}
.np-eventmeta__item {
  background: #f7f9fc; border: 1px solid var(--np-line); border-radius: 12px;
  padding: 13px 16px; display: flex; gap: 12px; align-items: center;
}
.np-eventmeta__item i {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--np-primary); color: var(--np-gold); font-size: 15px;
}
.np-eventmeta__item small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--np-muted); }
.np-eventmeta__item strong { font-size: 14px; color: var(--np-ink); }

.np-article__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--np-line); }
.np-share { display: flex; align-items: center; gap: 8px; }
.np-share span { font-size: 13px; color: var(--np-muted); font-weight: 600; margin-right: 4px; }
.np-share a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--np-line); color: var(--np-text); font-size: 14px;
  transition: all .2s;
}
.np-share a:hover { background: var(--np-primary); border-color: var(--np-primary); color: #fff; transform: translateY(-2px); }

/* Sidebar */
.np-side { display: flex; flex-direction: column; gap: 22px; }
.np-widget { background: #fff; border-radius: var(--np-radius); border: 1px solid var(--np-line); padding: 20px; }
.np-widget__title {
  margin: 0 0 15px; font-size: 15px; font-weight: 800; color: var(--np-ink);
  display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .04em;
}
.np-widget__title::before {
  content: ''; width: 4px; height: 18px; border-radius: 99px;
  background: linear-gradient(180deg, var(--box-color, var(--np-accent)) 15%,
    color-mix(in srgb, var(--box-color, var(--np-accent)) 40%, var(--np-gold)));
}
.np-widget--cta {
  background: linear-gradient(150deg, var(--np-primary), var(--np-primary-3)); color: #fff; border: 0;
  text-align: center; padding: 28px 22px;
}
.np-widget--cta h4 { font-family: var(--np-serif); font-size: 19px; margin: 0 0 8px; color: #fff; }
.np-widget--cta p { font-size: 13.5px; color: rgba(255,255,255,.8); margin: 0 0 16px; }

/* ============================================================
   SERVICE / CLB cards
   ============================================================ */
.np-service {
  position: relative; background: #fff; border-radius: var(--np-radius);
  border: 1px solid var(--np-line); padding: 26px 24px; overflow: hidden;
  transition: transform .3s var(--np-ease), box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column; gap: 12px;
}
.np-service::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--sv-color, var(--np-gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--np-ease);
}
.np-service:hover { transform: translateY(-7px); box-shadow: var(--np-shadow-lg); border-color: transparent; }
.np-service:hover::before { transform: scaleX(1); }
.np-service__icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 23px;
  background: color-mix(in srgb, var(--sv-color, var(--np-gold)) 13%, #fff);
  color: var(--sv-color, var(--np-gold));
  transition: transform .35s var(--np-ease);
}
.np-service:hover .np-service__icon { transform: scale(1.1) rotate(-6deg); }
.np-service h3 { margin: 0; font-size: 18px; font-family: var(--np-serif); color: var(--np-ink); }
.np-service p { margin: 0; font-size: 13.8px; color: var(--np-muted); flex: 1; }
.np-service .np-box__more { margin-top: 4px; }

/* ============================================================
   CTA band + Quick form
   ============================================================ */
.np-band {
  margin: 40px 0 10px; border-radius: 18px; overflow: hidden; position: relative;
  background:
    radial-gradient(700px 300px at 90% -40%, rgba(244,169,60,.35), transparent 55%),
    linear-gradient(120deg, var(--np-accent-2), var(--np-accent) 55%, #e6553f);
  color: #fff; padding: 40px clamp(22px, 5vw, 54px);
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  box-shadow: 0 22px 50px rgba(215,38,61,.32);
}
.np-band h2 { font-family: var(--np-serif); margin: 0 0 8px; font-size: clamp(21px, 3vw, 29px); color: #fff; }
.np-band p { margin: 0; color: rgba(255,255,255,.88); max-width: 560px; }

.np-quickform { background: linear-gradient(150deg, var(--np-primary), var(--np-primary-2)); border-radius: 18px; padding: clamp(26px, 4.5vw, 46px); color: #fff; position: relative; overflow: hidden; box-shadow: var(--np-shadow-lg); }
.np-quickform::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(244,169,60,.3), transparent 70%); }
.np-quickform h2 { font-family: var(--np-serif); margin: 0 0 8px; font-size: clamp(20px, 3vw, 27px); color: #fff; position: relative; z-index: 1; }
.np-quickform > p { color: rgba(255,255,255,.78); margin: 0 0 20px; position: relative; z-index: 1; }
.np-quickform form { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; position: relative; z-index: 1; }
.np-quickform input {
  padding: 13px 18px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1); color: #fff; font-family: inherit; font-size: 14px;
  transition: border-color .2s, background .2s;
}
.np-quickform input::placeholder { color: rgba(255,255,255,.55); }
.np-quickform input:focus { outline: none; border-color: var(--np-gold); background: rgba(255,255,255,.16); }

/* ---------- Form chung ---------- */
.np-form { display: flex; flex-direction: column; gap: 15px; }
.np-form label { font-size: 13px; font-weight: 700; color: var(--np-ink); display: block; margin-bottom: 6px; }
.np-form input, .np-form textarea, .np-form select {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 1.5px solid var(--np-line); font-family: inherit; font-size: 14px;
  background: #fbfcfe; transition: border-color .2s, box-shadow .2s;
}
.np-form input:focus, .np-form textarea:focus, .np-form select:focus {
  outline: none; border-color: var(--np-primary-3); box-shadow: 0 0 0 4px rgba(29,78,137,.1); background: #fff;
}
.np-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.np-alert { padding: 13px 18px; border-radius: 10px; font-size: 14px; display: none; }
.np-alert--ok { background: #e8f8f0; color: #0c7a4d; border: 1px solid #b5e8d0; }
.np-alert--err { background: #fdecef; color: #b01e31; border: 1px solid #f6c6ce; }

/* ============================================================
   FOOTER
   ============================================================ */
.np-footer { margin-top: 52px; background: linear-gradient(180deg, var(--np-primary-2), #081b33 70%); color: rgba(255,255,255,.75); }
.np-footer__top { border-bottom: 1px solid rgba(255,255,255,.09); padding: 26px 0; }
.np-footer__brand { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.np-footer__brand .np-logo__name strong { color: #fff; }
.np-footer__brand .np-logo__name span { color: rgba(255,255,255,.55); }
.np-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 36px 0; }
.np-footer h4 {
  color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .07em;
  margin: 0 0 16px; display: flex; align-items: center; gap: 9px;
}
.np-footer h4::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: var(--np-gold); }
.np-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.np-footer ul a { color: rgba(255,255,255,.72); font-size: 13.8px; transition: color .2s, padding-left .22s var(--np-ease); }
.np-footer ul a:hover { color: var(--np-gold); padding-left: 5px; }
.np-footer__contact li { display: flex; gap: 11px; font-size: 13.8px; line-height: 1.55; }
.np-footer__contact i { color: var(--np-gold); width: 16px; text-align: center; margin-top: 4px; }
.np-footer__social { display: flex; gap: 9px; margin-top: 16px; }
.np-footer__social a {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.09); color: #fff; font-size: 15px;
  transition: background .2s, transform .2s;
}
.np-footer__social a:hover { background: var(--np-accent); transform: translateY(-3px); }
.np-footer__bottom { border-top: 1px solid rgba(255,255,255,.09); padding: 16px 0; font-size: 12.5px; }
.np-footer__bottom .np-container { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.np-footer__bottom a { color: rgba(255,255,255,.6); margin-left: 18px; }
.np-footer__bottom a:hover { color: #fff; }

/* ---------- Nút nổi ---------- */
.np-fab {
  position: fixed; right: 20px; z-index: 950;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; box-shadow: 0 10px 26px rgba(0,0,0,.25);
  transition: transform .25s var(--np-ease), opacity .25s;
}
.np-fab--top { bottom: 86px; background: var(--np-primary); opacity: 0; visibility: hidden; transform: translateY(10px); }
.np-fab--top.is-show { opacity: 1; visibility: visible; transform: none; }
.np-fab--top:hover { background: var(--np-primary-3); transform: translateY(-3px); }
.np-fab--call { bottom: 24px; background: linear-gradient(135deg, #e6394f, var(--np-accent-2)); animation: np-ring 2.4s infinite; }
.np-fab--call:hover { transform: scale(1.08); color: #fff; }

/* ---------- Phân trang ---------- */
.np-body .pagination { display: flex; justify-content: center; gap: 8px; margin: 34px 0 8px; }
.np-body .pagination a, .np-body .pagination span {
  min-width: 40px; height: 40px; padding: 0 13px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; color: var(--np-text);
  background: #fff; border: 1.5px solid var(--np-line);
  transition: all .2s;
}
.np-body .pagination a:hover { border-color: var(--np-primary-3); color: var(--np-primary-3); transform: translateY(-2px); }
.np-body .pagination span.active { background: var(--np-primary); border-color: var(--np-primary); color: #fff; }

/* ---------- Reveal khi cuộn ---------- */
.np-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--np-ease), transform .6s var(--np-ease); }
.np-reveal.is-in { opacity: 1; transform: none; }
.np-reveal[data-delay="1"] { transition-delay: .08s; }
.np-reveal[data-delay="2"] { transition-delay: .16s; }
.np-reveal[data-delay="3"] { transition-delay: .24s; }
.np-reveal[data-delay="4"] { transition-delay: .32s; }

/* ---------- Trang trống ---------- */
.np-empty { text-align: center; padding: 60px 20px; color: var(--np-muted); }
.np-empty i { font-size: 46px; margin-bottom: 14px; display: block; color: #cbd5e1; }
.np-empty h3 { color: var(--np-ink); margin: 0 0 6px; font-family: var(--np-serif); }

/* ---------- Khối giới thiệu ---------- */
.np-about { background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--np-shadow); }
.np-stat { text-align: center; padding: 22px 14px; background: #fff; border-radius: var(--np-radius); border: 1px solid var(--np-line); transition: transform .28s var(--np-ease), box-shadow .28s; }
.np-stat:hover { transform: translateY(-5px); box-shadow: var(--np-shadow-lg); }
.np-stat strong { display: block; font-size: clamp(26px, 3.6vw, 38px); font-family: var(--np-serif); color: var(--np-accent); line-height: 1.15; }
.np-stat span { font-size: 13px; color: var(--np-muted); font-weight: 600; }

/* ---------- Bản đồ / liên hệ ---------- */
.np-contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; align-items: start; }
.np-contact-item { display: flex; gap: 15px; padding: 17px 0; border-bottom: 1px dashed var(--np-line); }
.np-contact-item:last-child { border-bottom: 0; }
.np-contact-item i {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(29,78,137,.09); color: var(--np-primary-3); font-size: 17px;
}
.np-contact-item strong { display: block; color: var(--np-ink); font-size: 14.5px; margin-bottom: 3px; }
.np-contact-item p, .np-contact-item a.val { margin: 0; font-size: 13.8px; color: var(--np-muted); }
.np-map { border-radius: var(--np-radius); overflow: hidden; border: 1px solid var(--np-line); box-shadow: var(--np-shadow); min-height: 320px; }
.np-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .np-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .np-hero__grid { grid-template-columns: 1.5fr 1fr; }
  .np-search input { width: 180px; }
  .np-search input:focus { width: 210px; }
  .np-footer__grid { grid-template-columns: 1fr 1fr; }
  .np-article-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .np-menu { display: none; }
  .np-burger { display: inline-flex; align-items: center; justify-content: center; }
  .np-nav__inner { min-height: 56px; }
  .np-hero__grid { grid-template-columns: 1fr; }
  .np-feature { min-height: 340px; }
  .np-grid--3, .np-grid--main-side { grid-template-columns: 1fr; }
  .np-hotline { display: none; }
  .np-quickform form { grid-template-columns: 1fr 1fr; }
  .np-contact-grid { grid-template-columns: 1fr; }
}
/* ---------- Vuốt ngang trên mobile (np-mswipe) ---------- */
@media (max-width: 767px) {
  .np-mswipe {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: min(80vw, 330px);
    grid-template-columns: none !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    padding: 4px 20px 16px;
    margin-left: -20px;
    margin-right: -20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .np-mswipe::-webkit-scrollbar { display: none; }
  .np-mswipe > * { scroll-snap-align: start; }
  .np-mswipe .np-card--row { flex-direction: column; }
  .np-mswipe .np-card--row .np-card__img { width: 100%; aspect-ratio: 16 / 9.6; min-height: 0; }
  /* thẻ trong carousel hiện ngay, không chờ hiệu ứng cuộn dọc */
  .np-mswipe .np-reveal { opacity: 1; transform: none; transition-delay: 0s; }
  /* gợi ý còn nội dung phía sau: hé thẻ kế tiếp ~10% màn hình */
}

@media (max-width: 640px) {
  body.np-body { font-size: 15px; }
  .np-topbar__links span.np-hide-m, .np-topbar__date span { display: none; }
  .np-grid--2, .np-grid--4 { grid-template-columns: 1fr; }
  .np-card--row { flex-direction: column; }
  .np-card--row .np-card__img { width: 100%; aspect-ratio: 16/9.6; }
  .np-quickform form { grid-template-columns: 1fr; }
  .np-form__row { grid-template-columns: 1fr; }
  .np-search { display: none; }
  .np-logo img { height: 46px; }
  .np-logo__name strong { font-size: 17px; }
  .np-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .np-box__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .np-box__head::after { display: none; }
  .np-pagehead { padding: 32px 0 30px; }
}

/* ============================================================
   BỘ NHẬN DIỆN MỚI — DỊCH VỤ / GƯƠNG SÁNG / MÔ HÌNH ĐIỂM
   Layout dựng bằng Grid + Flex. Chỉ dùng position:absolute cho
   phần trang trí và lớp phủ liên kết, không dùng cho layout.
   ============================================================ */

:root {
  --color-primary: #0B2A6B;
  --color-gold:    #EC8922;
  --color-red:     #E53935;
  --color-blue:    #1E88E5;
  --color-green:   #43A047;
  --color-bg:      #F8FAFC;
  --color-text:    #1F2937;
  --color-muted:   #6B7280;
  --color-border:  #E5E7EB;
  --radius-card:   18px;
  --shadow-card:   0 2px 10px rgba(11, 42, 107, .06);
  --shadow-hover:  0 16px 38px rgba(11, 42, 107, .14);
  --ease-card:     cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Đầu khối dùng chung ---------- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 26px;
}
.section-head__main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  min-width: 0;
}
.section-head__bar {
  width: 6px;
  height: 30px;
  border-radius: 99px;
  background: var(--sv-accent, var(--color-gold));
  flex-shrink: 0;
}
.section-head__title {
  margin: 0;
  font-family: var(--np-font);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.2;
}
.section-head__line {
  width: clamp(40px, 8vw, 96px);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sv-accent, var(--color-gold)), rgba(0, 0, 0, 0));
  flex-shrink: 0;
}
.section-head__subtitle {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ---------- Nút Xem tất cả ---------- */
.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-card);
}
.btn-view-all__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  transition: transform .25s var(--ease-card), background .25s;
}
.btn-view-all:hover,
.btn-view-all:focus-visible {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
  color: var(--color-primary);
}
.btn-view-all:hover .btn-view-all__icon { transform: translateX(3px); }
.btn-view-all:focus-visible { outline: 3px solid rgba(30, 136, 229, .45); outline-offset: 2px; }

/* ============================================================
   KHỐI DỊCH VỤ
   ============================================================ */
.service-section { padding: 40px 0 10px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.service-card {
  position: relative;              /* mốc cho lớp phủ liên kết */
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-card), box-shadow .3s, border-color .3s;
}
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

/* Ảnh nền + icon nổi */
.service-card__visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: color-mix(in srgb, var(--card-accent, var(--color-gold)) 10%, #fff);
}
.service-card__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;               /* ảnh nền: phủ kín, không méo */
  display: block;
  transition: transform .6s var(--ease-card);
}
.service-card:hover .service-card__bg { transform: scale(1.03); }

.service-card__icon {
  position: absolute;              /* icon nổi lên trên nền — trang trí */
  left: 18px;
  bottom: -22px;
  width: clamp(58px, 22%, 74px);
  height: auto;
  object-fit: contain;             /* giữ đúng tỷ lệ PNG */
  border-radius: 16px;
  filter: drop-shadow(0 10px 20px rgba(11, 42, 107, .28));
  transition: transform .3s var(--ease-card);
}
.service-card:hover .service-card__icon { transform: scale(1.05); }

.service-card__icon--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 26px;
  color: #fff;
  background: var(--card-accent, var(--color-gold));
}

.service-card__num {
  position: absolute;              /* số thứ tự — trang trí */
  top: 12px;
  right: 16px;
  font-size: 22px;
  font-weight: 800;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  line-height: 1;
}

/* Nội dung thẻ */
.service-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;                         /* các thẻ cao bằng nhau, CTA thẳng hàng */
  padding: 34px 22px 22px;
  gap: 10px;
}
.service-card__title {
  margin: 0;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-primary);
}
.service-card__title a { color: inherit; }
/* Lớp phủ để bấm cả thẻ mà vẫn chỉ có một liên kết cho trình đọc màn hình */
.service-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.service-card__accent {
  width: 46px;
  height: 3px;
  border-radius: 2px;
  background: var(--card-accent, var(--color-gold));
}
.service-card__description {
  margin: 0;
  flex: 1;
  font-size: 14.5px;
  line-height: 1.6;
  color: #64748B;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-card__cta {
  position: relative;
  z-index: 2;                      /* nổi trên lớp phủ để bấm riêng được */
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-primary);
  transition: gap .25s var(--ease-card);
}
.service-card__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card-accent, var(--color-gold));
  color: #fff;
  font-size: 14px;
  box-shadow: 0 6px 16px color-mix(in srgb, var(--card-accent, var(--color-gold)) 42%, transparent);
  transition: transform .25s var(--ease-card);
}
.service-card__cta:hover { gap: 16px; color: var(--color-primary); }
.service-card__cta:hover .service-card__arrow { transform: scale(1.08); }
.service-card__cta:focus-visible,
.service-card__title a:focus-visible {
  outline: 3px solid rgba(30, 136, 229, .45);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   KHỐI NỔI BẬT: GƯƠNG SÁNG / MÔ HÌNH ĐIỂM
   ============================================================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.featured-card {
  display: grid;
  grid-template-columns: minmax(120px, 168px) minmax(0, 1fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-card), box-shadow .3s, border-color .3s;
}
.featured-card:hover,
.featured-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.featured-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background:
    linear-gradient(135deg,
      color-mix(in srgb, var(--fc-accent, var(--color-gold)) 16%, #fff),
      color-mix(in srgb, var(--fc-accent, var(--color-gold)) 4%, #fff));
}
.featured-card__art {
  width: 100%;
  max-width: 118px;
  height: auto;
  object-fit: contain;             /* giữ tỷ lệ ảnh trang trí */
  mix-blend-mode: multiply;        /* khử nền sáng sẵn có của PNG */
  transition: transform .35s var(--ease-card);
}
.featured-card:hover .featured-card__art { transform: scale(1.06); }
.featured-card__art--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  font-size: 32px;
  color: #fff;
  background: var(--fc-accent, var(--color-gold));
  mix-blend-mode: normal;
}

.featured-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px;
  min-width: 0;
}
.featured-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.featured-card__title {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.25;
}
.featured-card__title a { color: inherit; }
.featured-card__more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--fc-accent, var(--color-gold));
  white-space: nowrap;
  transition: gap .25s var(--ease-card);
}
.featured-card__more-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fc-accent, var(--color-gold));
  color: #fff;
  font-size: 11.5px;
  transition: transform .25s var(--ease-card);
}
.featured-card__more:hover { gap: 12px; color: var(--fc-accent, var(--color-gold)); }
.featured-card__more:hover .featured-card__more-icon { transform: translateX(2px); }

.featured-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.featured-card__item + .featured-card__item { border-top: 1px dashed var(--color-border); }
.featured-card__item a {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 10px 0;
  font-size: 14.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-text);
  transition: color .2s, padding-left .25s var(--ease-card);
}
.featured-card__item a i {
  color: var(--fc-accent, var(--color-gold));
  font-size: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}
.featured-card__item a:hover { color: var(--color-primary); padding-left: 5px; }
.featured-card__item a:focus-visible,
.featured-card__more:focus-visible,
.featured-card__title a:focus-visible {
  outline: 3px solid rgba(30, 136, 229, .45);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

@media (max-width: 767px) {
  .service-section { padding: 30px 0 6px; }
  .service-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .service-card__visual { aspect-ratio: 16 / 8; }
  .service-card__icon { width: 64px; left: 16px; bottom: -20px; }
  .service-card__content { padding: 32px 18px 20px; }
  .service-card__title { font-size: 21px; }
  .service-card__description { -webkit-line-clamp: none; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head__line { display: none; }
  .btn-view-all { padding: 8px 10px 8px 20px; font-size: 14px; }

  .featured-card { grid-template-columns: minmax(0, 1fr); }
  .featured-card__visual { padding: 20px; }
  .featured-card__art { max-width: 96px; }
  .featured-card__head { flex-direction: row; align-items: center; }
}

@media (max-width: 380px) {
  .featured-card__head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Tôn trọng thiết lập giảm chuyển động của người dùng */
@media (prefers-reduced-motion: reduce) {
  .service-card, .service-card__bg, .service-card__icon,
  .featured-card, .featured-card__art { transition: none; }
  .service-card:hover, .featured-card:hover { transform: none; }
  .service-card:hover .service-card__bg,
  .service-card:hover .service-card__icon,
  .featured-card:hover .featured-card__art { transform: none; }
}

/* Vung cham toi thieu 44px tren thiet bi cam tay */
@media (max-width: 767px) {
  .service-card__cta { min-height: 44px; align-items: center; }
  .service-card__arrow { width: 44px; height: 44px; }
  .featured-card__item a { min-height: 44px; align-items: center; }
  .btn-view-all { min-height: 44px; }
}

/* ============================================================
   TINH CHINH: icon noi tren cung, so thu tu sang trong,
   khoi ton vinh dang slider
   ============================================================ */

/* ---------- Icon dich vu: khong bi khung anh cat ---------- */
.service-card__media {
  position: relative;   /* moc dinh vi, KHONG cat noi dung */
}
.service-card__visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;     /* chi cat rieng anh nen de zoom muot */
  background: color-mix(in srgb, var(--card-accent, var(--color-gold)) 10%, #fff);
}
/* Icon la con cua __media nen tran xuong duoc va luon nam tren lop trang */
.service-card__icon {
  position: absolute;
  left: 20px;
  bottom: -26px;
  z-index: 3;
  width: clamp(60px, 23%, 78px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  padding: 4px;
  box-shadow:
    0 10px 24px rgba(11, 42, 107, .22),
    0 0 0 1px rgba(255, 255, 255, .9) inset;
  transition: transform .3s var(--ease-card), box-shadow .3s;
}
.service-card:hover .service-card__icon {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 32px rgba(11, 42, 107, .28);
}
.service-card__icon--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  padding: 0;
  font-size: 26px;
  color: #fff;
  background: var(--card-accent, var(--color-gold));
}
/* Chua chua icon tran xuong nen phai cho khoang trong o tren */
.service-card__content { padding-top: 40px; }

/* ---------- So thu tu: huy hieu kinh mo sang trong ---------- */
.service-card__num {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .45);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 4px 14px rgba(9, 20, 38, .18);
  transition: background .3s, border-color .3s;
}
.service-card__num b {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #fff;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
  font-variant-numeric: tabular-nums;
}
.service-card:hover .service-card__num {
  background: rgba(255, 255, 255, .3);
  border-color: rgba(255, 255, 255, .7);
}

/* ============================================================
   KHOI TON VINH (showcase) — anh tron + ho ten + thanh tich
   ============================================================ */
.showcase { padding: 40px 0 10px; }
.showcase .section-head__bar { background: var(--sc-accent, var(--color-gold)); }
.showcase .section-head__line {
  background: linear-gradient(90deg, var(--sc-accent, var(--color-gold)), rgba(0, 0, 0, 0));
}

.showcase__slider { padding: 6px 4px 8px; }
.showcase__slider .swiper-wrapper { align-items: stretch; }
.showcase__slider .swiper-slide { height: auto; display: flex; }

.person-card { width: 100%; }
.person-card__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 30px 22px 26px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease-card), box-shadow .3s, border-color .3s;
}
.person-card__link:hover,
.person-card__link:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.person-card__link:focus-visible {
  outline: 3px solid rgba(30, 136, 229, .45);
  outline-offset: 3px;
}

/* Anh chan dung bo tron + vong sang */
.person-card__photo {
  position: relative;
  display: inline-flex;
  width: clamp(110px, 42%, 138px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  flex-shrink: 0;
}
.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* khong meo anh du ty le nao */
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 10px 26px rgba(11, 42, 107, .18);
  position: relative;
  z-index: 1;
  transition: transform .45s var(--ease-card);
}
.person-card__link:hover .person-card__photo img { transform: scale(1.04); }

/* Vong tron gradient chay quanh anh */
.person-card__ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--sc-accent, var(--color-gold)),
    color-mix(in srgb, var(--sc-accent, var(--color-gold)) 25%, #fff),
    var(--sc-accent, var(--color-gold))
  );
  opacity: .85;
  transition: transform .6s var(--ease-card), opacity .3s;
}
.person-card__link:hover .person-card__ring {
  transform: rotate(180deg);
  opacity: 1;
}

.person-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  flex: 1;
}
.person-card__name {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 19.5px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-primary);
}
.person-card__divider {
  width: 38px;
  height: 3px;
  border-radius: 2px;
  background: var(--sc-accent, var(--color-gold));
}
.person-card__achievement {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #64748B;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Dieu huong slider */
.showcase__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.showcase__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: #fff;
  color: var(--color-primary);
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .25s var(--ease-card);
}
.showcase__btn:hover,
.showcase__btn:focus-visible {
  background: var(--sc-accent, var(--color-gold));
  border-color: var(--sc-accent, var(--color-gold));
  color: #fff;
  transform: translateY(-2px);
}
.showcase__btn:focus-visible { outline: 3px solid rgba(30, 136, 229, .45); outline-offset: 2px; }
.showcase__btn:disabled { opacity: .4; cursor: default; transform: none; }

.showcase__pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}
.showcase__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: #CBD5E1;
  opacity: 1;
  transition: width .3s var(--ease-card), background .3s;
}
.showcase__pagination .swiper-pagination-bullet-active {
  width: 26px;
  background: var(--sc-accent, var(--color-gold));
}

@media (max-width: 767px) {
  .showcase { padding: 30px 0 6px; }
  .person-card__link { padding: 26px 18px 22px; }
  .service-card__icon { left: 16px; bottom: -22px; width: 64px; }
  .service-card__content { padding-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .person-card__link, .person-card__photo img, .person-card__ring { transition: none; }
  .person-card__link:hover { transform: none; }
  .person-card__link:hover .person-card__photo img,
  .person-card__link:hover .person-card__ring { transform: none; }
}

/* ============================================================
   DONG TIN 1 COT — moi bai mot hang ngang, cuon toi dau tai toi do
   ============================================================ */
.post-feed { display: flex; flex-direction: column; }
.post-feed__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);   /* luon 1 cot */
  gap: 16px;
}
/* The nam ngang: anh trai - noi dung phai */
.post-feed__list .np-card--row { flex-direction: row; }
.post-feed__list .np-card--row .np-card__img {
  width: clamp(180px, 30%, 280px);
  min-height: 100%;
  aspect-ratio: auto;
}
.post-feed__list .np-card--row .np-card__body { padding: 18px 22px; gap: 8px; }
.post-feed__list .np-card--row .np-card__body h3 { font-size: 18px; -webkit-line-clamp: 2; }
.post-feed__list .np-card--row .np-card__body p { -webkit-line-clamp: 2; }

.post-feed__sentinel { height: 1px; }

.post-feed__status {
  display: none;                 /* chi hien khi dang tai */
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 0 6px;
  color: var(--np-muted);
  font-size: 14px;
}
.post-feed.is-loading .post-feed__status { display: flex; }
.post-feed.is-loading .post-feed__more,
.post-feed.is-done .post-feed__more,
.post-feed.is-done .post-feed__status { display: none; }

.post-feed__more { align-self: center; margin-top: 18px; }

.post-feed__end {
  text-align: center;
  padding: 22px 0 6px;
  color: var(--np-muted);
  font-size: 13.5px;
}
.post-feed__end::before {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 0 auto 12px;
  border-radius: 2px;
  background: var(--np-line);
}

@media (max-width: 640px) {
  .post-feed__list .np-card--row { flex-direction: column; }
  .post-feed__list .np-card--row .np-card__img {
    width: 100%;
    aspect-ratio: 16 / 9.6;
    min-height: 0;
  }
  .post-feed__list .np-card--row .np-card__body { padding: 16px 18px; }
  .post-feed__list .np-card--row .np-card__body h3 { font-size: 16.5px; }
}

/* ============================================================
   TINH CHINH 2: tieu de khoi bang voi cac title hien co,
   Guong sang + Mo hinh diem nam cung mot hang ngang
   ============================================================ */

/* Bang kich thuoc voi .np-box__title h2 (18.5px) */
.section-head__title { font-size: 18.5px; letter-spacing: .035em; }
.section-head__bar   { height: 24px; width: 5px; }
.section-head__subtitle { font-size: 12px; }
.btn-view-all { font-size: 13px; padding: 8px 10px 8px 20px; }
.btn-view-all__icon { width: 30px; height: 30px; font-size: 12px; }

/* Hai khoi ton vinh chia doi mot hang */
.showcase-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items: start;
}
.showcase-row .showcase { padding: 0; min-width: 0; }
.showcase-row .section-head { margin-bottom: 16px; }
/* Nua man hinh thi bo phu de tieu de khong bi xuong dong */
.showcase-row .section-head__line,
.showcase-row .section-head__subtitle { display: none; }

/* Trong cot hep: the gon lai, anh nho hon */
.showcase-row .person-card__link { padding: 22px 16px 20px; gap: 12px; }
.showcase-row .person-card__photo { width: clamp(88px, 46%, 104px); }
.showcase-row .person-card__name { font-size: 16px; }
.showcase-row .person-card__achievement { font-size: 13.5px; -webkit-line-clamp: 2; }
.showcase-row .showcase__btn { width: 40px; height: 40px; font-size: 13px; }

@media (max-width: 991px) {
  .showcase-row { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .showcase-row .section-head__subtitle { display: block; }
}

/* Logo chi dung anh: cho anh lon hon mot chut de can doi khi bo phan chu */
.np-logo--image-only img { height: clamp(52px, 5vw, 68px); width: auto; }
@media (max-width: 640px) {
  .np-logo--image-only img { height: 44px; }
}

/* ============================================================
   HERO SLIDER — anh lon chay lan luot cac tin "Dang chu y"
   ============================================================ */
.np-feature-slider {
  position: relative;
  border-radius: var(--np-radius);
  overflow: hidden;
  box-shadow: var(--np-shadow);
  min-width: 0;
}
.np-feature-slider .swiper-wrapper { align-items: stretch; }
.np-feature-slider .np-feature {
  border-radius: 0;
  box-shadow: none;
  height: auto;
}

/* Cham chi vi tri, dat trong anh */
.np-feature__dots {
  position: absolute;
  left: 32px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  gap: 7px;
}
.np-feature__dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .55);
  opacity: 1;
  transition: width .3s var(--np-ease), background .3s;
}
.np-feature__dots .swiper-pagination-bullet-active {
  width: 26px;
  background: #fff;
}

/* The nho ben phai sang len khi dung voi anh dang chay */
.np-mini[data-hero-index] { cursor: pointer; }
.np-mini.is-current {
  border-color: transparent;
  box-shadow: var(--np-shadow);
  background: linear-gradient(90deg, color-mix(in srgb, var(--np-accent) 7%, #fff), #fff);
}
.np-mini.is-current h4 { color: var(--np-primary-3); }
.np-mini.is-current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--np-accent);
}
.np-mini { position: relative; }

@media (max-width: 640px) {
  .np-feature__dots { left: 20px; bottom: 14px; }
}

/* ============================================================
   GHIM CHIEU RONG CHO SWIPER NAM TRONG CSS GRID
   Thieu width:100% thi container lay kich thuoc theo noi dung,
   Swiper dat slide bang container -> phinh to vo han, tran ngang trang.
   ============================================================ */
.np-feature-slider,
.showcase__slider {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.np-feature-slider .swiper-wrapper,
.showcase__slider .swiper-wrapper { box-sizing: content-box; }
/* Muc luoi phai duoc phep co lai, neu khong se day cot ra ngoai */
.np-hero__grid > *,
.showcase-row > * { min-width: 0; }

/* ============================================================
   TRANG DANG KY / TIM KIEM + thong bao form (main.js dung .alert)
   ============================================================ */
.np-body .alert { display: none; padding: 13px 18px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; }
.np-body .alert--success { background: #e8f8f0; color: #0c7a4d; border: 1px solid #b5e8d0; }
.np-body .alert--error   { background: #fdecef; color: #b01e31; border: 1px solid #f6c6ce; }

.np-reg-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr); gap: 26px; align-items: start; }
.np-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.np-steps li { display: flex; gap: 12px; align-items: flex-start; }
.np-steps li > span {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--np-primary); color: #fff; font-weight: 800; font-size: 13px;
}
.np-steps strong { display: block; color: var(--np-ink); font-size: 14.5px; }
.np-steps small { color: var(--np-muted); font-size: 13px; line-height: 1.5; }

.np-searchbar {
  position: relative; display: flex; gap: 10px; align-items: center;
  max-width: 720px; margin-top: 18px; padding: 8px 8px 8px 46px;
  background: #fff; border-radius: 999px; box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}
.np-searchbar__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--np-muted); font-size: 15px; }
.np-searchbar input {
  flex: 1; min-width: 0; border: 0; outline: none; background: none;
  font-family: inherit; font-size: 15.5px; color: var(--np-ink); padding: 8px 0;
}
.np-searchbar input::placeholder { color: var(--np-muted); }
.np-searchbar .np-btn { flex-shrink: 0; }

@media (max-width: 920px) {
  .np-reg-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .np-searchbar { padding-left: 40px; }
  .np-searchbar .np-btn { padding: 9px 14px; font-size: 13px; }
}

/* ============================================================
   TRANG CHUYEN MUC: cot chinh (dong tin 1 cot) + cot ben
   ============================================================ */
.np-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.np-main > .np-box__head { margin-bottom: 0; }
.np-main__lead { display: flex; }
.np-main__lead > .np-lead { flex: 1; min-height: 360px; }
.np-grid--main-side > .np-side { min-width: 0; align-self: start; }

/* Danh sach the nho trong cot ben */
.np-side__minis { display: flex; flex-direction: column; gap: 10px; }

/* Danh sach cau lac bo dang sinh hoat */
.np-clubs { display: flex; flex-direction: column; }
.np-clubs__item {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 0; border-bottom: 1px dashed var(--np-line);
}
.np-clubs__item:last-child { border-bottom: 0; padding-bottom: 0; }
.np-clubs__item:first-child { padding-top: 0; }
.np-clubs__icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--color-green, #43A047) 12%, #fff);
  color: var(--color-green, #43A047); font-size: 16px;
}
.np-clubs__item strong { display: block; color: var(--np-ink); font-size: 14.5px; line-height: 1.4; }
.np-clubs__item small { display: block; color: var(--np-muted); font-size: 12.5px; margin-top: 2px; }

@media (max-width: 640px) {
  .np-main__lead > .np-lead { min-height: 300px; }
}

/* ============================================================
   TRANG CHUONG TRINH: trai he, khoa hoc, tuyen sinh
   Dung chung bien mau va quy uoc bo goc cua toan site
   ============================================================ */
.np-container--narrow { max-width: 900px; }
.np-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.np-btn.is-disabled { opacity: .55; pointer-events: none; box-shadow: none; }

/* ---------- Dau trang dang gioi thieu ---------- */
.np-pagehead--hero { padding: 58px 0 54px; }
.np-pagehead--hero.has-image {
  background-image:
    linear-gradient(115deg, rgba(7, 29, 77, .94) 0%, rgba(11, 42, 107, .82) 52%, rgba(11, 42, 107, .5) 100%),
    var(--hero-img);
  background-size: cover; background-position: center;
}
.np-pagehead--hero h1 { font-size: clamp(28px, 4.6vw, 44px); line-height: 1.22; max-width: 820px; }
.np-pagehead__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 7px; margin-bottom: 14px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.np-pagehead__badge i { color: var(--np-gold); }
.np-pagehead__sub { color: rgba(255, 255, 255, .84); max-width: 720px; font-size: 15.5px; line-height: 1.7; }
.np-pagehead__sub p { margin: 0 0 8px; max-width: none; color: inherit; font-size: inherit; }
.np-pagehead__sub p:last-child { margin-bottom: 0; }
.np-pagehead__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Dau khoi co mo ta ---------- */
.np-sechead { margin-bottom: 20px; }
.np-sechead .np-box__head { margin-bottom: 8px; }
.np-sechead__sub { color: var(--np-muted); font-size: 14.5px; line-height: 1.65; max-width: 760px; padding-left: 18px; }
.np-sechead__sub p { margin: 0 0 6px; }
.np-sechead__sub p:last-child { margin-bottom: 0; }

/* ---------- The dieu ban khoan: icon trai, noi dung phai ---------- */
.np-point {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius);
  padding: 20px 22px;
  transition: transform .28s var(--np-ease), box-shadow .28s, border-color .28s;
}
.np-point:hover { transform: translateY(-4px); box-shadow: var(--np-shadow); border-color: transparent; }
.np-point__icon {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 19px;
  background: color-mix(in srgb, var(--np-accent) 10%, #fff); color: var(--np-accent);
}
.np-point h3 { margin: 2px 0 6px; font-size: 16.5px; font-family: var(--np-serif); color: var(--np-ink); line-height: 1.4; }
.np-point__desc, .np-service__desc { font-size: 13.8px; color: var(--np-muted); line-height: 1.6; }
.np-point__desc p, .np-service__desc p { margin: 0 0 6px; }
.np-point__desc p:last-child, .np-service__desc p:last-child { margin-bottom: 0; }
.np-service__desc { flex: 1; }

/* ---------- Nhom chuong trinh ---------- */
.np-group + .np-group { margin-top: 34px; }
.np-group__head {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-bottom: 18px; padding: 16px 20px;
  background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius);
  border-left: 4px solid var(--np-gold);
}
.np-group__head h3 { margin: 0; font-family: var(--np-serif); font-size: 19px; color: var(--np-ink); line-height: 1.35; }
.np-group__head p { margin: 4px 0 0; font-size: 13.5px; color: var(--np-muted); }
.np-group__hotline {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--np-primary) 6%, #fff);
  border: 1px solid color-mix(in srgb, var(--np-primary) 14%, #fff);
  transition: background .2s, transform .2s;
}
.np-group__hotline:hover { background: color-mix(in srgb, var(--np-primary) 11%, #fff); transform: translateY(-1px); }
.np-group__hotline > span:first-child {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--np-primary); color: var(--np-gold); font-size: 15px;
}
.np-group__hotline small { display: block; font-size: 11.5px; color: var(--np-muted); line-height: 1.3; }
.np-group__hotline strong { display: block; font-size: 15.5px; color: var(--np-primary); line-height: 1.3; }

/* ---------- The chuong trinh / khoa hoc ---------- */
.np-program {
  background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .28s var(--np-ease), box-shadow .28s, border-color .28s;
}
.np-program:hover { transform: translateY(-6px); box-shadow: var(--np-shadow-lg); border-color: transparent; }
.np-program__img { position: relative; display: block; aspect-ratio: 16 / 9.6; overflow: hidden; background: #e9eef5; }
.np-program__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--np-ease); }
.np-program:hover .np-program__img img { transform: scale(1.07); }
.np-program__img .np-chip { position: absolute; left: 12px; top: 12px; z-index: 2; box-shadow: 0 4px 12px rgba(0, 0, 0, .22); }
.np-program__price {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  padding: 6px 12px; border-radius: 7px;
  background: var(--np-gold); color: var(--np-primary);
  font-size: 13px; font-weight: 800; box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}
.np-program__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.np-program__body h3 {
  margin: 0; font-family: var(--np-serif); font-size: 17.5px; line-height: 1.4; color: var(--np-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.np-program__body h3 a { transition: color .2s; }
.np-program:hover h3 a { color: var(--np-primary-3); }
.np-program__body p {
  margin: 0; font-size: 13.8px; color: var(--np-muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.np-program__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.np-program__meta li { display: flex; align-items: baseline; gap: 9px; font-size: 13.2px; color: var(--np-text); }
.np-program__meta i { color: var(--np-primary-3); font-size: 12.5px; width: 15px; text-align: center; flex-shrink: 0; }
.np-program__actions {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--np-line);
}
.np-program__actions .np-btn { flex: 1 1 auto; justify-content: center; }

/* ---------- Bang lich khai giang ---------- */
.np-tablewrap {
  background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius);
  overflow-x: auto;
}
.np-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.np-table th {
  text-align: left; padding: 14px 18px; white-space: nowrap;
  font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--np-primary);
}
.np-table td { padding: 15px 18px; border-top: 1px solid var(--np-line); color: var(--np-text); vertical-align: middle; }
.np-table tbody tr { transition: background .2s; }
.np-table tbody tr:hover { background: #f7f9fc; }
.np-table__name { font-weight: 700; color: var(--np-ink); font-size: 15px; transition: color .2s; }
.np-table__name:hover { color: var(--np-primary-3); }
.np-table td > small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--np-muted); }
.np-table__actions { white-space: nowrap; text-align: right; }
.np-table__actions .np-btn + .np-btn { margin-left: 6px; }

.np-slot { min-width: 130px; max-width: 220px; }
.np-slot__bar { height: 7px; border-radius: 99px; background: #e6ebf3; overflow: hidden; }
.np-slot__bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--color-green, #43A047), var(--np-gold)); }
.np-slot small { display: block; margin-top: 5px; font-size: 12.5px; color: var(--np-muted); font-weight: 600; }
.np-slot.is-full .np-slot__bar span { background: var(--np-accent); }
.np-slot.is-full small { color: var(--np-accent); }

/* ---------- Luoi anh co chu thich ---------- */
.np-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.np-gallery__item {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--np-radius);
  aspect-ratio: 4 / 5; background: var(--np-primary); box-shadow: var(--np-shadow);
}
.np-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--np-ease); }
.np-gallery__item:hover img { transform: scale(1.06); }
.np-gallery__item::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 37, 69, 0) 38%, rgba(9, 20, 38, .9) 92%);
}
.np-gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 18px 16px; color: #fff; }
.np-gallery__item h3 { margin: 0 0 4px; font-family: var(--np-serif); font-size: 17px; line-height: 1.35; color: #fff; }
.np-gallery__item p {
  margin: 0; font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, .8);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- Cam nhan phu huynh ---------- */
.np-quote {
  margin: 0; background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius);
  padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .28s var(--np-ease), box-shadow .28s, border-color .28s;
}
.np-quote:hover { transform: translateY(-5px); box-shadow: var(--np-shadow-lg); border-color: transparent; }
.np-quote__stars { color: var(--np-gold); font-size: 13px; display: flex; gap: 3px; }
.np-quote blockquote { margin: 0; flex: 1; font-size: 14.5px; line-height: 1.7; color: var(--np-text); }
.np-quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--np-line); }
.np-quote__avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--np-primary) 8%, #fff); color: var(--np-primary-3);
}
.np-quote__avatar img { width: 100%; height: 100%; object-fit: cover; }
.np-quote figcaption strong { display: block; font-size: 14.5px; color: var(--np-ink); }
.np-quote figcaption small { display: block; font-size: 12.5px; color: var(--np-muted); }

/* ---------- Cau hoi thuong gap ---------- */
.np-faq { display: flex; flex-direction: column; gap: 10px; }
.np-faq__item {
  background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius);
  transition: border-color .2s, box-shadow .2s;
}
.np-faq__item[open] { border-color: color-mix(in srgb, var(--np-primary-3) 35%, var(--np-line)); box-shadow: var(--np-shadow); }
.np-faq__item summary {
  list-style: none; cursor: pointer; padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 15px; color: var(--np-ink); line-height: 1.45;
}
.np-faq__item summary::-webkit-details-marker { display: none; }
.np-faq__item summary:focus-visible { outline: 2px solid var(--np-primary-3); outline-offset: 2px; border-radius: var(--np-radius); }
.np-faq__item summary i { color: var(--np-muted); font-size: 12px; flex-shrink: 0; transition: transform .25s var(--np-ease); }
.np-faq__item[open] summary i { transform: rotate(180deg); color: var(--np-accent); }
.np-faq__body { padding: 0 20px 18px; font-size: 14.5px; line-height: 1.7; }
.np-faq__body p:last-child { margin-bottom: 0; }

/* ---------- Form nhanh: mo ta soan trong Admin ---------- */
.np-quickform__sub { color: rgba(255, 255, 255, .78); margin: 0 0 20px; position: relative; z-index: 1; font-size: 14.5px; line-height: 1.65; }
.np-quickform__sub p { margin: 0 0 6px; }
.np-quickform__sub p:last-child { margin-bottom: 0; }
.np-quickform form .np-btn { justify-content: center; white-space: nowrap; }

/* ---------- Trang chi tiet chuong trinh / khoa hoc ---------- */
.np-article__cover {
  display: block; width: 100%; max-height: 430px; object-fit: cover;
  border-radius: 12px; margin: 0 0 22px;
}
.np-article__block { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--np-line); }
.np-article__block > h2 {
  margin: 0 0 12px; font-family: var(--np-serif); font-size: 20px; color: var(--np-ink);
  display: flex; align-items: center; gap: 11px;
}
.np-article__block > h2 i { color: var(--np-gold); font-size: 17px; }

@media (max-width: 1024px) {
  .np-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .np-pagehead--hero { padding: 40px 0 38px; }
  .np-pagehead__actions .np-btn { flex: 1 1 100%; justify-content: center; }
  .np-sechead__sub { padding-left: 0; }
  .np-statrow { grid-template-columns: repeat(2, 1fr); }
  .np-group__head { padding: 14px 16px; }
  .np-group__hotline { width: 100%; }
  .np-gallery__item { aspect-ratio: 4 / 4.6; }

  /* Bang chuyen thanh the xep doc, moi o tu mang nhan cua no */
  .np-tablewrap { background: none; border: 0; overflow: visible; }
  .np-table thead { display: none; }
  .np-table, .np-table tbody, .np-table tr, .np-table td { display: block; width: 100%; }
  .np-table tr {
    background: #fff; border: 1px solid var(--np-line); border-radius: var(--np-radius);
    padding: 6px 16px 14px; margin-bottom: 12px;
  }
  .np-table td { padding: 10px 0; border-top: 1px dashed var(--np-line); }
  .np-table td:first-child { border-top: 0; }
  .np-table td[data-label]::before {
    content: attr(data-label); display: block; margin-bottom: 3px;
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--np-muted);
  }
  .np-table__actions { text-align: left; white-space: normal; display: flex !important; gap: 8px; }
  .np-table__actions .np-btn { flex: 1; justify-content: center; }
  .np-table__actions .np-btn + .np-btn { margin-left: 0; }
  .np-slot { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .np-point, .np-program, .np-quote, .np-gallery__item img, .np-program__img img, .np-faq__item summary i { transition: none; }
  .np-point:hover, .np-program:hover, .np-quote:hover { transform: none; }
}

/* ============================================================
   COT BEN — cac khoi dung chung cho trang bai viet va trang chuyen muc
   ============================================================ */
.np-widget { box-shadow: 0 1px 2px rgba(11, 37, 69, .04); transition: box-shadow .28s, border-color .28s; }
.np-widget:hover { box-shadow: var(--np-shadow); }
.np-widget__title { padding-bottom: 13px; border-bottom: 1px solid var(--np-line); }
.np-widget__more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; padding: 10px 14px; border-radius: 999px;
  border: 1px solid var(--np-line); background: #f7f9fc;
  font-size: 13px; font-weight: 700; color: var(--np-primary);
  transition: background .2s, border-color .2s, color .2s, gap .2s;
}
.np-widget__more:hover { background: var(--np-primary); border-color: var(--np-primary); color: #fff; gap: 12px; }
.np-widget__more i { font-size: 11px; }

/* The nho trong cot ben: bo vien rieng, ngan cach bang duong ke de khoi gon */
.np-side__minis { gap: 0; }
.np-side__minis .np-mini {
  border: 0; border-radius: 0; padding: 12px 0; background: none;
  border-bottom: 1px dashed var(--np-line); align-items: center;
}
.np-side__minis .np-mini:first-child { padding-top: 0; }
.np-side__minis .np-mini:last-child { border-bottom: 0; padding-bottom: 0; }
.np-side__minis .np-mini:hover { transform: none; box-shadow: none; }
.np-side__minis .np-mini img { width: 92px; height: 68px; border-radius: 9px; transition: transform .4s var(--np-ease); }
.np-side__minis .np-mini:hover img { transform: scale(1.05); }
.np-side__minis .np-mini h4 { margin: 3px 0 0; -webkit-line-clamp: 3; }

/* ---------- Danh sach xep hang ---------- */
.np-rank { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.np-rank__item { border-bottom: 1px dashed var(--np-line); }
.np-rank__item:last-child { border-bottom: 0; }
.np-rank__item a { display: flex; align-items: flex-start; gap: 13px; padding: 13px 0; }
.np-rank__item:last-child a { padding-bottom: 0; }
.np-rank__num {
  flex-shrink: 0; min-width: 30px; line-height: 1;
  font-family: var(--np-serif); font-size: 25px; font-weight: 700;
  color: color-mix(in srgb, var(--np-primary) 22%, #fff);
  transition: color .25s;
}
.np-rank__item a:hover .np-rank__num { color: var(--np-accent); }
.np-rank__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.np-rank__body small {
  font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--chip-bg, var(--np-accent));
}
.np-rank__body strong {
  font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--np-ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s;
}
.np-rank__item a:hover strong { color: var(--np-primary-3); }

/* Bai dau: anh lon phia tren, so thu tu nam trong hang noi dung */
.np-rank__item--lead a { flex-wrap: wrap; padding-top: 0; }
.np-rank__img {
  flex: 0 0 100%; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 10px; background: #e9eef5;
}
.np-rank__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--np-ease); }
.np-rank__item--lead a:hover .np-rank__img img { transform: scale(1.05); }
.np-rank__item--lead .np-rank__num { color: var(--np-accent); }
.np-rank__item--lead .np-rank__body { flex: 1; }
.np-rank__item--lead strong { font-size: 15.5px; font-family: var(--np-serif); font-weight: 700; }

/* ---------- Dang ky online ---------- */
.np-regbox {
  position: relative; overflow: hidden; border: 0; color: #fff;
  padding: 26px 22px 22px;
  background:
    radial-gradient(260px 180px at 100% 0%, rgba(244, 169, 60, .3), transparent 65%),
    linear-gradient(155deg, var(--np-primary) 0%, var(--np-primary-3) 100%);
  box-shadow: 0 16px 36px rgba(11, 37, 69, .22);
}
.np-regbox:hover { box-shadow: 0 18px 40px rgba(11, 37, 69, .28); }
.np-regbox__icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22);
  color: var(--np-gold); font-size: 18px;
}
.np-regbox h4 { margin: 0 0 6px; font-family: var(--np-serif); font-size: 20px; color: #fff; }
.np-regbox > p { margin: 0 0 16px; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.np-regbox form { display: flex; flex-direction: column; gap: 10px; }
.np-regbox form > p { margin: 0; line-height: 1.6; }      /* thong bao gui thanh cong */
.np-regbox input[type="text"], .np-regbox input[type="tel"] {
  width: 100%; padding: 12px 15px; border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .1);
  color: #fff; font-family: inherit; font-size: 14px;
  transition: border-color .2s, background .2s;
}
.np-regbox input::placeholder { color: rgba(255, 255, 255, .6); }
.np-regbox input:focus { outline: none; border-color: var(--np-gold); background: rgba(255, 255, 255, .17); }
.np-regbox .np-btn { width: 100%; justify-content: center; margin-top: 2px; }
.np-regbox__more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .78);
  transition: color .2s, gap .2s;
}
.np-regbox__more:hover { color: #fff; gap: 11px; }
.np-regbox__more i { font-size: 10px; }

/* ---------- Hotline ---------- */
.np-hotbox { padding: 0; overflow: hidden; }
.np-hotbox__call {
  display: flex; align-items: center; gap: 14px; padding: 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--np-accent) 7%, #fff), #fff 70%);
  border-bottom: 1px solid var(--np-line);
}
.np-hotbox__icon {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--np-accent); color: #fff; font-size: 19px;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--np-accent) 14%, transparent), 0 8px 18px rgba(215, 38, 61, .3);
  transition: transform .3s var(--np-ease);
}
.np-hotbox__call:hover .np-hotbox__icon { transform: scale(1.06) rotate(-8deg); }
.np-hotbox__call small {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--np-muted);
}
.np-hotbox__call strong {
  display: block; font-size: 22px; font-weight: 800; line-height: 1.25;
  color: var(--np-accent); letter-spacing: .01em;
}
.np-hotbox__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 8px; padding: 16px 20px 0; }
.np-hotbox__links a {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 10px; border-radius: 999px;
  border: 1px solid var(--np-line); background: #f7f9fc;
  font-size: 12.5px; font-weight: 700; color: var(--np-primary);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.np-hotbox__links a:hover { background: var(--np-primary); border-color: var(--np-primary); color: #fff; transform: translateY(-2px); }
.np-hotbox__addr {
  display: flex; gap: 10px; align-items: baseline; margin: 0; padding: 16px 20px 20px;
  font-size: 13px; line-height: 1.6; color: var(--np-muted);
}
.np-hotbox__addr i { color: var(--np-gold); flex-shrink: 0; }
.np-hotbox__links:last-child { padding-bottom: 20px; }

/* ---------- Danh sach chuyen muc ---------- */
.np-catlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.np-catlist a {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px;
  transition: background .2s, transform .2s;
}
.np-catlist a:hover, .np-catlist a.is-active { background: color-mix(in srgb, var(--cat-color) 8%, #fff); }
.np-catlist a:hover { transform: translateX(3px); }
.np-catlist__icon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
  background: color-mix(in srgb, var(--cat-color) 13%, #fff); color: var(--cat-color);
}
.np-catlist__name { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; color: var(--np-ink); }
.np-catlist a.is-active .np-catlist__name { color: var(--cat-color); }
.np-catlist__count {
  min-width: 30px; padding: 2px 9px; border-radius: 999px; text-align: center;
  background: #f0f3f8; color: var(--np-muted); font-size: 12px; font-weight: 700;
}
.np-catlist a.is-active .np-catlist__count { background: var(--cat-color); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .np-rank__img img, .np-side__minis .np-mini img, .np-hotbox__icon, .np-catlist a, .np-hotbox__links a { transition: none; }
  .np-catlist a:hover, .np-hotbox__links a:hover { transform: none; }
}

/* ============================================================
   CHAN TRANG — chi logo, dong ban quyen kem don vi thiet ke
   ============================================================ */
/* Logo dat tren nen sang de chu mau xanh trong logo khong chim vao nen toi */
.np-footer__logo {
  display: inline-flex; align-items: center;
  padding: 10px 18px; border-radius: 14px; background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
  transition: transform .25s var(--np-ease), box-shadow .25s;
}
.np-footer__logo:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
.np-footer__logo img { display: block; height: 54px; width: auto; max-width: min(300px, 62vw); object-fit: contain; }

/* Luoi link thang hang voi logo va dong ban quyen (giu le ngang cua container) */
.np-footer__grid { padding: 36px 20px; }

.np-footer__copy { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; line-height: 1.6; }
.np-footer__credit { display: inline-flex; align-items: center; gap: 5px; color: rgba(255, 255, 255, .6); }
.np-footer__credit::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%; margin-right: 7px;
  background: var(--np-gold);
}
.np-footer__bottom .np-footer__credit a {
  margin-left: 0; color: #fff; font-weight: 700;
  border-bottom: 1px solid color-mix(in srgb, var(--np-gold) 70%, transparent);
  transition: color .2s, border-color .2s;
}
.np-footer__bottom .np-footer__credit a:hover { color: var(--np-gold); border-color: var(--np-gold); }
.np-footer__credit strong { color: #fff; }
.np-footer__links a:first-child { margin-left: 0; }

@media (max-width: 640px) {
  .np-footer__brand { justify-content: center; text-align: center; }
  .np-footer__logo img { height: 46px; }
  .np-footer__bottom .np-container { justify-content: center; text-align: center; }
  .np-footer__copy { justify-content: center; }
  .np-footer__credit::before { display: none; }
}
