/*
Theme Name: Hỗ trợ pháp lý
Description: Giao diện chuyên trang hỏi đáp pháp luật của Công ty Luật TNHH HDS. Cần plugin lõi hpl-loi.php trong mu-plugins.
Version: 1.0
Requires PHP: 8.0
Text Domain: hotrophaply
*/
/* Bố cục: thư viện pháp luật, chữ là chính; một cột đọc 720px và cột bên; màu HDS */
:root {
  --navy: #1c2b63; --navy-2: #2b3c7c; --blue: #3453a3; --cam: #ea6c00; --cam-2: #f08a33;
  --nen: #f3f5fa; --nen-2: #e8ecf5; --ke: #d8dfec; --chu: #17203f; --phu: #56607c; --trang: #fff;
  --do: #a32020; --vang: #8a5300; --xanh: #1d6b45;
  --serif: "Noto Serif", Cambria, Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --lon: clamp(1.75rem, 1.35rem + 1.7vw, 2.5rem);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100% }
html.khoa { overflow: hidden }
body { margin: 0; font: 400 1rem/1.65 var(--sans); color: var(--chu); background: var(--trang); overflow-wrap: break-word }
img { max-width: 100%; height: auto }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0 }
ul, ol { padding: 0; list-style: none }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--navy); line-height: 1.3 }
h1 { text-wrap: balance }
h1 { font-size: var(--lon) }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px }
a:hover { color: var(--cam) }
button, input, select, textarea { font: inherit; color: inherit }
:focus-visible { outline: 2px solid var(--cam); outline-offset: 2px }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none }
.i-s { width: 16px; height: 16px }
.an { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
.bo-qua { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 50 }
.bo-qua:focus { top: 8px; color: #fff }
.khung { width: 100%; max-width: 1216px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)) }
.chi-nho, .nut.chi-nho { display: none }
[hidden] { display: none !important }

.nut { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 4px; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap }
.nut-cam { background: var(--cam); color: #fff }
.nut-cam:hover { background: #cf5f00; color: #fff }
.nut-vien { background: #fff; border-color: var(--navy); color: var(--navy) }
.nut-vien:hover { background: var(--navy); color: #fff }
.nut-trang { background: transparent; border-color: #fff; color: #fff }
.nut-trang:hover { background: #fff; color: var(--navy) }
.nut:disabled { opacity: .6; cursor: default }

/* Đầu trang */
.dai { background: var(--navy); color: #dfe5f5; font-size: .8125rem }
.dai .khung { display: flex; justify-content: space-between; gap: 16px; min-height: 36px; align-items: center }
.dai a { color: #fff; text-decoration: none }
.dai a:hover { text-decoration: underline }
.dai-p { display: flex; gap: 24px; white-space: nowrap }
.dau { position: sticky; top: 0; z-index: 30; background: var(--trang); border-bottom: 1px solid var(--ke) }
.dau-in { display: flex; align-items: center; gap: 28px; min-height: 76px }
.logo { flex: none; display: block }
.logo img { display: block; width: 190px }
.menu { margin-left: auto }
.menu > ul { display: flex; gap: 2px }
.menu li { position: relative }
.menu > ul > li { display: flex; align-items: center }
.menu a:not(.nut) { display: block; padding: 10px; color: var(--chu); text-decoration: none; font-weight: 500; font-size: .9375rem; white-space: nowrap }
.menu a:not(.nut):hover, .menu a[aria-current] { color: var(--cam) }
.co-con > a:not(.nut) { padding-right: 2px }
.mo-con { border: 0; background: none; padding: 10px 6px 10px 2px; cursor: pointer; color: var(--phu); display: flex }
.con { position: absolute; top: 100%; left: 0; min-width: 230px; padding: 10px; background: var(--trang); border: 1px solid var(--ke); border-radius: 4px; box-shadow: 0 14px 32px rgb(28 43 99 / .14); display: none }
.con-2 { grid-template-columns: 1fr 1fr; min-width: 400px }
.co-con:hover > .con, .mo-con[aria-expanded="true"] + .con { display: block }
.co-con:hover > .con-2, .mo-con[aria-expanded="true"] + .con-2 { display: grid }
.dau-p { display: flex; align-items: center; gap: 12px }
.nut-tim, .nut-menu { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--ke); border-radius: 4px; background: #fff; color: var(--navy); cursor: pointer }
.nut-menu { display: none }
.nut-menu .i:last-child, .nut-menu[aria-expanded="true"] .i:first-child { display: none }
.nut-menu[aria-expanded="true"] .i:last-child { display: block }

/* Trang chủ */
.mo { background: var(--nen); border-bottom: 1px solid var(--ke) }
.mo-in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; padding-block: 56px 60px; align-items: start }
.mo h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); line-height: 1.22 }
.mo-p { margin-top: 16px; font-size: 1.0625rem; color: var(--phu); max-width: 56ch }
.tim { display: flex; gap: 10px; margin-top: 26px }
.tim input[type="search"] { flex: 1; min-width: 0 }
.tim input[type="search"], .tim select, .form input:not([type="checkbox"]), .form select, .form textarea { min-height: 50px; padding: 10px 14px; border: 1px solid #b9c3d9; border-radius: 4px; background: #fff; width: 100% }
.tim select { width: auto }
.tim .nut { min-height: 50px }
.tim-lon { max-width: 760px; margin: 0 0 24px }
.mo-hoi { margin-top: 30px }
.mo-luat { background: var(--navy); color: #fff; padding: 26px 28px 22px; border-radius: 4px; border-top: 4px solid var(--cam) }
.hl-dau { display: flex; justify-content: space-between; align-items: baseline; gap: 12px }
.mo-luat h2 { color: #fff; font-size: 1.375rem }
.hl-dau span { font-size: .8125rem; color: #c3cde8; font-variant-numeric: tabular-nums; white-space: nowrap }
.mo-luat .xem { color: #fff; margin-top: 18px }
.xem { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: .9375rem; text-decoration: none; white-space: nowrap }
.khoi { padding-block: 60px }
.khoi-nen { background: var(--nen) }
.khoi-h { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 26px }
.khoi h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem) }
.moi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px }
.moi-dau h3 { font-size: 1.5rem; margin: 10px 0 14px; text-wrap: balance }
.moi-dau h3 a { color: inherit; text-decoration: none }
.moi-dau h3 a:hover { color: var(--cam) }
.moi .dong-ds { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; align-content: start }
.moi .dong { padding: 0; border: 0 }
.lv { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 56px }
.lv section, .dv section { border-top: 2px solid var(--navy); padding-top: 14px }
.lv h3, .dv h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 1.125rem; margin-bottom: 10px }
.lv h3 a, .dv h3 a { color: inherit; text-decoration: none }
.lv h3 a:hover, .dv h3 a:hover { color: var(--cam) }
.lv h3 span { font: 400 .8125rem var(--sans); color: var(--phu) }
.dv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px }
.ds li { padding: 7px 0; line-height: 1.5 }
.ds a { color: var(--chu); text-decoration: none }
.ds a:hover { color: var(--cam); text-decoration: underline }
.ds a[aria-current] { color: var(--cam); font-weight: 600 }
.ds-so li { display: flex; justify-content: space-between; gap: 12px }
.ds-so span { color: var(--phu); font-size: .875rem; font-variant-numeric: tabular-nums }
.ls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 24px; line-height: 1.5 }
.ls a { display: block; color: var(--chu); text-decoration: none }
.ls img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 4px; background: var(--nen-2) }
.ls strong { display: block; margin-top: 12px; color: var(--navy) }
.ls span { font-size: .875rem; color: var(--phu) }
.ls a:hover strong { color: var(--cam) }
.keu { background: var(--navy); color: #dfe5f5 }
.keu-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 44px }
.keu h2 { color: #fff; font-size: 1.5rem; margin-bottom: 8px }
.keu-n { display: flex; gap: 12px; flex: none }

/* Danh sách, cột bên */
.duong { padding-block: 18px 0; font-size: .875rem; color: var(--phu) }
.duong ol { display: flex; flex-wrap: wrap; gap: 2px 8px }
.duong li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #a5afc6 }
.duong a { color: var(--phu); text-decoration: none }
.duong a:hover { color: var(--cam) }
.duong [aria-current] { color: var(--chu); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 60ch }
.dau-trang { padding: 22px 0 28px }
.dau-trang p { margin-top: 12px; max-width: 76ch; color: var(--phu); font-size: 1.0625rem }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; padding-bottom: 72px }
.doc-deu { grid-template-columns: 1fr 1fr }
.doc-deu h2 { font-size: 1.25rem; margin-bottom: 16px }
.doc-deu .lh, .doc-deu .bang { margin-bottom: 24px }
.doc-deu .phu { margin-bottom: 32px }
.bai-h { padding-top: 22px }
.ben { display: flex; flex-direction: column; gap: 32px; padding-top: 26px; min-width: 0; align-self: stretch }
.ben-dinh { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 24px }
.ben-t { font: 600 1rem/1.4 var(--sans); color: var(--navy); margin-bottom: 8px }
.ben-k { border-top: 1px solid var(--ke); padding-top: 18px }
.dau-trang + .doc > .ben { padding-top: 0 }
.ben > .ben-k:first-child { border: 0; padding-top: 0 }
.ben .ds .tt { display: block }
.ben-k .ds { font-size: .9375rem }
.hop-tv { background: var(--nen); border-radius: 4px; padding: 22px }
.hop-tv .hop-t { font: 700 1.0625rem/1.4 var(--serif); color: var(--navy); margin-bottom: 8px }
.hop-tv p { font-size: .9375rem; color: var(--phu) }
.hop-tv .nut { width: 100%; margin: 16px 0 6px; white-space: normal; text-align: center }
.hop-goi { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: var(--navy); font-weight: 600; text-decoration: none }
.dem { color: var(--phu); font-size: .9375rem; margin-bottom: 4px }
.dong { padding: 20px 0; border-bottom: 1px solid var(--ke) }
.dong-t { font: 700 1.1875rem/1.42 var(--serif) }
.dong-t a { color: var(--navy); text-decoration: none }
.dong-t a:hover { color: var(--cam) }
.moi .dong-t { font: 600 1rem/1.5 var(--sans) }
.dong > p:not(.dong-m) { margin-top: 8px; color: #35405f }
.dong-m { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 8px; font-size: .875rem; color: var(--phu) }
.dong-m a { text-decoration: none; font-weight: 500 }
.lv-hang { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-bottom: 30px; border-top: 1px solid var(--ke) }
.lv-hang a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--ke); text-decoration: none; color: var(--phu); font-size: .9375rem }
.lv-hang strong { color: var(--navy); font-weight: 600 }
.lv-hang a:hover strong { color: var(--cam) }
.pt { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 28px }
.pt ol { display: flex; flex-wrap: wrap; gap: 6px }
.pt li > * { display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--ke); border-radius: 4px; text-decoration: none; color: var(--chu); font-variant-numeric: tabular-nums }
.pt [aria-current] { background: var(--navy); border-color: var(--navy); color: #fff }
.pt a:hover { border-color: var(--cam); color: var(--cam) }
.pt .pt-c { display: flex; align-items: center; color: var(--phu) }
.pt-n { display: flex; align-items: center; height: 44px; font-weight: 600; text-decoration: none }
.the { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px }
.the a { display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ke); border-radius: 4px; text-decoration: none; color: var(--navy); font-weight: 500 }
.the a:hover { border-color: var(--cam); color: var(--cam) }
.the span { color: var(--phu); font-size: .875rem; font-weight: 400 }
.khoi-vb { margin-bottom: 40px }
.khoi-vb h2, .khoi-vb + h2 { font-size: 1.375rem; margin-bottom: 14px }
.khung > .pt { margin-bottom: 72px }

/* Bảng */
.bang { overflow-x: auto; -webkit-overflow-scrolling: touch }
.bang table { width: 100%; border-collapse: collapse; font-size: .9375rem }
.bang th, .bang td { padding: 11px 14px; border: 1px solid var(--ke); text-align: left; vertical-align: top; line-height: 1.55 }
.bang th { background: var(--nen-2); color: var(--navy); font-weight: 600 }
.bang-vb th, .bang-vb td { border-width: 0 0 1px }
.bang-vb td:first-child, .bang-vb th:first-child { padding-left: 0 }
.bang-vb th { background: none; border-bottom: 2px solid var(--navy) }
.bang-vb td a { color: var(--chu); text-decoration: none; font-weight: 500 }
.bang-vb td a:hover { color: var(--cam) }
.vb-so, .vb-ng { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--phu) }
.bang-vb table { table-layout: fixed; min-width: 760px }
.bang-vb th:nth-child(1) { width: 190px }
.bang-vb th:nth-child(3) { width: 130px }
.bang-vb th:nth-child(4) { width: 210px }
.bang-vb .vb-so { white-space: normal }
td.so { white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums }
.tt { display: inline-block; font-size: .8125rem; font-weight: 600; white-space: nowrap }
.tt-het { color: var(--do) }
.tt-sap, .tt-phan { color: var(--vang) }
.tt-sua { color: var(--blue) }
.tt-con { color: var(--xanh) }

/* Bài viết */
.bai { max-width: 780px; min-width: 0 }
.bai-m { display: flex; flex-wrap: wrap; gap: 2px 18px; margin-top: 14px; font-size: .9375rem; color: var(--phu) }
.bai-m a { color: var(--phu) }
.ml ol li { border-left: 2px solid var(--ke) }
.ml a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--phu); text-decoration: none; font-size: .9063rem; line-height: 1.45 }
.ml a:hover { color: var(--cam) }
.ml a[aria-current] { color: var(--navy); border-color: var(--cam); font-weight: 600 }
.ben-dinh .ml ol { max-height: calc(100vh - 420px); overflow-y: auto; min-height: 120px }
.ben-dinh .ml-vb ol { max-height: calc(100vh - 190px) }
.ml-nho { display: none; margin-top: 22px; border: 1px solid var(--ke); border-radius: 4px }
.ml-nho summary { display: flex; align-items: center; min-height: 48px; padding: 0 16px; font-weight: 600; color: var(--navy); cursor: pointer }
.ml-nho ol { padding: 0 16px 14px }
.ml-nho .ml-d { max-height: 320px; overflow-y: auto }
.ml-nho a { display: block; padding: 8px 0; text-decoration: none; line-height: 1.45; font-size: .9375rem }
.sapo { font-weight: 500; color: #2c3758 }
.bai > .sapo { margin-top: 24px }
.giua { text-align: center }
.than { margin-top: 26px; font-size: 1.0625rem; line-height: 1.75 }
.than > * + * { margin-top: 1em }
.than > h2:first-child { margin-top: 0 }
.than h2 { font-size: 1.5rem; margin-top: 1.7em }
.than h3 { font-size: 1.1875rem; margin-top: 1.5em }
.than ul, .than ol { padding-left: 1.35em }
.than ul { list-style: disc }
.than ol { list-style: decimal }
.than li + li { margin-top: .4em }
.than li::marker { color: var(--blue) }
.than .ls { list-style: none; padding: 0 }
.than .ls li + li { margin: 0 }
.dau-trang + .doc > .than { margin-top: 0 }
.than blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ke); color: #35405f }
.than blockquote > * + * { margin-top: .6em }
.than img { display: block; margin-inline: auto; border-radius: 4px }
.than .bang { margin-block: 1.4em }
.than .bang p + p { margin-top: .5em }
.than strong { color: #101a3a }
.than-vb { font-size: 1rem; line-height: 1.75 }
.than-vb h2 { font-size: 1.125rem; text-align: center }
.than-vb h3 { font-size: 1.0625rem }
.than-vb > .bang:first-child td { border: 0; text-align: center; background: none }
.doi { margin-top: 24px; padding: 18px 22px; background: #fdf3e7; border: 1px solid #f2d5b1; border-radius: 4px; font-size: .9375rem }
.doi-t { font-weight: 700; color: #7a3a00; margin-bottom: 4px }
.doi ul { list-style: disc; padding-left: 1.25em; margin-top: 8px }
.doi li + li { margin-top: 6px }
.doi p + p { margin-top: 4px }
.faq, .can-cu, .lq { margin-top: 44px }
.faq h2, .can-cu h2, .lq h2 { font-size: 1.375rem; margin-bottom: 12px }
/* Đánh số mục: H2 "1.", H3 "1.1."; mục lục đánh số khớp */
.bai { counter-reset: h2 }
.than h2, .bai > .faq > h2, .bai > .can-cu > h2 { counter-increment: h2; counter-reset: h3 }
.than h2::before, .bai > .faq > h2::before, .bai > .can-cu > h2::before { content: counter(h2) ". "; color: var(--cam) }
.than h3 { counter-increment: h3 }
.than h3::before { content: counter(h2) "." counter(h3) ". "; color: var(--blue) }
.ml ol, .ml-nho ol { counter-reset: m; list-style: none }
.ml li, .ml-nho li { counter-increment: m }
.ml a::before, .ml-nho a::before { content: counter(m) ". "; font-variant-numeric: tabular-nums }
/* Khung nhấn mạnh: blockquote mở đầu bằng chữ đậm (Bắt buộc / Hậu quả / Lưu ý) */
.than blockquote:has(> p:first-child > strong:first-child) { padding: 16px 20px; background: #fdf3e7; border: 1px solid #f2d5b1; border-left: 4px solid var(--cam); border-radius: 4px; color: var(--chu, #1f2433) }
.than blockquote:has(> p:first-child > strong:first-child) strong:first-child { color: #7a3a00 }
.dv-hds { margin-top: 20px; font-size: .9375rem }
/* Bố cục thoáng (tham khảo GOV.UK, SBA): hộp tóm tắt, bước dạng dòng thời gian, bảng kẻ ngang */
.than h2, .than h3, .faq > h2, .can-cu > h2 { scroll-margin-top: 84px }
.than h2 { margin-top: 2.2em }
.tom-tat { padding: 18px 22px; background: #f6f7fb; border-left: 4px solid var(--cam); border-radius: 0 4px 4px 0 }
.tom-tat-t { font-weight: 700; color: var(--navy) }
.tom-tat ul { margin-top: 8px }
.buoc { position: relative; padding: 0 0 6px 50px }
.buoc::after { content: ""; position: absolute; left: 15px; top: 38px; bottom: -14px; border-left: 2px solid var(--ke) }
.buoc:has(+ :not(.buoc))::after, .buoc:last-child::after { display: none }
.buoc > * + * { margin-top: 1em }
.than .buoc h3 { margin-top: 0; padding-top: 3px }
.than .buoc h3::before { content: attr(data-buoc); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border: 2px solid var(--navy); border-radius: 50%; background: var(--trang); color: var(--navy); font: 700 .9375rem/1 var(--sans, inherit) }
.than .buoc + .buoc { margin-top: 1.4em }
.than .bang th, .than .bang td { border-width: 0 0 1px }
.than .bang th { background: none; border-bottom: 2px solid var(--navy) }
.than .bang tr > :first-child { padding-left: 0 }
/* Trang chủ: việc doanh nghiệp phải làm */
.viec { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 32px; counter-reset: v }
.viec li { counter-increment: v; position: relative; padding: 16px 0 16px 44px; border-top: 1px solid var(--ke) }
.viec li::before { content: counter(v); position: absolute; left: 0; top: 16px; width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid var(--cam); border-radius: 50%; color: var(--cam); font-weight: 700; font-size: .9375rem }
.viec h3 { font-size: 1.0625rem; line-height: 1.4 }
.viec h3 a { color: var(--navy); text-decoration: none }
.viec h3 a:hover { color: var(--cam) }
.viec .han { margin-top: 4px; font-size: .9063rem; font-weight: 600; color: var(--blue) }
.viec .hq { margin-top: 4px; font-size: .9063rem; color: var(--phu); line-height: 1.55 }
.viec .hq strong { color: var(--do) }
.faq details { border-bottom: 1px solid var(--ke) }
.faq details:first-of-type { border-top: 1px solid var(--ke) }
.faq summary { position: relative; padding: 15px 36px 15px 0; font-weight: 600; cursor: pointer; list-style: none; color: var(--navy) }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 24px; width: 8px; height: 8px; border: solid var(--phu); border-width: 0 2px 2px 0; transform: rotate(45deg) }
.faq details[open] summary::after { transform: rotate(225deg); top: 28px }
.faq details p { padding: 0 36px 18px 0 }
.can-cu ul { font-size: .9375rem }
.can-cu li { padding: 10px 0; border-bottom: 1px solid var(--ke) }
.phu { color: var(--phu); font-size: .875rem }
a.phu { margin-left: 8px }
.can-cu span.phu { white-space: nowrap }
.lq .ds li { border-bottom: 1px solid var(--ke); padding: 10px 0 }
.lq-vb { max-width: 780px }
.lq-vb:last-child { padding-bottom: 72px }
.doc-vb { padding-bottom: 0 }
.tt-vb { margin-top: 22px; border-top: 2px solid var(--navy) }
.tt-vb > div, .lh > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--ke); font-size: .9375rem }
.tt-vb dt, .lh dt { color: var(--phu) }
.tt-vb dd a { display: inline-flex; align-items: center; gap: 6px }
.lh { border-top: 1px solid var(--ke) }
.tn { display: grid; gap: 34px; padding-bottom: 72px }
.tn section { display: grid; grid-template-columns: 70px minmax(0, 1fr) }
.tn h2 { font-size: 1.5rem }
.tn dl > div { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--ke) }
.tn dt a { font-weight: 600; text-decoration: none }
.tn dd { color: #35405f; font-size: .9375rem }
.dv-ds { display: grid; gap: 36px }
.dv-ds .ds { columns: 2; column-gap: 40px }
.dv-ds .ds li { break-inside: avoid }
.dv-ds h2 { font-size: 1.25rem; border-top: 2px solid var(--navy); padding-top: 14px; margin-bottom: 8px }

/* Form */
.form { display: grid; gap: 18px }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px }
.form-h label { display: block; margin-bottom: 6px; font-weight: 500 }
.form-h label span { color: var(--do) }
.form textarea { resize: vertical }
.form [aria-invalid] { border-color: var(--do) !important }
.form-ok { display: flex; gap: 10px; font-size: .9375rem; line-height: 1.5 }
.form-ok input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--navy) }
.form-loi { color: var(--do); font-weight: 500 }
.form-xong { padding: 20px; background: var(--nen); border-radius: 4px; font-weight: 500 }
.form .nut { justify-self: start }

/* Chân trang */
.chan { background: #142050; color: #c8d1e8; font-size: .9375rem }
.chan-in { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 44px; padding-block: 52px 40px }
.chan-logo { width: 190px; margin-bottom: 18px }
.chan p + p { margin-top: 12px }
.chan-t { color: #fff; font-weight: 600; margin-bottom: 10px }
.chan li { padding: 4px 0 }
.chan a { color: #c8d1e8; text-decoration: none }
.chan a:hover { color: #fff; text-decoration: underline }
.chan-d { border-top: 1px solid rgb(255 255 255 / .16); padding-block: 18px; font-size: .8125rem }
.day { display: none }


/* Trang chủ kiểu tin */
.hl-pane { position: relative; display: grid; margin: 16px 0 6px; border-radius: 4px; background: var(--navy-2); overflow: hidden }
.hl-the { grid-area: 1 / 1; padding: 18px 20px 20px; background: var(--navy-2); visibility: hidden }
.hl-the[data-l="on"] { visibility: visible; z-index: 2; clip-path: inset(0); transition: clip-path .7s cubic-bezier(.7, 0, .2, 1) }
.hl-the[data-l="was"] { visibility: visible; z-index: 1 }
.hl-the[data-l="sau"] { clip-path: inset(0 0 0 100%) }
.hl-the[data-l="truoc"] { clip-path: inset(0 100% 0 0) }
.hl-ngay { display: flex; justify-content: space-between; align-items: baseline; gap: 12px }
.hl-ngay time { font-size: .9375rem; color: #c3cde8; font-variant-numeric: tabular-nums }
.hl-ngay b { margin-right: 8px; font: 700 2.5rem/1 var(--serif); color: #fff; letter-spacing: -.01em }
.hl-ngay span { font-size: .875rem; font-weight: 600; color: var(--cam-2); white-space: nowrap }
.hl-y { margin-top: 12px; font-size: .9375rem; line-height: 1.55; color: #dfe5f4 }
.hl-ds li { border-bottom: 1px solid rgb(255 255 255 / .14) }
.hl-ds a { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 10px; align-items: baseline; padding: 11px 0; color: rgb(255 255 255 / .55); text-decoration: none; transition: color .3s ease, padding .4s cubic-bezier(.2, .7, .2, 1) }
.hl-ds a[data-on] { color: #fff; padding-left: 10px }
.hl-so { font-size: .75rem; color: #8f9cc4; font-variant-numeric: tabular-nums }
.hl-ds a[data-on] .hl-so { color: var(--cam-2) }
.hl-ten { font: 600 1.0625rem/1.4 var(--serif) }
.hl-mo { grid-column: 2; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2, .7, .2, 1) }
.hl-ds a[data-on] .hl-mo { grid-template-rows: 1fr }
.hl-mo > span { overflow: hidden; font-size: .875rem; line-height: 1.45; color: #c3cde8 }
.hl-mo > span::before { content: ""; display: block; height: 3px }
.hl-ds a:hover .hl-ten, .hl-ds a:focus-visible .hl-ten { text-decoration: underline; text-underline-offset: 3px }
@media (prefers-reduced-motion: reduce) { .hl-the, .hl-ds a, .hl-mo { transition: none !important } }
.hl-p { padding: 14px 0; color: #c3cde8 }
.tin { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start }
.tin-dau { border-top: 3px solid var(--cam); padding-top: 16px }
.tin-dau .dong-m { margin-top: 0 }
.tin-dau h3 { font-size: clamp(1.375rem, 1.2rem + .9vw, 1.875rem); margin: 10px 0 14px; text-wrap: balance }
.tin-dau h3 a { color: inherit; text-decoration: none }
.tin-dau h3 a:hover { color: var(--cam) }
.tin-sapo { color: #35405f; font-size: 1.0625rem; line-height: 1.7 }
.tin .dong-ds { border-top: 3px solid var(--navy) }
.tin .dong:first-child { padding-top: 16px }
.tin .dong-t { font: 600 1.0625rem/1.5 var(--sans) }
.tin .dong:last-child { border-bottom: 0 }
.cach-cuoi { padding-bottom: 72px }
.t-404 .khung > .ds, .t-tim .khung > .ds { max-width: 520px }
/* Nội dung tạo bằng trình soạn thảo khối */
.than figure { margin: 1.4em 0 }
.than figcaption { font-size: .875rem; color: var(--phu); text-align: center; margin-top: 6px }
.than .wp-block-table table { width: 100%; border-collapse: collapse; font-size: .9375rem }
.than .wp-block-table th, .than .wp-block-table td { padding: 11px 14px; border: 1px solid var(--ke); text-align: left; vertical-align: top }
.than .aligncenter { margin-inline: auto }
@media (max-width: 1023px) {
  .tin { grid-template-columns: minmax(0, 1fr); gap: 32px }
}
@media (max-width: 719px) {
}
@media (max-width: 1180px) {
  .menu a:not(.nut) { padding-inline: 7px; font-size: .9063rem }
  .dau-in { gap: 16px }
  .doc { gap: 44px; grid-template-columns: minmax(0, 1fr) 288px }
}
@media (max-width: 1023px) {
  .nut-menu { display: inline-flex }
  .dau-p { margin-left: auto }
  .menu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 77px); background: var(--trang); padding: 8px 20px 120px; overflow-y: auto; visibility: hidden; opacity: 0; margin: 0 }
  .menu.mo-ra { visibility: visible; opacity: 1 }
  .menu > ul { display: block }
  .menu > ul > li { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--ke) }
  .menu > ul > li > a:not(.nut) { flex: 1; padding: 14px 0; font-size: 1.0625rem }
  .mo-con { padding: 14px; min-width: 52px; justify-content: center }
  .con, .con-2, .co-con:hover > .con { position: static; width: 100%; min-width: 0; border: 0; box-shadow: none; padding: 0 0 12px; display: none }
  .co-con:hover > .con-2 { display: none }
  .mo-con[aria-expanded="true"] + .con { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 16px }
  .con a:not(.nut) { padding: 11px 0; font-size: 1rem; white-space: normal }
  .menu .nut.chi-nho { display: flex; margin-top: 20px }
  .mo-in, .moi { grid-template-columns: minmax(0, 1fr); gap: 36px }
  .doc, .doc-deu { grid-template-columns: minmax(0, 1fr); gap: 40px }
  .ben { padding-top: 0 }
  .ben-dinh { position: static }
  .ben-dinh .ml, .ben-dinh .hop-tv { display: none }
  .ben-dinh:not(:has(> :not(.ml, .hop-tv))) { display: none }
  .ml-nho { display: block }
  .bai .chi-nho { display: block; margin-top: 40px }
  .bai { max-width: none }
  .dv { grid-template-columns: 1fr 1fr }
  .chan-in { grid-template-columns: 1fr 1fr; gap: 36px }
  .keu-in { flex-direction: column; align-items: flex-start }
}
@media (max-width: 719px) {
  html { scroll-padding-top: 80px }
  .dai span:first-child { display: none }
  .dai .khung { justify-content: flex-end }
  .dai-p { width: 100%; justify-content: space-between }
  .dau-in { min-height: 64px; gap: 10px }
  .menu { height: calc(100dvh - 65px) }
  .logo img { width: 152px }
  .chi-lon { display: none }
  .mo-in { padding-block: 34px 40px }
  .khoi { padding-block: 44px }
  .khoi-h { flex-direction: column; gap: 6px }
  .tim-lon { flex-direction: column }
  .tim-lon input[type="search"], .tim-lon select, .tim-lon .nut { width: 100% }
  .moi .dong-ds { grid-template-columns: minmax(0, 1fr) }
  .dv-ds .ds { columns: 1 }
  .lv, .dv, .lv-hang, .form-2 { grid-template-columns: minmax(0, 1fr); gap: 26px }
  .lv-hang { gap: 0 }
  .ls { grid-template-columns: 1fr 1fr; gap: 22px 16px }
  .mo-luat { padding: 24px 22px }
  .keu-n { flex-direction: column; width: 100% }
  .keu-n .nut, .form .nut { width: 100% }
  .tn section, .tn dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px }
  .tt-vb > div, .lh > div { grid-template-columns: 104px minmax(0, 1fr); gap: 12px }
  .chan-in { grid-template-columns: minmax(0, 1fr); gap: 28px }
  .chan { padding-bottom: 64px }
  .than { font-size: 1rem }
  .than h2 { font-size: 1.3125rem }
  .bang th, .bang td { padding: 9px 10px }
  .bang-vb thead { display: none }
  .bang-vb table { min-width: 0 }
  .bang-vb table, .bang-vb tbody, .bang-vb tr, .bang-vb td { display: block; width: 100% !important; min-width: 0 !important }
  .bang-vb tr { padding: 14px 0; border-bottom: 1px solid var(--ke) }
  .bang-vb td { border: 0; padding: 1px 0 }
  .bang-vb .vb-ng::before { content: "Hiệu lực từ " }
  .day { position: fixed; inset: auto 0 0; z-index: 25; display: grid; grid-template-columns: 1fr 1fr 1.5fr; background: #fff; border-top: 1px solid var(--ke); padding-bottom: env(safe-area-inset-bottom, 0px) }
  .day a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 54px; font-size: .875rem; font-weight: 600; text-decoration: none; color: var(--navy) }
  .day .i { width: 18px; height: 18px }
  .day .day-c { background: var(--cam); color: #fff }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }
@media print { .dai, .dau, .ben, .chan, .day, .duong, .lq, .hop-tv { display: none } .doc { display: block } }
.chan-d p + p { margin-top: 4px }
