/*
 * Theme Vợ 2.0 — hệ thống giao diện "LỘ TRÌNH".
 * Mobile-first. Một bộ token cho màu, chữ, khoảng cách và chuyển động.
 * Đọc docs/DESIGN.md trước khi sửa.
 */

/* ---------------------------------------------------------------- Font */
/* Mỗi độ đậm một tệp (Latin + tiếng Việt gộp chung, đã bỏ hinting): ít request, không lẫn font giữa các chữ có dấu. */
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/be-vietnam-pro-400.woff2) format("woff2")}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/be-vietnam-pro-600.woff2) format("woff2")}
@font-face{font-family:"Be Vietnam Pro";font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/be-vietnam-pro-800.woff2) format("woff2")}
@font-face{font-family:"Barlow Condensed";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-condensed-600.woff2) format("woff2")}
/* Font dự phòng có kích thước gần bằng font thật: chữ không "nhảy" khi font tải xong. */
@font-face{font-family:"TVO Sans Fallback";src:local("Arial"),local("Liberation Sans"),local("Helvetica");size-adjust:109%;ascent-override:91.7%;descent-override:24.3%;line-gap-override:0%}
@font-face{font-family:"TVO Display Fallback";src:local("Arial Bold"),local("Arial"),local("Liberation Sans Bold"),local("Helvetica Bold");font-weight:800;size-adjust:114%;ascent-override:87.7%;descent-override:23.2%;line-gap-override:0%}
@font-face{font-family:"TVO Label Fallback";src:local("Arial Narrow"),local("Liberation Sans Narrow"),local("Arial");size-adjust:80%;ascent-override:125%;descent-override:25%;line-gap-override:0%}

/* ---------------------------------------------------------------- Token */
:root{
	--tvo-green:#00FF00;--tvo-orange:#FF9900;--tvo-black:#0B0B0A;--tvo-cream:#F6F1E6;--tvo-white:#FFFFFF;
	--tvo-accent:var(--tvo-green);--tvo-on-accent:#0B0B0A;--tvo-accent-2:var(--tvo-orange);--tvo-on-accent-2:#0B0B0A;

	--bg:var(--tvo-cream);--surface:#FFFFFF;--surface-2:#EDE6D6;--ink:#0B0B0A;--muted:#5A564E;
	--line:rgba(11,11,10,.14);--line-strong:rgba(11,11,10,.32);--field-line:#7A756C;--focus:#0B0B0A;--shadow:0 1px 0 rgba(11,11,10,.04),0 18px 48px -24px rgba(11,11,10,.28);
	--night-bg:#0B0B0A;--night-ink:#F6F1E6;--night-muted:#A39E94;--night-line:rgba(246,241,230,.16);--night-surface:#161614;

	--font-sans:"Be Vietnam Pro","TVO Sans Fallback",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	--font-display:"Be Vietnam Pro","TVO Display Fallback",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
	--font-label:"Barlow Condensed","TVO Label Fallback","Arial Narrow",sans-serif;
	--fs-body:1.0625rem;--lh-body:1.7;
	--fs-display:clamp(2.75rem,11.4vw,8.4rem);--fs-h1:clamp(2.25rem,7vw,4.6rem);--fs-h2:clamp(2.05rem,5.4vw,4.4rem);--fs-h3:clamp(1.3rem,2.2vw,1.6rem);
	--track-tight:-.042em;

	--gutter:clamp(18px,5vw,44px);--wrap:1240px;--narrow:720px;--header-h:68px;
	--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:64px;--space-9:96px;--space-10:128px;
	--section:clamp(72px,11vw,148px);
	--r-sm:10px;--r-md:16px;--r-lg:24px;--r-xl:32px;--r-pill:999px;
	--tap:48px;

	--ease:cubic-bezier(.16,1,.3,1);--ease-io:cubic-bezier(.65,0,.35,1);
	--dur-micro:160ms;--dur-ui:320ms;--dur-reveal:760ms;--dur-draw:1400ms;--stagger:70ms;
	color-scheme:light;
}
[data-theme=dark]{
	--bg:#0B0B0A;--surface:#151513;--surface-2:#1E1D1A;--ink:#F6F1E6;--muted:#A39E94;
	--line:rgba(246,241,230,.14);--line-strong:rgba(246,241,230,.34);--field-line:rgba(246,241,230,.55);--focus:var(--tvo-accent);--shadow:0 1px 0 rgba(0,0,0,.4),0 24px 60px -30px rgba(0,0,0,.9);
	--night-bg:#151513;--night-surface:#1E1D1A;
	color-scheme:dark;
}
@media (prefers-color-scheme:dark){
	:root:not([data-theme]){--field-line:rgba(246,241,230,.55);--bg:#0B0B0A;--surface:#151513;--surface-2:#1E1D1A;--ink:#F6F1E6;--muted:#A39E94;--line:rgba(246,241,230,.14);--line-strong:rgba(246,241,230,.34);--focus:var(--tvo-accent);--night-bg:#151513;color-scheme:dark}
}
@media (min-width:760px){:root{--header-h:76px;--fs-body:1.125rem}}
@media (min-width:1100px){:root{--header-h:84px}}

/* Khối "chạy đêm": bên trong luôn là nền tối, mọi thành phần dùng lại token. */
.tvo-night{--field-line:rgba(246,241,230,.55);--ink:var(--night-ink);--muted:var(--night-muted);--line:var(--night-line);--line-strong:rgba(246,241,230,.34);--surface:var(--night-surface);--surface-2:#22211E;--focus:var(--tvo-accent);background:var(--night-bg);color:var(--ink);color-scheme:dark}

/* ---------------------------------------------------------------- Nền tảng */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:calc(var(--header-h) + 16px)}
@media (prefers-reduced-motion:no-preference){html:not(:has(body.tvo-no-motion)){scroll-behavior:smooth}}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-sans);font-size:var(--fs-body);line-height:var(--lh-body);font-kerning:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;overflow-x:clip}
img,svg,video,iframe{max-width:100%}
img{height:auto;vertical-align:middle}
a{color:inherit;text-decoration-thickness:.08em;text-underline-offset:.2em}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
[hidden]{display:none!important}
h1,h2,h3,h4,h5,h6{font-family:var(--font-display);font-weight:800;line-height:1.08;letter-spacing:-.025em;margin:0 0 .5em;text-wrap:balance;overflow-wrap:break-word}
p{margin:0 0 1em;text-wrap:pretty}
figure{margin:0}
address{font-style:normal}
::selection{background:var(--tvo-accent);color:var(--tvo-on-accent)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:4px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.tvo-skip:focus{position:fixed!important;top:12px;left:12px;z-index:1000;width:auto;height:auto;clip:auto;clip-path:none;padding:14px 20px;background:var(--tvo-accent);color:var(--tvo-on-accent);border-radius:var(--r-sm);font-weight:600;white-space:normal}
.tvo-wrap{width:min(var(--wrap),100% - var(--gutter)*2);margin-inline:auto}
.tvo-wrap--narrow{width:min(var(--narrow),100% - var(--gutter)*2)}
.tvo-icon{width:1.25em;height:1.25em;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.2em}
.tvo-icon.is-flipped{transform:scaleX(-1)}
.tvo-icon.is-up{transform:rotate(-90deg)}
.tvo-icon.is-down{transform:rotate(90deg)}

/* ---------------------------------------------------------------- Nhãn & điểm nhấn */
mark.tvo-hl{color:var(--tvo-black);background-color:transparent;background-image:linear-gradient(var(--tvo-accent),var(--tvo-accent));background-repeat:no-repeat;background-size:100% 62%;background-position:0 82%;padding:0 .08em;margin:0 -.04em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
/* Nền tối: chữ xanh phát sáng + gạch chân, để dấu tiếng Việt phía trên không bị chìm vào nền. */
.tvo-night mark.tvo-hl,.tvo-footer mark.tvo-hl,[data-theme=dark] mark.tvo-hl{color:var(--tvo-accent);background-size:100% .09em;background-position:0 96%;padding:0;margin:0}
@media (prefers-color-scheme:dark){:root:not([data-theme]) mark.tvo-hl{color:var(--tvo-accent);background-size:100% .09em;background-position:0 96%;padding:0;margin:0}}
.tvo-km{display:inline-flex;align-items:center;gap:12px;margin:0 0 var(--space-5);font-family:var(--font-label);font-weight:600;font-size:.95rem;letter-spacing:.12em;text-transform:uppercase;line-height:1}
.tvo-km__no{display:inline-flex;align-items:center;min-height:30px;padding:3px 10px 2px;border:1.5px solid var(--ink);border-radius:7px;background:var(--surface);color:var(--ink);letter-spacing:.08em}
.tvo-night .tvo-km__no{background:transparent;border-color:var(--tvo-accent);color:var(--tvo-accent)}
.tvo-km__label{color:var(--muted)}
.tvo-plate{display:inline-flex;align-items:center;justify-content:center;min-width:2.6em;height:1.9em;padding:0 .5em;border:1.5px solid currentColor;border-radius:.4em;font-family:var(--font-label);font-weight:600;font-size:.95rem;letter-spacing:.06em;line-height:1;font-variant-numeric:tabular-nums}
.tvo-chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 16px;border:1px solid var(--line-strong);border-radius:var(--r-pill);background:transparent;color:var(--ink);font-size:.95rem;font-weight:600;line-height:1.2;text-decoration:none;transition:background var(--dur-micro),color var(--dur-micro),border-color var(--dur-micro)}
.tvo-chip:hover{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.tvo-chip__count{font-family:var(--font-label);color:var(--muted);font-variant-numeric:tabular-nums}
.tvo-chip:hover .tvo-chip__count{color:inherit}
.tvo-link-arrow{display:inline-flex;align-items:center;gap:10px;min-height:var(--tap);font-weight:600;text-decoration:none;border-bottom:2px solid var(--tvo-accent);line-height:1.2}
.tvo-link-arrow .tvo-icon{transition:transform var(--dur-ui) var(--ease)}
.tvo-link-arrow:hover .tvo-icon{transform:translateX(4px)}
.tvo-link-arrow:hover .tvo-icon.is-down{transform:rotate(90deg) translateX(4px)}

/* ---------------------------------------------------------------- Nút */
.tvo-btn{--b-bg:transparent;--b-ink:var(--ink);--b-line:var(--line-strong);position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:56px;padding:14px 24px;border:1.5px solid var(--b-line);border-radius:var(--r-md);background:var(--b-bg);color:var(--b-ink);font-size:1rem;font-weight:600;line-height:1.2;text-align:center;text-decoration:none;white-space:nowrap;transition:background var(--dur-ui) var(--ease),color var(--dur-ui) var(--ease),border-color var(--dur-ui) var(--ease),transform var(--dur-micro) var(--ease)}
.tvo-btn:active{transform:scale(.98)}
.tvo-btn--primary{--b-bg:var(--tvo-accent);--b-ink:var(--tvo-on-accent);--b-line:var(--tvo-accent)}
.tvo-btn--primary:hover{--b-bg:var(--ink);--b-ink:var(--bg);--b-line:var(--ink)}
.tvo-night .tvo-btn--primary:hover,[data-theme=dark] .tvo-btn--primary:hover{--b-bg:var(--tvo-white);--b-ink:var(--tvo-black);--b-line:var(--tvo-white)}
.tvo-btn--ghost:hover{--b-bg:var(--ink);--b-ink:var(--bg);--b-line:var(--ink)}
.tvo-btn--sm{min-height:46px;padding:10px 18px;font-size:.95rem;border-radius:var(--r-sm)}
.tvo-actions{display:flex;flex-wrap:wrap;gap:var(--space-3)}
.tvo-actions--hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));width:100%}
.tvo-actions--stack{display:grid;gap:var(--space-3)}
.tvo-actions--inline{margin-top:var(--space-5)}
.tvo-actions--inline>.tvo-btn,.tvo-actions--final>.tvo-btn{flex:1 1 200px;max-width:340px}
.tvo-icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:var(--tap);min-height:var(--tap);padding:0 12px;border:1px solid var(--line-strong);border-radius:var(--r-pill);background:transparent;color:var(--ink);font-weight:600;font-size:.95rem;transition:background var(--dur-micro),color var(--dur-micro)}
.tvo-icon-btn:hover{background:var(--ink);color:var(--bg)}

/* ---------------------------------------------------------------- Trạng thái mở cửa */
.tvo-status{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin:0;font-size:.92rem;line-height:1.3}
.tvo-status__dot{position:relative;width:10px;height:10px;border-radius:50%;background:var(--tvo-accent-2);flex:none}
.tvo-status.is-open .tvo-status__dot{background:var(--tvo-accent);box-shadow:0 0 0 1.5px var(--ink)}
.tvo-night .tvo-status.is-open .tvo-status__dot,[data-theme=dark] .tvo-status.is-open .tvo-status__dot{box-shadow:none}
.tvo-status__label{font-weight:600}
.tvo-status__detail{color:var(--muted)}
@media (prefers-reduced-motion:no-preference){
	.tvo-motion .tvo-status.is-open .tvo-status__dot::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:2px solid var(--tvo-accent);opacity:0;animation:tvo-pulse 2.4s var(--ease) 2}
}
@keyframes tvo-pulse{0%{transform:scale(.5);opacity:.9}70%,100%{transform:scale(1.6);opacity:0}}

/* ---------------------------------------------------------------- Thông báo */
.tvo-banner{--focus:var(--tvo-accent);background:var(--tvo-black);color:var(--tvo-cream);font-size:.95rem}
.tvo-banner p{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 16px;margin:0 auto;padding:10px 0;text-align:center}
.tvo-banner a{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-weight:600;color:var(--tvo-accent)}

/* ---------------------------------------------------------------- Header */
.tvo-header{position:sticky;top:0;z-index:50;background:var(--bg);background:color-mix(in srgb,var(--bg) 92%,transparent);transition:background var(--dur-ui),box-shadow var(--dur-ui)}
@supports (backdrop-filter:blur(1px)){.tvo-header{-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);background:color-mix(in srgb,var(--bg) 78%,transparent)}}
.tvo-header.is-scrolled{box-shadow:0 1px 0 var(--line)}
.admin-bar .tvo-header{top:var(--wp-admin--admin-bar--height,32px)}
@media (max-width:600px){.admin-bar .tvo-header{top:0}}
.tvo-header__inner{display:flex;align-items:center;gap:var(--space-4);min-height:var(--header-h)}
.tvo-header__brand{flex:1 1 auto;min-width:0}
.tvo-brand{display:inline-flex;align-items:center;gap:10px;min-height:var(--tap);max-width:100%;text-decoration:none;color:var(--ink)}
.tvo-brand__mark{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:11px;background:var(--tvo-accent);color:var(--tvo-on-accent);font-family:var(--font-label);font-weight:600;font-size:1.45rem;line-height:1}
.tvo-brand__name{font-family:var(--font-display);font-weight:800;font-size:1.12rem;letter-spacing:-.02em;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.custom-logo-link{display:inline-flex;align-items:center;min-height:var(--tap)}
.custom-logo{width:auto;max-width:min(200px,46vw);max-height:46px;object-fit:contain}
/* Logo trên nền tối: dùng logo riêng nếu có, nếu không đặt logo lên nền kem để luôn nhìn thấy. */
.custom-logo--dark{display:none}
[data-theme=dark] .custom-logo-link.has-dark-logo .custom-logo:not(.custom-logo--dark){display:none}
[data-theme=dark] .custom-logo-link.has-dark-logo .custom-logo--dark{display:block}
[data-theme=dark] .custom-logo-link:not(.has-dark-logo) .custom-logo{padding:5px 8px;border-radius:10px;background:var(--tvo-cream)}
@media (prefers-color-scheme:dark){
	:root:not([data-theme]) .custom-logo-link.has-dark-logo .custom-logo:not(.custom-logo--dark){display:none}
	:root:not([data-theme]) .custom-logo-link.has-dark-logo .custom-logo--dark{display:block}
	:root:not([data-theme]) .custom-logo-link:not(.has-dark-logo) .custom-logo{padding:5px 8px;border-radius:10px;background:var(--tvo-cream)}
}
html:not(.tvo-js) #tvo-appearance,html:not(.tvo-js) [data-tvo-copy]{display:none}
.tvo-nav{display:none}
.tvo-header__actions{display:flex;align-items:center;gap:var(--space-2);flex:none}
.tvo-status--header{display:none}
.tvo-header__call{display:none}
.tvo-appearance .tvo-appearance__sun{display:none}
[data-theme=dark] .tvo-appearance .tvo-appearance__sun{display:block}
[data-theme=dark] .tvo-appearance .tvo-appearance__moon{display:none}
.tvo-menu-toggle__label{font-size:.95rem}
.tvo-progress{position:absolute;left:0;right:0;bottom:-1px;height:2px;pointer-events:none}
.tvo-progress span{display:block;height:100%;background:var(--tvo-accent);transform-origin:0 50%;transform:scaleX(var(--tvo-scroll,0))}
@media (min-width:900px){.tvo-header__call{display:inline-flex}}
@media (min-width:760px){
	.tvo-brand__mark{width:42px;height:42px}
	.tvo-brand__name{font-size:1.2rem}
}
@media (max-width:420px){.tvo-menu-toggle__label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.tvo-menu-toggle{padding:0}}
@media (min-width:1100px){
	.tvo-nav{display:block;flex:0 1 auto}
	.tvo-header .tvo-menu-toggle{display:none}
	.tvo-header__brand{flex:0 0 auto;margin-right:clamp(16px,2vw,40px)}
	.tvo-header__actions{margin-left:auto}
	.tvo-nav__list{display:flex;align-items:center;gap:2px;margin:0;padding:0;list-style:none}
	.tvo-nav__list>li{position:relative}
	.tvo-nav__list a{display:flex;align-items:center;gap:6px;min-height:var(--tap);padding:0 clamp(8px,.8vw,14px);border-radius:var(--r-pill);font-size:clamp(.9rem,.72vw + .3rem,.98rem);font-weight:600;text-decoration:none;white-space:nowrap;transition:background var(--dur-micro)}
	.tvo-nav__list a:hover,.tvo-nav__list a[aria-current=page]{background:var(--surface-2)}
	.tvo-nav__list a[aria-current=page]{box-shadow:inset 0 -2px 0 var(--tvo-accent)}
	.tvo-nav__list .menu-item-has-children>a::after{content:"";width:7px;height:7px;margin-top:-4px;border-right:1.75px solid;border-bottom:1.75px solid;transform:rotate(45deg)}
	.tvo-nav__list .sub-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:5;min-width:260px;margin:0;padding:8px;list-style:none;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md);box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity var(--dur-ui) var(--ease),transform var(--dur-ui) var(--ease),visibility 0s linear var(--dur-ui)}
	.tvo-nav__list .sub-menu a{border-radius:var(--r-sm);white-space:normal;padding:10px 14px;font-weight:600}
	.tvo-nav__list li:hover>.sub-menu,.tvo-nav__list li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none;transition-delay:0s}
	.tvo-nav__list .sub-menu::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
	.tvo-nav__list li.is-dismissed>.sub-menu{opacity:0;visibility:hidden}
}
@media (min-width:1280px){.tvo-status--header{display:inline-flex;max-width:220px;font-size:.85rem}.tvo-status--header .tvo-status__detail{display:none}}
/* Header tự co gọn khi menu dài: ẩn trạng thái trước, rồi chuyển menu vào nút Menu. */
@media (min-width:1100px){
	.tvo-header.no-status .tvo-status--header{display:none}
	.tvo-header.is-compact .tvo-nav{display:none}
	.tvo-header.is-compact .tvo-menu-toggle{display:inline-flex}
	.tvo-header.is-compact .tvo-header__brand{margin-right:auto}
}

/* ---------------------------------------------------------------- Menu toàn màn hình */
.tvo-menu{position:fixed;inset:0;z-index:100;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border:0;background:var(--bg);color:var(--ink);overflow:auto;overscroll-behavior:contain}
/* :where() để trình duyệt chưa có Popover API (Safari ≤ 16, Firefox ≤ 124) không bỏ cả quy tắc. */
.tvo-menu:not(.is-open):not(:where(:popover-open)){display:none}
.tvo-menu::backdrop{background:rgba(11,11,10,.55)}
@supports (backdrop-filter:blur(1px)){.tvo-menu::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}}
.tvo-menu__inner{display:flex;flex-direction:column;gap:var(--space-5);min-height:100%;padding:max(16px,env(safe-area-inset-top)) var(--gutter) max(24px,env(safe-area-inset-bottom))}
.tvo-menu__head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);min-height:var(--header-h)}
.tvo-menu__title{margin:0;font-family:var(--font-display);font-weight:800;font-size:1.15rem}
.tvo-menu__list,.tvo-menu__list .sub-menu{margin:0;padding:0;list-style:none}
.tvo-menu__list>li{border-bottom:1px solid var(--line)}
.tvo-menu__list>li>a{display:flex;align-items:center;min-height:64px;padding:8px 0;font-family:var(--font-display);font-weight:800;font-size:clamp(1.6rem,7vw,2.3rem);letter-spacing:-.03em;line-height:1.1;text-decoration:none}
.tvo-menu__list a[aria-current=page]{text-decoration:underline;text-decoration-color:var(--tvo-accent);text-decoration-thickness:4px;text-underline-offset:.18em}
.tvo-menu__list .sub-menu{padding:0 0 14px}
.tvo-menu__list .sub-menu a{display:flex;align-items:center;min-height:var(--tap);padding:4px 0 4px 18px;border-left:2px solid var(--line);color:var(--muted);font-weight:600;text-decoration:none}
.tvo-menu__list .sub-menu a:hover{color:var(--ink);border-color:var(--tvo-accent)}
.tvo-menu__list .sub-menu .sub-menu{padding:0 0 0 18px}
.tvo-menu__foot{margin-top:auto;display:grid;gap:var(--space-4)}
.tvo-menu__info{display:grid;gap:4px;margin:0;color:var(--muted);font-size:.95rem}
.tvo-motion .tvo-menu:is(.is-open,:where(:popover-open)) .tvo-menu__list>li{animation:tvo-rise var(--dur-reveal) var(--ease) both;animation-delay:calc(var(--i,0) * 50ms + 60ms)}
@media (min-width:700px){
	.tvo-menu{inset:12px 12px 12px auto;width:min(480px,calc(100% - 24px));height:calc(100% - 24px);border:1px solid var(--line);border-radius:var(--r-xl);box-shadow:var(--shadow)}
	.admin-bar .tvo-menu{top:calc(12px + var(--wp-admin--admin-bar--height,32px));height:calc(100% - 24px - var(--wp-admin--admin-bar--height,32px))}
}
body.tvo-menu-open{overflow:hidden}
@keyframes tvo-rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}

/* ---------------------------------------------------------------- Tìm kiếm */
.tvo-search{position:relative;display:flex;width:100%}
.tvo-search input{width:100%;min-width:0;min-height:56px;padding:14px 60px 14px 18px;border:1.5px solid var(--field-line);border-radius:var(--r-md);background:var(--surface);color:var(--ink);font-size:16px;appearance:none;-webkit-appearance:none}
.tvo-search input::placeholder{color:var(--muted);opacity:1}
.tvo-search input:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-color:transparent}
.tvo-search__submit{position:absolute;top:4px;right:4px;bottom:4px;display:grid;place-items:center;width:48px;border:0;border-radius:calc(var(--r-md) - 4px);background:var(--tvo-accent);color:var(--tvo-on-accent)}
.tvo-search input::-webkit-search-cancel-button{-webkit-appearance:none}

/* ---------------------------------------------------------------- Thanh liên hệ điện thoại */
.tvo-dock{position:fixed;left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right));bottom:max(10px,env(safe-area-inset-bottom));z-index:45;display:flex;gap:4px;padding:5px;border-radius:22px;background:rgba(11,11,10,.94);color:#F6F1E6;box-shadow:0 18px 40px -16px rgba(0,0,0,.55);transition:transform var(--dur-ui) var(--ease),opacity var(--dur-ui)}
@supports (backdrop-filter:blur(1px)){.tvo-dock{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:rgba(11,11,10,.86)}}
[data-theme=dark] .tvo-dock{background:rgba(30,29,26,.9);box-shadow:0 0 0 1px rgba(246,241,230,.12),0 18px 40px -16px rgba(0,0,0,.8)}
.tvo-dock__item{flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;min-height:56px;padding:6px 4px;border:0;border-radius:17px;background:transparent;color:inherit;font-size:clamp(.7rem,3.4vw,.8rem);font-weight:600;line-height:1.1;letter-spacing:-.01em;text-decoration:none}
.tvo-dock__item .tvo-icon{width:22px;height:22px}
.tvo-dock__item--phone{background:var(--tvo-accent);color:var(--tvo-on-accent)}
.tvo-dock__item span{max-width:100%;text-align:center;overflow-wrap:anywhere}
.tvo-dock__item:focus-visible{outline-color:var(--tvo-accent)}
.tvo-dock.is-hidden{transform:translateY(calc(100% + 24px));opacity:0;pointer-events:none}
@media (max-width:899px){:root:has(body.tvo-has-dock){scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom))}}
/* Chừa chỗ cho thanh liên hệ bên trong chân trang (nền tối) thay vì dải nền kem dưới chân trang. */
.tvo-has-dock .tvo-footer{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
@media (min-width:900px){.tvo-dock{display:none}.tvo-has-dock .tvo-footer{padding-bottom:0}}

/* ---------------------------------------------------------------- Breadcrumb */
.tvo-breadcrumbs{margin:0 0 var(--space-5);font-size:.9rem;color:var(--muted)}
.tvo-breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:2px 0;margin:0;padding:0;list-style:none}
.tvo-breadcrumbs li{display:inline-flex;align-items:center;min-width:0}
.tvo-breadcrumbs li+li::before{content:"/";margin:0 10px;color:var(--line-strong)}
.tvo-breadcrumbs a{display:inline-flex;align-items:center;min-height:var(--tap);text-decoration:none}
.tvo-breadcrumbs a:hover{color:var(--ink);text-decoration:underline}
.tvo-breadcrumbs [aria-current]{color:var(--ink);font-weight:600;overflow-wrap:anywhere}
.tvo-breadcrumbs>span>span>a,.tvo-breadcrumbs>span a{min-height:var(--tap);display:inline-flex;align-items:center}

/* ---------------------------------------------------------------- Bố cục chung */
.tvo-main{display:block}
.tvo-section{padding-block:var(--section)}
.tvo-head{max-width:860px;margin-bottom:clamp(32px,5vw,64px)}
.tvo-head__title{font-size:var(--fs-h2);letter-spacing:var(--track-tight);line-height:1.04;margin:0}
.tvo-head__lede{max-width:56ch;margin:var(--space-5) 0 0;color:var(--muted);font-size:clamp(1.05rem,1.6vw,1.25rem)}
.tvo-head--row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:var(--space-5);max-width:none}
.tvo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:clamp(16px,2.4vw,28px)}

/* ---------------------------------------------------------------- Thẻ bài viết */
.tvo-card{position:relative;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);transition:transform var(--dur-ui) var(--ease),box-shadow var(--dur-ui) var(--ease),border-color var(--dur-ui)}
.tvo-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--line-strong)}
.tvo-card__media{aspect-ratio:3/2;overflow:hidden;background:var(--surface-2)}
.tvo-card__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 900ms var(--ease)}
.tvo-card:hover .tvo-card__media img{transform:scale(1.04)}
.tvo-card__body{display:flex;flex-direction:column;flex:1;gap:10px;padding:clamp(18px,2.4vw,26px)}
.tvo-card__kicker{order:-1;margin:0;font-family:var(--font-label);font-weight:600;font-size:.9rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.tvo-card__title{margin:0;font-size:clamp(1.2rem,1.9vw,1.42rem);line-height:1.22;letter-spacing:-.02em}
.tvo-card__link{text-decoration:none}
.tvo-card__link::after{content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}
.tvo-card__link:focus-visible{outline:none}
.tvo-card:has(.tvo-card__link:focus-visible){outline:3px solid var(--focus);outline-offset:3px}
.tvo-card__excerpt{margin:0;color:var(--muted);font-size:.98rem;line-height:1.6}
.tvo-card__meta{margin:auto 0 0;padding-top:6px;font-family:var(--font-label);font-weight:600;letter-spacing:.06em;color:var(--muted);font-size:.9rem}
.tvo-card--noimg .tvo-card__body{border-top:4px solid var(--tvo-accent)}
.tvo-card--feature .tvo-card__title{font-size:clamp(1.5rem,3vw,2.3rem);letter-spacing:-.03em}
.tvo-card--compact .tvo-card__media{aspect-ratio:16/10}
@media (min-width:900px){
	.tvo-grid--archive .tvo-card--feature{grid-column:1/-1;display:grid;grid-template-columns:1.25fr 1fr}
	.tvo-grid--archive .tvo-card--feature .tvo-card__media{aspect-ratio:auto;min-height:340px}
	.tvo-grid--archive .tvo-card--feature .tvo-card__body{justify-content:center;padding:clamp(28px,4vw,52px)}
}

/* ---------------------------------------------------------------- Lưu trữ, tìm kiếm */
.tvo-archive__head{padding-top:clamp(20px,4vw,40px);padding-bottom:clamp(28px,5vw,56px)}
.tvo-archive__kicker,.tvo-article__kicker{display:inline-flex;margin:0 0 var(--space-4);padding:4px 10px 3px;border-radius:7px;background:var(--tvo-accent);color:var(--tvo-on-accent);font-family:var(--font-label);font-weight:600;font-size:.95rem;letter-spacing:.1em;text-transform:uppercase;line-height:1.2}
.tvo-article__kicker-row{margin:0 0 var(--space-3)}
.tvo-article__kicker-link{display:inline-flex;align-items:center;min-height:var(--tap);text-decoration:none}
.tvo-article__kicker-link .tvo-article__kicker{margin:0;transition:background var(--dur-micro),color var(--dur-micro)}
.tvo-article__kicker-link:hover .tvo-article__kicker{background:var(--ink);color:var(--bg)}
.tvo-archive__title{font-size:var(--fs-h1);letter-spacing:var(--track-tight);line-height:1.04;max-width:18ch;margin:0}
.tvo-archive__intro{max-width:62ch;margin-top:var(--space-5);color:var(--muted);font-size:1.12rem}
.tvo-archive__intro p:last-child{margin-bottom:0}
.tvo-archive__count{margin:var(--space-4) 0 0;color:var(--muted)}
.tvo-archive__search{max-width:560px;margin-top:var(--space-5)}
.tvo-subcats ul{display:flex;flex-wrap:wrap;gap:10px;margin:var(--space-6) 0 0;padding:0;list-style:none}
.tvo-archive .tvo-wrap>.tvo-grid{margin-bottom:var(--space-7)}
.pagination,.navigation.pagination{margin:var(--space-7) 0 var(--section)}
.nav-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.page-numbers{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:var(--tap);min-height:var(--tap);padding:0 14px;border:1px solid var(--line);border-radius:var(--r-sm);font-family:var(--font-label);font-weight:600;font-size:1.05rem;text-decoration:none;font-variant-numeric:tabular-nums}
.page-numbers.current{background:var(--ink);color:var(--bg);border-color:var(--ink)}
a.page-numbers:hover{border-color:var(--ink)}
.page-numbers.dots{border:0}
.tvo-empty{padding:var(--space-6) 0 var(--section);max-width:680px}
.tvo-empty__title{font-size:clamp(1.6rem,3vw,2.2rem)}
.tvo-empty p{color:var(--muted)}
.tvo-empty__search{margin:var(--space-5) 0}
.tvo-empty__links{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}

/* ---------------------------------------------------------------- Bài viết, trang */
.tvo-article__head{padding-top:clamp(20px,4vw,40px);padding-bottom:clamp(24px,4vw,44px)}
.tvo-article__title{font-size:var(--fs-h1);letter-spacing:var(--track-tight);line-height:1.06;margin:0}
.tvo-article__lede{margin:var(--space-5) 0 0;font-size:clamp(1.15rem,2vw,1.4rem);line-height:1.55;color:var(--muted)}
.tvo-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 0;margin:var(--space-5) 0 0;font-family:var(--font-label);font-weight:600;font-size:1rem;letter-spacing:.04em;color:var(--muted)}
.tvo-meta__sep{margin:0 10px;color:var(--line-strong)}
.tvo-article__figure{margin-bottom:clamp(28px,5vw,56px)}
.tvo-article__figure img{display:block;width:100%;max-height:72vh;object-fit:cover;border-radius:var(--r-lg)}
.tvo-article__figure figcaption{margin-top:10px;color:var(--muted);font-size:.9rem}
.tvo-article__body{padding-bottom:var(--section)}
.tvo-article__body--wide{width:min(var(--wrap),100% - var(--gutter)*2)}

/* Mục lục */
.tvo-toc{margin:0 0 var(--space-7);border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface)}
.tvo-toc summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:12px 20px;font-family:var(--font-label);font-weight:600;font-size:1.05rem;letter-spacing:.1em;text-transform:uppercase;list-style:none;cursor:pointer}
.tvo-toc summary::-webkit-details-marker{display:none}
.tvo-toc summary .tvo-icon{transition:transform var(--dur-ui) var(--ease)}
.tvo-toc[open] summary .tvo-icon{transform:rotate(180deg)}
.tvo-toc ol{margin:0;padding:0 20px 18px;list-style:none;counter-reset:toc}
.tvo-toc li{border-top:1px solid var(--line)}
.tvo-toc .tvo-toc__l2{counter-increment:toc}
.tvo-toc a{display:flex;gap:12px;min-height:var(--tap);align-items:center;padding:8px 0;text-decoration:none;line-height:1.35}
.tvo-toc a::before{content:counter(toc,decimal-leading-zero);font-family:var(--font-label);font-weight:600;color:var(--muted);min-width:1.6em}
.tvo-toc a:hover{text-decoration:underline;text-decoration-color:var(--tvo-accent);text-decoration-thickness:3px}
.tvo-toc a.is-active{font-weight:600}
.tvo-toc a.is-active::before{color:var(--ink)}
.tvo-toc .tvo-toc__l3 a{padding-left:2.4em;font-size:.95rem;color:var(--muted)}
.tvo-toc .tvo-toc__l3 a::before{content:"–";min-width:1em}

/* Nội dung soạn thảo */
.tvo-prose{font-size:var(--fs-body);line-height:1.75}
.tvo-prose>*{margin-block:0 1.15em}
.tvo-prose>:first-child{margin-top:0}
.tvo-prose{overflow-wrap:break-word}
.tvo-prose a{overflow-wrap:anywhere}
/* Khoảng cách dưới header khi nhảy tới tiêu đề đã có ở html{scroll-padding-top}; không cộng thêm lần nữa. */
.tvo-prose h2{margin:1.9em 0 .6em;font-size:clamp(1.6rem,3.4vw,2.25rem);letter-spacing:-.03em;line-height:1.15}
.tvo-prose h3{margin:1.6em 0 .5em;font-size:clamp(1.3rem,2.4vw,1.6rem);letter-spacing:-.02em;line-height:1.25}
.tvo-prose h4{margin:1.4em 0 .4em;font-size:1.15rem;letter-spacing:-.01em}
.tvo-prose a:not(.tvo-btn):not(.wp-block-button__link){text-decoration-color:var(--tvo-accent);text-decoration-thickness:.14em;text-underline-offset:.18em;font-weight:600}
.tvo-prose a:not(.tvo-btn):not(.wp-block-button__link):hover{background:var(--tvo-accent);color:var(--tvo-on-accent);text-decoration:none}
.tvo-prose ul,.tvo-prose ol{padding-left:1.4em}
.tvo-prose li{margin-bottom:.45em}
.tvo-prose ul li::marker{color:var(--muted)}
.tvo-prose ol li::marker{font-family:var(--font-label);font-weight:600}
.tvo-prose strong{font-weight:600}
.tvo-prose blockquote,.tvo-prose .wp-block-quote{margin:2em 0;padding:4px 0 4px 24px;border-left:4px solid var(--tvo-accent);font-size:1.18em;line-height:1.55}
.tvo-prose blockquote cite{display:block;margin-top:.6em;font-size:.8em;font-style:normal;color:var(--muted)}
.tvo-prose img{border-radius:var(--r-md)}
.tvo-prose figure{margin-block:2em}
.tvo-prose figcaption,.tvo-prose .wp-element-caption{margin-top:10px;color:var(--muted);font-size:.9rem;line-height:1.5}
.tvo-prose hr{border:0;height:2px;margin:2.5em 0;background:repeating-linear-gradient(90deg,var(--line-strong) 0 18px,transparent 18px 32px)}
.tvo-prose table{width:100%;border-collapse:collapse;font-size:.95em;line-height:1.5}
.tvo-prose th,.tvo-prose td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.tvo-prose thead th{font-family:var(--font-label);font-weight:600;letter-spacing:.06em;text-transform:uppercase;font-size:.95rem;border-bottom:2px solid var(--ink)}
.tvo-prose .wp-block-table,.tvo-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.tvo-prose pre{overflow-x:auto;padding:18px;border-radius:var(--r-md);background:var(--surface-2);font-size:.9em}
.tvo-prose code{font-size:.9em}
.tvo-prose iframe{width:100%;border:0}
.tvo-prose .alignwide{width:min(1100px,100vw - var(--gutter)*2);max-width:none;margin-left:50%;transform:translateX(-50%)}
.tvo-prose .alignfull{width:100vw;max-width:none;margin-left:50%;transform:translateX(-50%)}
.tvo-prose .alignleft{float:left;margin:.4em 1.5em 1em 0;max-width:50%}
.tvo-prose .alignright{float:right;margin:.4em 0 1em 1.5em;max-width:50%}
.tvo-prose .aligncenter{margin-inline:auto}
.tvo-prose .wp-block-button__link{display:inline-flex;align-items:center;min-height:52px;padding:12px 24px;border-radius:var(--r-md);background:var(--tvo-accent);color:var(--tvo-on-accent);font-weight:600;text-decoration:none}
.tvo-prose .wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--ink);border:1.5px solid var(--ink)}
.tvo-prose .wp-block-image img{height:auto}
.tvo-prose .wp-block-separator{border:0}
.tvo-prose input:not([type=checkbox]):not([type=radio]):not([type=submit]),.tvo-prose textarea,.tvo-prose select{width:100%;max-width:100%;min-height:52px;padding:12px 14px;border:1.5px solid var(--field-line);border-radius:var(--r-sm);background:var(--surface);color:var(--ink);font-size:16px}
.tvo-prose input[type=submit],.tvo-prose button[type=submit]{min-height:52px;padding:12px 24px;border:0;border-radius:var(--r-md);background:var(--tvo-accent);color:var(--tvo-on-accent);font-weight:600}
.tvo-prose .post-password-form p{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end}
.tvo-prose::after{content:"";display:table;clear:both}
.tvo-page-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:var(--space-6) 0}
.tvo-page-links a,.tvo-page-links>span:not(:first-child){display:inline-flex;align-items:center;justify-content:center;min-width:var(--tap);min-height:var(--tap);border:1px solid var(--line);border-radius:var(--r-sm)}

/* Chủ đề, chia sẻ, điều hướng bài */
.tvo-tags{display:flex;flex-wrap:wrap;gap:8px;margin:var(--space-7) 0 0;padding:0;list-style:none}
.tvo-share{margin:var(--space-6) 0 0;padding:var(--space-5) 0 0;border-top:1px solid var(--line)}
.tvo-share__label{margin:0 0 12px;font-family:var(--font-label);font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.tvo-share__buttons{display:flex;flex-wrap:wrap;gap:8px}
.tvo-share__status{min-height:1.5em;margin:10px 0 0;font-size:.95rem;color:var(--muted)}
.tvo-share__fallback input{width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:var(--r-sm);background:var(--surface);font-size:16px}
.post-navigation{margin-top:var(--space-7)}
.post-navigation .nav-links{display:grid;grid-template-columns:1fr;gap:12px}
.post-navigation a{display:flex;flex-direction:column;gap:6px;height:100%;padding:18px 20px;border:1px solid var(--line);border-radius:var(--r-md);text-decoration:none;transition:border-color var(--dur-ui)}
.post-navigation a:hover{border-color:var(--ink)}
.post-navigation .nav-next{text-align:right}
.tvo-postnav__label{font-family:var(--font-label);font-weight:600;letter-spacing:.1em;text-transform:uppercase;font-size:.9rem;color:var(--muted)}
.tvo-postnav__title{font-weight:600;line-height:1.35}
@media (min-width:700px){.post-navigation .nav-links{grid-template-columns:1fr 1fr}.post-navigation .nav-previous:only-child{grid-column:1}.post-navigation .nav-next:only-child{grid-column:2}}

/* Khối liên hệ cuối bài */
.tvo-cta-card{display:grid;gap:var(--space-5);margin:var(--space-7) 0 0;padding:clamp(24px,4vw,40px);border-radius:var(--r-lg);background:var(--night-bg);color:var(--night-ink);--ink:var(--night-ink);--muted:var(--night-muted);--line:var(--night-line);--line-strong:rgba(246,241,230,.34);--focus:var(--tvo-accent)}
.tvo-cta-card__kicker{margin:0 0 8px;font-family:var(--font-label);font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--tvo-accent)}
.tvo-cta-card__title{margin:0 0 10px;font-size:clamp(1.5rem,3vw,2.1rem);letter-spacing:-.03em}
.tvo-cta-card__text{margin:0 0 14px;color:var(--muted)}
@media (min-width:760px){.tvo-cta-card{grid-template-columns:1.4fr 1fr;align-items:center}}

/* Bài liên quan */
.tvo-related{border-top:1px solid var(--line);padding-top:clamp(56px,8vw,96px)}
.tvo-related__title{font-size:clamp(1.8rem,4vw,3rem);letter-spacing:var(--track-tight);margin:0 0 clamp(24px,4vw,40px)}
.tvo-related .tvo-head--row .tvo-related__title{margin:0}

/* Widget */
.tvo-widgets{margin-top:var(--space-7);display:grid;gap:var(--space-5)}
.tvo-widget__title{font-size:1.2rem}

/* Bình luận */
.tvo-comments{margin-top:var(--space-8);padding-top:var(--space-6);border-top:1px solid var(--line)}
.tvo-comments__title,.comment-reply-title{font-size:clamp(1.4rem,2.6vw,1.8rem);letter-spacing:-.02em}
.tvo-comments__list,.tvo-comments__list .children{margin:0;padding:0;list-style:none}
.tvo-comments__list .children{padding-left:clamp(14px,4vw,40px);border-left:2px solid var(--line)}
.comment-body{padding:var(--space-5) 0;border-bottom:1px solid var(--line)}
.comment-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:.92rem}
.comment-author{display:flex;align-items:center;gap:10px}
.comment-author .avatar{border-radius:50%}
.comment-author .says{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.comment-metadata{color:var(--muted)}
.comment-metadata a{text-decoration:none}
.comment-content{margin-top:12px}
.reply a,.comment-reply-link{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.comment-form{display:grid;gap:var(--space-4)}
.comment-form label{display:block;margin-bottom:6px;font-weight:600;font-size:.95rem}
.comment-form input:not([type=checkbox]):not([type=submit]),.comment-form textarea{width:100%;min-height:52px;padding:12px 14px;border:1.5px solid var(--field-line);border-radius:var(--r-sm);background:var(--surface);color:var(--ink);font-size:16px}
.comment-form-cookies-consent{display:flex;gap:10px;align-items:flex-start}
.comment-form-cookies-consent input{width:24px;height:24px;margin-top:2px;flex:none;accent-color:var(--tvo-black)}
.comment-form-cookies-consent label{cursor:pointer;min-height:44px}
.comment-form-cookies-consent label{font-weight:400}
.comment-notes,.logged-in-as{color:var(--muted);font-size:.95rem}
.form-submit{margin:0}
#cancel-comment-reply-link{margin-left:12px;font-size:.95rem}
.comment-navigation .nav-links{justify-content:space-between;margin:var(--space-5) 0}

/* ---------------------------------------------------------------- Bảng giá (dùng chung) */
.tvo-pricing{display:grid;gap:var(--space-5)}
.tvo-seg{position:relative;display:inline-grid;grid-auto-flow:column;grid-auto-columns:1fr;justify-self:start;padding:5px;border:1px solid var(--line-strong);border-radius:var(--r-pill);background:var(--surface)}
.tvo-seg__btn{position:relative;z-index:1;min-width:0;min-height:46px;padding:8px 18px;border:0;border-radius:var(--r-pill);background:transparent;color:var(--muted);font-weight:600;font-size:.98rem;white-space:nowrap;transition:color var(--dur-ui) var(--ease)}
.tvo-seg__btn[aria-pressed=true]{color:var(--tvo-on-accent);font-weight:800}
html:not(.tvo-js) .tvo-seg{display:none}
.tvo-seg__thumb{position:absolute;z-index:0;top:5px;bottom:5px;left:5px;width:calc((100% - 10px)/var(--n,3));border-radius:var(--r-pill);background:var(--tvo-accent);box-shadow:inset 0 0 0 2px var(--tvo-on-accent);transform:translateX(calc(var(--i,0) * 100%));transition:transform var(--dur-ui) var(--ease)}
.tvo-seg:not([style]) .tvo-seg__thumb{display:none}
.tvo-seg:not([style]) .tvo-seg__btn[aria-pressed=true]{background:var(--tvo-accent)}
.tvo-pricing__scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface)}
.tvo-pricing__scroll:focus-visible{outline-offset:2px}
.tvo-price-table{width:100%;min-width:520px;border-collapse:collapse;line-height:1.3}
.tvo-price-table th,.tvo-price-table td{padding:16px clamp(12px,2vw,24px);border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.tvo-price-table tbody tr:last-child>*{border-bottom:0}
.tvo-price-table thead th{font-family:var(--font-label);font-weight:600;font-size:.95rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.tvo-price-table tbody th{font-weight:600;font-size:1.05rem;white-space:nowrap}
@media (min-width:760px){.tvo-pricing[data-period=day] [data-col=day],.tvo-pricing[data-period=week] [data-col=week],.tvo-pricing[data-period=month] [data-col=month]{background:rgba(0,255,0,.07);transition:background var(--dur-ui) var(--ease)}}
.tvo-price-table tbody th .tvo-plate{margin-right:12px;font-size:.85rem;color:var(--muted)}
.tvo-price-table__name{display:inline}
.tvo-price{display:inline-block;font-family:var(--font-label);font-weight:600;font-size:clamp(1.35rem,2.4vw,1.75rem);letter-spacing:.01em;font-variant-numeric:tabular-nums;white-space:nowrap}
.tvo-price.is-empty{font-family:var(--font-sans);font-size:1rem;color:var(--muted)}
.tvo-deposit{font-weight:600;white-space:nowrap}
.tvo-night .tvo-price:not(.is-empty){color:var(--tvo-accent)}
.tvo-pricing__note{display:flex;gap:10px;align-items:flex-start;margin:0;color:var(--muted);font-size:.95rem;line-height:1.55}
.tvo-pricing__note .tvo-icon{margin-top:2px}
.tvo-odo{display:inline-flex;overflow:hidden;vertical-align:bottom}
.tvo-odo__c{display:inline-block;white-space:pre;animation:tvo-roll 520ms var(--ease) both;animation-delay:calc(var(--c,0) * 28ms)}
@keyframes tvo-roll{from{transform:translateY(.7em);opacity:0}to{transform:none;opacity:1}}
@media (max-width:759px){
	.tvo-js .tvo-pricing[data-period=day] [data-col=week],.tvo-js .tvo-pricing[data-period=day] [data-col=month],
	.tvo-js .tvo-pricing[data-period=week] [data-col=day],.tvo-js .tvo-pricing[data-period=week] [data-col=month],
	.tvo-js .tvo-pricing[data-period=month] [data-col=day],.tvo-js .tvo-pricing[data-period=month] [data-col=week]{display:none}
	.tvo-js .tvo-pricing[data-period] .tvo-price-table{min-width:0}
	.tvo-seg{justify-self:stretch}
	.tvo-price-table tbody th .tvo-plate{display:none}
	.tvo-price-table th,.tvo-price-table td{padding:14px 12px}
	.tvo-price{font-size:1.4rem}
}
/* Điện thoại nhỏ (320–479px): mỗi dòng thành một thẻ — tên xe + tiền cọc bên trái, giá bên phải, không cuộn ngang.
   :where() giữ độ ưu tiên thấp để quy tắc ẩn cột giá không chọn vẫn thắng. */
@media (max-width:479px){
	.tvo-js .tvo-pricing[data-period] :where(.tvo-price-table, .tvo-price-table tbody){display:block}
	.tvo-js .tvo-pricing[data-period] :where(.tvo-price-table thead){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
	.tvo-js .tvo-pricing[data-period] :where(.tvo-price-table tbody tr){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 14px;padding:14px 16px;border-bottom:1px solid var(--line)}
	.tvo-js .tvo-pricing[data-period] :where(.tvo-price-table tbody tr:last-child){border-bottom:0}
	.tvo-js .tvo-pricing[data-period] :where(.tvo-price-table tbody tr>*){display:block;padding:0;border:0}
	.tvo-js .tvo-pricing[data-period] :where(.tvo-price-table tbody th){grid-column:1;white-space:normal}
	.tvo-js .tvo-pricing[data-period] :where(.tvo-price-table tbody td:not([data-col=deposit])){grid-column:2;grid-row:1 / span 2;text-align:right}
	.tvo-js .tvo-pricing[data-period] :where(.tvo-price-table td[data-col=deposit]){grid-column:1;grid-row:2;color:var(--muted);font-size:.92rem}
	.tvo-js .tvo-pricing[data-period] :where(.tvo-price-table td[data-col=deposit])::before{content:attr(data-label) " "}
	.tvo-js .tvo-pricing[data-period] :where(.tvo-price-table .tvo-deposit){color:var(--ink)}
}
.tvo-price-table--contact{min-width:0}

/* ---------------------------------------------------------------- Thẻ cửa hàng */
.tvo-store{display:grid;gap:var(--space-5);align-items:stretch}
.tvo-store__info{padding:clamp(22px,4vw,44px);border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface)}
.tvo-store .tvo-store__name{margin:0 0 12px;font-family:var(--font-display);font-weight:800;font-size:clamp(1.4rem,2.6vw,1.9rem);letter-spacing:-.025em;line-height:1.15}
.tvo-store__list{display:grid;gap:0;margin:var(--space-5) 0 0}
.tvo-store__list>div{display:grid;gap:4px;padding:14px 0;border-top:1px solid var(--line)}
.tvo-store__list dt{display:flex;align-items:center;gap:8px;font-family:var(--font-label);font-weight:600;letter-spacing:.1em;text-transform:uppercase;font-size:.9rem;color:var(--muted)}
.tvo-store__list dd{margin:0;font-size:1.08rem;font-weight:600;line-height:1.45}
.tvo-store__list dd small{font-weight:400;color:var(--muted)}
.tvo-store__list a{display:inline-flex;align-items:center;min-height:44px;margin-block:-10px;text-decoration-color:var(--tvo-accent);text-decoration-thickness:.14em}
.tvo-store__map{position:relative;display:block;min-height:280px;overflow:hidden;border-radius:var(--r-lg);background:var(--surface-2);color:var(--ink);text-decoration:none}
.tvo-store__map-art{position:absolute;inset:0;width:100%;height:100%}
.tvo-store__map-label{position:absolute;left:16px;bottom:16px;display:inline-flex;align-items:center;gap:8px;min-height:var(--tap);padding:8px 16px;border-radius:var(--r-pill);background:var(--ink);color:var(--bg);font-weight:600;transition:background var(--dur-ui),color var(--dur-ui)}
a.tvo-store__map:hover .tvo-store__map-label{background:var(--tvo-accent);color:var(--tvo-on-accent)}
@media (min-width:900px){.tvo-store{grid-template-columns:1fr 1fr}.tvo-store__map{min-height:100%}}

/* ---------------------------------------------------------------- Hỏi đáp (dùng chung) */
.tvo-faq{border-top:1px solid var(--line-strong)}
.tvo-faq__item{border-bottom:1px solid var(--line-strong)}
.tvo-faq__q{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;min-height:72px;padding:18px 0;font-family:var(--font-display);font-weight:600;font-size:clamp(1.05rem,1.9vw,1.3rem);line-height:1.35;letter-spacing:-.01em;list-style:none;cursor:pointer}
.tvo-faq__q::-webkit-details-marker{display:none}
.tvo-faq__no{font-family:var(--font-label);font-weight:600;font-size:1rem;color:var(--muted);font-variant-numeric:tabular-nums}
.tvo-faq__icon{position:relative;width:36px;height:36px;border:1.5px solid var(--line-strong);border-radius:50%;transition:background var(--dur-ui) var(--ease),border-color var(--dur-ui)}
.tvo-faq__icon::before,.tvo-faq__icon::after{content:"";position:absolute;top:50%;left:50%;width:12px;height:1.75px;margin:-1px 0 0 -6px;background:currentColor;transition:transform var(--dur-ui) var(--ease)}
.tvo-faq__icon::after{transform:rotate(90deg)}
.tvo-faq__item[open] .tvo-faq__icon{background:var(--tvo-accent);border-color:var(--tvo-accent);color:var(--tvo-on-accent)}
.tvo-faq__item[open] .tvo-faq__icon::after{transform:rotate(0)}
.tvo-faq__q:hover .tvo-faq__text{text-decoration:underline;text-decoration-color:var(--tvo-accent);text-decoration-thickness:3px;text-underline-offset:.2em}
.tvo-faq__a{padding:0 0 22px calc(1.6em + 14px);color:var(--muted);max-width:68ch}
.tvo-faq__a p{margin:0}
.tvo-faq__a.is-animating{overflow:hidden}

/* ---------------------------------------------------------------- Chân trang */
.tvo-footer{position:relative;margin-top:0;background:var(--night-bg);color:var(--night-ink);--ink:var(--night-ink);--muted:var(--night-muted);--line:var(--night-line);--line-strong:rgba(246,241,230,.34);--surface:var(--night-surface);--focus:var(--tvo-accent);color-scheme:dark}
[data-theme=dark] .tvo-footer{border-top:1px solid var(--night-line)}
.tvo-footer__cta{display:grid;gap:var(--space-5);padding:clamp(48px,8vw,96px) 0;border-bottom:1px solid var(--line)}
.tvo-footer__cta-title{margin:0;font-family:var(--font-display);font-weight:800;font-size:clamp(2rem,6vw,4.4rem);letter-spacing:var(--track-tight);line-height:1.04;max-width:16ch;text-wrap:balance}
@media (min-width:900px){.tvo-footer__cta{grid-template-columns:1fr auto;align-items:end}}
.tvo-footer__grid{display:grid;gap:var(--space-7) var(--space-6);padding:clamp(48px,7vw,80px) 0}
@media (min-width:700px){.tvo-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.tvo-footer__grid{grid-template-columns:1.3fr 1.2fr 1fr 1fr}}
.tvo-footer__brand{margin:0 0 10px;font-family:var(--font-display);font-weight:800;font-size:1.35rem;letter-spacing:-.02em;line-height:1.2}
.tvo-footer__tagline{color:var(--muted);max-width:36ch}
.tvo-footer__heading{margin:0 0 14px;line-height:1.3;font-family:var(--font-label);font-weight:600;font-size:.95rem;letter-spacing:.12em;text-transform:uppercase;color:var(--tvo-accent)}
.tvo-footer__nap p{display:flex;gap:10px;align-items:flex-start;margin:0 0 12px;line-height:1.5}
.tvo-footer__nap .tvo-icon{margin-top:3px;color:var(--muted)}
.tvo-footer__nap a{display:inline-flex;align-items:center;min-width:0;min-height:44px;margin-block:-12px;text-decoration:none;font-weight:600;overflow-wrap:anywhere}
.tvo-footer__nap a:hover{color:var(--tvo-accent)}
.tvo-footer__list{margin:0;padding:0;list-style:none}
.tvo-footer__list a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;color:var(--ink);text-decoration:none}
.tvo-footer__list a:hover{color:var(--tvo-accent);text-decoration:underline}
.tvo-footer__bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:20px 0 28px;border-top:1px solid var(--line);color:var(--muted);font-size:.92rem}
.tvo-footer__bottom p{margin:0}
.tvo-footer__legal-list{display:flex;flex-wrap:wrap;gap:0 20px;margin:0;padding:0;list-style:none}
.tvo-footer__legal a,.tvo-totop{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--muted);text-decoration:none}
.tvo-footer__legal a:hover,.tvo-totop:hover{color:var(--ink)}

/* ---------------------------------------------------------------- 404 */
.tvo-404{padding:clamp(32px,7vw,96px) 0 var(--section)}
.tvo-404__grid{display:grid;gap:var(--space-7);align-items:center}
.tvo-404__code{margin:0 0 8px;font-family:var(--font-label);font-weight:600;font-size:clamp(5rem,20vw,11rem);line-height:.85;letter-spacing:.02em;color:transparent;-webkit-text-stroke:2px var(--ink)}
.tvo-404__title{font-size:var(--fs-h1);letter-spacing:var(--track-tight);line-height:1.06;max-width:14ch}
.tvo-404__text{color:var(--muted);max-width:52ch;font-size:1.1rem}
.tvo-404__search{max-width:520px;margin:var(--space-5) 0}
.tvo-404__art svg{width:100%;height:auto}
@media (min-width:900px){.tvo-404__grid{grid-template-columns:1.1fr 1fr}}

/* ---------------------------------------------------------------- Trang trụ cột */
.tvo-hub{border-top:1px solid var(--line);padding-top:clamp(56px,8vw,96px)}
.tvo-hub__title{font-size:clamp(1.8rem,4vw,3rem);letter-spacing:var(--track-tight);margin:0 0 clamp(24px,4vw,40px)}
.tvo-hub__list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:clamp(14px,2vw,24px);margin:0;padding:0;list-style:none}
.tvo-hub__item{position:relative;padding:clamp(20px,3vw,28px);border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);transition:border-color var(--dur-ui),transform var(--dur-ui) var(--ease)}
.tvo-hub__item:hover{border-color:var(--ink);transform:translateY(-3px)}
.tvo-hub__item .tvo-plate{color:var(--muted);margin-bottom:var(--space-4)}
.tvo-hub__name{font-size:1.3rem;letter-spacing:-.02em;margin:0 0 8px}
.tvo-hub__name a{text-decoration:none}
.tvo-hub__name a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.tvo-hub__item p{margin:0;color:var(--muted);font-size:.98rem}
.tvo-hours-inline{font-weight:600}

/* ---------------------------------------------------------------- Chuyển động dùng chung */
@media (prefers-reduced-motion:no-preference){
	.tvo-motion [data-tvo-reveal]{opacity:0;transform:translateY(28px);transition:opacity var(--dur-reveal) var(--ease),transform var(--dur-reveal) var(--ease);transition-delay:calc(var(--d,0) * var(--stagger))}
	.tvo-motion [data-tvo-reveal].is-in{opacity:1;transform:none}
	.tvo-motion [data-tvo-split] .tvo-w{display:inline-block;opacity:0;transform:translateY(.32em);transition:opacity var(--dur-reveal) var(--ease),transform var(--dur-reveal) var(--ease);transition-delay:calc(var(--w,0) * 55ms + 80ms)}
	.tvo-motion [data-tvo-split].is-in .tvo-w{opacity:1;transform:none}
	.tvo-motion [data-tvo-split] mark.tvo-hl{transition:background-size 900ms var(--ease);transition-delay:calc(var(--hl,4) * 55ms + 420ms)}
	.tvo-motion [data-tvo-split]:not(.is-in) mark.tvo-hl{background-size:0% 62%}
	.tvo-motion .tvo-night [data-tvo-split]:not(.is-in) mark.tvo-hl,.tvo-motion [data-theme=dark] [data-tvo-split]:not(.is-in) mark.tvo-hl{background-size:0% .09em}
	.tvo-motion .tvo-draw{stroke-dasharray:1 2;stroke-dashoffset:1.01;transition:stroke-dashoffset var(--dur-draw) var(--ease-io);transition-delay:calc(var(--d,0) * 90ms)}
	.tvo-motion .is-drawn .tvo-draw{stroke-dashoffset:0}
	.tvo-motion .tvo-fill{opacity:0;transition:opacity 700ms var(--ease) 900ms}
	.tvo-motion .is-drawn .tvo-fill{opacity:1}
	.tvo-motion .tvo-pin{transform-box:fill-box;transform-origin:50% 100%;transform:translateY(-36%);opacity:0;transition:transform 900ms var(--ease) 500ms,opacity 400ms var(--ease) 500ms}
	.tvo-motion .is-drawn .tvo-pin{transform:none;opacity:1}
	.tvo-motion .tvo-pulse{transform-box:fill-box;transform-origin:50% 50%;transform:scale(.3);opacity:0;transition:transform 1400ms var(--ease) 900ms,opacity 1400ms var(--ease) 900ms}
	.tvo-motion .is-drawn .tvo-pulse{transform:none;opacity:1}
	.tvo-motion .tvo-disc{transform-box:fill-box;transform-origin:50% 100%;transform:scale(.86);opacity:0;transition:transform 1400ms var(--ease) 120ms,opacity 900ms var(--ease) 120ms}
	.tvo-motion .is-drawn .tvo-disc{transform:none;opacity:1}
}
.tvo-no-motion *,.tvo-no-motion *::before,.tvo-no-motion *::after{animation:none!important;transition:none!important}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* ---------------------------------------------------------------- In */
@media print{
	.tvo-header,.tvo-dock,.tvo-menu,.tvo-footer__cta,.tvo-share,.tvo-cta-card,.tvo-related,.tvo-lane,.tvo-ticker,.post-navigation,.tvo-comments{display:none!important}
	body{background:#fff;color:#000;padding:0!important}
	.tvo-night,.tvo-footer{background:#fff;color:#000;--ink:#000;--muted:#333}
	a{text-decoration:underline}
	.tvo-prose a[href^="http"]::after{content:" (" attr(href) ")";font-size:.8em}
	[data-tvo-reveal],.tvo-w,.tvo-fill,.tvo-pin,.tvo-pulse,.tvo-disc{opacity:1!important;transform:none!important}
	.tvo-draw{stroke-dashoffset:0!important}
}

/* Nhóm nút trong thẻ cửa hàng: lưới đều, nút lẻ cuối cùng trải hết hàng. */
.tvo-store .tvo-actions--inline{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))}
.tvo-store .tvo-actions--inline>.tvo-btn{max-width:none}
.tvo-store .tvo-actions--inline>.tvo-btn:last-child:nth-child(odd){grid-column:1/-1}
