/* IMP Kitchen 2.9.2 – lớp giao diện đen than cho mọi trang con (đồng bộ trang chủ) */
html body:not(.home) {
  --imp-page: #1a1a1a; --imp-card: #222222; --imp-cream: #222222; --imp-ivory: #1a1a1a;
  --imp-ink: #0f0f0f; --imp-ink-2: #141414; --imp-black: #ffffff; --imp-char: rgba(255,255,255,.78); --imp-char-2: #2a2a2a;
  --imp-stone: rgba(255,255,255,.52); --imp-sand: rgba(255,255,255,.62); --imp-mist: rgba(255,255,255,.14);
  --imp-champ: #ffffff; --imp-white: #ffffff;
  --imp-line-d: rgba(255,255,255,.14); --imp-line-l: rgba(255,255,255,.12);
  --imp-r: 0px; --imp-r-sm: 0px;
  --imp-serif: "Inter", -apple-system, "Segoe UI", Arial, sans-serif; --imp-sans: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  --sd-bg: #1a1a1a; --sd-card: #222; --sd-w: #fff; --sd-t: rgba(255,255,255,.8); --sd-mu: rgba(255,255,255,.52); --sd-ln: rgba(255,255,255,.12);
  --sd-f: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
}
/* trang tự đóng gói biến màu riêng (.imp-pg, .imp-kb, .imp-cs) */
html body:not(.home) :is(.imp-pg, .imp-kb, .imp-cs, .imp-lp) { --ink: #1a1a1a !important; --ink2: #222 !important; --cream: #ffffff !important; --sand: rgba(255,255,255,.62) !important; --mute: rgba(255,255,255,.52) !important; }
/* nền */
html body:not(.home), html body:not(.home) #wrapper, html body:not(.home) #main, html body:not(.home) .page-wrapper, html body:not(.home) .imp-qd, html body:not(.home) :is(.imp-pg, .imp-kb, .imp-cs, .imp-lp), html body:not(.home) #content, html body:not(.home) .blog-wrapper { background: var(--sd-bg) !important; color: var(--sd-t) !important; }
html body:not(.home) :is(.imp-sec--light, .imp-sec, .section, .section-bg, .imp-band, .imp-arch-head) { background-color: transparent !important; }
html body:not(.home) .section-bg.bg-loaded, html body:not(.home) .section-bg .bg { background-color: transparent !important; }
/* chữ */
html body:not(.home) :is(#main, #content) :is(h1, h2, h3, h4, h5, h6, .imp-display, .imp-h1, .imp-h2, .imp-h3, .imp-tieu-de, .entry-title) { font-family: var(--sd-f) !important; font-weight: 300 !important; color: var(--sd-w) !important; letter-spacing: -.01em !important; text-transform: none !important; }
html body:not(.home) :is(#main, #content) :is(h1, .imp-display, .entry-title) { font-size: clamp(32px, 1.1rem + 2.6vw, 54px) !important; line-height: 1.1 !important; }
html body:not(.home) :is(#main, #content) h2 { font-size: clamp(26px, 1rem + 1.6vw, 40px) !important; line-height: 1.18 !important; }
html body:not(.home) :is(#main, #content) h3 { font-size: clamp(19px, .9rem + .6vw, 24px) !important; line-height: 1.3 !important; }
html body:not(.home) :is(#main, #content) :is(h1, h2, h3) em { font-style: normal !important; color: var(--sd-mu) !important; }
html body:not(.home) :is(#main, #content) :is(p, li, td, th, dd, dt, label, address, blockquote, figcaption, .imp-body, span, small) { font-family: var(--sd-f) !important; }
html body:not(.home) :is(#main, #content) :is(p, li, td, dd, address, .imp-body) { color: var(--sd-t) !important; font-weight: 300; }
html body:not(.home) :is(#main, #content) :is(strong, b) { color: var(--sd-w) !important; font-weight: 500 !important; }
html body:not(.home) :is(#main, #content) :is(.imp-label, .imp-eyebrow, .lb, .imp-cap, .imp-caption, small, .note) { color: var(--sd-mu) !important; letter-spacing: .02em !important; text-transform: none !important; }
html body:not(.home) :is(#main, #content) a:not(.imp-btn):not(.button):not(.btn):not(.imp-card):not([class*="__btn"]) { color: var(--sd-w) !important; }
html body:not(.home) :is(#main, #content) hr { border-color: var(--sd-ln) !important; }
/* nút: trắng vuông, viền trắng cho nút phụ */
html body:not(.home) :is(#main, #content) :is(.imp-btn, .button, .btn, .ff-btn-submit, button[type="submit"], .imp-cta) { background: #fff !important; color: #111 !important; border: 1px solid #fff !important; border-radius: 0 !important; box-shadow: none !important; font-family: var(--sd-f) !important; font-weight: 400 !important; letter-spacing: .01em !important; text-transform: none !important; }
html body:not(.home) :is(#main, #content) :is(.imp-btn, .button, .btn, .ff-btn-submit, .imp-cta) * { color: #111 !important; }
html body:not(.home) :is(#main, #content) :is(.imp-btn--ghost, .button.is-outline, .btn--ghost, .btn.ghost, .btn2) { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.4) !important; }
html body:not(.home) :is(#main, #content) :is(.imp-btn--ghost, .button.is-outline, .btn--ghost, .btn.ghost, .btn2) * { color: #fff !important; }
html body:not(.home) :is(#main, #content) :is(.imp-btn, .button, .btn):hover { background: #d9d9d9 !important; }
html body:not(.home) :is(#main, #content) :is(.imp-btn--ghost, .button.is-outline):hover { background: rgba(255,255,255,.08) !important; }
/* thẻ, khung, bảng */
html body:not(.home) :is(#main, #content) :is(.imp-card, .imp-tile, .imp-mat, .imp-faq__item, .imp-step, .imp-box, .card, .box, .imp-note, .imp-kv, .imp-stat, details, .gk-card, .imp-proj__item, .imp-zone, .imp-price, .imp-cmp, .imp-kb__card, .row-box) { background-color: var(--sd-card) !important; border-color: var(--sd-ln) !important; border-radius: 0 !important; box-shadow: none !important; }
html body:not(.home) :is(#main, #content) table { border-color: var(--sd-ln) !important; background: transparent !important; }
html body:not(.home) :is(#main, #content) :is(th, td) { border-color: var(--sd-ln) !important; background: transparent !important; }
html body:not(.home) :is(#main, #content) th { color: var(--sd-w) !important; font-weight: 400 !important; }
html body:not(.home) :is(#main, #content) img { border-radius: 0 !important; }
/* form */
html body:not(.home) :is(#main, #content) :is(.ff-el-form-control, input[type="text"], input[type="tel"], input[type="email"], textarea, select) { background: transparent !important; border: 0 !important; border-bottom: 1px solid rgba(255,255,255,.25) !important; border-radius: 0 !important; box-shadow: none !important; color: #fff !important; font-family: var(--sd-f) !important; }
html body:not(.home) :is(#main, #content) select option { color: #111; }
html body:not(.home) :is(#main, #content) .ff-el-input--label label { color: var(--sd-mu) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 300 !important; }
html body:not(.home) :is(#main, #content) :is(.gk-form__box, .imp-form, .ff-form-wrap, .fluentform) { background: transparent !important; box-shadow: none !important; }
/* Flatsome: tab, trang tin tức, bài viết */
html body:not(.home) .nav-pills > li > a, html body:not(.home) .tabbed-content .nav > li > a { background: transparent !important; border: 1px solid var(--sd-ln) !important; border-radius: 0 !important; color: var(--sd-t) !important; font-family: var(--sd-f) !important; }
html body:not(.home) .nav-pills > li.active > a { background: #fff !important; color: #111 !important; }
html body:not(.home) :is(.box-text, .post-item .box-text, .entry-content, .entry-header, .article-inner, .widget, .post-sidebar, aside) { background: transparent !important; color: var(--sd-t) !important; border-color: var(--sd-ln) !important; box-shadow: none !important; }
html body:not(.home) .badge-inner, html body:not(.home) .is-divider { background-color: #fff !important; color: #111 !important; }
/* header chung: kính tối, chữ Inter mảnh như trang chủ */
html body:not(.home) .header-wrapper, html body:not(.home) .header-wrapper .header-main, html body:not(.home) .header-wrapper .header-bg-color, html body:not(.home) .header-wrapper.stuck, html body:not(.home) .header-wrapper.stuck .header-main { background: rgba(20,20,20,.82) !important; box-shadow: none !important; -webkit-backdrop-filter: blur(14px) !important; backdrop-filter: blur(14px) !important; }
html body:not(.home) #header .header-wrapper { background: var(--sd-bg) !important; }
html body:not(.home) #header :is(.header-nav-main > li > a, .nav > li > a) { font-family: var(--sd-f) !important; font-weight: 300 !important; color: rgba(255,255,255,.82) !important; }
html body:not(.home) #header .header-nav-main > li.active > a, html body:not(.home) #header .header-nav-main > li > a:hover { color: #fff !important; }
html body:not(.home) #header #masthead .header-nav-main > li:last-child > a { background: #fff !important; color: #111 !important; border: 0 !important; border-radius: 0 !important; font-weight: 400 !important; }
/* sửa sau khi soát từng trang */
html body:not(.home) #main .section > .section-bg.fill, html body:not(.home) #main [id^="section_"] > .section-bg { background-color: transparent !important; background-image: none !important; }
html body:not(.home) #main .nav-pills > li.active > a, html body:not(.home) #main .nav-pills > li.active > a * { background: #fff !important; color: #111 !important; }
html body:not(.home) #main .nav-pills > li > a * { color: inherit !important; }
html body:not(.home) #main :is(.imp-plan, .imp-layout__fig svg, .gz, .gc) { color: rgba(255,255,255,.88) !important; }
html body:not(.home) #main .imp-layout__fig { background: #222 !important; border-color: var(--sd-ln) !important; }
html body:not(.home) #main :is(.imp-hero2__grid img, .imp-media, .imp-media img, .img-inner, .img-inner img) { border-radius: 0 !important; }
/* bio /huy: bỏ champagne, chữ Inter như trang chủ */
html body:not(.home) #imp-bio { --ch: #ffffff; --ch2: rgba(255,255,255,.5); background: #1a1a1a; }
html body:not(.home) #imp-bio :is(h1.b-nm, .b-tl, .b-vals b, .b-cap) { font-family: "Inter", Arial, sans-serif !important; font-style: normal !important; font-weight: 300 !important; }
html body:not(.home) #imp-bio .b-rl, html body:not(.home) #imp-bio .b-h p { color: rgba(255,255,255,.55) !important; letter-spacing: .04em !important; text-transform: none !important; }
html body:not(.home) #imp-bio .b-cta { background: #fff !important; border-radius: 0 !important; }
html body:not(.home) #imp-bio .b-cta b { letter-spacing: .02em !important; text-transform: none !important; font-weight: 500 !important; }
html body:not(.home) #imp-bio .b-alt a { border-radius: 0 !important; border-color: rgba(255,255,255,.35) !important; text-transform: none !important; letter-spacing: .01em !important; }
html body:not(.home) #imp-bio .b-av { border-color: rgba(255,255,255,.5) !important; }
html body:not(.home) #imp-bio .b-g figure { border-radius: 0 !important; }
html body:not(.home) #imp-bio .b-cta, html body:not(.home) #imp-bio .b-cta * { color: #111 !important; }
html:has(body:not(.home).imp-kitchen) { background: #1a1a1a !important; }
html body:not(.home) :is(#main, #content) :is(.imp-btn--ghost, .button.is-outline, .btn--ghost, .btn.ghost, .btn2):is(:hover, :focus, :active) { background: rgba(255,255,255,.1) !important; color: #fff !important; }
html body:not(.home) :is(#main, #content) :is(.imp-btn, .button, .btn):not(.imp-btn--ghost):not(.is-outline):not(.btn--ghost):not(.ghost):not(.btn2):is(:hover, :focus) * { color: #111 !important; }
/* lưới bài viết trong trang Kiến thức */
html body .imp-posts { margin: 72px 0 0; padding-top: 40px; border-top: 1px solid var(--sd-ln, rgba(255,255,255,.12)); }
html body .imp-posts__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
html body .imp-posts__head span { font-size: 13px; color: rgba(255,255,255,.5) !important; }
html body .imp-posts__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
html body a.imp-posts__item { display: flex; flex-direction: column; gap: 10px; color: #fff !important; text-decoration: none !important; background: none !important; }
html body .imp-posts__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #222; }
html body .imp-posts__img img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
html body a.imp-posts__item:hover .imp-posts__img img { transform: scale(1.05); }
html body .imp-posts__meta { font-size: 12px !important; color: rgba(255,255,255,.5) !important; }
html body .imp-posts__t { font-size: 15.5px !important; line-height: 1.45 !important; font-weight: 400 !important; color: #fff !important; }
html body .imp-posts__more { margin-top: 36px !important; }
@media (max-width: 849px) { html body .imp-posts__grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }
@media (max-width: 549px) { html body .imp-posts__grid { grid-template-columns: 1fr; } }
html body .imp-posts { width: min(1152px, calc(100% - 40px)); margin: 72px auto 96px !important; }
html body .imp-posts__head h2 { margin: 0 !important; }
html body .imp-posts__head span { white-space: nowrap; }
html body:not(.home) .imp-chips .imp-chip { border-radius: 0 !important; border: 1px solid rgba(255,255,255,.22) !important; background: transparent !important; color: rgba(255,255,255,.75) !important; font-family: var(--sd-f) !important; text-transform: none !important; letter-spacing: 0 !important; }
html body:not(.home) .imp-chips .imp-chip.is-on, html body:not(.home) .imp-chips .imp-chip:hover { background: #fff !important; color: #111 !important; border-color: #fff !important; }
html body:not(.home) #main .imp-chips a.imp-chip.is-on, html body:not(.home) #main .imp-chips a.imp-chip:hover { color: #111 !important; }
/* bài vật liệu */
html body .vl-art { max-width: 760px; margin: 0 auto; padding: 8px 0 24px; }
html body .vl-art .lead, html body .vl-art p.lead { font-size: 17.5px !important; line-height: 1.75 !important; color: #fff !important; }
html body .vl-art h2 { margin: 48px 0 14px !important; font-size: clamp(22px, 1rem + 1vw, 28px) !important; }
html body .vl-art ul { margin: 0 0 16px 1.1em !important; }
html body .vl-art li { margin: 0 0 8px !important; line-height: 1.7 !important; }
html body .vl-art figure.vl-fig { margin: 32px 0 !important; }
html body .vl-art figure.vl-fig img { width: 100%; height: auto; display: block; }
html body .vl-art figcaption { margin-top: 10px; font-size: 12.5px !important; color: rgba(255,255,255,.5) !important; }
html body .imp-yt { margin: 18px 0 8px !important; }
html body .imp-yt__btn { all: unset; cursor: pointer; position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
html body .imp-yt__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: opacity .4s, transform 1s; }
html body .imp-yt__btn:hover img { opacity: .95; transform: scale(1.02); }
html body .imp-yt__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(255,255,255,.92); }
html body .imp-yt__play::after { content: ""; position: absolute; left: 29px; top: 23px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #111; }
html body .imp-yt iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; display: block; }
html body .imp-yt figcaption { margin-top: 10px; font-size: 12.5px !important; color: rgba(255,255,255,.5) !important; }
html body .vl-faq details { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; }
html body .vl-faq details:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
html body .vl-faq summary { cursor: pointer; font-size: 16px; font-weight: 400; color: #fff; list-style: none; position: relative; padding-right: 28px; }
html body .vl-faq summary::-webkit-details-marker { display: none; }
html body .vl-faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 22px; font-weight: 300; }
html body .vl-faq details[open] summary::after { content: "–"; }
html body .vl-faq details p { margin: 10px 0 0 !important; }
html body .vl-art .vl-mats { margin: 28px 0 8px; }
html body .vl-art .vl-mats--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
html body .vl-art .vl-mats figure.vl-fig { margin: 0 !important; }
html body .vl-art .vl-mats img { aspect-ratio: 4 / 3; object-fit: cover; }
html body .vl-art .vl-credit { display: block; margin-top: 4px; font-size: 11px; color: rgba(255,255,255,.38); }
@media (max-width: 549px) { html body .vl-art .vl-mats--2 { grid-template-columns: 1fr; } }
html body .imp-mat .imp-mat__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin: -1px -1px 14px; background: #111; }
html body .imp-mat .imp-mat__img img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
html body .imp-mat:hover .imp-mat__img img { transform: scale(1.05); }
/* Trang Vật liệu 4 nhóm */
html body .vl-hub { width: min(1152px, calc(100% - 40px)); margin: 0 auto; padding: clamp(110px, 12vw, 150px) 0 40px; color: rgba(255,255,255,.8); font-family: "Inter", Arial, sans-serif; }
html body .vl-hub .vl-label { font-size: 13px !important; color: rgba(255,255,255,.5) !important; margin: 0 0 14px !important; }
html body .vl-hub .vl-label a { color: rgba(255,255,255,.7) !important; }
html body .vl-hub h1 { margin: 0 !important; }
html body .vl-hub__lead { max-width: 40em; margin: 20px 0 0 !important; font-size: 16px !important; line-height: 1.7 !important; }
html body .vl-hub__video { margin: 48px 0 0; }
html body .vl-hub__video .imp-yt { margin: 0 !important; }
html body .vl-cap { margin: 10px 0 0 !important; font-size: 12.5px !important; color: rgba(255,255,255,.5) !important; }
html body .vl-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 56px 0 0; }
html body a.vl-group { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: #fff !important; background: #111; }
html body .vl-group__img, html body .vl-group__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0 !important; }
html body .vl-group__img img { transition: transform 1.4s cubic-bezier(.22,1,.36,1); }
html body .vl-group::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78) 100%); }
html body a.vl-group:hover .vl-group__img img { transform: scale(1.06); }
html body .vl-group__no, html body .vl-group__name, html body .vl-group__n { position: absolute; left: 20px; right: 20px; z-index: 1; }
html body .vl-group__no { top: 18px; font-size: 12px; color: rgba(255,255,255,.75); }
html body .vl-group__name { bottom: 44px; font-size: 21px !important; font-weight: 300 !important; line-height: 1.25; }
html body .vl-group__n { bottom: 20px; font-size: 12.5px; color: rgba(255,255,255,.65); }
html body .vl-sec { margin: 88px 0 0; }
html body .vl-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
html body .vl-sec__head p:not(.vl-label) { margin: 12px 0 0 !important; max-width: 38em; color: rgba(255,255,255,.62) !important; font-size: 14.5px !important; }
html body .vl-sec__head h2 { margin: 0 !important; }
html body a.vl-more { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; color: #fff !important; font-size: 14px !important; }
html body a.vl-more i { width: 6px; height: 6px; border-radius: 50%; background: #fff; transition: transform .5s; }
html body a.vl-more:hover i { transform: scale(2); }
html body .vl-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 20px; }
html body a.vl-card { display: flex; flex-direction: column; gap: 8px; color: #fff !important; }
html body .vl-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #222; margin-bottom: 8px; }
html body .vl-card__img img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
html body a.vl-card:hover .vl-card__img img { transform: scale(1.05); }
html body .vl-card__name { font-size: 17px !important; font-weight: 400 !important; }
html body .vl-card__d { font-size: 13.5px !important; line-height: 1.6 !important; color: rgba(255,255,255,.6) !important; }
html body .vl-card__go { margin-top: 4px; font-size: 13px !important; color: #fff !important; }
html body .vl-ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, #202020 0 12px, #242424 12px 24px); border: 1px solid rgba(255,255,255,.08); text-align: center; }
html body .vl-ph span { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.45); letter-spacing: .02em; }
html body .vl-ph--lg { aspect-ratio: 16 / 9; }
html body .vl-pending { margin: 32px 0; padding: 22px 24px; border: 1px solid rgba(255,255,255,.14); background: #202020; }
html body .vl-pending b { display: block; font-size: 15px; font-weight: 400; color: #fff; margin-bottom: 8px; }
html body .vl-pending p { margin: 0 !important; font-size: 14px !important; }
html body .vl-back { margin-top: 32px !important; }
html body .vl-cta { margin: 96px 0 0; padding: 48px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
html body .vl-cta p { color: rgba(255,255,255,.65) !important; }
html body .vl-cta__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px !important; }
html body .vl-group-cover { margin: 40px 0 0; aspect-ratio: 21 / 8; overflow: hidden; background: #111; }
html body .vl-group-cover img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; }
html body .vl-groups--mini { display: flex; flex-wrap: wrap; gap: 28px; margin: 64px 0 0; }
@media (max-width: 999px) { html body .vl-groups { grid-template-columns: 1fr 1fr; } html body .vl-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 549px) { html body .vl-cards { grid-template-columns: 1fr; } html body .vl-sec__head { flex-direction: column; align-items: flex-start; } html body .vl-group-cover { aspect-ratio: 4 / 3; } }
