/* Phong Thủy Bảo Địa — giao diện. Tạo tự động bởi wordpress/build/css-build.mjs từ CSS module của bản Next.js; sửa ở src/ rồi dựng lại. */
/* Giá trị dự phòng; giá trị thật do theme.ts sinh ra từ cấu hình quản trị */
:root {
  --c-bg: #0d0a14; --c-surface: #171022; --c-card: #130e1b; --c-input: #0f0b16;
  --c-gold: #d4a853; --c-gold-soft: #e9cf8f; --c-gold-deep: #9c7330; --c-gold-light: #f4dc9e; --c-on-gold: #1f1506;
  --c-text: #e8dfcc; --c-heading: #f3e7c9; --c-muted: #a99d86; --c-accent: #24182f; --c-glow: #784aa0;
  --c-danger: #f0a08a; --c-warn: #f2c9a4; --c-title-1: #fff3cf; --c-title-2: #e8c77e; --c-title-3: #b8893c; --c-badge: #2a1f12;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--c-bg); color: var(--c-text); font-family: var(--font-body), system-ui, sans-serif; }

.hm-skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px;
  background: var(--c-gold); color: var(--c-on-gold); text-decoration: none; font-weight: 600;
}
.hm-skip:focus { top: 12px; }
.hm-announcement {
  padding: 8px 16px; text-align: center; font-size: .9rem; color: var(--c-on-gold);
  background: linear-gradient(90deg, var(--c-gold-deep), var(--c-gold), var(--c-gold-deep));
}

/* markdown.module.css */
/* Nội dung Markdown dùng chung: bài viết, trang kiến thức, mã nhúng của plugin */
.hm-markdown-prose { color: var(--c-text); line-height: 1.8; font-size: 1.04rem; }
.hm-markdown-prose h2 { font-family: var(--font-display); color: var(--c-title-2); font-size: 1.7rem; margin: 2em 0 .6em; scroll-margin-top: 90px; }
.hm-markdown-prose h3 { color: var(--c-gold-soft); font-size: 1.15rem; margin: 1.6em 0 .5em; scroll-margin-top: 90px; }
.hm-markdown-prose p { margin: 0 0 1.1em; }
.hm-markdown-prose a { color: var(--c-gold-soft); }
.hm-markdown-prose strong { color: var(--c-heading); }
.hm-markdown-prose ul, .hm-markdown-prose ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.hm-markdown-prose li { margin-bottom: .4em; }
.hm-markdown-prose li::marker { color: var(--c-gold); }
.hm-markdown-prose blockquote { margin: 1.2em 0; padding: 10px 18px; border-left: 3px solid var(--c-gold); color: var(--c-heading); background: color-mix(in srgb, var(--c-card) 80%, transparent); border-radius: 0 10px 10px 0; }
.hm-markdown-prose code { font-size: .9em; padding: 1px 6px; border-radius: 6px; background: color-mix(in srgb, var(--c-gold) 12%, transparent); }
.hm-markdown-prose hr { border: 0; height: 1px; background: color-mix(in srgb, var(--c-gold) 30%, transparent); margin: 2em 0; }
.hm-markdown-tableWrap { overflow-x: auto; margin: 0 0 1.4em; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--c-gold) 20%, transparent); }
.hm-markdown-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 480px; }
.hm-markdown-table caption { text-align: left; padding: 10px 14px; color: var(--c-gold-soft); font-weight: 600; }
.hm-markdown-table th, .hm-markdown-table td { padding: 9px 14px; text-align: left; border-top: 1px solid color-mix(in srgb, var(--c-gold) 12%, transparent); }
.hm-markdown-table th { color: var(--c-muted); font-weight: 500; font-size: .84rem; }
.hm-markdown-muted { color: var(--c-muted); }

/* articles.module.css */
/* Bài viết: danh sách, trang đọc, nội dung Markdown */
.hm-articles-page { padding: 0 0 72px; }
.hm-articles-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.hm-articles-narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.hm-articles-hero { padding: 42px 0 26px; }
.hm-articles-crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; font-size: .86rem; color: var(--c-muted); }
.hm-articles-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--c-gold-deep); }
.hm-articles-crumbs a { color: var(--c-gold-soft); text-decoration: none; }
.hm-articles-eyebrow { color: var(--c-gold); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin: 0 0 10px; }
.hm-articles-h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; margin: 0 0 14px;
  background: linear-gradient(180deg, var(--c-title-1), var(--c-title-2) 55%, var(--c-title-3)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hm-articles-lead { color: var(--c-text); font-size: 1.08rem; line-height: 1.7; max-width: 70ch; margin: 0; }
.hm-articles-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--c-muted); font-size: .88rem; margin-top: 16px; }
.hm-articles-cover { position: relative; aspect-ratio: 16 / 7; border-radius: var(--radius, 14px); overflow: hidden; margin: 8px 0 30px; border: 1px solid color-mix(in srgb, var(--c-gold) 24%, transparent); }
.hm-articles-cover img { object-fit: cover; }

.hm-articles-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.hm-articles-filter {
  padding: 7px 14px; border-radius: 999px; font: inherit; font-size: .88rem; cursor: pointer; color: var(--c-text); background: transparent;
  border: 1px solid color-mix(in srgb, var(--c-gold) 28%, transparent);
}
.hm-articles-filterOn { background: color-mix(in srgb, var(--c-gold) 22%, transparent); color: var(--c-heading); border-color: var(--c-gold); }
.hm-articles-search { width: min(360px, 100%); background: var(--c-input); color: var(--c-text); font: inherit; padding: 9px 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c-gold) 30%, transparent); }
.hm-articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.hm-articles-card {
  display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius, 14px); overflow: hidden; text-decoration: none; color: var(--c-text);
  background: var(--c-card); border: 1px solid color-mix(in srgb, var(--c-gold) 20%, transparent); transition: border-color .2s, transform .2s;
}
.hm-articles-card:hover { border-color: var(--c-gold); transform: translateY(-2px); }
.hm-articles-cardMedia { position: relative; aspect-ratio: 16 / 10; }
.hm-articles-cardMedia img { object-fit: cover; }
.hm-articles-cardBody { padding: 16px; display: grid; gap: 8px; align-content: start; }
.hm-articles-cat { color: var(--c-gold); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.hm-articles-cardTitle { margin: 0; color: var(--c-heading); font-size: 1.08rem; line-height: 1.35; }
.hm-articles-cardText { margin: 0; color: var(--c-muted); font-size: .9rem; line-height: 1.55; }
.hm-articles-date { color: var(--c-muted); font-size: .8rem; }
.hm-articles-empty { color: var(--c-muted); }

.hm-articles-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; align-items: start; }
.hm-articles-toc { position: sticky; top: 96px; padding: 16px; border-radius: var(--radius, 14px); border: 1px solid color-mix(in srgb, var(--c-gold) 20%, transparent); font-size: .9rem; }
.hm-articles-toc p { margin: 0 0 8px; color: var(--c-gold-soft); font-weight: 600; }
.hm-articles-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.hm-articles-toc a { color: var(--c-text); text-decoration: none; }
.hm-articles-toc a:hover { color: var(--c-gold-soft); }
.hm-articles-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 0; padding: 0; list-style: none; }
.hm-articles-tags li { font-size: .8rem; padding: 3px 10px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c-gold) 26%, transparent); color: var(--c-muted); }
.hm-articles-related { margin-top: 48px; }
.hm-articles-related h2 { font-family: var(--font-display); color: var(--c-gold-soft); }

@media (max-width: 960px) {
  .hm-articles-layout { grid-template-columns: 1fr; }
  .hm-articles-toc { position: static; order: -1; }
}

/* home.module.css */
/* Phong Thủy Bảo Địa — Trang chủ (Dark Luxury) */

.hm-home-hero,
.hm-home-section,
.hm-home-sectionTight,
.hm-home-chartSection {
  --hm-bg: var(--c-bg);
  --hm-card: var(--c-card);
  --hm-gold: var(--c-gold);
  --hm-gold-soft: var(--c-gold-soft);
  --hm-gold-deep: var(--c-gold-deep);
  --hm-text: var(--c-text);
  --hm-muted: var(--c-muted);
  --hm-line: color-mix(in srgb, var(--c-gold) 30%, transparent);
  --hm-line-soft: color-mix(in srgb, var(--c-gold) 16%, transparent);
  color: var(--hm-text);
  font-family: var(--font-body, "Be Vietnam Pro", system-ui, sans-serif);
}

.hm-home-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 28px;
}

.hm-home-cover {
  object-fit: cover;
}

/* ---------- Chữ dùng chung ---------- */
.hm-home-heading {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  text-align: center;
  position: relative;
}
.hm-home-heading > div {
  max-width: 760px;
}
.hm-home-heading .hm-home-seeAll {
  position: absolute;
  right: 0;
  bottom: 8px;
}
.hm-home-headingLeft {
  justify-content: space-between;
  text-align: left;
}
.hm-home-headingLeft > div {
  max-width: none;
}
.hm-home-headingLeft .hm-home-seeAll {
  position: static;
}
.hm-home-headingLeft .hm-home-eyebrowLine:first-child {
  display: none;
}

.hm-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hm-gold);
}
.hm-home-eyebrowStart {
  display: flex;
}
.hm-home-eyebrowLine {
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hm-gold));
}
.hm-home-eyebrowLine:last-child {
  background: linear-gradient(90deg, var(--hm-gold), transparent);
}

.hm-home-h2 {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--c-heading);
}

.hm-home-lead {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--hm-muted);
}

.hm-home-seeAll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--hm-gold-soft);
  text-decoration: none;
  white-space: nowrap;
}
.hm-home-seeAll svg {
  transition: transform 0.2s ease;
}
.hm-home-seeAll:hover svg {
  transform: translateX(4px);
}

.hm-home-cardTitle {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-heading);
}

.hm-home-cardText {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--hm-muted);
}

.hm-home-badge {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hm-gold);
  background: radial-gradient(circle at 35% 30%, var(--c-badge), var(--c-card));
  color: var(--hm-gold-soft);
  box-shadow: 0 0 14px -4px color-mix(in srgb, var(--c-gold) 60%, transparent);
}

.hm-home-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 4px 12px;
  border: 1px solid var(--hm-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-bg) 75%, transparent);
  backdrop-filter: blur(4px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hm-gold-soft);
}
.hm-home-tagLeft {
  right: auto;
  left: 12px;
  text-transform: none;
  letter-spacing: 0;
}

.hm-home-roundArrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--hm-line);
  border-radius: 50%;
  color: var(--hm-gold-soft);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* ---------- Nút ---------- */
.hm-home-btnPrimary,
.hm-home-btnPrimarySm,
.hm-home-btnSubmit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--c-gold-light), var(--hm-gold) 55%, var(--c-gold-deep));
  color: var(--c-on-gold);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--c-gold) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.hm-home-btnPrimary {
  height: 54px;
  padding: 0 26px;
  font-size: 16px;
}
.hm-home-btnPrimarySm {
  align-self: flex-start;
  height: 44px;
  padding: 0 22px;
  font-size: 14.5px;
  margin-top: auto;
}
.hm-home-btnPrimary:hover,
.hm-home-btnPrimarySm:hover,
.hm-home-btnSubmit:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--c-gold) 95%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hm-home-btnGhost {
  display: inline-flex;
  align-items: center;
  height: 54px;
  padding: 0 28px;
  border: 1px solid var(--hm-gold);
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-bg) 55%, transparent);
  color: var(--hm-text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, box-shadow 0.2s ease;
}
.hm-home-btnGhost:hover {
  color: var(--hm-gold-soft);
  box-shadow: 0 0 20px -6px color-mix(in srgb, var(--c-gold) 70%, transparent);
}

.hm-home-btnOutline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 40px;
  margin-top: auto;
  padding: 0 16px 0 20px;
  border: 1px solid var(--hm-gold);
  border-radius: 999px;
  color: var(--hm-gold-soft);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.hm-home-btnOutline:hover {
  background: color-mix(in srgb, var(--c-gold) 12%, transparent);
}
.hm-home-btnOutline svg {
  transition: transform 0.2s ease;
}
.hm-home-btnOutline:hover svg {
  transform: translateX(3px);
}

/* ---------- 1. Hero ---------- */
.hm-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(520px, 44vw, 700px);
  display: flex;
  align-items: center;
  background: var(--hm-bg);
  border-bottom: 1px solid var(--hm-line);
}

.hm-home-heroArt {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(62%, 1100px);
  z-index: -1;
}
/* Mờ dần về trong suốt để không lộ đường nối với nền hero */
.hm-home-heroArt {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%), linear-gradient(0deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 22%, #000 48%), linear-gradient(0deg, transparent 0%, #000 22%);
  mask-composite: intersect;
}

.hm-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(50% 70% at 15% 40%, color-mix(in srgb, var(--c-glow) 22%, transparent), transparent 70%),
    radial-gradient(30% 50% at 30% 90%, color-mix(in srgb, var(--c-gold) 10%, transparent), transparent 70%);
}

.hm-home-heroInner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 72px 28px;
}
.hm-home-heroInner > * {
  max-width: 620px;
}

.hm-home-heroEyebrow {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hm-gold);
}

.hm-home-h1 {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(40px, 5.2vw, 76px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.005em;
  background: linear-gradient(180deg, var(--c-title-1) 0%, var(--c-title-2) 55%, var(--c-title-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px color-mix(in srgb, var(--c-gold) 15%, transparent);
}

.hm-home-heroLead {
  margin: 24px 0 0;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--hm-text);
  opacity: 0.9;
}

.hm-home-heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hm-home-heroNote {
  margin: 28px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--hm-muted);
}

/* ---------- Khung section ---------- */
.hm-home-section {
  position: relative;
  padding: 72px 0;
  background: var(--hm-bg);
  border-bottom: 1px solid var(--hm-line-soft);
}
.hm-home-sectionTight {
  padding: 0 0 72px;
  background: var(--hm-bg);
  border-bottom: 1px solid var(--hm-line-soft);
}
.hm-home-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(40% 60% at 50% 0%, color-mix(in srgb, var(--c-glow) 10%, transparent), transparent 70%);
}

/* Thẻ dùng chung */
.hm-home-toolCard,
.hm-home-topicCard,
.hm-home-panel,
.hm-home-articleCard {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--c-surface), var(--hm-card));
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.hm-home-toolCard:hover,
.hm-home-topicCard:hover,
.hm-home-panel:hover,
.hm-home-articleCard:hover {
  border-color: var(--hm-gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.9), 0 0 24px -12px color-mix(in srgb, var(--c-gold) 60%, transparent);
}

/* ---------- 2. Công cụ ---------- */
.hm-home-toolGrid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-home-toolCard {
  display: flex;
  flex-direction: column;
}

.hm-home-toolMedia {
  position: relative;
  aspect-ratio: 16 / 9;
}
.hm-home-toolMedia::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--hm-card) 0%, transparent 55%);
}

.hm-home-toolBody {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 0 18px 20px;
  margin-top: -14px;
  position: relative;
}

.hm-home-toolTitle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--c-heading);
}
.hm-home-toolBody .hm-home-cardText {
  margin-bottom: 16px;
}

/* ---------- 3. Lập lá số ---------- */
.hm-home-chartSection {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--hm-bg);
  border-bottom: 1px solid var(--hm-line-soft);
}

.hm-home-chartArt {
  position: absolute;
  inset: 0 auto 0 0;
  width: 44%;
  z-index: -1;
}
.hm-home-chartArt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 45%, color-mix(in srgb, var(--c-bg) 70%, transparent) 75%, var(--hm-bg) 100%);
}

.hm-home-chartInner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 64px 28px;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 300px);
  gap: 28px;
  align-items: start;
  padding-left: calc(44% - 40px);
}

.hm-home-chartMain .hm-home-lead {
  margin-bottom: 22px;
}

/* Form */
.hm-home-form {
  padding: 22px;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--c-card) 88%, transparent);
  backdrop-filter: blur(6px);
}

.hm-home-segment {
  display: inline-flex;
  padding: 4px;
  margin-bottom: 18px;
  border: 1px solid var(--hm-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-bg) 70%, transparent);
}
.hm-home-segmentBtn {
  height: 34px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--hm-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.hm-home-segmentOn {
  background: linear-gradient(180deg, var(--c-gold-light), var(--hm-gold));
  color: var(--c-on-gold);
}

.hm-home-formGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.hm-home-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.hm-home-fieldWide {
  grid-column: 1 / -1;
}

.hm-home-label {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--hm-text);
}
.hm-home-optional {
  font-weight: 400;
  color: var(--hm-muted);
}

.hm-home-inputWrap,
.hm-home-dateRow {
  display: flex;
  align-items: center;
  height: 46px;
  border: 1px solid var(--hm-line);
  border-radius: 10px;
  background: var(--c-input);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hm-home-inputWrap:focus-within,
.hm-home-dateRow:focus-within {
  border-color: var(--hm-gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-gold) 16%, transparent);
}
.hm-home-invalid {
  border-color: var(--c-danger);
}
.hm-home-disabled {
  opacity: 0.5;
}

.hm-home-fieldIcon {
  display: grid;
  place-items: center;
  width: 40px;
  flex-shrink: 0;
  color: var(--hm-gold);
}

.hm-home-inputWrap input,
.hm-home-inputWrap select,
.hm-home-dateRow select {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 12px 0 0;
  border: 0;
  background: transparent;
  color: var(--hm-text);
  font: inherit;
  font-size: 14.5px;
  color-scheme: dark;
}
.hm-home-inputWrap input:focus,
.hm-home-inputWrap select:focus,
.hm-home-dateRow select:focus {
  outline: none;
}
.hm-home-inputWrap input::placeholder {
  color: var(--hm-muted);
}
.hm-home-inputWrap select option,
.hm-home-dateRow select option {
  background: var(--c-input);
}
.hm-home-dateRow select {
  padding: 0 4px;
  border-left: 1px solid var(--hm-line-soft);
}
.hm-home-dateRow select:first-of-type {
  border-left: 0;
}

.hm-home-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--hm-muted);
  cursor: pointer;
}
.hm-home-check input {
  accent-color: var(--hm-gold);
}

.hm-home-error {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--c-danger);
}

.hm-home-btnSubmit {
  width: 100%;
  height: 52px;
  margin-top: 20px;
  font-size: 16px;
}
.hm-home-btnSubmit svg:last-child {
  margin-left: auto;
}
.hm-home-btnSubmit svg:first-child {
  margin-left: auto;
}
.hm-home-btnSubmit:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Checklist */
.hm-home-checklist {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--c-card) 75%, transparent);
}
.hm-home-checklistTitle {
  margin: 0 0 16px;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--hm-gold-soft);
}
.hm-home-checklist ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-home-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
}
.hm-home-checklist li svg {
  color: var(--hm-gold);
  flex-shrink: 0;
}
.hm-home-checklistNote {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--hm-line-soft);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--hm-muted);
}
.hm-home-checklistNote a {
  color: var(--hm-gold-soft);
}

/* ---------- 4. Chủ đề ---------- */
.hm-home-topicGrid,
.hm-home-articleGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-home-topicCard,
.hm-home-articleCard {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hm-home-topicMedia,
.hm-home-articleMedia {
  position: relative;
  aspect-ratio: 2 / 1;
}
.hm-home-topicMedia::after,
.hm-home-articleMedia::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--hm-card) 0%, transparent 60%);
}

.hm-home-topicBody {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  padding: 0 18px 20px;
  margin-top: -18px;
  position: relative;
}
.hm-home-topicText {
  flex: 1;
  min-width: 0;
}
.hm-home-topicBody .hm-home-roundArrow {
  align-self: flex-end;
}

.hm-home-topicCard:hover .hm-home-roundArrow,
.hm-home-articleCard:hover .hm-home-roundArrow {
  border-color: var(--hm-gold);
  background: color-mix(in srgb, var(--c-gold) 14%, transparent);
  transform: translateX(2px);
}

/* ---------- 5. Panel ---------- */
.hm-home-panelGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hm-home-panel {
  display: grid;
  grid-template-columns: 38% 1fr;
}
.hm-home-panel:hover {
  transform: none;
}

.hm-home-panelMedia {
  position: relative;
  min-height: 300px;
}
.hm-home-panelMedia::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, var(--hm-card) 100%);
}

.hm-home-panelBody {
  display: flex;
  flex-direction: column;
  padding: 22px 22px 22px 8px;
}

.hm-home-panelEyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hm-gold);
}

.hm-home-panelTitle {
  margin: 0 0 14px;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-heading);
}

.hm-home-panelList {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.hm-home-panelList li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--hm-text);
  opacity: 0.9;
}
.hm-home-panelDot {
  width: 7px;
  height: 7px;
  margin-top: 7px;
  flex-shrink: 0;
  transform: rotate(45deg);
  border: 1px solid var(--hm-gold);
  background: color-mix(in srgb, var(--c-gold) 35%, transparent);
}

/* ---------- 6. Bài viết ---------- */
.hm-home-articleBody {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 18px 18px;
  margin-top: -12px;
  position: relative;
}
.hm-home-articleMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--hm-muted);
}

/* Focus */
.hm-home-btnPrimary:focus-visible,
.hm-home-btnPrimarySm:focus-visible,
.hm-home-btnGhost:focus-visible,
.hm-home-btnOutline:focus-visible,
.hm-home-btnSubmit:focus-visible,
.hm-home-seeAll:focus-visible,
.hm-home-topicCard:focus-visible,
.hm-home-articleCard:focus-visible,
.hm-home-segmentBtn:focus-visible {
  outline: 2px solid var(--hm-gold-soft);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1520px) {
  .hm-home-toolGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hm-home-toolMedia {
    aspect-ratio: 21 / 9;
  }
}

@media (max-width: 1400px) {
  .hm-home-panelGrid {
    grid-template-columns: 1fr;
  }
  .hm-home-panel {
    grid-template-columns: 260px 1fr;
  }
  .hm-home-panelMedia {
    min-height: 240px;
  }
}

@media (max-width: 1100px) {
  .hm-home-chartArt {
    position: relative;
    width: 100%;
    height: 280px;
  }
  .hm-home-chartArt::after {
    background: linear-gradient(0deg, var(--hm-bg) 0%, transparent 60%);
  }
  .hm-home-chartInner {
    grid-template-columns: 1fr;
    padding: 0 20px 56px;
    margin-top: -60px;
  }
  .hm-home-checklist {
    margin-top: 0;
  }
  .hm-home-topicGrid,
  .hm-home-articleGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hm-home-heading .hm-home-seeAll {
    position: static;
  }
  .hm-home-heading {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .hm-home-headingLeft {
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .hm-home-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .hm-home-heroArt {
    position: relative;
    width: 100%;
    height: 300px;
    order: -1;
  }
  .hm-home-heroArt {
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 55%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 55%);
  }
  .hm-home-heroInner {
    padding: 0 20px 56px;
    margin-top: -40px;
  }
  .hm-home-container {
    padding: 0 20px;
  }
  .hm-home-section {
    padding: 56px 0;
  }
  .hm-home-sectionTight {
    padding-bottom: 56px;
  }
}

@media (max-width: 640px) {
  .hm-home-toolGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .hm-home-toolBody {
    padding: 0 12px 14px;
  }
  .hm-home-toolTitle {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 17px;
  }
  .hm-home-toolBody .hm-home-cardText {
    font-size: 13px;
  }
  .hm-home-btnOutline {
    height: auto;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.3;
    white-space: normal;
  }
  .hm-home-formGrid {
    grid-template-columns: 1fr;
  }
  .hm-home-form {
    padding: 16px;
  }
  .hm-home-topicGrid,
  .hm-home-articleGrid {
    grid-template-columns: 1fr;
  }
  .hm-home-panel {
    grid-template-columns: 1fr;
  }
  .hm-home-panelMedia {
    min-height: 200px;
  }
  .hm-home-panelMedia::after {
    background: linear-gradient(0deg, var(--hm-card) 0%, transparent 60%);
  }
  .hm-home-panelBody {
    padding: 0 18px 20px;
  }
  .hm-home-heroActions > * {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-home-hero *,
  .hm-home-section *,
  .hm-home-sectionTight *,
  .hm-home-chartSection * {
    transition: none !important;
  }
}

/* info.module.css */
/* Phong Thủy Bảo Địa — Trang thông tin, chính sách */

.hm-info-page {
  --i-bg: var(--c-bg);
  --i-card: var(--c-card);
  --i-gold: var(--c-gold);
  --i-gold-soft: var(--c-gold-soft);
  --i-text: var(--c-text);
  --i-muted: var(--c-muted);
  --i-line: color-mix(in srgb, var(--c-gold) 30%, transparent);
  --i-line-soft: color-mix(in srgb, var(--c-gold) 15%, transparent);
  padding-bottom: 72px;
  color: var(--i-text);
  font-family: var(--font-body, "Be Vietnam Pro", system-ui, sans-serif);
  background: var(--i-bg);
}

.hm-info-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Hero ---------- */
.hm-info-hero {
  padding: 40px 0 36px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--i-line);
  background:
    radial-gradient(50% 120% at 15% 0%, color-mix(in srgb, var(--c-glow) 28%, transparent), transparent 70%),
    radial-gradient(40% 100% at 90% 100%, color-mix(in srgb, var(--c-gold) 8%, transparent), transparent 70%);
}
.hm-info-heroWithArt {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hm-info-heroWithArt > .hm-info-container {
  width: 100%;
}
.hm-info-heroWithArt .hm-info-lead,
.hm-info-heroWithArt .hm-info-h1 {
  max-width: 620px;
}
.hm-info-heroArt {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(52%, 760px);
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 30%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 30%, #000 60%);
}
.hm-info-cover {
  object-fit: cover;
}

.hm-info-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--i-muted);
}
.hm-info-breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--i-gold);
}
.hm-info-breadcrumb a {
  color: var(--i-text);
  text-decoration: none;
}
.hm-info-breadcrumb [aria-current] {
  color: var(--i-gold-soft);
}
.hm-info-eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--i-gold);
}
.hm-info-h1 {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 600;
  line-height: 1.08;
  background: linear-gradient(180deg, var(--c-title-1) 0%, var(--c-title-2) 55%, var(--c-title-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hm-info-lead {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
}
.hm-info-updated {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--i-muted);
}

/* ---------- Thân trang ---------- */
.hm-info-body {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.hm-info-body > .hm-info-article:only-child {
  grid-column: 1 / -1;
  max-width: 820px;
}

.hm-info-toc {
  position: sticky;
  top: 112px;
  padding: 18px;
  border: 1px solid var(--i-line-soft);
  border-radius: 14px;
  background: var(--i-card);
}
.hm-info-tocTitle {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--i-gold);
}
.hm-info-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
}
.hm-info-toc li {
  padding: 5px 0;
  color: var(--i-muted);
}
.hm-info-toc a {
  color: var(--i-text);
  text-decoration: none;
}
.hm-info-toc a:hover {
  color: var(--i-gold-soft);
}

.hm-info-article {
  min-width: 0;
  max-width: 820px;
}

.hm-info-draft {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 14px 16px;
  border: 1px dashed var(--c-warn);
  border-radius: 12px;
  background: color-mix(in srgb, var(--c-warn) 8%, transparent);
  color: var(--c-warn);
  font-size: 14px;
  line-height: 1.6;
}
.hm-info-draft svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.hm-info-draft p {
  margin: 0;
}
.hm-info-draft strong {
  color: var(--c-warn);
}

.hm-info-section {
  scroll-margin-top: 110px;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--i-line-soft);
}
.hm-info-section:last-child {
  border-bottom: 0;
}
.hm-info-h2 {
  margin: 0 0 14px;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--i-gold-soft);
}

/* Nội dung văn bản */
.hm-info-prose {
  font-size: 15.5px;
  line-height: 1.8;
}
.hm-info-prose p {
  margin: 0 0 14px;
}
.hm-info-prose p:last-child {
  margin-bottom: 0;
}
.hm-info-prose ul,
.hm-info-prose ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
.hm-info-prose li {
  margin: 6px 0;
}
.hm-info-prose li::marker {
  color: var(--i-gold);
}
.hm-info-prose h3 {
  margin: 20px 0 8px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--i-text);
}
.hm-info-prose a {
  color: var(--i-gold-soft);
  text-underline-offset: 3px;
}
.hm-info-prose strong {
  color: var(--c-heading);
}
.hm-info-prose code {
  padding: 1px 6px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--c-gold) 12%, transparent);
  font-size: 0.9em;
}
.hm-info-prose table {
  width: 100%;
  margin: 6px 0 14px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.hm-info-prose th,
.hm-info-prose td {
  padding: 10px 12px;
  border: 1px solid var(--i-line-soft);
  text-align: left;
  vertical-align: top;
}
.hm-info-prose th {
  background: color-mix(in srgb, var(--c-gold) 8%, transparent);
  color: var(--i-gold-soft);
  font-weight: 600;
}
.hm-info-tableWrap {
  overflow-x: auto;
}

.hm-info-todo {
  padding: 0 4px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--c-warn) 20%, transparent);
  color: var(--c-warn);
  font-weight: 500;
}

/* Hộp ghi chú trong nội dung */
.hm-info-callout {
  padding: 16px 18px;
  border: 1px solid var(--i-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--c-accent) 55%, transparent);
}

/* Thẻ thông tin dạng lưới (liên hệ, đội ngũ) */
.hm-info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 4px 0 14px;
}
.hm-info-card {
  padding: 18px;
  border: 1px solid var(--i-line-soft);
  border-radius: 12px;
  background: var(--i-card);
}
.hm-info-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--i-gold-soft);
}
.hm-info-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--i-muted);
}

/* FAQ */
.hm-info-faqList {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hm-info-faqItem {
  border: 1px solid var(--i-line-soft);
  border-radius: 12px;
  background: var(--i-card);
}
.hm-info-faqItem[open] {
  border-color: var(--i-line);
}
.hm-info-faqItem summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.hm-info-faqItem summary::-webkit-details-marker {
  display: none;
}
.hm-info-faqItem summary svg {
  flex-shrink: 0;
  color: var(--i-gold);
  transition: transform 0.2s ease;
}
.hm-info-faqItem[open] summary svg {
  transform: rotate(180deg);
}
.hm-info-faqItem .hm-info-prose {
  padding: 0 18px 16px;
  font-size: 15px;
  color: var(--i-muted);
}

/* Liên kết liên quan */
.hm-info-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.hm-info-relatedCard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--i-line);
  border-radius: 12px;
  background: var(--i-card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.hm-info-relatedCard:hover {
  border-color: var(--i-gold);
}
.hm-info-relatedTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--i-gold-soft);
}
.hm-info-relatedText {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--i-muted);
}

.hm-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--c-gold-light), var(--i-gold) 55%, var(--c-gold-deep));
  color: var(--c-on-gold) !important;
  font-weight: 600;
  text-decoration: none;
}

.hm-info-toc a:focus-visible,
.hm-info-relatedCard:focus-visible,
.hm-info-faqItem summary:focus-visible,
.hm-info-btn:focus-visible,
.hm-info-prose a:focus-visible {
  outline: 2px solid var(--i-gold-soft);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hm-info-heroWithArt {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding-top: 0;
  }
  .hm-info-heroArt {
    position: relative;
    width: 100%;
    height: 200px;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 55%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 55%);
  }
  .hm-info-heroWithArt > .hm-info-container {
    margin-top: -40px;
  }
}

@media (max-width: 960px) {
  .hm-info-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hm-info-toc {
    position: static;
  }
  .hm-info-related {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hm-info-container {
    padding: 0 16px;
  }
  .hm-info-hero {
    padding: 28px 0;
    margin-bottom: 28px;
  }
  .hm-info-cards {
    grid-template-columns: 1fr;
  }
  .hm-info-h2 {
    font-size: 24px;
  }
  .hm-info-prose {
    font-size: 15px;
  }
}

/* SiteFooter.module.css */
/* Phong Thủy Bảo Địa — Footer (Dark Luxury) */

.hm-sitefooter-footer {
  --hm-bg: var(--c-bg);
  --hm-gold: var(--c-gold);
  --hm-gold-soft: var(--c-gold-soft);
  --hm-gold-deep: var(--c-gold-deep);
  --hm-text: var(--c-text);
  --hm-muted: var(--c-muted);
  --hm-line: color-mix(in srgb, var(--c-gold) 32%, transparent);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--hm-text);
  font-family: var(--font-body, "Be Vietnam Pro", system-ui, sans-serif);
  background:
    radial-gradient(60% 80% at 50% 100%, color-mix(in srgb, var(--c-gold) 7%, transparent), transparent 70%),
    linear-gradient(color-mix(in srgb, var(--hm-bg) 25%, transparent), color-mix(in srgb, var(--hm-bg) 25%, transparent)),
    var(--hm-anh-footer, url("../images/chung/footer-nen.jpg")) center top / cover no-repeat,
    var(--hm-bg);
  border-top: 1px solid var(--hm-line);
}

.hm-sitefooter-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hm-gold) 20%, var(--hm-gold-soft) 50%, var(--hm-gold) 80%, transparent);
  opacity: 0.6;
}

/* ---------- Phong cảnh hai bên ---------- */
.hm-sitefooter-sceneLeft,
.hm-sitefooter-sceneRight {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
}

.hm-sitefooter-sceneLeft {
  left: 0;
  bottom: 74px;
  width: min(36vw, 620px);
  aspect-ratio: 560 / 184;
  background-image: url("../images/footer-left.jpg");
  background-position: left bottom;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent), linear-gradient(to top, #000 60%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 55%, transparent), linear-gradient(to top, #000 60%, transparent);
  mask-composite: intersect;
  opacity: 0.9;
}

.hm-sitefooter-sceneRight {
  right: 0;
  top: 0;
  bottom: 74px;
  width: min(20vw, 340px);
  background-image: url("../images/footer-right.jpg");
  background-position: right bottom;
  -webkit-mask-image: linear-gradient(to left, #000 50%, transparent);
  mask-image: linear-gradient(to left, #000 50%, transparent);
}

/* ---------- Phần chính ---------- */
.hm-sitefooter-main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 64px 28px 44px;
}

.hm-sitefooter-top {
  display: grid;
  grid-template-columns: minmax(300px, 380px) 1fr;
  gap: 72px;
  padding-right: min(17vw, 290px);
}

/* Thương hiệu */
.hm-sitefooter-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hm-sitefooter-brandLink {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.hm-sitefooter-logo {
  filter: drop-shadow(0 0 18px color-mix(in srgb, var(--c-gold) 35%, transparent));
}

.hm-sitefooter-brandName {
  margin-top: 10px;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 32px;
  font-weight: 600;
  font-variant: small-caps;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--c-title-1) 0%, var(--hm-gold) 60%, var(--hm-gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hm-sitefooter-tagline {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hm-muted);
}

.hm-sitefooter-desc {
  margin: 18px 0 0;
  max-width: 36ch;
  font-size: 15px;
  line-height: 1.65;
  color: var(--hm-text);
  opacity: 0.88;
}

.hm-sitefooter-socials {
  display: flex;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hm-sitefooter-social {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--hm-line);
  border-radius: 50%;
  color: var(--hm-text);
  background: color-mix(in srgb, var(--c-bg) 55%, transparent);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.hm-sitefooter-social:hover {
  color: var(--hm-gold-soft);
  border-color: var(--hm-gold);
  box-shadow: 0 0 16px -4px color-mix(in srgb, var(--c-gold) 60%, transparent);
  transform: translateY(-2px);
}

/* Cột liên kết */
.hm-sitefooter-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  padding-top: 34px;
}

.hm-sitefooter-colTitle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hm-gold-soft);
  white-space: nowrap;
}
.hm-sitefooter-colTitle svg {
  color: var(--hm-gold);
  flex-shrink: 0;
}

.hm-sitefooter-linkList {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hm-sitefooter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 220px;
  padding: 11px 0;
  color: var(--hm-text);
  text-decoration: none;
  font-size: 15.5px;
  transition: color 0.2s ease;
}
.hm-sitefooter-link svg {
  flex-shrink: 0;
  color: var(--hm-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}
.hm-sitefooter-link:hover {
  color: var(--hm-gold-soft);
}
.hm-sitefooter-link:hover svg {
  color: var(--hm-gold);
  transform: translateX(3px);
}

/* Châm ngôn */
.hm-sitefooter-motto {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 48px auto 0;
  max-width: 900px;
  text-align: center;
}

.hm-sitefooter-moons {
  width: 100%;
  height: auto;
}

.hm-sitefooter-mottoText {
  margin: 18px 0 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 30px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--hm-gold);
}

.hm-sitefooter-mottoSub {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hm-muted);
}

.hm-sitefooter-mottoRule {
  width: 76px;
  height: 2px;
  margin-top: 22px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--hm-gold-deep), var(--hm-gold-soft), var(--hm-gold-deep));
}

/* ---------- Thanh cuối ---------- */
.hm-sitefooter-bottom {
  position: relative;
  border-top: 1px solid var(--hm-line);
  background: color-mix(in srgb, var(--c-bg) 92%, transparent);
}

.hm-sitefooter-bottomInner {
  max-width: 1600px;
  min-height: 74px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.hm-sitefooter-copy {
  margin: 0;
  font-size: 15px;
  color: var(--hm-text);
  opacity: 0.85;
}

.hm-sitefooter-legal {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-sitefooter-legal a {
  font-size: 13.5px;
  color: var(--hm-muted);
  text-decoration: none;
}
.hm-sitefooter-legal a:hover {
  color: var(--hm-gold-soft);
}

.hm-sitefooter-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.hm-sitefooter-vDivider {
  width: 1px;
  height: 28px;
  background: var(--hm-line);
}

.hm-sitefooter-control {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--hm-text);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.hm-sitefooter-control svg {
  color: var(--hm-text);
}
.hm-sitefooter-control:hover,
.hm-sitefooter-control:hover svg {
  color: var(--hm-gold-soft);
}

.hm-sitefooter-lang {
  position: relative;
}

.hm-sitefooter-langMenu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  min-width: 200px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: linear-gradient(180deg, var(--c-surface), var(--c-card));
  border: 1px solid var(--hm-line);
  border-radius: 12px;
  box-shadow: 0 -18px 40px -16px rgba(0, 0, 0, 0.8);
  z-index: 5;
}

.hm-sitefooter-langItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  cursor: pointer;
}
.hm-sitefooter-langItem[aria-disabled="true"] {
  cursor: default;
  color: var(--hm-muted);
}
.hm-sitefooter-langItem:not([aria-disabled="true"]):hover {
  background: color-mix(in srgb, var(--c-gold) 10%, transparent);
}
.hm-sitefooter-langActive {
  color: var(--hm-gold-soft);
  font-weight: 600;
}

.hm-sitefooter-soon {
  font-size: 11px;
  padding: 2px 8px;
  border: 1px solid var(--hm-line);
  border-radius: 999px;
}

.hm-sitefooter-social:focus-visible,
.hm-sitefooter-link:focus-visible,
.hm-sitefooter-brandLink:focus-visible,
.hm-sitefooter-control:focus-visible,
.hm-sitefooter-legal a:focus-visible {
  outline: 2px solid var(--hm-gold);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .hm-sitefooter-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-right: 0;
  }
  .hm-sitefooter-columns {
    padding-top: 0;
  }
  .hm-sitefooter-sceneRight {
    opacity: 0.35;
  }
}

@media (max-width: 900px) {
  .hm-sitefooter-main {
    padding: 48px 20px 36px;
  }
  .hm-sitefooter-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .hm-sitefooter-link {
    max-width: none;
  }
  .hm-sitefooter-sceneLeft {
    width: 80vw;
    opacity: 0.45;
  }
  .hm-sitefooter-sceneRight {
    display: none;
  }
  .hm-sitefooter-bottomInner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
    padding: 16px 20px;
    text-align: center;
  }
  .hm-sitefooter-controls {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .hm-sitefooter-brandName {
    font-size: 30px;
  }
  .hm-sitefooter-colTitle {
    font-size: 17px;
    gap: 8px;
    white-space: normal;
  }
  .hm-sitefooter-colTitle svg {
    width: 20px;
    height: 20px;
  }
  .hm-sitefooter-link {
    font-size: 15px;
  }
  .hm-sitefooter-mottoText {
    font-size: 23px;
  }
  .hm-sitefooter-copy {
    width: 100%;
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-sitefooter-footer * {
    transition: none !important;
  }
}

/* SiteHeader.module.css */
/* Phong Thủy Bảo Địa — Header (Dark Luxury)
   Font: --font-display (Cormorant Garamond), --font-body (Be Vietnam Pro) — khai báo ở app/layout.hm-siteheader-tsx */

.hm-siteheader-header {
  --hm-bg: var(--c-bg);
  --hm-surface: var(--c-input);
  --hm-gold: var(--c-gold);
  --hm-gold-soft: var(--c-gold-soft);
  --hm-gold-deep: var(--c-gold-deep);
  --hm-text: var(--c-text);
  --hm-muted: var(--c-muted);
  --hm-line: color-mix(in srgb, var(--c-gold) 32%, transparent);
  --hm-height: 88px;

  position: sticky;
  top: 0;
  z-index: 50;
  font-family: var(--font-body, "Be Vietnam Pro", system-ui, sans-serif);
  color: var(--hm-text);
  border-top: 1px solid var(--hm-line);
  border-bottom: 1px solid var(--hm-line);
  transition: box-shadow 0.3s ease;
}

/* Nền mờ đặt ở lớp giả: backdrop-filter trên chính header sẽ làm
   menu mobile (position: fixed) bị giam trong khung header. */
.hm-siteheader-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 140% at 6% 50%, color-mix(in srgb, var(--c-gold) 10%, transparent), transparent 40%),
    linear-gradient(180deg, color-mix(in srgb, var(--c-surface) 62%, transparent), color-mix(in srgb, var(--c-bg) 70%, transparent)),
    var(--hm-anh-header, url("../images/chung/header-nen.jpg")) center / cover no-repeat,
    var(--c-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background 0.3s ease;
}

.hm-siteheader-scrolled {
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.7);
}
.hm-siteheader-scrolled::before {
  background:
    linear-gradient(color-mix(in srgb, var(--c-bg) 78%, transparent), color-mix(in srgb, var(--c-bg) 78%, transparent)),
    var(--hm-anh-header, url("../images/chung/header-nen.jpg")) center / cover no-repeat,
    var(--c-bg);
}

/* Đường chỉ vàng mờ dần hai bên */
.hm-siteheader-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hm-gold) 20%, var(--hm-gold-soft) 50%, var(--hm-gold) 80%, transparent);
  opacity: 0.55;
  pointer-events: none;
}

.hm-siteheader-skip {
  position: absolute;
  left: 16px;
  top: 8px;
  clip-path: inset(50%);
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--hm-gold);
  color: var(--c-on-gold);
  font-weight: 600;
  z-index: 60;
}
.hm-siteheader-skip:focus {
  clip-path: none;
}

.hm-siteheader-inner {
  max-width: 1600px;
  height: var(--hm-height);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* ---------- Thương hiệu ---------- */
.hm-siteheader-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.hm-siteheader-logo {
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c-gold) 35%, transparent));
  transition: transform 0.6s ease;
}
.hm-siteheader-brand:hover .hm-siteheader-logo {
  transform: rotate(-20deg);
}

.hm-siteheader-brandText {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.hm-siteheader-brandName {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 34px;
  font-weight: 600;
  font-variant: small-caps;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, var(--c-title-1) 0%, var(--hm-gold) 60%, var(--hm-gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hm-siteheader-tagline {
  margin-top: 7px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hm-muted);
  white-space: nowrap;
}

/* ---------- Menu chính ---------- */
.hm-siteheader-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.hm-siteheader-navList {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hm-siteheader-navLink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: var(--hm-height);
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--hm-text);
  font: inherit;
  font-size: 15.5px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.hm-siteheader-navLink svg {
  color: var(--hm-gold);
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hm-siteheader-navLink::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--hm-gold-deep), var(--hm-gold-soft), var(--hm-gold-deep));
  box-shadow: 0 0 10px color-mix(in srgb, var(--c-gold-soft) 60%, transparent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.hm-siteheader-navLink:hover {
  color: var(--hm-gold-soft);
}
.hm-siteheader-navLink:hover svg {
  opacity: 1;
  transform: translateY(-1px);
}
.hm-siteheader-navLink:hover::after {
  transform: scaleX(0.5);
}

.hm-siteheader-active,
.hm-siteheader-active:hover {
  color: var(--hm-gold-soft);
  font-weight: 600;
}
.hm-siteheader-active svg {
  opacity: 1;
}
.hm-siteheader-navLink.hm-siteheader-active::after {
  transform: scaleX(1);
}

.hm-siteheader-navLink:focus-visible,
.hm-siteheader-iconBtn:focus-visible,
.hm-siteheader-login:focus-visible,
.hm-siteheader-brand:focus-visible,
.hm-siteheader-dropItem:focus-visible,
.hm-siteheader-drawerLink:focus-visible {
  outline: 2px solid var(--hm-gold);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ---------- Menu "..." ---------- */
.hm-siteheader-more {
  position: relative;
}
.hm-siteheader-moreBtn {
  padding: 0 12px;
}
.hm-siteheader-moreBtn svg {
  color: var(--hm-text);
}
.hm-siteheader-moreBtn::after {
  display: none;
}
.hm-siteheader-moreBtn[aria-expanded="true"] svg,
.hm-siteheader-moreBtn.hm-siteheader-active svg {
  color: var(--hm-gold-soft);
}

.hm-siteheader-dropdown {
  position: absolute;
  top: calc(100% - 10px);
  right: 0;
  min-width: 260px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: linear-gradient(180deg, var(--c-surface), var(--c-card));
  border: 1px solid var(--hm-line);
  border-radius: 14px;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
  animation: hm-siteheader-drop 0.18s ease-out;
}

@keyframes hm-siteheader-drop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}

.hm-siteheader-dropItem {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--hm-text);
}
.hm-siteheader-dropItem:hover {
  background: color-mix(in srgb, var(--c-gold) 10%, transparent);
}
.hm-siteheader-dropLabel {
  font-weight: 600;
  font-size: 15px;
}
.hm-siteheader-dropItem:hover .hm-siteheader-dropLabel {
  color: var(--hm-gold-soft);
}
.hm-siteheader-dropDesc {
  font-size: 12.5px;
  color: var(--hm-muted);
}

/* ---------- Hành động ---------- */
.hm-siteheader-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.hm-siteheader-iconBtn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--hm-text);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.hm-siteheader-iconBtn:hover {
  color: var(--hm-gold-soft);
  background: color-mix(in srgb, var(--c-gold) 8%, transparent);
}

.hm-siteheader-divider {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, transparent, var(--hm-line), transparent);
}

.hm-siteheader-login {
  display: inline-flex;
  align-items: stretch;
  height: 50px;
  border: 1px solid var(--hm-gold);
  border-radius: 999px;
  overflow: hidden;
  text-decoration: none;
  color: var(--hm-text);
  background: color-mix(in srgb, var(--c-bg) 60%, transparent);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--c-gold) 8%, transparent);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.hm-siteheader-login:hover {
  border-color: var(--hm-gold-soft);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--c-gold) 15%, transparent), 0 0 18px -4px color-mix(in srgb, var(--c-gold) 55%, transparent);
}

.hm-siteheader-loginIcon {
  display: grid;
  place-items: center;
  width: 54px;
  color: var(--hm-gold);
  border-right: 1px solid var(--hm-line);
}

.hm-siteheader-loginText {
  display: flex;
  align-items: center;
  padding: 0 22px 0 18px;
  font-size: 15.5px;
  font-weight: 500;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent);
}
.hm-siteheader-login:hover .hm-siteheader-loginText {
  color: var(--hm-gold-soft);
}

.hm-siteheader-burger {
  display: none;
}

/* ---------- Ô tìm kiếm ---------- */
.hm-siteheader-searchPanel {
  border-top: 1px solid var(--hm-line);
  background: color-mix(in srgb, var(--c-bg) 98%, transparent);
  animation: hm-siteheader-drop 0.18s ease-out;
}

.hm-siteheader-searchForm {
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--hm-gold);
}

.hm-siteheader-searchInput {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--hm-line);
  border-radius: 10px;
  background: var(--hm-surface);
  color: var(--hm-text);
  font: inherit;
  font-size: 16px;
}
.hm-siteheader-searchInput::placeholder {
  color: var(--hm-muted);
}
.hm-siteheader-searchInput:focus {
  outline: none;
  border-color: var(--hm-gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-gold) 18%, transparent);
}

.hm-siteheader-searchSubmit {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--hm-gold-soft), var(--hm-gold));
  color: var(--c-on-gold);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Menu mobile ---------- */
.hm-siteheader-drawer {
  display: none;
}

/* Tên thương hiệu dài: nhường chỗ cho menu ở màn hình vừa */
@media (max-width: 1340px) {
  .hm-siteheader-brandName {
    font-size: 28px;
  }
}
@media (max-width: 1240px) {
  .hm-siteheader-navLink > svg:first-child:not(:only-child) {
    display: none;
  }
}

@media (max-width: 1280px) {
  .hm-siteheader-navLink {
    padding: 0 10px;
    font-size: 14.5px;
  }
  .hm-siteheader-navLink::after {
    left: 10px;
    right: 10px;
  }
  .hm-siteheader-tagline {
    display: none;
  }
}

@media (max-width: 1100px) {
  .hm-siteheader-header {
    --hm-height: 72px;
  }
  .hm-siteheader-inner {
    padding: 0 16px;
    gap: 12px;
  }
  .hm-siteheader-nav,
  .hm-siteheader-divider {
    display: none;
  }
  .hm-siteheader-brand {
    margin-right: auto;
  }
  .hm-siteheader-brandName {
    font-size: 28px;
  }
  .hm-siteheader-tagline {
    display: block;
    font-size: 9px;
    margin-top: 5px;
  }
  .hm-siteheader-burger {
    display: inline-grid;
  }
  .hm-siteheader-actions {
    gap: 6px;
  }

  .hm-siteheader-drawer {
    display: block;
    position: fixed;
    inset: var(--hm-height) 0 0 0;
    padding: 16px;
    overflow-y: auto;
    padding-bottom: calc(56vw + 24px);
    background:
      linear-gradient(180deg, var(--c-bg), transparent 30%) center bottom / 100% 56.4vw no-repeat,
      var(--hm-anh-menu, url("../images/chung/menu-mobile.jpg")) center bottom / 100% auto no-repeat,
      linear-gradient(180deg, var(--c-card), var(--c-bg));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .hm-siteheader-drawerOpen {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .hm-siteheader-drawerList {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .hm-siteheader-drawerLink {
    display: grid;
    grid-template-columns: 24px 1fr 16px;
    align-items: center;
    gap: 14px;
    padding: 15px 8px;
    border-bottom: 1px solid color-mix(in srgb, var(--c-gold) 14%, transparent);
    color: var(--hm-text);
    text-decoration: none;
    font-size: 16px;
  }
  .hm-siteheader-drawerLink svg:first-child {
    color: var(--hm-gold);
  }
  .hm-siteheader-drawerLink svg:last-child {
    color: var(--hm-muted);
  }
  .hm-siteheader-dot {
    width: 6px;
    height: 6px;
    margin-left: 9px;
    border-radius: 50%;
    background: var(--hm-gold);
    opacity: 0.7;
  }
  .hm-siteheader-drawerLogin {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    margin-top: 20px;
    border: 1px solid var(--hm-gold);
    border-radius: 999px;
    color: var(--hm-gold-soft);
    text-decoration: none;
    font-weight: 600;
  }
}

@media (max-width: 560px) {
  .hm-siteheader-login {
    height: 44px;
  }
  .hm-siteheader-loginText {
    display: none;
  }
  .hm-siteheader-loginIcon {
    width: 44px;
    border-right: 0;
  }
  .hm-siteheader-brand {
    gap: 10px;
  }
  .hm-siteheader-logo {
    width: 46px;
    height: 46px;
  }
  .hm-siteheader-brandName {
    font-size: 19px;
    white-space: nowrap;
  }
  .hm-siteheader-tagline {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-siteheader-header *,
  .hm-siteheader-header *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 1100px) {
  .hm-siteheader-drawerLink.hm-siteheader-active {
    color: var(--hm-gold-soft);
    font-weight: 600;
  }
}

/* tu-vi.module.css */
/* Phong Thủy Bảo Địa — Trang trụ cột Tử vi */

.hm-tu-vi-hero,
.hm-tu-vi-section,
.hm-tu-vi-ctaSection,
.hm-tu-vi-strip,
.hm-tu-vi-zodiacScope {
  --t-bg: var(--c-bg);
  --t-card: var(--c-card);
  --t-gold: var(--c-gold);
  --t-gold-soft: var(--c-gold-soft);
  --t-gold-deep: var(--c-gold-deep);
  --t-text: var(--c-text);
  --t-muted: var(--c-muted);
  --t-line: color-mix(in srgb, var(--c-gold) 30%, transparent);
  --t-line-soft: color-mix(in srgb, var(--c-gold) 15%, transparent);
  position: relative;
  color: var(--t-text);
  font-family: var(--font-body, "Be Vietnam Pro", system-ui, sans-serif);
  background: var(--t-bg);
}

.hm-tu-vi-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}
.hm-tu-vi-narrow {
  max-width: 980px;
}
.hm-tu-vi-cover {
  object-fit: cover;
}

/* ---------- Tiêu đề section ---------- */
.hm-tu-vi-heading {
  margin-bottom: 30px;
  text-align: center;
}
.hm-tu-vi-ornament {
  display: block;
  width: 180px;
  height: 12px;
  margin: 0 auto 12px;
  background:
    radial-gradient(circle, var(--t-gold) 0 3px, transparent 3.5px) center / 12px 12px no-repeat,
    linear-gradient(90deg, transparent, var(--t-gold) 45%, transparent 45%, transparent 55%, var(--t-gold) 55%, transparent) center / 100% 1px no-repeat;
  opacity: 0.85;
}
.hm-tu-vi-h2 {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--t-gold-soft);
}
.hm-tu-vi-lead {
  max-width: 640px;
  margin: 10px auto 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--t-muted);
}

/* ---------- Nút ---------- */
.hm-tu-vi-heroActions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hm-tu-vi-btnPrimary,
.hm-tu-vi-btnGhost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hm-tu-vi-btnPrimary {
  background: linear-gradient(180deg, var(--c-gold-light), var(--t-gold) 55%, var(--c-gold-deep));
  color: var(--c-on-gold);
  box-shadow: 0 10px 26px -10px color-mix(in srgb, var(--c-gold) 85%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.hm-tu-vi-btnPrimary:hover {
  transform: translateY(-2px);
}
.hm-tu-vi-btnGhost {
  border: 1px solid var(--t-gold);
  background: color-mix(in srgb, var(--c-bg) 55%, transparent);
  color: var(--t-text);
  font-weight: 500;
}
.hm-tu-vi-btnGhost:hover {
  background: color-mix(in srgb, var(--c-gold) 10%, transparent);
  color: var(--t-gold-soft);
}

/* ---------- Hero ---------- */
.hm-tu-vi-hero {
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(480px, 40vw, 620px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--t-line);
}
.hm-tu-vi-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(45% 70% at 12% 45%, color-mix(in srgb, var(--c-glow) 25%, transparent), transparent 70%),
    radial-gradient(30% 40% at 30% 100%, color-mix(in srgb, var(--c-gold) 8%, transparent), transparent 70%);
}
.hm-tu-vi-heroArt {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(60%, 1000px);
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 22%, #000 48%), linear-gradient(0deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 22%, #000 48%), linear-gradient(0deg, transparent 0%, #000 22%);
  mask-composite: intersect;
}
.hm-tu-vi-heroInner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 28px 64px;
}
.hm-tu-vi-heroInner > * {
  max-width: 600px;
}

.hm-tu-vi-breadcrumb ol {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--t-muted);
}
.hm-tu-vi-breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--t-gold);
}
.hm-tu-vi-breadcrumb a {
  color: var(--t-text);
  text-decoration: none;
}
.hm-tu-vi-breadcrumb [aria-current] {
  color: var(--t-gold-soft);
}

.hm-tu-vi-eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-gold);
}
.hm-tu-vi-h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(180deg, var(--c-title-1) 0%, var(--c-title-2) 55%, var(--c-title-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hm-tu-vi-heroLead {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
}

/* ---------- Section chung ---------- */
.hm-tu-vi-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--t-line-soft);
}
.hm-tu-vi-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(45% 50% at 50% 0%, color-mix(in srgb, var(--c-glow) 12%, transparent), transparent 70%);
}

/* ---------- Tìm con giáp ---------- */
.hm-tu-vi-finder {
  position: relative;
  max-width: 560px;
  margin: 0 auto 30px;
  text-align: center;
}
.hm-tu-vi-finderLabel {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--t-gold-soft);
}
.hm-tu-vi-finderRow {
  display: flex;
  gap: 10px;
}
.hm-tu-vi-finderRow input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--t-line);
  border-radius: 999px;
  background: var(--c-input);
  color: var(--t-text);
  font: inherit;
  font-size: 15px;
  color-scheme: dark;
}
.hm-tu-vi-finderRow input:focus {
  outline: none;
  border-color: var(--t-gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-gold) 16%, transparent);
}
.hm-tu-vi-finderRow input[aria-invalid="true"] {
  border-color: var(--c-danger);
}
.hm-tu-vi-finderRow button {
  height: 48px;
  padding: 0 22px;
  border: 1px solid var(--t-gold);
  border-radius: 999px;
  background: color-mix(in srgb, var(--c-gold) 12%, transparent);
  color: var(--t-gold-soft);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.hm-tu-vi-finderRow button:hover {
  background: color-mix(in srgb, var(--c-gold) 20%, transparent);
}
.hm-tu-vi-finderNote,
.hm-tu-vi-finderError {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--t-muted);
}
.hm-tu-vi-finderNote strong {
  color: var(--t-gold-soft);
}
.hm-tu-vi-finderError {
  color: var(--c-danger);
}

/* ---------- Lưới 12 con giáp ---------- */
.hm-tu-vi-zodiacGrid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-tu-vi-zodiacGrid li {
  scroll-margin: 120px;
}
.hm-tu-vi-zodiacCard {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--t-line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--c-surface), var(--t-card));
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.hm-tu-vi-zodiacCard:hover {
  border-color: var(--t-gold);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.9), 0 0 22px -12px color-mix(in srgb, var(--c-gold) 70%, transparent);
}
.hm-tu-vi-zodiacOn {
  border: 2px solid var(--t-gold);
  box-shadow: 0 0 30px -8px color-mix(in srgb, var(--c-gold) 80%, transparent);
}
.hm-tu-vi-zodiacMedia {
  position: relative;
  aspect-ratio: 3 / 2;
}
.hm-tu-vi-zodiacMedia::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--t-card), transparent 45%);
}
.hm-tu-vi-zodiacBody {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 2px 12px 16px;
  text-align: center;
}
.hm-tu-vi-zodiacName {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--c-heading);
}
.hm-tu-vi-zodiacAnimal {
  font-family: var(--font-body, "Be Vietnam Pro", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--t-muted);
}
.hm-tu-vi-zodiacMeta {
  margin: 0;
  font-size: 12.5px;
  color: var(--t-gold);
}
.hm-tu-vi-zodiacYears {
  margin: 0;
  font-size: 12px;
  color: var(--t-muted);
}
.hm-tu-vi-zodiacMore,
.hm-tu-vi-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--t-gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--c-gold-soft) 40%, transparent);
}
.hm-tu-vi-zodiacCard:hover .hm-tu-vi-zodiacMore svg,
.hm-tu-vi-topicCard:hover .hm-tu-vi-more svg {
  transform: translateX(3px);
}
.hm-tu-vi-zodiacMore svg,
.hm-tu-vi-more svg {
  transition: transform 0.2s ease;
}

/* ---------- Chủ đề ---------- */
.hm-tu-vi-topicGrid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-tu-vi-topicCard {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--t-line);
  border-radius: 14px;
  background: var(--t-card);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hm-tu-vi-topicCard:hover {
  border-color: var(--t-gold);
  transform: translateY(-4px);
}
.hm-tu-vi-topicMedia {
  position: relative;
  aspect-ratio: 2 / 1;
}
.hm-tu-vi-topicMedia::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--t-card), transparent 55%);
}
.hm-tu-vi-topicBody {
  display: flex;
  flex: 1;
  gap: 14px;
  padding: 0 18px 20px;
  margin-top: -14px;
  position: relative;
}
.hm-tu-vi-topicBody > div {
  display: flex;
  flex-direction: column;
}
.hm-tu-vi-topicTitle {
  margin: 8px 0 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--c-heading);
}
.hm-tu-vi-topicText {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--t-muted);
}

.hm-tu-vi-badge,
.hm-tu-vi-badgeLg {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 1px solid var(--t-gold);
  border-radius: 50%;
  color: var(--t-gold-soft);
  background: radial-gradient(circle at 35% 30%, var(--c-badge), var(--c-card));
  box-shadow: 0 0 14px -4px color-mix(in srgb, var(--c-gold) 60%, transparent);
}
.hm-tu-vi-badgeLg {
  width: 56px;
  height: 56px;
}

/* ---------- CTA lá số ---------- */
.hm-tu-vi-ctaSection {
  padding: 64px 0;
}
.hm-tu-vi-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  border: 1px solid var(--t-gold);
  border-radius: 18px;
  background: var(--t-card);
  box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--c-bg) 60%, transparent), inset 0 0 0 7px var(--t-line-soft);
}
.hm-tu-vi-ctaArt {
  position: absolute;
  inset: 0 0 0 auto;
  width: 60%;
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
}
.hm-tu-vi-ctaText {
  max-width: 560px;
  padding: 44px 48px;
}
.hm-tu-vi-ctaTitle {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  color: var(--t-gold-soft);
}
.hm-tu-vi-ctaEyebrow {
  margin: 6px 0 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--t-gold);
}
.hm-tu-vi-ctaLead {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
}

/* ---------- Kiến thức cơ bản ---------- */
.hm-tu-vi-faqList {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hm-tu-vi-faqItem {
  border: 1px solid var(--t-line-soft);
  border-radius: 12px;
  background: var(--t-card);
}
.hm-tu-vi-faqItem[open] {
  border-color: var(--t-line);
}
.hm-tu-vi-faqItem summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.hm-tu-vi-faqItem summary::-webkit-details-marker {
  display: none;
}
.hm-tu-vi-faqItem summary svg {
  flex-shrink: 0;
  color: var(--t-gold);
  transition: transform 0.2s ease;
}
.hm-tu-vi-faqItem[open] summary svg {
  transform: rotate(180deg);
}
.hm-tu-vi-faqItem p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--t-muted);
}

/* ---------- Mục lục chuyên mục ---------- */
.hm-tu-vi-dirGrid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
.hm-tu-vi-dirGroup {
  padding: 20px;
  border: 1px solid var(--t-line);
  border-radius: 14px;
  background: var(--t-card);
}
.hm-tu-vi-dirGroup:nth-child(2) {
  grid-row: span 2;
}
.hm-tu-vi-dirTitle {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-gold);
}
.hm-tu-vi-dirList,
.hm-tu-vi-dirChips {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hm-tu-vi-dirList li + li {
  border-top: 1px solid var(--t-line-soft);
}
.hm-tu-vi-dirList .hm-tu-vi-dirLink {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
}
.hm-tu-vi-dirChips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.hm-tu-vi-dirChips li:first-child {
  grid-column: 1 / -1;
}
.hm-tu-vi-dirChips .hm-tu-vi-dirLink {
  display: block;
  padding: 9px 12px;
  border: 1px solid var(--t-line-soft);
  border-radius: 9px;
  text-align: center;
}
.hm-tu-vi-dirChips li:first-child .hm-tu-vi-dirLink {
  border-color: var(--t-gold);
  color: var(--t-gold-soft);
  font-weight: 600;
}
.hm-tu-vi-dirLink {
  color: var(--t-text);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hm-tu-vi-dirLink:hover {
  color: var(--t-gold-soft);
  border-color: var(--t-gold);
}
.hm-tu-vi-dirLink:focus-visible {
  outline: 2px solid var(--t-gold-soft);
  outline-offset: 2px;
  border-radius: 6px;
}
.hm-tu-vi-dirDesc {
  font-size: 13px;
  color: var(--t-muted);
}

/* ---------- Dải chuyên mục liên quan ---------- */
.hm-tu-vi-strip {
  padding: 28px 0;
  border-top: 1px solid var(--t-line);
  background: linear-gradient(180deg, var(--c-card), var(--t-bg));
}
.hm-tu-vi-stripList {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 auto;
  list-style: none;
}
.hm-tu-vi-stripList li + li {
  border-left: 1px solid var(--t-line-soft);
}
.hm-tu-vi-stripItem {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 8px 22px;
  color: inherit;
  text-decoration: none;
}
.hm-tu-vi-stripItem:hover .hm-tu-vi-stripTitle {
  color: var(--t-gold-soft);
}
.hm-tu-vi-stripTitle {
  display: block;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.hm-tu-vi-stripText {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--t-muted);
}

/* Focus */
.hm-tu-vi-btnPrimary:focus-visible,
.hm-tu-vi-btnGhost:focus-visible,
.hm-tu-vi-zodiacCard:focus-visible,
.hm-tu-vi-topicCard:focus-visible,
.hm-tu-vi-stripItem:focus-visible,
.hm-tu-vi-faqItem summary:focus-visible,
.hm-tu-vi-finderRow button:focus-visible {
  outline: 2px solid var(--t-gold-soft);
  outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hm-tu-vi-dirGrid {
    grid-template-columns: 1fr 1fr;
  }
  .hm-tu-vi-dirGroup:nth-child(2) {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .hm-tu-vi-dirChips {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hm-tu-vi-zodiacGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hm-tu-vi-topicGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hm-tu-vi-stripList {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 0;
  }
  .hm-tu-vi-stripList li:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 900px) {
  .hm-tu-vi-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .hm-tu-vi-heroArt {
    position: relative;
    width: 100%;
    height: 300px;
    order: -1;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 55%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 55%);
  }
  .hm-tu-vi-heroInner {
    margin-top: -60px;
    padding: 0 20px 48px;
  }
  .hm-tu-vi-container {
    padding: 0 16px;
  }
  .hm-tu-vi-section,
  .hm-tu-vi-ctaSection {
    padding: 48px 0;
  }
  .hm-tu-vi-zodiacGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .hm-tu-vi-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hm-tu-vi-ctaArt {
    position: relative;
    width: 100%;
    height: 220px;
    -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 50%);
    mask-image: linear-gradient(0deg, transparent 0%, #000 50%);
  }
  .hm-tu-vi-ctaText {
    padding: 0 22px 32px;
    margin-top: -30px;
  }
}

@media (max-width: 640px) {
  .hm-tu-vi-dirGrid {
    grid-template-columns: 1fr;
  }
  .hm-tu-vi-dirChips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hm-tu-vi-zodiacGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hm-tu-vi-zodiacName {
    font-size: 21px;
  }
  .hm-tu-vi-topicGrid,
  .hm-tu-vi-stripList {
    grid-template-columns: 1fr;
  }
  .hm-tu-vi-stripList li + li {
    border-left: 0;
    border-top: 1px solid var(--t-line-soft);
    padding-top: 16px;
  }
  .hm-tu-vi-stripItem {
    padding: 0 4px;
  }
  .hm-tu-vi-heroActions > * {
    flex: 1 1 100%;
    justify-content: center;
  }
  .hm-tu-vi-finderRow {
    flex-direction: column;
  }
  .hm-tu-vi-finderRow input {
    flex: none;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-tu-vi-hero *,
  .hm-tu-vi-section *,
  .hm-tu-vi-ctaSection *,
  .hm-tu-vi-strip * {
    transition: none !important;
  }
}

/* Dùng lưới 12 con giáp bên trong trang khác (ví dụ /tu-vi/12-con-giap/) */
.hm-tu-vi-zodiacScope {
  background: transparent;
}
