*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --navy: #0b1929;
  --navy2: #0f2540;
  --gold: #c8902a;
  --gold2: #e8b85a;
  --amber: #f5d78a;
  --white: #fff;
  --off: #fbf6ee;
  --text: #1a1208;
  --muted: #7a6a50;
  --border: #e8dcc8;
}
body {
  font-family: "Be Vietnam Pro", sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(11, 25, 41, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    background 0.35s,
    border-color 0.35s,
    box-shadow 0.35s;
}
.topnav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
.nav-brand {
  font-family: "Cinzel", serif;
  font-size: 17px;
  letter-spacing: 3px;
  color: #fff;
  transition: color 0.3s;
}
.topnav.scrolled .nav-brand {
  color: var(--navy);
}
.anav-inline {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 0;
}
.anav-inline a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  padding: 0 16px;
  height: 66px;
  line-height: 66px;
  display: block;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.anav-inline a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 4px;
  right: 4px;
  height: 3px;
  background: transparent;
  transition: background 0.25s;
  border-radius: 2px;
}
.anav-inline a:hover::after,
.anav-inline a.active::after {
  background: var(--gold);
}
.anav-inline a:hover,
.anav-inline a.active {
  color: var(--gold2);
}
.topnav.scrolled .anav-inline a {
  color: var(--muted);
}
.topnav.scrolled .anav-inline a:hover,
.topnav.scrolled .anav-inline a.active {
  color: var(--gold);
}
.nav-cta {
  padding: 9px 22px;
  background: rgba(200, 144, 42, 0.85);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.topnav.scrolled .nav-cta {
  background: var(--gold);
}
.hero {
  position: relative;
  height: 65vh;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(11, 25, 41, 0.15) 0%,
    rgba(11, 25, 41, 0.12) 30%,
    rgba(11, 25, 41, 0.68) 62%,
    rgba(11, 25, 41, 0.97) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px 56px;
  max-width: 860px;
}
.breadcrumb {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
}
.breadcrumb a:hover {
  color: var(--gold2);
}
.breadcrumb .sep {
  color: rgba(255, 255, 255, 0.2);
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--gold2);
  display: inline-block;
  flex-shrink: 0;
}
.hero h1 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(32px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}
.hero-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 40px 80px;
}
.article-body h2 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--navy);
  margin: 48px 0 16px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.article-body h3 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy2);
  margin: 32px 0 12px;
}
.article-body p {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.85;
}
.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-body li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}
.article-body strong {
  color: var(--navy);
  font-weight: 700;
}
.highlight-box {
  background: var(--off);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 32px 0;
}
.highlight-box p {
  margin: 0;
  color: var(--navy);
  font-weight: 500;
}
.warning-box {
  background: #fff8f0;
  border-left: 4px solid #e07b39;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
}
.warning-box p {
  margin: 0;
  color: #7a3a10;
}
.article-img {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin: 40px 0;
}
.article-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.article-img figcaption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 8px 0 0;
  font-style: italic;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}
.data-table th {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.data-table tr:nth-child(even) td {
  background: var(--off);
}
.article-cta {
  background: var(--navy);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  margin: 56px 0 0;
}
.article-cta h3 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.article-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}
.btn-gold {
  display: inline-block;
  background: #34c759;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 15px 36px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-decoration: none;
}
footer {
  background: var(--navy2);
  padding: 48px 40px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: background 0.2s;
}
.topnav.scrolled .nav-burger span {
  background: var(--navy);
}
.mobile-menu {
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  z-index: 499;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(11, 25, 41, 0.15);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.mobile-menu.open {
  max-height: 480px;
  overflow-y: auto;
}
.mobile-menu a {
  display: block;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child {
  border-bottom: none;
}
.mobile-menu .mobile-cta {
  display: block;
  width: calc(100% - 32px);
  margin: 12px 16px 16px;
  padding: 14px 24px;
  border: none;
  border-radius: 100px;
  background: var(--gold);
  color: #fff;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
}
@media (max-width: 900px) {
  .anav-inline {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
}
@media (max-width: 768px) {
  .topnav {
    padding: 0 20px;
  }
  .hero-content {
    padding: 0 20px 40px;
  }
  .hero h1 {
    font-size: clamp(28px, 6vw, 48px);
  }
  .article-wrap {
    padding: 48px 20px 64px;
  }
  .article-cta {
    padding: 36px 24px;
  }
  footer {
    padding: 36px 20px;
  }
}
.nav-logo {
  position: relative;
  width: 184px;
  height: 20px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 20px;
  width: auto;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.35s;
}
.nav-logo .logo-light {
  opacity: 1;
}
.nav-logo .logo-dark {
  opacity: 0;
}
.topnav.scrolled .nav-logo .logo-light {
  opacity: 0;
}
.topnav.scrolled .nav-logo .logo-dark {
  opacity: 1;
}
footer {
  background: #060e18;
  padding: 56px 40px 28px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
  max-width: 260px;
  flex-shrink: 0;
}
.footer-brand img {
  height: 20px;
  width: auto;
  margin-bottom: 14px;
  display: block;
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col ul li a:hover {
  color: var(--gold2);
}
.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-contact-row svg {
  width: 14px;
  height: 14px;
  fill: var(--gold2);
  flex-shrink: 0;
}
.footer-contact-row a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.footer-contact-row a:hover {
  color: var(--gold2);
}
.footer-bottom {
  max-width: 1100px;
  margin: 20px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) {
  .footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    align-items: start;
  }
  .footer-brand,
  .footer-col:last-of-type {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ================================================================
         META-BAR: kiểm duyệt + ngày + share (thêm 2026-07-08, retrofit
         hàng loạt cho bài dùng template cũ)
         Đặt ngay đầu .article-wrap (dưới hero, trên nội dung bài)
         ================================================================ */
.meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.meta-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}
.meta-share {
  display: flex;
  align-items: center;
  gap: 8px;
}
.meta-share a,
.meta-share-copy {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--off);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
}
.meta-share a:hover,
.meta-share-copy:hover {
  background: var(--gold);
  transform: translateY(-2px);
}
.meta-share a:hover svg,
.meta-share-copy:hover svg {
  fill: #fff;
}
.meta-share svg {
  width: 15px;
  height: 15px;
  fill: var(--navy);
}
.meta-share-copy-wrap {
  position: relative;
  display: inline-flex;
}
.copy-toast {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.copy-toast.show {
  opacity: 1;
}
@media (max-width: 768px) {
  .meta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .meta-share {
    width: 100%;
    justify-content: flex-start;
  }
}
/* ================================================================
         Kiểm duyệt nội dung: nhỏ, muted, đặt cuối bài
         ================================================================ */
.reviewer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.reviewer-note img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.reviewer-note a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: rgba(122, 106, 80, 0.35);
}
.reviewer-note a:hover {
  color: var(--gold);
}
/* ================================================================
         WIDGET: đánh giá hữu ích bài viết (đặt NGAY TRƯỚC .article-cta)
         ================================================================ */
.feedback-widget {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 32px;
  text-align: center;
  margin: 48px 0 0;
}
.feedback-widget h3 {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
}
.feedback-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.feedback-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  min-width: 84px;
  transition:
    border-color 0.2s,
    transform 0.15s;
}
.feedback-btn .fb-emoji {
  font-size: 22px;
}
.feedback-btn:hover:not(:disabled) {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.feedback-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.feedback-btn.selected {
  border-color: var(--gold);
  background: var(--amber);
  opacity: 1;
  color: var(--navy);
}
.feedback-thanks {
  display: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.feedback-thanks.show {
  display: block;
}
.feedback-options.hide {
  display: none;
}
@media (max-width: 480px) {
  .feedback-widget {
    padding: 22px 18px;
  }
  .feedback-btn {
    min-width: 72px;
    padding: 10px 10px;
  }
}
.article-faq {
  max-width: 720px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-faq .faq-item {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s;
}
.article-faq .faq-item:hover {
  border-color: var(--gold);
}
.article-faq .faq-item.open {
  border-color: var(--gold);
}
.article-faq .faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
  gap: 16px;
  user-select: none;
  line-height: 1.4;
}
.article-faq .faq-chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
  color: var(--gold);
}
.article-faq .faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.article-faq .faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.38s ease,
    padding 0.25s;
  padding: 0 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.article-faq .faq-item.open .faq-a {
  max-height: 320px;
  padding: 0 22px 20px;
}
.related-articles {
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.ra-heading {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.ra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ra-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--off);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}
.ra-card:hover {
  transform: translateY(-3px);
}
.ra-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.ra-card-body {
  padding: 14px 16px;
}
.ra-card-cat {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}
.ra-card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
}
@media (max-width: 768px) {
  .ra-grid {
    grid-template-columns: 1fr;
  }
}
