/* Theme "Vận tải & Taxi" (ADR-0054 bổ sung) — kế thừa "Cơ bản": chỉ đổi lớp hiển thị (chủ doanh nghiệp 21/11/2026). Màu / font của
 * hồ sơ website (biến :root ghi sau file này) vẫn thắng — không dùng !important cho màu. Nền đầu trang chỉ tô khi web chọn "Nền sáng"
 * (.cb-hs-sang) để lựa chọn Nền tối / Màu thương hiệu (ADR-0055 mục 5) giữ nguyên.
 * Bảng trong khối văn bản = bảng giá cước: đầu bảng nền khối chữ vàng, cột giá căn phải chữ đậm. */
:root {
  --bg: #FFFFFF; --surface: #F6F5F1; --paper: #FFFFFF; --ink: #141414; --muted: #5C5C58; --line: #E7E5DF;
  --accent: #FFC400; --accent-dark: #E0A800; --on-accent: #141414; --link: #0A7A50;
  --band: #151515; --on-band: #F7F7F2; --band-muted: #B8B8B0; --band-line: rgba(247, 247, 242, .14);
  --chip: #FFF3C4; --chip-ink: #5C4500;
  --display: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --display-weight: 800;
  --r: 14px; --space: clamp(48px, 6vw, 92px);
  --checker: conic-gradient(var(--ink) 25%, var(--accent) 0 50%, var(--ink) 0 75%, var(--accent) 0) 0 0 / 16px 16px;
  --go: #12B76A;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(38px, 5.6vw, 70px); line-height: 1.02; }
h2 { font-size: clamp(27px, 3.3vw, 42px); }
.cb-eyebrow, h6 { color: var(--ink); background: var(--accent); display: inline-block; padding: 4px 10px; border-radius: 999px; letter-spacing: .12em; }

/* Nút: viên tròn, to, chữ đậm; nút chính vàng chữ đen */
.cb-btn, .blk-btn:not(.blk-btn--link) { border-radius: 999px; padding-inline: 28px; font-weight: 800; letter-spacing: .01em; }
.cb-btn--lg { font-size: 17px; }
.cb-btn--primary, .blk-btn--primary { box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--accent) 85%, #000); }
.cb-btn--primary:hover, .blk-btn--primary:hover { transform: translateY(-1px); }
.cb-btn--secondary, .blk-btn--secondary { border-width: 2px; }
.cb-chip { border-radius: 999px; }
.cb-icon-btn, .cb-menu-btn { border-radius: 999px; }

/* Thanh trên = dải vàng nổi số hotline; đầu trang trắng (chỉ khi Nền sáng) */
.cb-topbar { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.cb-topbar a, .cb-topbar__contact span:not(:first-child) { color: var(--on-accent); }
.cb-skin-van-tai.cb-hs-sang .cb-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.cb-menu__link { font-weight: 700; }

/* Phần nội dung: không vạch kẻ */
.blk-section { border-top: 0; }

/* Tiêu đề phần: dải ô cờ nhỏ thay vạch mảnh */
.cb-page-body > .blk-section:not(:first-child) > .blk-section__inner > .blk-heading:first-child::before,
.cb-page-body > .blk-section:not(:first-child) > .blk-section__inner > .blk-group:first-child > .blk-heading:first-child::before,
.blk-media-text__body > :is(h2, h3):first-child::before { width: 48px; height: 16px; margin-bottom: 18px; background: var(--checker); border-radius: 2px; }
.cb-page-body > .blk-section--band > .blk-section__inner > .blk-heading:first-child::before { background: conic-gradient(var(--band-btn, var(--accent)) 25%, transparent 0 50%, var(--band-btn, var(--accent)) 0 75%, transparent 0) 0 0 / 16px 16px; }

/* Khối mở đầu (dải đen đầu trang): ánh đèn vàng, xe nét mảnh, dải ô cờ ở mép dưới */
.cb-page-body > .blk-section--band:first-child {
  position: relative; overflow: hidden; padding-block: clamp(76px, 10vw, 150px) clamp(92px, 12vw, 170px);
  background: radial-gradient(ellipse at 88% 25%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 55%), var(--band);
}
.cb-page-body > .blk-section--band:first-child::before {
  content: ''; position: absolute; right: clamp(-70px, 1vw, 50px); bottom: 34px; width: clamp(260px, 36vw, 520px); aspect-ratio: 2; opacity: .2; pointer-events: none;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 120' fill='none' stroke='%23F7F7F2' stroke-width='4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M20 82V66q0-10 10-13l26-6q12-22 30-25l50-1q18 1 30 20l36 8q14 3 16 18v15z'/%3E%3Cpath d='M92 46l14-17h40l16 17z'/%3E%3Crect x='112' y='8' width='34' height='11' rx='3'/%3E%3Ccircle cx='66' cy='86' r='15'/%3E%3Ccircle cx='182' cy='86' r='15'/%3E%3Cpath d='M4 108h232' stroke-dasharray='18 14'/%3E%3C/svg%3E");
}
.cb-page-body > .blk-section--band:first-child::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 16px; background: var(--checker); }
.cb-page-body > .blk-section--band:first-child > .blk-section__inner { position: relative; z-index: 1; }
.cb-page-body > .blk-section--band:first-child h1 { max-width: 16ch; }
.cb-page-body > .blk-section--band:first-child .blk-rich-text { font-size: clamp(17px, 1.5vw, 20px); color: var(--band-muted); max-width: 38em; }
.cb-page-body > .blk-section--band:first-child .blk-btn { font-size: 17px; min-height: 54px; padding-inline: 32px; }

/* Đầu trang con: nền đen, ô cờ mép dưới */
.cb-page-head { position: relative; background: var(--band); color: var(--on-band); padding-block: clamp(36px, 5vw, 72px) clamp(46px, 6vw, 84px); }
.cb-page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--checker); background-size: 10px 10px; }
.cb-page-head h1, .cb-page-head h2 { color: var(--on-band); }
.cb-page-head a, .cb-page-head .cb-breadcrumb, .cb-page-head .cb-muted { color: var(--band-muted); }

/* Thẻ: trắng bo tròn, viền mảnh; rê chuột viền vàng + nổi */
.blk-cards:not(.blk-cards--stats) .blk-card, .blk-post-list .blk-card, .cb-tile {
  padding: 20px 20px 22px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.blk-cards:not(.blk-cards--stats) .blk-card:hover, .cb-tile:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(20, 20, 20, .4); }
.blk-cards:not(.blk-cards--stats) .blk-card:has(> .cb-media) { padding-top: 12px; }
.blk-card img, .cb-media img { border-radius: calc(var(--r) - 4px); }
.blk-card :is(h2, h3, h4) { font-weight: 800; }
.blk-section--band .blk-cards:not(.blk-cards--stats) .blk-card { background: rgba(247, 247, 242, .05); border-color: var(--band-line); }
.blk-section--band .blk-cards:not(.blk-cards--stats) .blk-card:hover { border-color: var(--band-btn, var(--accent)); }

/* Bảng giá cước (bảng trong khối văn bản) */
.blk-rich-text table, .blk-html table { display: table; width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; font-variant-numeric: tabular-nums; border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; }
.blk-rich-text th, .blk-html th { background: var(--band); color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; border: 0; padding: 12px 14px; }
.blk-rich-text td, .blk-html td { border: 0; border-top: 1px dashed var(--line); padding: 14px; }
.blk-rich-text tbody tr:first-child td, .blk-html tbody tr:first-child td { border-top: 0; }
.blk-rich-text td:first-child, .blk-html td:first-child { font-weight: 700; color: var(--ink); }
.blk-rich-text td small, .blk-html td small { display: block; margin-top: 2px; font-weight: 400; color: var(--muted); font-size: 13px; }
.blk-rich-text :is(td, th):not(:first-child), .blk-html :is(td, th):not(:first-child) { text-align: right; white-space: nowrap; }
.blk-rich-text td:not(:first-child), .blk-html td:not(:first-child) { font-weight: 800; font-size: 17px; }
.blk-rich-text tbody tr:hover td, .blk-html tbody tr:hover td { background: var(--chip); }
/* Phần có tiêu đề căn giữa: bảng / đoạn / nút căn giữa theo */
.blk-section__inner:has(> .blk-heading.blk-center:first-child) > .blk-rich-text { margin-inline: auto; max-width: 820px; }
.blk-section__inner:has(> .blk-heading.blk-center:first-child) > .blk-rich-text > p { text-align: center; }
.blk-section__inner:has(> .blk-heading.blk-center:first-child) > .blk-buttons { justify-content: center; }

/* Danh sách: chấm xanh "xe sẵn sàng" */
.blk-rich-text ul { list-style: none; padding-left: 0; }
.blk-rich-text ul > li { position: relative; padding-left: 24px; }
.blk-rich-text ul > li::before { content: ''; position: absolute; left: 3px; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 3px color-mix(in srgb, var(--go) 22%, transparent); }

/* Kêu gọi, câu hỏi, ảnh */
.blk-cta { border-radius: var(--r); }
.blk-faq details { border-radius: 12px; }
.blk-gallery img, .blk-image img { border-radius: var(--r); }
.blk-rich-text blockquote { border-left: 4px solid var(--accent); font-family: var(--body); font-style: normal; font-weight: 700; }
.cb-product { border-radius: var(--r); }

@media (max-width: 719.98px) {
  .cb-page-body > .blk-section--band:first-child::before { opacity: .1; }
  .cb-page-body > .blk-section--band:first-child .blk-btn { width: 100%; }
  /* Bảng giá vừa khít màn hình điện thoại: chữ nhỏ hơn, tiêu đề cột và giá dài được xuống dòng */
  .blk-rich-text table, .blk-html table { font-size: 14px; }
  .blk-rich-text th, .blk-html th { white-space: normal; padding: 10px 8px; font-size: 11px; letter-spacing: .05em; }
  .blk-rich-text td, .blk-html td { padding: 12px 8px; }
  .blk-rich-text td:not(:first-child), .blk-html td:not(:first-child) { font-size: 15px; white-space: normal; }
}
