:root{--secondary:#d9b44a;--secondary-light:#fff2cc}body>header{position:sticky;top:0;z-index:80;background:#fff;transition:padding .2s,box-shadow .2s}body>header .brand img,body>header .brand span,body>header .brand small{transition:height .2s,width .2s,font-size .2s,color .3s}body>header.is-compact{display:grid;grid-template-columns:auto minmax(0,1fr) 32px;gap:12px;align-items:center;padding:6px 24px;box-shadow:0 4px 16px #203c3020}body>header.is-compact>.brand{min-width:0;white-space:nowrap}body>header.is-compact>.brand img{width:42px;height:42px}body>header.is-compact>.brand span{font-size:17px}body>header.is-compact>.brand small{font-size:7px;margin-top:3px;color:var(--secondary)}body>header.is-compact>nav{display:flex;grid-column:2;grid-row:1;flex-wrap:nowrap;white-space:nowrap;min-width:0;width:100%;max-width:none;overflow-x:auto;justify-content:flex-start;gap:14px;scrollbar-width:none}body>header.is-compact>nav::-webkit-scrollbar{display:none}body>header.is-compact>nav>a{flex-shrink:0;font-size:11px;min-height:36px;padding:8px 6px;white-space:nowrap}body>header.is-compact>.home-search{grid-column:3;grid-row:1;width:32px}body>header.is-compact .home-search-panel{position:fixed;top:62px;right:16px}html{scroll-padding-top:80px}@media(max-width:760px){body>header.is-compact{padding:6px 10px;gap:6px;grid-template-columns:auto minmax(0,1fr) 28px}body>header.is-compact>.brand img{width:28px;height:28px}body>header.is-compact>.brand span{font-size:12px;letter-spacing:-.3px}body>header.is-compact>.brand small{font-size:5px;letter-spacing:0;margin-top:2px}body>header.is-compact>nav{gap:7px}body>header.is-compact>nav>a{font-size:10px;min-height:36px;padding:6px 5px}body>header.is-compact>.home-search{width:28px}body>header.is-compact #home-search-toggle{width:28px;height:32px;padding:6px}}@media(prefers-reduced-motion:reduce){body>header,body>header .brand img,body>header .brand span,body>header .brand small{transition:none}}

/* Decorative icons for the shared primary navigation. */
body > header > nav[aria-label="Điều hướng chính"] > a[href="/cong-cu-ve-hop"] {
  --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%208%204.5v9L12%2021l-8-4.5v-9L12%203Z%20M4%207.5l8%204.5%208-4.5%20M12%2012v9%20M8%205.25l8%204.5%22%2F%3E%3C%2Fsvg%3E");
}
body > header > nav[aria-label="Điều hướng chính"] > a[href="/tinh-gia-thanh-offset"] {
  --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%223%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%207h8%20M8%2011h2m4%200h2m-8%204h2m4%200h2m-8%203h2m4%200h2%22%2F%3E%3C%2Fsvg%3E");
}
body > header > nav[aria-label="Điều hướng chính"] > a[href="/#du-an"] {
  --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%229%22%20r%3D%221%22%2F%3E%3Cpath%20d%3D%22m4%2017%205-5%203%203%203-4%205%206%22%2F%3E%3C%2Fsvg%3E");
}
body > header > nav[aria-label="Điều hướng chính"] > a[href="/blog/"] {
  --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%206c-2.7-2-5.7-2-9-1v14c3.3-1%206.3-1%209%201%202.7-2%205.7-2%209-1V5c-3.3-1-6.3-1-9%201Zm0%200v14%22%2F%3E%3C%2Fsvg%3E");
}
body > header > nav[aria-label="Điều hướng chính"] > a[href="/#nhu-cau"] {
  --menu-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m4%207%208%206%208-6%22%2F%3E%3C%2Fsvg%3E");
}
body > header > nav[aria-label="Điều hướng chính"] > a:is([href="/cong-cu-ve-hop"], [href="/tinh-gia-thanh-offset"], [href="/#du-an"], [href="/blog/"], [href="/#nhu-cau"]) {
  display: inline-flex;
  align-items: center;
  gap: .34em;
}
body > header > nav[aria-label="Điều hướng chính"] > a:is([href="/cong-cu-ve-hop"], [href="/tinh-gia-thanh-offset"], [href="/#du-an"], [href="/blog/"], [href="/#nhu-cau"])::before {
  content: "";
  inline-size: 1.1em;
  block-size: 1.1em;
  flex: none;
  background: currentColor;
  -webkit-mask: var(--menu-icon) center / contain no-repeat;
  mask: var(--menu-icon) center / contain no-repeat;
}
