/* Theme "Công nghiệp & Máy móc" (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 thông số kỹ thuật: hàng tiêu đề nền khối, sọc xen kẽ, cột đầu đậm. */
:root {
  --bg: #FFFFFF; --surface: #F1F4F7; --paper: #FFFFFF; --ink: #0F1B2A; --muted: #546273; --line: #DCE2E9;
  --accent: #F2A900; --accent-dark: #C98C00; --on-accent: #111111; --link: #0B4F8A;
  --band: #0C2340; --on-band: #F2F5F9; --band-muted: #A8B6C7; --band-line: rgba(242, 245, 249, .14);
  --chip: #FFF3CC; --chip-ink: #6B4B00;
  --display: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --display-weight: 700;
  --r: 4px; --space: clamp(48px, 6vw, 92px);
  --hazard: repeating-linear-gradient(-45deg, var(--accent) 0 10px, var(--ink) 10px 20px);
  --grid-lines: linear-gradient(rgba(242, 245, 249, .06) 1px, transparent 1px) 0 0 / 32px 32px,
                linear-gradient(90deg, rgba(242, 245, 249, .06) 1px, transparent 1px) 0 0 / 32px 32px;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.05; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
.cb-eyebrow, h6 { letter-spacing: .18em; color: var(--accent-dark); }

/* Nút: vuông vức, chữ in hoa đậm; nút chính vàng chữ tối */
.cb-btn, .blk-btn:not(.blk-btn--link) { border-radius: var(--r); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; font-weight: 700; padding-inline: 24px; }
.cb-btn--secondary, .blk-btn--secondary { border-width: 2px; }
.cb-btn--primary:hover, .blk-btn--primary:hover { transform: translateY(-1px); }
.cb-chip { border-radius: var(--r); text-transform: uppercase; letter-spacing: .06em; }
.cb-icon-btn, .cb-menu-btn { border-radius: var(--r); }

/* Đầu trang: menu chữ in hoa nhỏ; nền trắng có vạch khối dưới (chỉ khi Nền sáng) */
.cb-skin-cong-nghiep.cb-hs-sang .cb-header { background: var(--bg); border-bottom: 0; box-shadow: inset 0 -3px 0 var(--band); }
.cb-menu__link { text-transform: uppercase; letter-spacing: .06em; font-size: 13px; font-weight: 700; }

/* Phần nội dung: không vạch kẻ, xen nền trắng / xám thép */
.blk-section { border-top: 0; }

/* Tiêu đề phần: vạch sọc cảnh báo 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: 56px; height: 8px; margin-bottom: 18px; background: var(--hazard); }
.cb-page-body > .blk-section--band > .blk-section__inner > .blk-heading:first-child::before { background: repeating-linear-gradient(-45deg, var(--band-btn, var(--accent)) 0 10px, transparent 10px 20px); }

/* Khối mở đầu (dải tối đầu trang): lưới bản vẽ + bánh răng nét mảnh + sọc cảnh báo ở mép dưới */
.cb-page-body > .blk-section--band:first-child {
  position: relative; overflow: hidden; padding-block: clamp(76px, 10vw, 150px) clamp(84px, 11vw, 160px);
  background: var(--grid-lines), radial-gradient(ellipse at 80% 30%, rgba(242, 245, 249, .07), transparent 60%), var(--band);
}
.cb-page-body > .blk-section--band:first-child::before {
  content: ''; position: absolute; right: clamp(-90px, -2vw, 40px); top: 50%; width: clamp(240px, 34vw, 480px); aspect-ratio: 1; transform: translateY(-50%); opacity: .16; pointer-events: none;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23F2F5F9'%3E%3Ccircle cx='100' cy='100' r='74' stroke-width='20' stroke-dasharray='16 13'/%3E%3Ccircle cx='100' cy='100' r='56' stroke-width='3'/%3E%3Ccircle cx='100' cy='100' r='20' stroke-width='3'/%3E%3Cpath d='M100 44v24M100 132v24M44 100h24M132 100h24' stroke-width='3'/%3E%3C/svg%3E");
}
.cb-page-body > .blk-section--band:first-child::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--hazard); }
.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: 18ch; }
.cb-page-body > .blk-section--band:first-child .blk-rich-text { font-size: clamp(17px, 1.5vw, 19px); color: var(--band-muted); max-width: 40em; }

/* Đầu trang con: dải tối có lưới bản vẽ */
.cb-page-head { background: var(--grid-lines), var(--band); color: var(--on-band); padding-block: clamp(36px, 5vw, 72px); }
.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, viền mảnh, vạch khối trên đầu — rê chuột vạch chuyển vàng */
.blk-cards:not(.blk-cards--stats) .blk-card, .blk-post-list .blk-card, .cb-tile {
  padding: 20px 20px 22px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--band); 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-top-color: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 28px -18px rgba(12, 35, 64, .45); }
.blk-cards:not(.blk-cards--stats) .blk-card:has(> .cb-media) { padding-top: 0; }
.blk-card img, .cb-media img { border-radius: 0; }
.blk-card :is(h2, h3, h4) { font-weight: 700; letter-spacing: -.01em; }
.blk-section--band .blk-cards:not(.blk-cards--stats) .blk-card { background: rgba(242, 245, 249, .04); border-color: var(--band-line); border-top-color: var(--band-btn, var(--accent)); }
.blk-cards--stats .blk-card :is(h2, h3, h4, h5) { font-family: var(--display); font-weight: 800; }

/* Bảng thông số kỹ thuật (bảng trong khối văn bản) */
.blk-rich-text table, .blk-html table { display: table; width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; border: 1px solid var(--line); }
.blk-rich-text th, .blk-html th { background: var(--band); color: var(--on-band); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-color: var(--band); }
.blk-rich-text tbody tr:nth-child(even) td, .blk-html tbody tr:nth-child(even) td { background: var(--surface); }
.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-section--band .blk-rich-text table { border-color: var(--band-line); }
.blk-section--band .blk-rich-text td { border-color: var(--band-line); }
.blk-section--band .blk-rich-text tbody tr:nth-child(even) td { background: rgba(242, 245, 249, .04); }
.blk-section--band .blk-rich-text td:first-child { color: var(--on-band); }
/* 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: 860px; }
.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: dấu vuông vàng */
.blk-rich-text ul { list-style: none; padding-left: 0; }
.blk-rich-text ul > li { position: relative; padding-left: 22px; }
.blk-rich-text ul > li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; background: var(--accent); }

/* Kêu gọi, câu hỏi, ảnh */
.blk-cta { border-radius: var(--r); }
.blk-faq details { border-radius: var(--r); }
.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: 600; }
.cb-product { border-radius: var(--r); }

@media (max-width: 719.98px) {
  .cb-page-body > .blk-section--band:first-child::before { opacity: .08; }
  .blk-rich-text table, .blk-html table { display: block; overflow-x: auto; }
  .blk-rich-text td:first-child, .blk-html td:first-child, .blk-rich-text th:first-child, .blk-html th:first-child { min-width: 8.5em; }
}
