/* BoxStream — trang khach. Ngon ngu thiet ke kieu Apple: chu he thong, tieu de rat lon, khoang trong rong,
   thanh dieu huong mo kinh, sang / toi theo he dieu hanh. Moi kich thuoc theo rem / % / vw / clamp. */

:root {
  --nen: #ffffff;
  --nen-2: #f5f5f7;
  --the: #ffffff;
  --the-2: #fbfbfd;
  --chu: #1d1d1f;
  --chu-2: #6e6e73;
  --chu-3: #86868b;
  --vien: rgba(0, 0, 0, .1);
  --nhan: #0071e3;
  --nhan-chu: #0066cc;
  --nhan-nen: rgba(0, 113, 227, .1);
  --tot: #248a3d;
  --canh-bao: #b25000;
  --loi: #d70015;
  --thanh: rgba(255, 255, 255, .72);
  --bong: 0 1.25rem 3rem rgba(0, 0, 0, .08);
  --bo: 1.75rem;
  --bo-nho: .875rem;
  --rong: 80rem;
  --le: clamp(1.25rem, 5vw, 2.75rem);
  --font: -apple-system, BlinkMacSystemFont, system-ui, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-tieu-de: -apple-system, BlinkMacSystemFont, system-ui, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --nen: #000000;
    --nen-2: #101012;
    --the: #1c1c1e;
    --the-2: #161617;
    --chu: #f5f5f7;
    --chu-2: #a1a1a6;
    --chu-3: #86868b;
    --vien: rgba(255, 255, 255, .14);
    --nhan: #2997ff;
    --nhan-chu: #2997ff;
    --nhan-nen: rgba(41, 151, 255, .16);
    --tot: #30d158;
    --canh-bao: #ff9f0a;
    --loi: #ff453a;
    --thanh: rgba(22, 22, 23, .72);
    --bong: 0 1.25rem 3rem rgba(0, 0, 0, .5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--nen); color: var(--chu); font-family: var(--font);
  font-size: 1.0625rem; line-height: 1.5; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; display: block; }
a { color: var(--nhan-chu); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid var(--nhan); outline-offset: 2px; border-radius: .375rem; }
.an { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- thanh dieu huong */
.dau {
  position: sticky; top: 0; z-index: 50; height: 3.25rem;
  background: var(--thanh); border-bottom: 1px solid var(--vien);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.dau-trong { max-width: var(--rong); margin: 0 auto; height: 100%; padding: 0 var(--le); display: flex; align-items: center; gap: 1.5rem; }
.thuong-hieu { display: flex; align-items: center; gap: .55rem; color: var(--chu); font-weight: 600; font-size: 1.125rem; letter-spacing: -.02em; flex: 0 0 auto; }
.thuong-hieu:hover { text-decoration: none; }
.thuong-hieu svg { width: 1.6rem; height: 1.6rem; }
.menu { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); margin: 0 auto; padding: 0; list-style: none; }
.menu a { color: var(--chu); opacity: .8; font-size: .8125rem; white-space: nowrap; }
.menu a:hover { opacity: 1; text-decoration: none; }
.menu a[aria-current="page"] { opacity: 1; font-weight: 600; }
.dau-phai { display: flex; align-items: center; gap: .75rem; flex: 0 0 auto; }
.dau-phai .lien-ket-nho { font-size: .8125rem; color: var(--chu); opacity: .8; }
.nut-menu { display: none; width: 2.75rem; height: 2.75rem; border: 0; background: none; padding: .7rem; cursor: pointer; margin-right: -.7rem; }
.nut-menu span { display: block; height: 2px; background: var(--chu); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nut-menu span + span { margin-top: 5px; }
.mo-menu .nut-menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mo-menu .nut-menu span:nth-child(2) { opacity: 0; }
.mo-menu .nut-menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 60rem) {
  .nut-menu { display: block; }
  .dau-trong { justify-content: space-between; gap: .75rem; }
  .menu {
    position: fixed; left: 0; right: 0; top: 3.25rem; bottom: 0; margin: 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--le) 2rem;
    background: var(--nen); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-.75rem); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .mo-menu .menu { opacity: 1; visibility: visible; transform: none; }
  .menu li { border-bottom: 1px solid var(--vien); }
  .menu a { display: block; padding: 1rem 0; font-size: 1.5rem; font-weight: 600; opacity: 1; letter-spacing: -.02em; }
  .dau-phai .lien-ket-nho { display: none; }
  body.mo-menu { overflow: hidden; }
}

/* ---------------------------------------------------------------- nut */
.nut {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 2.75rem; padding: .6rem 1.35rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--nhan); color: #fff; font-size: 1.0625rem; font-weight: 500; white-space: nowrap;
  transition: transform .2s, filter .2s, background .2s;
}
.nut:hover { text-decoration: none; filter: brightness(1.08); }
.nut:active { transform: scale(.97); }
.nut[disabled] { opacity: .45; cursor: not-allowed; filter: none; transform: none; }
.nut-vien { background: transparent; color: var(--nhan-chu); box-shadow: inset 0 0 0 1px var(--nhan-chu); }
.nut-phu { background: var(--nen-2); color: var(--chu); }
.nut-nho { min-height: 2rem; padding: .3rem .95rem; font-size: .8125rem; }
.lien-ket-mui::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .3em; border: solid currentColor; border-width: .12em .12em 0 0; transform: translateY(-.08em) rotate(45deg); }
.hang-nut { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: center; }

/* ---------------------------------------------------------------- bo cuc chung */
.khoi { padding: clamp(4rem, 10vw, 8rem) var(--le); }
.khoi-xam { background: var(--nen-2); }
.trong { max-width: var(--rong); margin: 0 auto; }
.trong-hep { max-width: 52rem; margin: 0 auto; }
.giua { text-align: center; }
.mat-sau { color: var(--chu-2); }
.nho { font-size: .875rem; }
.nhan-tren { font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--nhan-chu); margin: 0 0 .5rem; letter-spacing: -.01em; }
.tieu-de-lon {
  font-family: var(--font-tieu-de); font-size: clamp(2.75rem, 8.5vw, 6rem); line-height: 1.04; font-weight: 700;
  letter-spacing: -.035em; margin: 0;
}
.tieu-de {
  font-family: var(--font-tieu-de); font-size: clamp(2.1rem, 5.6vw, 4rem); line-height: 1.07; font-weight: 700;
  letter-spacing: -.03em; margin: 0 0 1rem;
}
.tieu-de-vua { font-family: var(--font-tieu-de); font-size: clamp(1.5rem, 3.2vw, 2.25rem); line-height: 1.12; font-weight: 700; letter-spacing: -.025em; margin: 0 0 .75rem; }
.mo-ta-lon { font-size: clamp(1.2rem, 2.3vw, 1.75rem); line-height: 1.35; font-weight: 500; color: var(--chu-2); letter-spacing: -.015em; margin: 1rem auto 0; max-width: 46rem; }
.chu-mau { background: linear-gradient(90deg, #0a84ff, #5e5ce6 55%, #bf5af2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dau-trang { padding: clamp(3.5rem, 9vw, 7rem) var(--le) clamp(2rem, 5vw, 3.5rem); text-align: center; }

/* ---------------------------------------------------------------- hero */
.hero { padding: clamp(3.5rem, 9vw, 7rem) var(--le) 0; text-align: center; overflow: hidden; }
.hero .hang-nut { margin-top: 2rem; }
.hero-anh { max-width: 72rem; margin: clamp(2.5rem, 6vw, 4.5rem) auto 0; position: relative; }
.hero-anh::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 20%; bottom: -10%; z-index: -1;
  background: radial-gradient(closest-side, rgba(10, 132, 255, .35), transparent); filter: blur(2rem);
}
.hero-anh img { width: 100%; height: auto; }

/* khung ban dieu khien quanh anh man xe */
.ban-dieu-khien {
  padding: clamp(.6rem, 1.6vw, 1.25rem); border-radius: clamp(1.25rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, #2c2c2e, #0b0b0c 60%); box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.vien-man { border-radius: clamp(.75rem, 2vw, 1.5rem); overflow: hidden; background: #05070b; aspect-ratio: 16 / 9; }
.vien-man img { width: 100%; height: 100%; object-fit: cover; }
.hero-anh figcaption { margin-top: 1rem; }
.menu .chi-dien-thoai { display: none; }
@media (max-width: 60rem) { .menu .chi-dien-thoai { display: block; } }

/* ---------------------------------------------------------------- luoi + the */
.luoi { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.luoi-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }
.luoi-goi { justify-content: center; grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 34rem)); }
.the {
  background: var(--the); border-radius: var(--bo); padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--bong); border: 1px solid var(--vien);
}
.khoi-xam .the { box-shadow: none; }
.the h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: .75rem 0 .4rem; letter-spacing: -.02em; line-height: 1.2; }
.the p { margin: 0; color: var(--chu-2); }
.bieu-tuong {
  width: 2.75rem; height: 2.75rem; border-radius: .8rem; display: grid; place-items: center;
  background: var(--nhan-nen); color: var(--nhan-chu);
}
.bieu-tuong svg { width: 1.4rem; height: 1.4rem; }

/* tinh nang dang o lon */
.tinh-nang-lon { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(6, 1fr); }
.tinh-nang-lon > * { grid-column: span 2; }
.tinh-nang-lon > .rong { grid-column: span 3; }
@media (max-width: 64rem) { .tinh-nang-lon > *, .tinh-nang-lon > .rong { grid-column: span 3; } }
@media (max-width: 40rem) { .tinh-nang-lon > *, .tinh-nang-lon > .rong { grid-column: 1 / -1; } }
.so-lon { font-family: var(--font-tieu-de); font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }

/* ---------------------------------------------------------------- buoc */
.buoc { counter-reset: buoc; display: grid; gap: 1rem; padding: 0; margin: 0; list-style: none; }
.buoc > li { counter-increment: buoc; position: relative; padding: 1.5rem 1.5rem 1.5rem 4.75rem; background: var(--the); border-radius: var(--bo); border: 1px solid var(--vien); }
.buoc > li::before {
  content: counter(buoc); position: absolute; left: 1.5rem; top: 1.4rem; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--nhan); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 1rem;
}
.buoc h3 { margin: 0 0 .35rem; font-size: 1.2rem; letter-spacing: -.02em; }
.buoc p { margin: .25rem 0 0; color: var(--chu-2); }
.buoc ul, .buoc ol { margin: .5rem 0 0; padding-left: 1.2rem; color: var(--chu-2); }
.buoc li li { margin: .25rem 0; }
.duong-dan { font-weight: 600; color: var(--chu); }
.ghi-chu { margin-top: .75rem; padding: .75rem 1rem; border-radius: var(--bo-nho); background: var(--nen-2); color: var(--chu-2); font-size: .9375rem; }
@media (max-width: 30rem) {
  .buoc > li { padding: 4rem 1.25rem 1.35rem; }
  .buoc > li::before { left: 1.25rem; top: 1.25rem; }
}

/* ---------------------------------------------------------------- bang gia */
.bang-gia { display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); align-items: stretch; }
.muc-gia { display: flex; flex-direction: column; text-align: center; position: relative; }
.muc-gia.noi-bat { box-shadow: 0 0 0 2px var(--nhan), var(--bong); }
.nhan-noi-bat { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); background: var(--nhan); color: #fff; font-size: .75rem; font-weight: 600; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
.muc-gia h3 { margin: .25rem 0 0; font-size: 1.35rem; }
.gia { font-family: var(--font-tieu-de); font-size: clamp(2.1rem, 4.5vw, 2.75rem); font-weight: 700; letter-spacing: -.04em; margin: .9rem 0 .2rem; line-height: 1.1; }
.gia small { font-size: .9rem; font-weight: 600; letter-spacing: 0; color: var(--chu-2); }
.muc-gia .mat-sau { min-height: 1.5em; }
.muc-gia .nut { margin-top: auto; }
.muc-gia .khoang { flex: 1; min-height: 1.25rem; }
.cho-cap-nhat {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.5rem; border-radius: var(--bo);
  background: var(--nen-2); color: var(--chu-2); max-width: 46rem; margin: 0 auto 2rem; text-align: left;
}
.cho-cap-nhat strong { color: var(--chu); display: block; margin-bottom: .2rem; }
.cham-nhay { flex: 0 0 auto; width: .75rem; height: .75rem; border-radius: 50%; background: var(--canh-bao); margin-top: .45rem; animation: nhay 1.8s ease-in-out infinite; }
@keyframes nhay { 50% { opacity: .3; } }

/* ---------------------------------------------------------------- goi tra phi */
.the-goi { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: var(--chu); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.the-goi:hover { text-decoration: none; transform: translateY(-.25rem); }
.the-goi .anh-goi { aspect-ratio: 16 / 9; background: #05070b; display: grid; place-items: center; overflow: hidden; }
.the-goi .anh-goi img { width: 100%; height: 100%; object-fit: cover; }
.the-goi .than { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.the-goi h3 { margin: 0; font-size: 1.6rem; letter-spacing: -.025em; }
.the-goi .loai { font-size: .8125rem; font-weight: 600; color: var(--nhan-chu); text-transform: uppercase; letter-spacing: .04em; }
.the-goi .chan-the { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.anh-chu { font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; color: #fff; letter-spacing: -.03em; }
.chi-tiet-dau { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; text-align: left; }
.chi-tiet-dau .anh-lon { border-radius: var(--bo); overflow: hidden; background: #05070b; box-shadow: var(--bong); aspect-ratio: 16 / 9; }
.chi-tiet-dau .anh-lon img { width: 100%; height: 100%; object-fit: cover; }
.chi-tiet-dau .hang-nut { justify-content: flex-start; margin-top: 1.75rem; }
@media (max-width: 52rem) { .chi-tiet-dau { grid-template-columns: 1fr; text-align: center; } .chi-tiet-dau .hang-nut { justify-content: center; } }
.doan p { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--chu-2); line-height: 1.55; margin: 0 0 1.1rem; }
.doan p:first-child { color: var(--chu); font-weight: 500; }

/* ---------------------------------------------------------------- form */
.form { display: grid; gap: 1.25rem; }
.truong { display: grid; gap: .45rem; }
.truong > span { font-weight: 600; font-size: .9375rem; }
.truong small { color: var(--chu-2); font-size: .8125rem; }
.o-nhap {
  width: 100%; min-height: 3.25rem; padding: .8rem 1rem; border-radius: var(--bo-nho);
  border: 1px solid var(--vien); background: var(--the); font-size: 1.0625rem;
}
.o-nhap:focus { outline: none; border-color: var(--nhan); box-shadow: 0 0 0 4px var(--nhan-nen); }
.o-nhap.ma { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .06em; text-transform: uppercase; }
.chon-goi { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.chon-goi label { position: relative; cursor: pointer; }
.chon-goi input { position: absolute; opacity: 0; pointer-events: none; }
.chon-goi .o-chon {
  display: flex; flex-direction: column; gap: .15rem; padding: 1rem 1.1rem; border-radius: var(--bo-nho);
  border: 1px solid var(--vien); background: var(--the); transition: border-color .2s, box-shadow .2s; height: 100%;
}
.chon-goi .o-chon b { font-size: 1.05rem; }
.chon-goi .o-chon span { color: var(--chu-2); font-size: .9rem; }
.chon-goi .o-chon .gia-nho { color: var(--chu); font-weight: 700; font-size: 1.2rem; margin-top: .25rem; }
.chon-goi input:checked + .o-chon { border-color: var(--nhan); box-shadow: 0 0 0 1px var(--nhan); }
.chon-goi input:focus-visible + .o-chon { box-shadow: 0 0 0 4px var(--nhan-nen); }
.loi-form { color: var(--loi); font-size: .9375rem; min-height: 1.4em; margin: 0; }
.tong { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--vien); font-size: 1.1rem; }
.tong b { font-size: 1.6rem; letter-spacing: -.03em; }
.tab { display: inline-flex; padding: .25rem; border-radius: 999px; background: var(--nen-2); gap: .25rem; margin: 0 auto 2rem; }
.tab button { border: 0; background: none; padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer; font-size: .9375rem; font-weight: 500; color: var(--chu-2); }
.tab button[aria-selected="true"] { background: var(--the); color: var(--chu); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }

/* ---------------------------------------------------------------- don hang */
.don { display: grid; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 52rem) { .don { grid-template-columns: 1fr; } }
.qr { background: #fff; border-radius: var(--bo); padding: 1rem; display: grid; place-items: center; aspect-ratio: 1 / 1.08; max-width: 22rem; margin: 0 auto; width: 100%; }
.qr img { width: 100%; height: auto; }
.dong-tt { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--vien); }
.dong-tt:last-child { border-bottom: 0; }
.dong-tt > span { color: var(--chu-2); font-size: .9375rem; flex: 0 0 auto; }
.dong-tt > b { text-align: right; overflow-wrap: anywhere; display: flex; align-items: center; gap: .5rem; justify-content: flex-end; }
.nut-chep { border: 0; background: var(--nhan-nen); color: var(--nhan-chu); border-radius: 999px; padding: .25rem .7rem; font-size: .8125rem; font-weight: 600; cursor: pointer; flex: 0 0 auto; }
.trang-thai { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; padding: .4rem .9rem; border-radius: 999px; background: var(--nen-2); }
.trang-thai::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: currentColor; }
.trang-thai.cho { color: var(--canh-bao); }
.trang-thai.cho::before { animation: nhay 1.6s infinite; }
.trang-thai.da_tra { color: var(--tot); }
.trang-thai.het_han { color: var(--chu-3); }
.key-lon {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: clamp(1.05rem, 5vw, 2.25rem); font-weight: 700; white-space: nowrap;
  letter-spacing: .03em; padding: 1.25rem .75rem; border-radius: var(--bo); background: var(--nen-2); text-align: center; margin: 1rem 0;
}
.canh-bao-luu { padding: 1rem 1.25rem; border-radius: var(--bo-nho); background: var(--nhan-nen); color: var(--chu); font-size: .9375rem; }
.ds-don { display: grid; gap: .5rem; margin-top: 1rem; }
.ds-don a { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; border-radius: var(--bo-nho); background: var(--nen-2); color: var(--chu); }
.ds-don a:hover { text-decoration: none; background: var(--nhan-nen); }

/* ---------------------------------------------------------------- hoi dap */
.hoi-dap { display: grid; gap: .75rem; }
.hoi-dap details { background: var(--the); border: 1px solid var(--vien); border-radius: var(--bo-nho); padding: 0 1.25rem; }
.hoi-dap summary { list-style: none; cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; font-size: 1.0625rem; position: relative; }
.hoi-dap summary::-webkit-details-marker { display: none; }
.hoi-dap summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: .55rem; height: .55rem; border: solid var(--chu-2); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.hoi-dap details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.hoi-dap details p { margin: 0 0 1.1rem; color: var(--chu-2); }

/* ---------------------------------------------------------------- lien he */
.kenh { display: flex; align-items: center; gap: 1rem; color: var(--chu); }
.kenh:hover { text-decoration: none; }
.kenh .bieu-tuong { flex: 0 0 auto; }
.kenh b { display: block; }
.kenh span { color: var(--chu-2); font-size: .9375rem; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- chan trang */
.chan { background: var(--nen-2); color: var(--chu-2); font-size: .8125rem; padding: 2.5rem var(--le) 2rem; margin-top: auto; }
.chan-trong { max-width: var(--rong); margin: 0 auto; display: grid; gap: 1.5rem; }
.chan-cot { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); padding-bottom: 1.5rem; border-bottom: 1px solid var(--vien); }
.chan h4 { margin: 0 0 .6rem; color: var(--chu); font-size: .8125rem; font-weight: 600; }
.chan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.chan a { color: var(--chu-2); }
.chan a:hover { color: var(--chu); }

/* ---------------------------------------------------------------- hieu ung */
.hien-dan { opacity: 0; transform: translateY(1.5rem); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.hien-dan.da-hien { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hien-dan { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.dang-tai { color: var(--chu-3); text-align: center; padding: 2rem 0; }
.khung-trong { min-height: 12rem; }

/* ---------------------------------------------------------------- bo sung trang con */
.khoi-trong-tren { padding-top: 0; }
.ds-gon { margin: .5rem 0 0; padding-left: 1.2rem; color: var(--chu-2); display: grid; gap: .45rem; }
.chuan-bi { margin-bottom: 1.5rem; }
.trong-hep > .tieu-de-vua { margin-top: 2.5rem; }
.trong-hep > .tieu-de-vua:first-child { margin-top: 0; }
.khung-404 { min-height: 60vh; }
.khoi-don { padding-top: clamp(2rem, 6vw, 4rem); }
.trong-hep > .the + .the, .trong-hep > .the + p { margin-top: 1rem; }
.luoi + .mat-sau, .luoi + .the { margin-top: 1.5rem; }
.tieu-de-lon, .tieu-de, .tieu-de-vua, .mo-ta-lon { text-wrap: balance; }
.giua + .luoi, .giua + .tinh-nang-lon, .giua + .bang-gia, .giua + .cho-cap-nhat, .giua + .buoc { margin-top: clamp(2rem, 5vw, 3.5rem); }
.luoi + .giua { margin-top: 2rem; }
