/* Tầm Nhìn Đẹp — UI 2026 */
:root {
  --bg: #f4f7fb;
  --bg-card: #ffffff;
  --text: #1e293b;
  --heading: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.08);
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --accent: #f59e0b;
  --gradient: linear-gradient(135deg, #0d9488 0%, #2563eb 55%, #7c3aed 100%);
  --gradient-btn: linear-gradient(135deg, #14b8a6, #2563eb);
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --radius: 18px;
  --header-h: 74px;
  --font: "Be Vietnam Pro", system-ui, sans-serif;
  --container: min(1140px, calc(100% - 2rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 10% -10%, rgba(13, 148, 136, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 30% at 90% 0%, rgba(37, 99, 235, 0.08), transparent 45%),
    var(--bg);
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: var(--container); margin-inline: auto; }
.container.narrow { width: min(800px, calc(100% - 2rem)); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(244, 247, 251, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: 0.65rem; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient-btn); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem;
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35);
}
.logo-text { font-weight: 800; font-size: 1.1rem; color: var(--heading); letter-spacing: -0.02em; }
.logo-text em { font-style: normal; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav {
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  max-width: min(720px, 58vw);
}
.nav a {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  transition: 0.2s;
  white-space: nowrap;
  max-width: 100%;
}
.nav a:hover, .nav a.active { color: var(--heading); background: rgba(13, 148, 136, 0.1); }
/* Nhãn menu dài: rút gọn trên màn hình vừa */
.nav a .nav-full { display: inline; }
.nav a .nav-short { display: none; }
@media (max-width: 1100px) {
  .nav { max-width: min(560px, 52vw); }
  .nav a { padding: 0.4rem 0.55rem; font-size: 0.82rem; }
  .nav a .nav-full { display: none; }
  .nav a .nav-short { display: inline; }
}
.header-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1rem; border-radius: 999px;
  background: var(--gradient-btn); color: #fff; font-weight: 700; font-size: 0.86rem;
  white-space: nowrap; box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px;
  align-items: center; justify-content: center; border: 1px solid var(--border);
  border-radius: 10px; background: #fff; cursor: pointer;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--heading); border-radius: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem;
  border: 1.5px solid transparent; cursor: pointer; transition: 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gradient-btn); color: #fff; box-shadow: 0 8px 22px rgba(13, 148, 136, 0.3); }
.btn-ghost { background: #fff; border-color: var(--border); color: var(--heading); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center;
}
.hero-badge {
  display: inline-flex; gap: 0.4rem; align-items: center;
  background: rgba(13, 148, 136, 0.1); color: var(--primary-dark);
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.85rem); font-weight: 800; color: var(--heading);
  letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 1rem;
}
.hero h1 span {
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: var(--muted); font-size: 1.05rem; max-width: 520px; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.75rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.hero-stats strong {
  display: block; font-size: 1.45rem; font-weight: 800; color: var(--primary-dark); letter-spacing: -0.03em;
}
.hero-stats span { font-size: 0.85rem; color: var(--muted); font-weight: 500; }
.hero-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px);
  overflow: hidden; box-shadow: var(--shadow);
}
.hero-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hero-card-body { padding: 1.15rem 1.25rem; }
.hero-card-body h3 { font-size: 1.05rem; color: var(--heading); margin-bottom: 0.35rem; }
.hero-card-body p { font-size: 0.88rem; color: var(--muted); }

/* Sections */
.section { padding: 3.25rem 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 2rem; }
.section-tag {
  display: inline-block; padding: 0.3rem 0.85rem; border-radius: 999px;
  background: rgba(13, 148, 136, 0.1); color: var(--primary-dark);
  border: 1px solid rgba(13, 148, 136, 0.25); font-size: 0.78rem; font-weight: 700;
  margin-bottom: 0.7rem;
}
.section-head h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.95rem); font-weight: 800; color: var(--heading);
  letter-spacing: -0.03em; margin-bottom: 0.45rem;
}
.section-head p { color: var(--muted); }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover {
  transform: translateY(-6px); border-color: rgba(13, 148, 136, 0.35);
  box-shadow: var(--shadow);
}
.service-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(13, 148, 136, 0.1); color: var(--primary);
  display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.05rem; color: var(--heading); margin-bottom: 0.4rem; }
.service-card p { font-size: 0.9rem; color: var(--muted); }

/* Blog cards */
.toolbar {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1rem; margin-bottom: 1.5rem; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; margin-bottom: 0.75rem; }
.search-row input {
  width: 100%; padding: 0.75rem 1rem; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg); font: inherit;
}
.search-row input:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  padding: 0.35rem 0.8rem; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg); color: var(--muted); font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.chip:hover, .chip.active {
  background: var(--gradient-btn); color: #fff; border-color: transparent;
}
.result-meta { text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 1.15rem; }

.posts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.post-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-img {
  aspect-ratio: 16/10; background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
  overflow: hidden; position: relative;
}
.post-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s var(--ease);
  background: #e2e8f0;
}
.post-card:hover .post-card-img img { transform: scale(1.06); }
.post-card-body { padding: 1.1rem 1.15rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.post-card-body .date { font-size: 0.78rem; color: var(--muted); font-weight: 600; margin-bottom: 0.35rem; }
.post-card-body h3 {
  font-size: 1rem; color: var(--heading); font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 0.45rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-body p {
  font-size: 0.88rem; color: var(--muted); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-body .more {
  margin-top: 0.85rem; font-size: 0.85rem; font-weight: 700; color: var(--primary-dark);
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 50%, #1e3a5f 100%);
  color: #fff; padding: 3rem 0; text-align: center;
}
.cta-band h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 800; margin-bottom: 0.5rem; }
.cta-band p { opacity: 0.9; margin-bottom: 1.25rem; }
.cta-actions { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--heading); }
.btn-dark { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); color: #fff; }

/* Footer */
.site-footer {
  background: #0f172a; color: #94a3b8; padding: 2.75rem 0 1.15rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 1.75rem;
}
.footer-desc { margin-top: 0.75rem; font-size: 0.9rem; line-height: 1.7; }
.site-footer h4 {
  color: #f8fafc; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}
.site-footer a { display: block; padding: 0.3rem 0; font-size: 0.9rem; transition: color 0.2s; }
.site-footer a:hover { color: #5eead4; }
.site-footer .logo-text { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem;
}

.float-stack {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end;
}
.float-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.7rem 1.05rem; border-radius: 999px; color: #fff; font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}
.float-btn.call { background: var(--gradient-btn); }
.float-btn.zalo { background: linear-gradient(135deg, #0068ff, #00a3ff); }

/* Post page */
.breadcrumb { font-size: 0.88rem; color: var(--muted); padding: 1.1rem 0; }
.breadcrumb a:hover { color: var(--primary); }
.post-header { margin-bottom: 1.25rem; }
.post-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--heading); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.25; margin: 0.5rem 0;
}
.post-meta { color: var(--muted); font-size: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.chips .chip { cursor: default; }
.post-hero {
  border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.post-hero img { width: 100%; max-height: 420px; object-fit: cover; }
.prose {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  max-width: 100%;
  overflow-x: auto;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
.prose h1, .prose h2, .prose h3, .prose h4 {
  color: var(--heading); margin: 1.35rem 0 0.6rem; line-height: 1.3; letter-spacing: -0.02em;
  overflow-wrap: break-word;
}
.prose h2 { font-size: 1.3rem; }
.prose h3 { font-size: 1.1rem; }
.prose p, .prose li { color: var(--muted); margin-bottom: 0.75rem; overflow-wrap: break-word; }
.prose ul, .prose ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--primary-dark); font-weight: 600; text-decoration: underline; }
.prose img,
.prose figure,
.prose .wp-block-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1rem 0;
}
.prose figure { margin: 1rem 0; }
.prose img { width: 100%; height: auto; display: block; }
.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
}
.prose th, .prose td { border: 1px solid var(--border); padding: 0.65rem 0.75rem; text-align: left; }
.prose th { background: var(--bg); color: var(--heading); }

/* WP pre/code — tránh tràn khung (vd. quy trình 5 bước) */
.prose pre,
.prose .wp-block-code,
.prose .wp-block-preformatted {
  max-width: 100%;
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
  color: #e2e8f0;
  border: 1px solid rgba(13, 148, 136, 0.35);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 0.88rem;
  line-height: 1.65;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.prose pre code,
.prose .wp-block-code code {
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  font-size: inherit;
  background: transparent;
  color: inherit;
  padding: 0;
  border: 0;
}
.prose code:not(pre code) {
  background: rgba(13, 148, 136, 0.1);
  color: var(--primary-dark);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  font-size: 0.88em;
  word-break: break-word;
}
/* Biến quy trình dạng [Bước] → thành block dễ đọc trên mobile */
.prose .wp-block-code code {
  display: block;
}

/* Quy trình 5 bước (thay pre tràn khung) */
.process-steps {
  list-style: none !important;
  padding: 0 !important;
  margin: 1.25rem 0 1.5rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 100%;
}
.process-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0 !important;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(37, 99, 235, 0.06));
  border: 1px solid rgba(13, 148, 136, 0.2);
  color: var(--heading) !important;
  font-size: 0.95rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.process-steps .step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}
.process-steps .step-text {
  flex: 1;
  min-width: 0;
  padding-top: 0.15rem;
  font-weight: 600;
  color: var(--heading);
}
.post-cta {
  margin: 2rem 0; padding: 1.5rem; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(37, 99, 235, 0.08));
  border: 1px solid rgba(13, 148, 136, 0.2); text-align: center;
}
.post-cta h3 { color: var(--heading); margin-bottom: 0.35rem; }
.post-cta p { color: var(--muted); margin-bottom: 1rem; }
.related { margin: 2rem 0 3rem; }
.related h2 { font-size: 1.25rem; color: var(--heading); margin-bottom: 1rem; }
.rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.rel-card {
  display: block; padding: 1rem; border-radius: 14px; background: var(--bg-card);
  border: 1px solid var(--border); transition: 0.2s;
}
.rel-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.rel-card strong { display: block; color: var(--heading); font-size: 0.92rem; margin-bottom: 0.25rem; }
.rel-card span { font-size: 0.78rem; color: var(--muted); }

.page-hero {
  padding: 2.5rem 0 1.5rem; text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--heading);
  letter-spacing: -0.03em; margin-bottom: 0.5rem;
}
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; }

.content-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04); margin-bottom: 1.25rem;
}
.content-card h2 { color: var(--heading); font-size: 1.2rem; margin-bottom: 0.75rem; }
.content-card p, .content-card li { color: var(--muted); margin-bottom: 0.55rem; }
.content-card ul { list-style: disc; padding-left: 1.2rem; }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.contact-box a { color: var(--primary-dark); font-weight: 700; }


.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); grid-column: 1 / -1; }

/* SEO / a11y */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.breadcrumb-center { justify-content: center; display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem; }
.post-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; height: 100%; }
.post-card-title {
  font-size: 1rem; color: var(--heading); font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 0.45rem; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-body h3 { /* legacy */ }
.post-card-img--placeholder {
  background: linear-gradient(135deg, #ccfbf1, #dbeafe);
  aspect-ratio: 16/10;
}

/* ========== Dịch vụ công (DVC) portal style ========== */
.dvc-page .site-header { border-bottom-color: rgba(13, 79, 139, 0.12); }
.dvc-hero {
  background: linear-gradient(135deg, #0b3a6e 0%, #0d4f8b 45%, #0f766e 100%);
  color: #fff;
  padding: 2.75rem 0 2.5rem;
}
.dvc-kicker {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.82rem; font-weight: 700; opacity: 0.92;
  background: rgba(255,255,255,0.12); padding: 0.35rem 0.85rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.dvc-hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.25; margin-bottom: 0.75rem; max-width: 820px;
}
.dvc-lead { opacity: 0.92; max-width: 720px; margin-bottom: 1.35rem; font-size: 1.02rem; }
.dvc-search {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.5rem; align-items: center;
  background: #fff; border-radius: 14px; padding: 0.45rem 0.45rem 0.45rem 1rem;
  max-width: 820px; box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.dvc-search i { color: #64748b; }
.dvc-search input {
  border: 0; outline: none; font: inherit; padding: 0.65rem 0.35rem; width: 100%; color: #0f172a;
}
.dvc-search .btn { white-space: nowrap; }
.dvc-disclaimer {
  margin-top: 1.15rem; font-size: 0.86rem; opacity: 0.9; max-width: 820px; line-height: 1.55;
  background: rgba(0,0,0,0.15); padding: 0.75rem 1rem; border-radius: 12px;
}
.dvc-total-badge {
  display: inline-block; margin: 0 0 1rem;
  font-size: 0.88rem; font-weight: 700;
  background: rgba(255,255,255,0.15); padding: 0.35rem 0.9rem; border-radius: 999px;
}
.dvc-search-status { max-width: 820px; margin-top: 0.85rem; }
.dvc-search-ok {
  display: inline-flex; align-items: center; gap: 0.45rem; flex-wrap: wrap;
  background: rgba(16, 185, 129, 0.2); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 0.9rem; font-weight: 600;
  padding: 0.55rem 1rem; border-radius: 12px;
}
.dvc-search-ok i { color: #6ee7b7; }
.dvc-quick-tags {
  display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1rem; max-width: 820px;
}
.dvc-quick-tags .chip {
  background: rgba(255,255,255,0.14); color: #fff; border-color: rgba(255,255,255,0.28);
  cursor: pointer;
}
.dvc-quick-tags .chip:hover,
.dvc-quick-tags .chip.active {
  background: #fff; color: #0b3a6e; border-color: #fff;
}
.dvc-result-grid { margin-bottom: 0.5rem; }
.dvc-result-card .dvc-code { font-size: 0.72rem; }

/* Empty search → liên hệ */
.empty-search {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  max-width: 560px;
  margin: 0 auto;
}
.empty-search-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(13,79,139,0.08); color: #0d4f8b; font-size: 1.25rem;
}
.empty-search h2 {
  font-size: 1.25rem; color: var(--heading); margin-bottom: 0.5rem;
}
.empty-search p { color: var(--muted); margin-bottom: 0.65rem; font-size: 0.95rem; }
.empty-search-actions {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.25rem;
}
.site-search-form {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.5rem; align-items: center;
  max-width: 640px; margin: 1.25rem auto 0;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 0.4rem 0.4rem 0.4rem 1rem; box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}
.site-search-form i { color: var(--muted); }
.site-search-form input {
  border: 0; outline: none; font: inherit; padding: 0.65rem 0.35rem; width: 100%;
}
@media (max-width: 720px) {
  .site-search-form { grid-template-columns: auto 1fr; }
  .site-search-form .btn { grid-column: 1 / -1; }
}
.dvc-section .section-head { text-align: left; margin-left: 0; max-width: none; }
.dvc-audience-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.dvc-audience {
  display: block; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.35rem 1.4rem; box-shadow: 0 4px 16px rgba(15,23,42,0.04);
  transition: 0.25s var(--ease);
}
.dvc-audience:hover { border-color: rgba(13,79,139,0.35); transform: translateY(-3px); box-shadow: var(--shadow); }
.dvc-audience i { font-size: 1.4rem; color: #0d4f8b; margin-bottom: 0.65rem; }
.dvc-audience h3 { color: var(--heading); margin-bottom: 0.35rem; font-size: 1.08rem; }
.dvc-audience p { color: var(--muted); font-size: 0.92rem; }
.dvc-fields {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.dvc-field-card {
  text-align: left; cursor: pointer; font: inherit;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; transition: 0.25s var(--ease);
  box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.dvc-field-card:hover { border-color: #0d4f8b; transform: translateY(-4px); box-shadow: var(--shadow); }
.dvc-field-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(13,79,139,0.1); color: #0d4f8b; margin-bottom: 0.85rem; font-size: 1.15rem;
}
.dvc-field-card h3 { font-size: 1.05rem; color: var(--heading); margin-bottom: 0.35rem; }
.dvc-field-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.75rem; }
.dvc-count {
  display: inline-block; font-size: 0.78rem; font-weight: 700; color: #0d4f8b;
  background: rgba(13,79,139,0.08); padding: 0.25rem 0.65rem; border-radius: 999px;
}
.dvc-steps-wrap { background: rgba(13,79,139,0.04); }
.dvc-steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 0;
}
.dvc-steps li {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.15rem; display: flex; gap: 0.75rem; align-items: flex-start;
}
.dvc-steps .num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #0d4f8b, #0d9488); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.95rem;
}
.dvc-steps strong { display: block; color: var(--heading); margin-bottom: 0.25rem; }
.dvc-steps p { color: var(--muted); font-size: 0.88rem; margin: 0; }
.dvc-infoblocks {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.dvc-info-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.dvc-info-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(13,148,136,0.12); color: var(--primary-dark); margin-bottom: 0.75rem;
}
.dvc-info-card h3 { font-size: 1rem; color: var(--heading); margin-bottom: 0.4rem; }
.dvc-info-card p { font-size: 0.88rem; color: var(--muted); margin: 0; }
.dvc-toolbar { margin-bottom: 1rem; }
.dvc-table-wrap {
  overflow-x: auto; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.dvc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.dvc-table th {
  text-align: left; padding: 0.85rem 1rem; background: #0b3a6e; color: #fff;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; font-weight: 700;
  white-space: nowrap;
}
.dvc-table td {
  padding: 0.9rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; color: var(--text);
}
.dvc-table tr:last-child td { border-bottom: 0; }
.dvc-table tbody tr:hover { background: rgba(13,79,139,0.04); }
.dvc-code {
  font-size: 0.75rem; font-weight: 700; color: #0d4f8b;
  background: rgba(13,79,139,0.08); padding: 0.2rem 0.45rem; border-radius: 6px; white-space: nowrap;
}
.dvc-ex { font-size: 0.82rem; color: var(--muted); margin-top: 0.3rem; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dvc-agency { font-size: 0.84rem; color: var(--muted); max-width: 220px; }

/* Procedure meta box on post pages */
.dvc-proc-box {
  margin: 0 0 1.5rem;
  border: 1px solid rgba(13,79,139,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 4px 18px rgba(15,23,42,0.05);
}
.dvc-proc-head {
  background: linear-gradient(135deg, #0b3a6e, #0d4f8b);
  color: #fff; padding: 0.9rem 1.15rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between;
}
.dvc-proc-head h2 { font-size: 1rem; font-weight: 800; margin: 0; }
.dvc-proc-head .code {
  font-size: 0.78rem; font-weight: 700; background: rgba(255,255,255,0.15);
  padding: 0.25rem 0.6rem; border-radius: 999px;
}
.dvc-proc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.dvc-proc-item {
  padding: 0.85rem 1.15rem; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border);
}
.dvc-proc-item:nth-child(2n) { border-right: 0; }
.dvc-proc-item:nth-last-child(-n+2) { border-bottom: 0; }
.dvc-proc-item dt {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: #0d4f8b; margin-bottom: 0.25rem;
}
.dvc-proc-item dd { margin: 0; font-size: 0.9rem; color: var(--text); line-height: 1.45; }
.dvc-proc-note {
  padding: 0.75rem 1.15rem; font-size: 0.82rem; color: var(--muted);
  background: rgba(13,79,139,0.04); border-top: 1px solid var(--border);
}
.dvc-home-strip {
  background: linear-gradient(90deg, #0b3a6e, #0f766e);
  color: #fff; padding: 0.85rem 0;
}
.dvc-home-strip .container {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between;
}
.dvc-home-strip a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.92rem; color: #fff;
  background: rgba(255,255,255,0.12); padding: 0.45rem 0.9rem; border-radius: 999px;
}
.dvc-home-strip a:hover { background: rgba(255,255,255,0.22); }
.dvc-home-search {
  display: flex; gap: 0.4rem; flex: 1; max-width: 420px; min-width: 200px;
}
.dvc-home-search input {
  flex: 1; border: 0; border-radius: 999px; padding: 0.5rem 1rem;
  font: inherit; font-size: 0.9rem; outline: none;
}
.dvc-home-search .btn { border-radius: 999px; }

@media (max-width: 960px) {
  .dvc-fields, .dvc-infoblocks, .dvc-steps { grid-template-columns: 1fr 1fr; }
  .dvc-proc-grid { grid-template-columns: 1fr; }
  .dvc-proc-item { border-right: 0 !important; }
  .dvc-proc-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .dvc-proc-item:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  .dvc-search { grid-template-columns: auto 1fr; }
  .dvc-search .btn { grid-column: 1 / -1; }
  .dvc-audience-grid, .dvc-fields, .dvc-infoblocks, .dvc-steps { grid-template-columns: 1fr; }
  .dvc-table th:nth-child(4), .dvc-table td:nth-child(4),
  .dvc-table th:nth-child(5), .dvc-table td:nth-child(5) { display: none; }
}

/* Pagination — 10 posts/page */
.pagination {
  margin: 2rem 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.pagination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--heading);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s var(--ease);
}
a.page-btn:hover, button.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-1px);
}
.page-btn.active {
  background: var(--gradient-btn);
  color: #fff;
  border-color: transparent;
  cursor: default;
}
.page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.page-ellipsis {
  padding: 0 0.35rem;
  color: var(--muted);
  font-weight: 700;
}
.pagination-meta {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 960px) {
  .hero-grid, .services-grid, .posts-grid, .footer-grid, .contact-grid, .rel-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 0.75rem; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-cta span { display: none; }
  .services-grid, .posts-grid, .footer-grid, .contact-grid, .rel-grid, .search-row {
    grid-template-columns: 1fr;
  }
  .site-header { position: relative; }
}
