/* ========== Base ========== */
:root {
  /* Light theme */
  --bg: #f6f8fc;
  --surface: rgba(255, 255, 255, .80);
  --surface-2: rgba(255, 255, 255, .95);
  --text: rgba(15, 23, 42, .92);
  /* slate-900 */
  --muted: rgba(15, 23, 42, .62);
  --line: rgba(15, 23, 42, .12);

  --brand: #e11d48;
  /* rose-600 */
  --brand-2: #f59e0b;
  /* amber-500 */
  --ok: #10b981;
  /* emerald-500 */

  --shadow: 0 18px 45px rgba(15, 23, 42, .12);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, .10);

  --radius: 18px;
  --radius-lg: 22px;

  --max: 1120px;
  --header-height: 74px;
}

.tts-inline {
  width: 100%;
}

#btnPlayAudio {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(225, 29, 72, .14), transparent 60%),
    radial-gradient(820px 520px at 10% 0%, rgba(245, 158, 11, .14), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, rgba(16, 185, 129, .10), transparent 55%),
    var(--bg);
  line-height: 1.7;
  padding-top: var(--header-height);
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 14px 20px;
}

h1,
h2,
h3 {
  line-height: 1.18;
  margin: 0 0 12px;
}

::selection {
  background: rgba(255, 59, 59, .35);
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #111a2e;
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}

.skip-link:focus {
  left: 16px;
}

/* ========== Header ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 12, 22, .55);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35));
}

.brand-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a {
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
  transition: .2s ease;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

.site-nav a.active {
  color: var(--text);
  background: rgba(255, 59, 59, .14);
  border: 1px solid rgba(255, 59, 59, .25);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, .85);
  margin: 6px 0;
  border-radius: 2px;
}

.toc-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.toc-toggle:hover {
  background: rgba(255, 255, 255, .12);
}

.toc-toggle i {
  font-size: 14px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 28px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(11, 18, 32, .30), rgba(11, 18, 32, .92)),
    url("/images/1.%20T%E1%BB%95ng%20quan%20b%C3%AAn%20ngo%C3%A0i%20%C4%91%E1%BB%81n%20b%C3%A0.jpg") center/cover no-repeat;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.02);
}

.hero-inner {
  position: relative;
  padding: 18px 0 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .18);
  padding: 10px 12px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
}

.hero-date {
  margin-top: 14px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.hero-subtitle {
  max-width: 66ch;
  font-size: 20px;
}

.tts-inline {
  margin-top: 14px;
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
}

.tts-inline audio {
  width: min(320px, 56vw);
  height: 36px;
}

.tts-inline select,
.tts-generate {
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .95);
  color: var(--text);
  font: inherit;
}

.tts-inline select {
  padding: 0 8px;
}

.tts-generate {
  width: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.tts-generate:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.hero-stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stat {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgb(117 229 255 / 42%);
  backdrop-filter: blur(12px);
}

.stat-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .10);
}

.stat-label {
  margin: 0;
  font-size: 12px;
  color: rgb(0 0 0 / 96%);
}

.stat-value {
  margin: 0;
  font-weight: 700;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s ease, background .2s ease, border .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .10);
}

.btn.primary {
  background: linear-gradient(135deg, rgba(255, 59, 59, .95), rgba(255, 176, 32, .85));
  border-color: rgba(255, 255, 255, .15);
  color: #10101a;
}

.btn.ghost {
  background: rgba(0, 0, 0, .22);
}

.hero-wave {
  height: 44px;
  background: linear-gradient(to bottom, rgba(11, 18, 32, 0), rgba(11, 18, 32, 1));
  margin-top: 24px;
}

/* ========== Page Layout ========== */
.page {
  padding: 28px 0 40px;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

/* ========== TOC ========== */
.toc {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: min(360px, 90vw);
  padding: 14px;
  transform: translateX(-105%);
  transition: transform .26s ease;
  z-index: 70;
  pointer-events: none;
}

.toc.open {
  transform: translateX(0);
  pointer-events: auto;
}

.toc-card {
  height: 100%;
  overflow: auto;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  box-shadow: var(--shadow-soft);
}

.toc-title {
  margin: 0;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toc-sub {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.toc-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-links a {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(0, 0, 0, .14);
  transition: .2s ease;
}

.toc-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
}

.toc-links a.active {
  border-color: rgba(255, 59, 59, .28);
  background: rgba(255, 59, 59, .12);
  color: var(--text);
}

.toc-note {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, .78);
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, .18);
}

.toc-overlay {
  position: fixed;
  inset: var(--header-height) 0 0;
  background: rgba(15, 23, 42, .35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 60;
}

.toc-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ========== Content Cards ========== */
.content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.section-head {
  margin-bottom: 12px;
}

.section-title {
  font-size: 22px;
  letter-spacing: -0.01em;
}

.section-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.subhead {
  margin-top: 16px;
  font-size: 17px;
}

/* Media */
.media-grid {
  display: grid;
  gap: 14px;
  margin: 12px 0 12px;
}

.media-grid.two {
  grid-template-columns: 1fr 1fr;
}

.media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .18);
}

.media img,
.media video {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.media video {
  background: #000;
}

figcaption {
  padding: 10px 12px 12px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.74);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Callout */
.callout {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .18);
  padding: 14px;
}

.callout-title {
  margin: 0 0 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.checklist li:first-child {
  border-top: 0;
}

.checklist i {
  color: rgba(56, 211, 159, .95);
  margin-top: 3px;
}

/* Pills */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .16);
  color: rgba(0, 0, 0, 0.82);
  font-weight: 600;
  font-size: 13px;
}

/* Timeline */
.timeline {
  margin-top: 10px;
  border-left: 2px solid rgba(255, 255, 255, .14);
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.t-item {
  position: relative;
}

.t-dot {
  position: absolute;
  left: -22px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 59, 59, .95);
  box-shadow: 0 0 0 6px rgba(255, 59, 59, .16);
}

.t-title {
  margin: 0;
  font-weight: 800;
}

.t-text {
  margin: 4px 0 0;
  color: var(--muted);
}

/* Accordion */
.accordion details {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .16);
  overflow: hidden;
  margin-top: 10px;
}

.accordion summary {
  cursor: pointer;
  padding: 12px 14px;
  font-weight: 800;
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.details-body {
  padding: 0 14px 12px;
  color: rgba(0, 0, 0, 0.82);
}

/* Tables */
.table-wrap {
  overflow: auto;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .14);
}

.artifact-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.artifact-table th,
.artifact-table td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  vertical-align: top;
}

.artifact-table thead th {
  position: sticky;
  top: 0;
  background: rgba(7, 12, 22, .88);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, .90);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.artifact-table tbody tr:hover {
  background: rgba(255, 255, 255, .06);
}

.no-dot {
  list-style: none;
  padding-left: 0;
}

/* Contact */
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .16);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .08);
}

.contact-label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-link {
  font-weight: 800;
  display: inline-block;
  margin-top: 4px;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-text {
  margin-top: 4px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, .10);
  background: rgba(0, 0, 0, .16);
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.footer-title {
  margin: 0;
  font-weight: 900;
}

.footer-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-link {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .06);
  font-weight: 800;
}

.footer-link:hover {
  background: rgba(255, 255, 255, .10);
}

/* Back to top */
.backtop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, .88);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: .2s ease;
}

.backtop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  display: none;
  place-items: center;
  z-index: 1000;
  padding: 18px;
}

.lightbox.show {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, .06);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .92);
  cursor: pointer;
}

/* ========== Responsive ========== */
@media (max-width: 980px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .media img,
  .media video {
    height: 280px;
  }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(7, 12, 22, .86);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .toc-toggle span {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  .hero {
    padding-top: 44px;
  }

  .tts-inline {
    width: 100%;
    flex-wrap: wrap;
  }

  .tts-inline audio {
    width: 100%;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-grid.two {
    grid-template-columns: 1fr;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }
}

/* ====== FIX OVERFLOW (mobile) ====== */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* guard */

/* Cho mọi text có thể xuống dòng tốt, tránh tràn ngang */
* {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Hero badge trước đó inline-flex => dễ tràn ngang */
.hero-badge {
  max-width: 100%;
  flex-wrap: wrap;
  white-space: normal;
}

.hero-badge span {
  min-width: 0;
}

/* Nút/nhãn dài cũng được phép xuống dòng */
.btn {
  white-space: normal;
}

/* Card/table không được phép “nở” vượt container */
.card,
.table-wrap,
.media,
.toc-card {
  max-width: 100%;
}

/* Bảng: giữ trong khung scroll riêng, không đẩy cả trang tràn */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.artifact-table {
  width: 100%;
  min-width: 0 !important;
  /* override min-width 760 nếu còn */
  table-layout: auto;
  /* hoặc fixed nếu bạn muốn đều cột */
}

/* Media không được vượt chiều ngang */
.media img,
.media video {
  width: 100%;
  height: clamp(16rem, 55vw, 26rem);
  /* theo font + viewport */
  object-fit: cover;
  border-radius: 0;
  /* giữ phẳng trong khung media */
}

/* Mobile: cho ảnh cao hơn một chút để nhìn “đã” */
@media (max-width: 720px) {

  .media img,
  .media video {
    height: clamp(18rem, 70vw, 28rem);
  }
}

figure {
  margin: 0;
}

/* ===== Header fix: không chồng logo trên màn hình nhỏ ===== */

/* Cho brand co giãn đúng và text không đè lên logo */
.brand {
  min-width: 0;
  /* QUAN TRỌNG: cho phép shrink */
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo luôn có kích thước ổn định */
.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  /* không cho co lại */
}

/* Khối chữ được shrink, không đè lên logo */
.brand-text {
  min-width: 0;
  flex: 1 1 auto;
}

/* Text dài thì tự xuống dòng/ellipsis */
.brand-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Kicker cũng không làm tràn */
.brand-kicker {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Mobile: cho header gọn hơn, giảm khoảng cách + font */
@media (max-width: 420px) {
  .header-inner {
    gap: 10px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .brand-title {
    font-size: 14px;
  }

  .brand-kicker {
    font-size: 11px;
  }
}

/* ===== Light theme overrides ===== */

.site-header {
  background: rgba(246, 248, 252, .72);
  border-bottom: 1px solid var(--line);
}

.toc-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .78);
}

.site-nav a {
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(15, 23, 42, .06);
}

.site-nav a.active {
  background: rgba(225, 29, 72, .10);
  border: 1px solid rgba(225, 29, 72, .18);
}

/* Cards sáng */
.card,
.toc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

/* Các khối nền “đen” chuyển sang sáng */
.media,
.callout,
.contact-item,
.accordion details,
.table-wrap {
  background: var(--surface-2);
  border: 1px solid var(--line);
}

/* Badge hero sáng */
.hero-badge {
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line);
  color: var(--text);
}

/* Text trong hero khi nền ảnh vẫn tối */
.hero-date,
.hero-subtitle {
  color: rgba(0, 0, 0, 0.88);
}

/* Nếu bạn muốn hero sáng hơn (ít tối) */
.hero-bg {
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, .25), rgba(246, 248, 252, .92)),
    url("/images/overview.jpg") center/cover no-repeat;
  filter: saturate(1.05) contrast(1.02);
}

/* Footer sáng */
.site-footer {
  background: rgba(255, 255, 255, .72);
  border-top: 1px solid var(--line);
}

/* Back to top sáng */
.backtop {
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line);
  color: rgba(15, 23, 42, .88);
}

/* Thiết lập cho từng dòng list */
.checklist li {
  display: flex;
  /* Dùng flex để icon và chữ nằm ngang hàng */
  align-items: flex-start;
  /* Căn icon lên trên cùng, không bị rơi xuống giữa */
  justify-content: flex-start;
  /* QUAN TRỌNG: Sửa lỗi bị dãn cách xa nhau */
  gap: 12px;
  /* Khoảng cách giữa Icon và khối chữ */
  margin-bottom: 12px;
  /* Khoảng cách giữa các mục */
}

/* Cố định kích thước Icon để không bị méo */
.checklist li i {
  width: 20px;
  margin-top: 4px;
  /* Căn chỉnh lại icon một chút cho khớp với dòng đầu tiên */
  flex-shrink: 0;
  /* Ngăn icon bị co lại khi màn hình bé */
  color: var(--primary-color, #d32f2f);
  /* Thêm màu cho icon nếu cần */
}

/* Khối chứa nội dung chữ */
.checklist-content {
  display: flex;
  flex-direction: column;
  /* QUAN TRỌNG: Xếp Tiêu đề và Nội dung theo chiều dọc */
}

/* Định dạng Tiêu đề (VD: Tên thường gọi:) */
.checklist-content .label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2px;
}

/* Định dạng Nội dung (VD: Đền Bà) */
.checklist-content .value {
  font-size: 1rem;
  color: #000;
  line-height: 1.4;
}