/* ===== MODERN HEADER (nh-*) ===== */
:root {
  --nh-primary: #2563eb;
  --nh-primary-dark: #1d4ed8;
  --nh-navy: #0f172a;
  --nh-border: #e2e8f0;
  --nh-container: 1200px;
}

/* Chỉ ẩn header cũ khi đã có header mới .nh-header */
body:has(.nh-header) .header-mobile,
body:has(.nh-header) header.hidden-xs.hidden-sm,
body:has(.nh-header) .top-bar:not(.nh-topbar),
body:has(.nh-header) .header-content,
body:has(.nh-header) .navigation,
body:has(.nh-header) .main-menu { display: none !important; }

/* Reset wrapper trên trang chủ */
.hp-body .wrapper {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  overflow: visible !important;
}
.hp-body #td-outer-wrap { overflow: visible; }

.nh-container { max-width: var(--nh-container); margin: 0 auto; padding: 0 20px; }

.nh-header {
  position: sticky; top: 0; z-index: 1100;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  background: #fff;
  box-shadow: 0 1px 0 var(--nh-border);
  transition: box-shadow .25s;
  width: 100%;
}
.nh-header.nh-scrolled { box-shadow: 0 4px 20px rgba(15,23,42,.1); }

/* Topbar */
.nh-topbar {
  background: var(--nh-navy); color: #94a3b8; font-size: .8rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nh-topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 8px 20px; flex-wrap: wrap;
}
.nh-topbar a { color: #cbd5e1; text-decoration: none; }
.nh-topbar a:hover { color: #fff; }
.nh-topbar i { margin-right: 6px; color: var(--nh-primary); }
.nh-topbar-sep { margin: 0 10px; opacity: .35; }
.nh-topbar-left, .nh-topbar-right { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }

/* Main bar */
.nh-main { border-bottom: 1px solid var(--nh-border); background: #fff; }
.nh-main-inner {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  padding: 12px 20px;
  min-height: 68px;
}
.nh-logo { flex-shrink: 0; display: flex; align-items: center; max-width: 160px; }
.nh-logo img { max-height: 48px; max-width: 100%; width: auto; display: block; object-fit: contain; }

/* Desktop nav */
.nh-nav { min-width: 0; display: flex; justify-content: center; }
.nh-nav > ul {
  display: flex; align-items: center; justify-content: center;
  gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.nh-nav-item { position: relative; }
.nh-nav-item > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 11px; font-size: .84rem; font-weight: 600;
  color: var(--nh-navy); text-decoration: none; border-radius: 8px;
  transition: color .2s, background .2s; white-space: nowrap;
}
.nh-nav-item > a i { font-size: .65rem; opacity: .6; }
.nh-nav-item > a:hover,
.nh-nav-item.is-active > a { color: var(--nh-primary); background: #eff6ff; }

.nh-submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--nh-border); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15,23,42,.12); list-style: none;
  margin: 0; padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s; z-index: 100;
}
.nh-nav-item.has-sub:hover .nh-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nh-submenu a {
  display: block; padding: 10px 14px; font-size: .875rem; font-weight: 500;
  color: #334155; text-decoration: none; border-radius: 6px;
}
.nh-submenu a:hover { background: #f1f5f9; color: var(--nh-primary); }

/* Actions */
.nh-actions {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  justify-self: end;
}
.nh-hotline { text-decoration: none; text-align: right; line-height: 1.3; }
.nh-hotline-label { display: block; font-size: .7rem; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.nh-hotline strong { font-size: 1rem; font-weight: 800; color: var(--nh-navy); }
.nh-hotline:hover strong { color: var(--nh-primary); }
.nh-cta {
  display: inline-flex; align-items: center; padding: 10px 18px;
  background: var(--nh-primary); color: #fff !important; font-weight: 700;
  font-size: .85rem; border-radius: 8px; text-decoration: none;
  transition: background .2s; white-space: nowrap;
}
.nh-cta:hover { background: var(--nh-primary-dark); }

.nh-mobile-actions { display: none; align-items: center; gap: 8px; margin-left: auto; }
.nh-mobile-phone,
.nh-mobile-toggle {
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--nh-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--nh-navy); text-decoration: none; font-size: 1.1rem;
  background: #fff;
}
.nh-mobile-phone { color: var(--nh-primary); border-color: #bfdbfe; background: #eff6ff; }

@media (max-width: 1280px) {
  .nh-main-inner { grid-template-columns: 140px minmax(0, 1fr) auto; }
  .nh-nav-item > a { padding: 7px 8px; font-size: .8rem; }
  .nh-hotline { display: none; }
}

@media (max-width: 1100px) {
  .nh-main-inner { grid-template-columns: 1fr auto; }
  .nh-nav { display: none; }
  .nh-actions { display: none; }
  .nh-mobile-actions { display: flex; justify-self: end; }
}
@media (max-width: 768px) {
  .nh-topbar-right { display: none; }
  .nh-topbar-inner { justify-content: center; }
  .nh-main-inner { padding: 10px 16px; min-height: 56px; grid-template-columns: 1fr auto; }
  .nh-logo img { max-height: 40px; }
  .nh-logo { max-width: 130px; }
}

/* Homepage only — scoped under .hp */
.hp-body .wrapper { padding-top: 0 !important; }

.hp {
  --hp-primary: #2563eb;
  --hp-primary-dark: #1d4ed8;
  --hp-navy: #0f172a;
  --hp-slate: #334155;
  --hp-muted: #64748b;
  --hp-border: #e2e8f0;
  --hp-bg: #f8fafc;
  --hp-accent: #f59e0b;
  --hp-container: 1200px;
  --hp-radius: 12px;
  --hp-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  color: var(--hp-slate);
  line-height: 1.6;
  width: 100%;
  overflow: hidden;
}
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp img { max-width: 100%; height: auto; display: block; }
.hp .hp-container { max-width: var(--hp-container); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent; transition: all .2s; cursor: pointer;
}
.hp-btn-primary { background: var(--hp-primary); color: #fff; }
.hp-btn-primary:hover { background: var(--hp-primary-dark); color: #fff; }
.hp-btn-accent { background: var(--hp-accent); color: var(--hp-navy); }
.hp-btn-accent:hover { background: #d97706; color: #fff; }
.hp-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.hp-btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.hp-btn-white { background: #fff; color: var(--hp-primary-dark); }
.hp-btn-white:hover { background: #f1f5f9; }

/* Hero */
.hp-hero {
  position: relative; min-height: 72vh; display: flex; align-items: center;
  background: var(--hp-navy) center/cover no-repeat;
}
.hp-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15,23,42,.96) 0%, rgba(15,23,42,.9) 55%, rgba(15,23,42,.82) 100%);
  z-index: 0;
}
.hp-hero-inner { position: relative; z-index: 2; width: 100%; padding: 48px 0 64px; }
.hp-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hp-hero-tag {
  display: inline-block; background: rgba(37,99,235,.3); color: #93c5fd;
  font-size: .75rem; font-weight: 600; letter-spacing: .03em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.hp-hero h1 { color: #fff; font-size: clamp(1.85rem, 4vw, 3rem); font-weight: 800; line-height: 1.15; margin: 0 0 18px; }
.hp-hero-desc { color: #cbd5e1; font-size: 1.05rem; line-height: 1.75; margin-bottom: 28px; max-width: 540px; }
.hp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-hero-hotline { margin-top: 20px; color: #94a3b8; font-size: .9rem; }
.hp-hero-hotline strong { color: #fff; font-size: 1.25rem; display: block; margin-top: 4px; }

.hp-quote-card {
  position: relative; z-index: 2;
  background: #fff; border-radius: 16px; padding: 28px;
  box-shadow: 0 25px 50px rgba(0,0,0,.28);
}
.hp-quote-card h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 700; color: var(--hp-navy); }
.hp-quote-card > p { margin: 0 0 18px; color: var(--hp-muted); font-size: .9rem; }
.hp-quote-card input, .hp-quote-card select, .hp-quote-card textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--hp-border); border-radius: 8px;
  font-size: .95rem; margin-bottom: 12px; font-family: inherit; background: #fff;
}
.hp-quote-card textarea { min-height: 80px; resize: vertical; }
.hp-quote-card .hp-btn { width: 100%; border: 0; }

/* Stats */
.hp-stats { background: #fff; border-bottom: 1px solid var(--hp-border); padding: 0; margin-top: -48px; position: relative; z-index: 2; }
.hp-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  background: #fff; border-radius: 16px; box-shadow: var(--hp-shadow);
  padding: 32px 40px; border: 1px solid var(--hp-border);
}
.hp-stat { text-align: center; }
.hp-stat strong { display: block; font-size: 2.25rem; font-weight: 800; color: var(--hp-primary); line-height: 1; margin-bottom: 8px; }
.hp-stat span { color: var(--hp-muted); font-size: .95rem; }

/* Sections */
.hp-section { padding: 72px 0; }
.hp-section--gray { background: var(--hp-bg); }
.hp-section-title { text-align: center; margin-bottom: 44px; }
.hp-section-title h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--hp-navy); margin: 0 0 10px; }
.hp-section-title p { color: var(--hp-muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.hp-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; gap: 16px; flex-wrap: wrap; }
.hp-section-head h2 { font-size: 1.65rem; font-weight: 800; color: var(--hp-navy); margin: 0; }
.hp-link { color: var(--hp-primary); font-weight: 600; text-decoration: none; }
.hp-link:hover { text-decoration: underline; }

/* Features */
.hp-features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-feature {
  background: #fff; border: 1px solid var(--hp-border); border-radius: var(--hp-radius);
  padding: 28px 22px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.hp-feature:hover { transform: translateY(-4px); box-shadow: var(--hp-shadow); }
.hp-feature img { width: 56px; height: 56px; object-fit: contain; margin: 0 auto 16px; }
.hp-feature h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 700; color: var(--hp-navy); }
.hp-feature p { margin: 0; font-size: .875rem; color: var(--hp-muted); line-height: 1.55; }
.hp-feature a { text-decoration: none; color: inherit; display: block; }

/* Services */
.hp-services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.hp-svc-card {
  background: #fff; border: 1px solid var(--hp-border); border-radius: 16px; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.hp-svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,23,42,.1); }
.hp-svc-card-img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.hp-svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.hp-svc-card:hover .hp-svc-card-img img { transform: scale(1.05); }
.hp-svc-card-body { padding: 20px; }
.hp-svc-card-body h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; line-height: 1.35; }
.hp-svc-card-body h3 a { color: var(--hp-navy); text-decoration: none; }
.hp-svc-card-body h3 a:hover { color: var(--hp-primary); }
.hp-svc-card-body p {
  margin: 0 0 12px; font-size: .875rem; color: var(--hp-muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hp-svc-more { font-size: .85rem; font-weight: 600; color: var(--hp-primary); text-decoration: none; }
.hp-svc-more:hover { text-decoration: underline; }

/* Process */
.hp-process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.hp-process-step {
  background: #fff; border: 1px solid var(--hp-border); border-radius: var(--hp-radius);
  padding: 24px 16px; text-align: center; position: relative;
}
.hp-process-step::before {
  counter-increment: step; content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: var(--hp-primary); color: #fff;
  font-weight: 700; font-size: .9rem; margin: 0 auto 14px;
}
.hp-process-step h3 { margin: 0 0 6px; font-size: .95rem; font-weight: 700; color: var(--hp-navy); }
.hp-process-step p { margin: 0; font-size: .8rem; color: var(--hp-muted); line-height: 1.5; }

/* FAQ + Testimonials */
.hp-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.hp-faq details {
  background: #fff; border: 1px solid var(--hp-border); border-radius: 8px;
  margin-bottom: 10px; overflow: hidden;
}
.hp-faq summary {
  padding: 16px 18px; font-weight: 600; color: var(--hp-navy); cursor: pointer;
  list-style: none; display: flex; align-items: flex-start; gap: 10px;
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::before { content: '+'; color: var(--hp-primary); font-weight: 700; flex-shrink: 0; }
.hp-faq details[open] summary::before { content: '−'; }
.hp-faq details p { margin: 0; padding: 0 18px 16px 36px; font-size: .9rem; color: var(--hp-muted); line-height: 1.65; }

.hp-testimonials { display: flex; flex-direction: column; gap: 16px; }
.hp-testimonial {
  background: #fff; border: 1px solid var(--hp-border); border-radius: var(--hp-radius);
  padding: 20px; display: flex; gap: 16px;
}
.hp-testimonial img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hp-testimonial h4 { margin: 0 0 2px; font-size: .95rem; font-weight: 700; color: var(--hp-navy); }
.hp-testimonial .hp-t-meta { font-size: .8rem; color: var(--hp-muted); margin-bottom: 8px; }
.hp-testimonial p { margin: 0; font-size: .875rem; color: var(--hp-slate); line-height: 1.6; font-style: italic; }

/* Blog */
.hp-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.hp-blog-card {
  background: #fff; border: 1px solid var(--hp-border); border-radius: 16px; overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.hp-blog-card:hover { box-shadow: var(--hp-shadow); transform: translateY(-3px); }
.hp-blog-img { display: block; aspect-ratio: 16/10; overflow: hidden; }
.hp-blog-img img { width: 100%; height: 100%; object-fit: cover; }
.hp-blog-body { padding: 18px; }
.hp-blog-body h3 { margin: 0 0 8px; font-size: .95rem; font-weight: 700; line-height: 1.4; }
.hp-blog-body h3 a { color: var(--hp-navy); text-decoration: none; }
.hp-blog-body h3 a:hover { color: var(--hp-primary); }
.hp-blog-body p {
  margin: 0; font-size: .85rem; color: var(--hp-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Videos */
.hp-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.hp-video-item { border-radius: 12px; overflow: hidden; border: 1px solid var(--hp-border); background: #fff; }
.hp-video-thumb { position: relative; aspect-ratio: 16/9; display: block; overflow: hidden; }
.hp-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hp-video-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(15,23,42,.35); color: #fff; font-size: 2rem;
}
.hp-video-item h3 { margin: 0; padding: 14px; font-size: .9rem; font-weight: 600; line-height: 1.4; }
.hp-video-item h3 a { color: var(--hp-navy); text-decoration: none; }
.hp-video-item h3 a:hover { color: var(--hp-primary); }

/* CTA */
.hp-cta {
  background: linear-gradient(135deg, var(--hp-primary) 0%, var(--hp-primary-dark) 100%);
  padding: 64px 0; text-align: center;
}
.hp-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0 0 12px; }
.hp-cta p { color: #bfdbfe; margin: 0 0 28px; font-size: 1.05rem; }
.hp-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Responsive */
@media (max-width: 992px) {
  .hp-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hp-hero { min-height: auto; }
  .hp-hero-inner { padding: 80px 0 60px; }
  .hp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-process-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-two-col { grid-template-columns: 1fr; }
  .hp-stats-grid { grid-template-columns: 1fr; padding: 24px; margin-top: -24px; }
}
@media (max-width: 600px) {
  .hp-section { padding: 52px 0; }
  .hp-features-grid { grid-template-columns: 1fr; }
  .hp-process-grid { grid-template-columns: 1fr; }
  .hp-hero-actions .hp-btn { width: 100%; }
  .post-grid { grid-template-columns: 1fr; }
  .tm-layout { grid-template-columns: 1fr; }
}

/* Ẩn slider cũ trên trang chủ mới */
.hp-body .widget_slider_style_9,
.hp-body .js_widget_slider_style_9_1 { display: none !important; }

/* ===== TRANG CHỦ PREMIUM (đồng bộ #2563eb) ===== */
.hp .up-hero {
  position: relative; min-height: 78vh; display: flex; align-items: center; justify-content: center;
  background: url('uploads/source/thang-5/banner/anh-baner-web.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hp .up-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.94) 0%, rgba(15,23,42,.75) 100%);
}
.hp .up-hero-content { position: relative; z-index: 2; text-align: center; max-width: 820px; padding: 60px 20px; }
.hp .up-hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.2; color: #fff;
  margin-bottom: 20px;
}
.hp .up-hero-subtitle { font-size: 1.1rem; color: #cbd5e1; margin-bottom: 32px; line-height: 1.75; }
.hp .up-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hp .up-btn-glow {
  display: inline-flex; align-items: center; padding: 14px 28px; font-weight: 700;
  color: #fff; background: var(--hp-primary); border-radius: 8px; text-decoration: none;
  transition: background .2s, transform .2s;
}
.hp .up-btn-glow:hover { background: var(--hp-primary-dark); color: #fff; transform: translateY(-2px); }
.hp .up-btn-glass {
  background: transparent; border: 2px solid rgba(255,255,255,.5); color: #fff;
}
.hp .up-btn-glass:hover { background: rgba(255,255,255,.1); }

.hp .up-section-title { text-align: center; margin-bottom: 44px; }
.hp .up-section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--hp-navy); margin: 0 0 10px;
}
.hp .up-section-title p { color: var(--hp-muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.hp .up-section-title--left { text-align: left; }
.hp .up-section-title--left p { margin-left: 0; }

.hp .hp-feature {
  background: #fff; border: 1px solid var(--hp-border); border-radius: 16px;
  padding: 32px 24px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.hp .hp-feature:hover { transform: translateY(-6px); box-shadow: var(--hp-shadow); }
.hp .hp-feature img { width: 56px; height: 56px; margin: 0 auto 16px; object-fit: contain; }
.hp .hp-feature h3 { font-size: 1.05rem; font-weight: 700; color: var(--hp-navy); margin-bottom: 8px; }
.hp .hp-feature p { font-size: .875rem; color: var(--hp-muted); margin: 0; line-height: 1.6; }
.hp .hp-feature a { text-decoration: none; color: inherit; display: block; }

.hp .hp-svc-card { border-radius: 16px; border: 1px solid var(--hp-border); overflow: hidden; background: #fff; }
.hp .hp-svc-more { color: var(--hp-primary); font-weight: 600; font-size: .85rem; text-decoration: none; }
.hp .hp-svc-more:hover { text-decoration: underline; }
.hp .up-glass-card { background: #fff; border: 1px solid var(--hp-border); border-radius: 16px; padding: 20px; }

/* ===== TRANG NỘI BỘ ===== */
.ph-hero {
  position: relative; padding: 72px 0 56px; background: var(--hp-navy) center/cover no-repeat;
  color: #fff; overflow: hidden;
}
.ph-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.92), rgba(15,23,42,.78));
}
.ph-hero-body { position: relative; z-index: 1; }
.ph-hero h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; margin: 0 0 16px; color: #fff; }
.ph-hero--center { text-align: center; }

.bc-nav ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0;
}
.bc-nav li { display: inline-flex; align-items: center; font-size: .9rem; color: #cbd5e1; }
.bc-nav li + li::before { content: '/'; margin: 0 10px; color: #64748b; }
.bc-nav a { color: #93c5fd; text-decoration: none; }
.bc-nav a:hover { color: #fff; }
.bc-nav li:last-child span { color: #e2e8f0; }

/* Tắt thanh trắng xiên cũ trên các trang chưa cập nhật */
.up-page-header::after,
.up-hero-banner .up-wave-divider { display: none !important; }
.wrapper-before { margin: 0; padding: 0; }
.breadcrumb-box { background: transparent !important; margin: 0 !important; padding: 0 !important; }
.breadcrumb-box .container { width: auto !important; max-width: none !important; padding: 0 !important; }
.btn-breadcrumb .btn-default,
.btn-breadcrumb .btn-next {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  color: #cbd5e1 !important; font-size: .9rem; padding: 0 !important;
}
.btn-breadcrumb .btn-default:hover { color: #fff !important; }
.btn-breadcrumb .btn-next { color: #64748b !important; pointer-events: none; }

.tm-page { padding: 48px 0 64px; background: var(--hp-bg); }
.tm-content-card {
  background: #fff; border: 1px solid var(--hp-border); border-radius: 16px;
  padding: 32px 40px; line-height: 1.75; color: var(--hp-slate);
}
.tm-content-card img { max-width: 100%; height: auto; border-radius: 12px; }
.tm-content-card h2, .tm-content-card h3 { color: var(--hp-navy); margin-top: 1.5em; }
@media (max-width: 767px) { .tm-content-card { padding: 24px 20px; } }
.tm-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.tm-main { min-width: 0; }

.post-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.post-grid > nav { grid-column: 1 / -1; }

.post-card {
  background: #fff; border: 1px solid var(--hp-border); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--hp-shadow); }
.post-card .post-card-img {
  display: block; position: relative; aspect-ratio: 16/10; overflow: hidden;
}
.post-card .post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card .post-date {
  position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 10px;
  padding: 8px 12px; text-align: center; font-weight: 700; color: var(--hp-primary);
  line-height: 1.1; box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.post-card .post-date strong { display: block; font-size: 1.1rem; color: var(--hp-navy); }
.post-card .post-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-meta { font-size: .8rem; color: var(--hp-muted); margin-bottom: 10px; display: flex; gap: 14px; }
.post-card .post-meta i { color: var(--hp-primary); }
.post-card h3 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.post-card h3 a { color: var(--hp-navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--hp-primary); }
.post-card .post-desc {
  color: var(--hp-muted); font-size: .9rem; line-height: 1.65; margin-bottom: 16px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card .post-link {
  font-weight: 600; color: var(--hp-primary); text-decoration: none; font-size: .9rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.post-card .post-link:hover { color: var(--hp-primary-dark); }

.tm-aside-widget {
  background: #fff; border: 1px solid var(--hp-border); border-radius: 16px;
  padding: 24px; margin-bottom: 24px;
}
.tm-aside-widget h3 {
  font-size: 1rem; font-weight: 800; color: var(--hp-navy); margin: 0 0 18px;
  padding-bottom: 12px; border-bottom: 2px solid var(--hp-primary);
}
.tm-aside-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.tm-aside-item:last-child { border-bottom: 0; padding-bottom: 0; }
.tm-aside-item img { width: 72px; height: 56px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.tm-aside-item h4 { margin: 0 0 4px; font-size: .85rem; line-height: 1.35; font-weight: 600; }
.tm-aside-item h4 a { color: var(--hp-navy); text-decoration: none; }
.tm-aside-item h4 a:hover { color: var(--hp-primary); }
.tm-aside-item .time { font-size: .75rem; color: var(--hp-muted); }

/* Pagination */
.post-grid .pagination,
.tm-page .pagination {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
}
.post-grid .pagination li a,
.post-grid .pagination li span,
.tm-page .pagination li a,
.tm-page .pagination li span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; border-radius: 8px;
  border: 1px solid var(--hp-border); background: #fff; color: var(--hp-slate);
  text-decoration: none; font-size: .9rem; font-weight: 500;
}
.post-grid .pagination li a:hover { border-color: var(--hp-primary); color: var(--hp-primary); }
.post-grid .pagination li.active span,
.tm-page .pagination li.active span { background: var(--hp-primary); color: #fff; border-color: var(--hp-primary); }
.post-grid .pagination li.disabled span { opacity: .45; }
