/*
 * glue-pages.css: trang nội dung (danh sách bài, bài viết, trang thường, báo giá, liên hệ, 404).
 * Nạp trên mọi trang, nên mọi quy tắc đều gắn với lớp bao của các template này:
 * .mt-blog, .mt-authorpage, .mt-post, .mt-related, .mt-page, .mt-qpage-wrap, .mt-contact, .mt-contact__content, .mt-nf.
 * (Trang sản phẩm cũng dùng .mt-prose: không viết quy tắc .mt-prose trần ở đây.)
 */

/* Flatsome đặt html{overflow-x:hidden}, mt.css đặt body{overflow-x:hidden}: hai lớp cùng ẩn làm body thành
   khung cuộn riêng và position:sticky (mục lục, chia sẻ, cột báo giá) mất tác dụng. clip không tạo khung cuộn. */
body:has(.mt-art, .mt-qpage) { overflow-x: clip; }

/* ---------- danh sách bài viết ---------- */
.mt-blog .mt-newshead { padding-top: 40px; }
.mt-blog .mt-newshead__lead { margin-top: 10px; max-width: 640px; }
.mt-blog .mt-newshead__lead p { margin: 0; }
.mt-blog .mt-newshead__lead a { color: var(--mt-link); }
.mt-blog .mt-newshead__search { width: min(100%, 360px); margin: 0; }
.mt-blog .mt-newshead__search input::-webkit-search-cancel-button { cursor: pointer; }
.mt-blog__feature { margin-top: 28px; }
.mt-blog .mt-feature-dark__body .mt-eyebrow { color: #ff9f43; }
.mt-blog .mt-feature-dark__more { margin-top: 22px; color: #2997ff; }
.mt-blog .mt-feature-dark__img:empty { background: linear-gradient(135deg, #1d1d1f, #3a3a3c); }
.mt-blog .mt-acard--feature { margin-bottom: 8px; }
.mt-blog .mt-acard--feature h2 { margin-top: 6px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.12; font-weight: 700; letter-spacing: -.03em; }
.mt-blog .mt-acard--feature:hover h2 { color: var(--mt-blue); }
.mt-blog__list { padding-top: 24px; }
.mt-blog__grid { row-gap: 44px; }
.mt-blog__empty { padding: 24px 0 8px; }
.mt-blog .mt-pager .mt-sr-only { position: absolute !important; }
.mt-blog .mt-pager .dots { color: var(--mt-faint); }
.mt-helpband .mt-links { gap: 10px; }

/* ---------- trang tác giả (author.php) ---------- */
.mt-authorhero { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 56px; align-items: start; padding: 40px 0 8px; }
.mt-authorhero__img { margin: 0; aspect-ratio: 1; border-radius: var(--mt-r-lg, 28px); overflow: hidden; background: var(--mt-bg-alt); }
.mt-authorhero__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mt-authorhero__body { min-width: 0; }
.mt-authorhero .mt-t-hero { margin-top: 8px; font-size: clamp(34px, 4.6vw, 56px); }
.mt-authorhero__role { margin-top: 10px; font-size: 19px; font-weight: 600; color: var(--mt-ink); }
.mt-authorhero__bio { margin-top: 16px; max-width: 640px; }
.mt-authorhero__bio a { color: var(--mt-link); }
.mt-authorhero__facts { display: flex; flex-wrap: wrap; gap: 18px 40px; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--mt-line-soft); }
.mt-authorhero__facts > div { min-width: 0; }
.mt-authorhero__facts :is(dt, dd) { text-transform: none; letter-spacing: normal; font-weight: 400; }
.mt-authorhero__facts dt { font-size: 13px; color: var(--mt-muted); }
.mt-authorhero__facts dd { margin: 6px 0 0; font-size: 15px; color: var(--mt-ink); }
.mt-authorhero__facts dd b { font-weight: 700; font-size: 22px; letter-spacing: -.02em; }
.mt-authorhero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-authorhero__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.mt-authorhero__links li { margin: 0; }
.mt-authorhero__links .mt-btn { max-width: 100%; }
.mt-authorpage__profile { padding: 56px 0 8px; }
.mt-authorpage__profile .mt-prose { max-width: 760px; margin: 0; }
.mt-authorpage__profile .mt-prose h2:first-child { margin-top: 0; }
.mt-authorpage__posts { padding-top: 56px; }
.mt-authorpage .mt-pager .mt-sr-only { position: absolute !important; }
.mt-authorpage .mt-pager .dots { color: var(--mt-faint); }
@media (max-width: 1068px) {
  .mt-authorhero { grid-template-columns: 240px 1fr; gap: 36px; }
}
@media (max-width: 734px) {
  .mt-authorhero { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  .mt-authorhero__img { width: 160px; border-radius: 50%; }
  .mt-authorhero__role { font-size: 17px; }
  .mt-authorpage__profile { padding-top: 40px; }
  .mt-authorpage__posts { padding-top: 40px; }
}

/* ---------- bài viết ---------- */
.mt-post .mt-art-head .mt-t-lead { max-width: 720px; margin-inline: auto; }
.mt-post .mt-art-meta a { color: inherit; }
.mt-post .mt-art-meta a:hover b { color: var(--mt-blue); }
.mt-post .mt-art-main { min-width: 0; }
.mt-post .mt-art-main > .mt-prose { margin: 0; max-width: none; }
.mt-post .mt-art-foot { margin-top: 44px; display: grid; gap: 28px; }
.mt-post .mt-author b a { color: inherit; }
.mt-post .mt-author__role { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--mt-blue); }
.mt-post .mt-share [hidden] { display: none; }
.mt-post .mt-share button:hover, .mt-post .mt-share a:hover { color: var(--mt-blue); text-decoration: none; }
.mt-post__comments { width: min(100% - 2 * var(--mt-gutter), 720px); margin: 0 auto 72px; }

/* Nội dung soạn thảo của bài và trang: theo nhịp chữ của mẫu (mt.css), bỏ lề Flatsome và lề trùng của glue.css. */
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose { font-size: 18px; line-height: 1.6; color: #333336; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose > * + * { margin-top: 20px; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose > :is(p, ul, ol, figure, blockquote, table, dl, pre, h2, h3, h4) { margin-bottom: 0; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.025em; color: var(--mt-ink); margin-top: 52px; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.02em; color: var(--mt-ink); margin-top: 36px; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose h4 { color: var(--mt-ink); }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose > :is(h2, h3):first-child { margin-top: 0; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose :is(ul, ol) { padding-left: 0; margin-left: 0; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose li { margin-left: 0; margin-bottom: 0; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose li + li { margin-top: 0; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose :is(ul, ol) :is(ul, ol) { margin-top: 10px; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose img { height: auto; max-width: 100%; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose blockquote { margin: 36px 0; padding: 0 0 0 26px; border-left: 3px solid var(--mt-ink); color: var(--mt-ink); }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose :is(table) { display: block; overflow-x: auto; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose :is(.wp-block-table, .table-responsive) table { display: table; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose .aligncenter { margin-inline: auto; }
:is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose iframe { max-width: 100%; }

/* Kiểu khối bài blog (inc/blog-blocks.php). Block chuẩn + class is-style-mt-*. */
/* Lưu ý / Mẹo / Cảnh báo */
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group:is(.is-style-mt-note, .is-style-mt-tip, .is-style-mt-warn) {
  --c: var(--mt-blue); --bg: var(--mt-blue-soft);
  position: relative; margin-block: 32px; padding: 20px 24px 20px 64px; border-radius: var(--mt-r-sm);
  background: var(--bg); font-size: 17px; line-height: 1.55; color: var(--mt-ink);
}
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-tip { --c: var(--mt-ok); --bg: #eef8f0; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-warn { --c: #b45309; --bg: #fdf4e7; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group:is(.is-style-mt-note, .is-style-mt-tip, .is-style-mt-warn)::before {
  content: "i"; position: absolute; left: 22px; top: 21px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c); color: #fff; font: 700 15px/1 var(--mt-font);
}
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-tip::before { content: "✓"; font-size: 14px; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-warn::before { content: "!"; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group:is(.is-style-mt-note, .is-style-mt-tip, .is-style-mt-warn) > * { margin: 0; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group:is(.is-style-mt-note, .is-style-mt-tip, .is-style-mt-warn) > * + * { margin-top: 8px; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group:is(.is-style-mt-note, .is-style-mt-tip, .is-style-mt-warn) > p:first-child:has(> strong:only-child) { color: var(--c); font-size: 17px; }

/* Bảng so sánh */
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-table.is-style-mt-compare { margin-block: 32px; overflow-x: auto; border: 1px solid var(--mt-line-soft); border-radius: var(--mt-r-sm); -webkit-overflow-scrolling: touch; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-table.is-style-mt-compare table { display: table; width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 16px; line-height: 1.45; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-table.is-style-mt-compare :is(th, td) { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--mt-line-soft); text-align: center; vertical-align: middle; background: #fff; text-transform: none; letter-spacing: 0; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-table.is-style-mt-compare tr:last-child > :is(th, td) { border-bottom: 0; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-table.is-style-mt-compare:has(figcaption) tbody tr:last-child > :is(th, td) { border-bottom: 1px solid var(--mt-line-soft); }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-table.is-style-mt-compare thead :is(th, td) { background: var(--mt-bg-alt); color: var(--mt-ink); font-weight: 700; font-size: 16px; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-table.is-style-mt-compare tbody tr:nth-child(even) > :is(th, td) { background: #fafafc; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-table.is-style-mt-compare tr > :first-child { position: sticky; left: 0; z-index: 1; text-align: left; font-weight: 600; color: var(--mt-ink); box-shadow: inset -1px 0 0 var(--mt-line-soft); }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-table.is-style-mt-compare thead tr > :first-child { color: var(--mt-muted); font-size: 14px; font-weight: 600; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-table.is-style-mt-compare figcaption { position: sticky; left: 0; width: max-content; max-width: min(100%, 680px); padding: 10px 16px; margin: 0; font-size: 14px; color: var(--mt-muted); text-align: left; }
:is(.mt-post, .mt-page__body) .mt-prose .mt-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 700 15px/1 var(--mt-font); }
:is(.mt-post, .mt-page__body) .mt-prose .mt-mark--yes { background: #e3f4e7; color: var(--mt-ok); }
:is(.mt-post, .mt-page__body) .mt-prose .mt-mark--no { background: #fdecec; color: var(--mt-sale); }
:is(.mt-post, .mt-page__body) .mt-prose .mt-sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Các bước */
:is(.mt-post, .mt-page__body) .mt-prose ol.is-style-mt-steps { counter-reset: mt-step; list-style: none; margin-block: 28px; padding: 0; }
:is(.mt-post, .mt-page__body) .mt-prose ol.is-style-mt-steps > li { counter-increment: mt-step; position: relative; padding: 0 0 26px 60px; list-style: none; }
:is(.mt-post, .mt-page__body) .mt-prose ol.is-style-mt-steps > li:last-child { padding-bottom: 0; }
:is(.mt-post, .mt-page__body) .mt-prose ol.is-style-mt-steps > li::before {
  content: counter(mt-step); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--mt-ink); color: #fff; font: 700 17px/1 var(--mt-font);
}
:is(.mt-post, .mt-page__body) .mt-prose ol.is-style-mt-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--mt-line-soft); }
:is(.mt-post, .mt-page__body) .mt-prose ol.is-style-mt-steps > li > strong:first-child { display: block; margin-bottom: 4px; font-size: 19px; color: var(--mt-ink); }

/* FAQ */
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq { margin-block: 32px; border-top: 1px solid var(--mt-line); }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq > * { margin: 0; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq > :is(h2, h3) { padding: 28px 0 8px; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq > :is(h2, h3):first-child { border-top: 0; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq .wp-block-details { border-bottom: 1px solid var(--mt-line); padding: 0; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq .wp-block-details summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--mt-ink);
}
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq .wp-block-details summary::-webkit-details-marker { display: none; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq .wp-block-details summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--mt-bg-alt); font: 500 20px/1 var(--mt-font); transition: transform .2s var(--mt-ease); }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq .wp-block-details summary:hover { color: var(--mt-blue); }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq .wp-block-details summary:focus-visible { outline: 2px solid var(--mt-blue); outline-offset: 4px; border-radius: 4px; }
:is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq .wp-block-details > :not(summary) { margin: 0 0 20px; padding-right: 46px; font-size: 17px; color: #424245; }
@media (max-width: 640px) {
  :is(.mt-post, .mt-page__body) .mt-prose .wp-block-group:is(.is-style-mt-note, .is-style-mt-tip, .is-style-mt-warn) { padding: 18px 18px 18px 56px; }
  :is(.mt-post, .mt-page__body) .mt-prose .wp-block-group:is(.is-style-mt-note, .is-style-mt-tip, .is-style-mt-warn)::before { left: 18px; top: 19px; }
  :is(.mt-post, .mt-page__body) .mt-prose ol.is-style-mt-steps > li { padding-left: 52px; }
  :is(.mt-post, .mt-page__body) .mt-prose .wp-block-group.is-style-mt-faq .wp-block-details > :not(summary) { padding-right: 0; }
}

/* Mục lục trong bài (inc/toc.php, thay Easy TOC): ẩn khi đã có mục lục cạnh bài (màn rộng). Đặt sau khối .mt-prose để thắng kiểu ol/li của bài. */
@media (min-width: 1241px) {
  .mt-post .mt-art.has-toc .mt-tocbox { display: none; }
}
.mt-prose .mt-tocbox { background: var(--mt-bg-alt); border-radius: var(--mt-r-md); padding: 16px 22px; font-size: 15px; line-height: 1.45; }
.mt-prose .mt-tocbox summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mt-muted); }
.mt-prose .mt-tocbox summary::-webkit-details-marker { display: none; }
.mt-prose .mt-tocbox summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-right: 4px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.mt-prose .mt-tocbox details:not([open]) summary::after { transform: rotate(-135deg); }
.mt-prose .mt-tocbox summary:focus-visible { outline: 2px solid var(--mt-blue); outline-offset: 4px; border-radius: 4px; }
.mt-prose .mt-tocbox ol { display: block; list-style: none; counter-reset: mt-toc; margin: 8px 0 0; padding: 0; }
.mt-prose .mt-tocbox ol ol { margin: 6px 0 0; }
.mt-prose .mt-tocbox ol > li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; counter-increment: mt-toc; position: static; margin: 0; padding: 0; }
.mt-prose .mt-tocbox ol > li + li { margin-top: 4px; }
.mt-prose .mt-tocbox ol > li::before { content: counters(mt-toc, ".") "."; position: static; width: auto; height: auto; min-width: 1.4em; border-radius: 0; background: none; display: block; font-size: inherit; font-weight: 500; color: var(--mt-muted); font-variant-numeric: tabular-nums; }
.mt-prose .mt-tocbox ol > li > ol { grid-column: 2; }
.mt-prose .mt-tocbox a { color: var(--mt-ink); text-decoration: none; display: inline-block; padding: 2px 0; } /* vùng chạm ≥ 24px */
.mt-prose .mt-tocbox a:hover { color: var(--mt-blue); text-decoration: underline; }
/* Khối UX Builder trong bài (hàng, cột) giữ lưới Flatsome trong cột 720px. */
.mt-post .mt-prose .row { margin-left: -12px; margin-right: -12px; width: auto; max-width: none; }
.mt-post .mt-prose .row .col { padding: 0 12px 20px; }
.mt-post .mt-prose .row :is(p, ul, ol) { margin-bottom: 0; }
.mt-post .mt-prose .row :is(p, ul, ol) + :is(p, ul, ol, h2, h3) { margin-top: 16px; }
.mt-post .mt-prose .icon-box, .mt-post .mt-prose .img { margin-bottom: 16px; }

/* ---------- trang thường ---------- */
.mt-page__head { max-width: 720px; margin: 0 auto; padding: 48px 0 32px; }
.mt-page__head .mt-t-tiny { margin-top: 12px; }
/* Flatsome ẩn .updated:not(.published) (dành cho hentry); ngày cập nhật của trang phải hiện. */
.mt-page__head time.updated { display: inline; }
.mt-page--builder .mt-page__head { max-width: none; padding-bottom: 24px; }
.mt-page__body { padding-bottom: 56px; }
.mt-page__body .mt-page__empty { color: var(--mt-muted); }
.mt-page__body:has(.mt-page__empty) { padding-bottom: 32px; }
.mt-page__help { padding: 8px 0 80px; }
.mt-page--builder .mt-page__help { padding-top: 40px; }
.mt-page__helpcard { max-width: 720px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px 32px; padding: 24px 28px; border-radius: var(--mt-r-md); background: var(--mt-bg-alt); }
.mt-page__helpcard b { font-size: 17px; color: var(--mt-ink); }
.mt-page__helpcard p { font-size: 14px; margin-top: 4px; }
.mt-page__helpcard .mt-links { gap: 10px 22px; }

/* ---------- báo giá nhanh ---------- */
.mt-qhero { padding: 0 0 64px; }
.mt-qhero__in { max-width: 820px; padding-top: 56px; text-align: center; }
.mt-qhero .mt-t-hero { margin-top: 8px; }
.mt-qhero .mt-t-lead { margin-top: 14px; }
.mt-qhero__steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.mt-qhero .mt-badge { background: #fff; }
.mt-qpage-wrap .mt-qlist { font-family: var(--mt-mono); font-size: 14px; }
.mt-qpage-wrap .mt-qcount { margin-top: 8px; }
.mt-qpage-wrap [data-pane][hidden] { display: none; }
.mt-qpage-wrap .mt-qtable:has(tbody:empty) { display: none; }
.mt-qpage-wrap .mt-drop--note { gap: 4px; }
.mt-qpage-wrap .mt-drop--note .mt-links { justify-content: center; gap: 10px; margin-top: 16px; }
.mt-qpage-wrap .mt-qopts { display: grid; gap: 14px; }
.mt-qpage-wrap .mt-qstep--last { border-bottom: 0; }
.mt-qpage-wrap .mt-qsubmit { margin-top: 26px; }
.mt-qpage-wrap .mt-qsubmit[disabled] { opacity: .6; cursor: progress; }
.mt-qpage-wrap .mt-qconsent { margin-top: 12px; }
.mt-qpage-wrap .mt-qresult { margin-top: 22px; padding: 14px 18px; border-radius: var(--mt-r-sm); font-size: 15px; line-height: 1.45; background: var(--mt-bg-alt); color: var(--mt-ink); }
.mt-qpage-wrap .mt-qresult[hidden] { display: none; }
.mt-qpage-wrap .mt-qresult.is-ok { background: #e8f6ea; color: var(--mt-ok); }
.mt-qpage-wrap .mt-qresult.is-err { background: #fdecec; color: #b42318; }
.mt-qpage-wrap .mt-field.is-invalid :is(.mt-input, .mt-textarea) { border-color: #d92d20; }
.mt-qpage-wrap .mt-field__err { font-size: 13px; color: #b42318; }
.mt-qpage-wrap .mt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mt-qpage-wrap .mt-qaside { padding-top: 34px; }
.mt-qpage-wrap .mt-qaside__list { display: grid; gap: 14px; font-size: 14px; margin-top: 14px; color: var(--mt-ink); }
.mt-qpage-wrap .mt-qaside__list li { display: flex; gap: 10px; align-items: flex-start; }
.mt-qpage-wrap .mt-qaside__list .mt-ico { color: var(--mt-ok); width: 18px; height: 18px; margin-top: 1px; }
.mt-qpage-wrap .mt-qaside__h { font-size: 15px; color: var(--mt-ink); }
.mt-qpage-wrap .mt-qaside__p { font-size: 14px; margin: 4px 0 12px; }
.mt-qpage-wrap .mt-qaside__contact { display: grid; gap: 10px; }

/* ---------- liên hệ ---------- */
.mt-contact__hero { padding: 0 0 72px; }
.mt-contact__hero .mt-t-hero { margin-top: 56px; }
.mt-contact__lead { margin: 14px 0 40px; max-width: 640px; }
.mt-contact__content { padding: 56px 0 24px; }
.mt-contact__body { color: var(--mt-text); }
/* Hàng UX Builder: bù 15px đệm cột Flatsome để bản đồ, chữ thẳng mép với thẻ liên hệ phía trên. */
.mt-contact__body .row { max-width: var(--mt-wrap, 1200px); }
.mt-contact__body .section-content > .row { width: min(100% - 2 * var(--mt-gutter) + 30px, var(--mt-wrap) + 30px); max-width: none; margin-inline: auto; }
.mt-contact__body iframe { width: 100%; border: 0; border-radius: var(--mt-r-md); background: var(--mt-bg-alt); }
.mt-contact__body :is(h2, h3) { color: var(--mt-ink); letter-spacing: -.02em; }
.mt-contact__body h3 { font-size: 21px; font-weight: 700; }
.mt-contact__body .wpcf7 { background: #fff; border-radius: var(--mt-r-md); box-shadow: var(--mt-shadow); padding: 28px; }
.mt-contact__body .wpcf7 h2 { font-size: 24px; font-weight: 700; margin-bottom: 16px; text-transform: none; }
.mt-contact__body .wpcf7 :is(input[type="text"], input[type="email"], input[type="tel"], textarea, select) {
  height: 48px; padding: 0 16px; border: 1px solid var(--mt-line); border-radius: 12px; box-shadow: none; background: #fff; font-size: 15px; color: var(--mt-ink); width: 100%;
}
.mt-contact__body .wpcf7 .wpcf7-form-control-wrap { display: block; }
.mt-contact__body .wpcf7 .row { display: block; margin: 0; max-width: none; width: auto; }
.mt-contact__body .wpcf7 .row > [class*="col-"] { width: 100%; padding: 0; }
.mt-contact__body .wpcf7 label { display: block; }
.mt-contact__body .wpcf7 textarea { height: auto; min-height: 120px; padding: 12px 16px; }
.mt-contact__body .wpcf7 :is(input, textarea, select):focus { border-color: var(--mt-blue); box-shadow: 0 0 0 4px rgba(10, 110, 209, .12); outline: 0; }
.mt-contact__body .wpcf7 input[type="submit"] {
  min-height: 52px; padding: 0 30px; margin: 4px 0 0; border: 0; border-radius: var(--mt-pill); background: var(--mt-blue); color: #fff; font-size: 17px; font-weight: 600; text-transform: none; letter-spacing: 0;
}
.mt-contact__body .wpcf7 input[type="submit"]:hover { background: var(--mt-blue-hover); }
.mt-contact__body .wpcf7 .g-recaptcha:empty { display: none; }

/* ---------- trang tài liệu: chính sách, hướng dẫn (page.php, .mt-page--doc) ---------- */
.mt-docpage { display: grid; grid-template-columns: 220px minmax(0, 720px) 200px; gap: 48px; justify-content: center; padding: 24px 0 88px; }
.mt-doc__side { position: sticky; top: calc(var(--mt-nav-h) + 30px); align-self: start; max-height: calc(100vh - var(--mt-nav-h) - 60px); overflow-y: auto; scrollbar-width: thin; }
.mt-docpage .mt-toc { grid-column: 3; }
.mt-docnav__fold > summary { display: none; }
.mt-docnav__group + .mt-docnav__group { margin-top: 24px; }
.mt-docnav__h { font-size: 12px; font-weight: 600; color: var(--mt-muted); letter-spacing: .04em; text-transform: uppercase; margin: 0 0 8px; }
.mt-docnav ul { list-style: none; margin: 0; padding: 0; }
.mt-docnav li { margin: 0; }
.mt-docnav a { display: block; padding: 7px 12px; margin-left: -12px; border-radius: var(--mt-r-xs); font-size: 14px; line-height: 1.35; color: var(--mt-text); }
.mt-docnav a:hover { background: var(--mt-bg-alt); text-decoration: none; }
.mt-docnav a.is-current { background: var(--mt-blue-soft); color: var(--mt-blue); font-weight: 600; }
.mt-doc__main { padding-bottom: 0; }
.mt-doc__head { padding: 8px 0 32px; margin-bottom: 36px; border-bottom: 1px solid var(--mt-line-soft); }
.mt-doc__head .mt-t-xl { margin-top: 8px; }
.mt-doc__lead { margin-top: 14px; color: var(--mt-muted); }
.mt-doc__head .mt-t-tiny { margin-top: 14px; }
.mt-doc__head time.updated { display: inline; }

/* Khối nội dung soạn sẵn trong trang tài liệu (script tools/update-static-pages.php). */
.mt-page--doc .mt-prose .mt-doc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 0; }
.mt-page--doc .mt-prose .mt-doc-facts > * { margin: 0; }
.mt-page--doc .mt-prose .mt-doc-fact { padding: 18px 20px; border-radius: var(--mt-r-md); background: var(--mt-bg-alt); }
.mt-page--doc .mt-prose .mt-doc-fact p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--mt-muted); }
.mt-page--doc .mt-prose .mt-doc-fact p:first-child { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; color: var(--mt-ink); margin-bottom: 4px; }
.mt-page--doc .mt-prose .mt-doc-note { padding: 18px 22px; border-radius: var(--mt-r-md); background: var(--mt-blue-soft); color: var(--mt-ink); font-size: 16px; }
.mt-page--doc .mt-prose .mt-doc-note > * { margin: 0; }
.mt-page--doc .mt-prose .mt-doc-note > * + * { margin-top: 8px; }
.mt-page--doc .mt-prose .mt-doc-note--warn { background: #fff4e5; }
.mt-page--doc .mt-prose ol.mt-doc-steps { list-style: none; counter-reset: mt-step; padding: 0; }
.mt-page--doc .mt-prose ol.mt-doc-steps > li { counter-increment: mt-step; position: relative; padding: 2px 0 0 48px; min-height: 34px; }
.mt-page--doc .mt-prose ol.mt-doc-steps > li + li { margin-top: 18px; }
.mt-page--doc .mt-prose ol.mt-doc-steps > li::before { content: counter(mt-step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--mt-ink); color: #fff; font-size: 15px; font-weight: 600; line-height: 32px; text-align: center; }
.mt-page--doc .mt-prose .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.mt-page--doc .mt-prose .wp-block-table :is(th, td) { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--mt-line-soft); text-align: left; vertical-align: top; text-transform: none; letter-spacing: 0; }
.mt-page--doc .mt-prose .wp-block-table th { font-size: 13px; font-weight: 600; color: var(--mt-muted); }
.mt-page--doc .mt-prose .wp-block-table td:first-child { font-weight: 600; color: var(--mt-ink); }

.mt-coinfo { margin-top: 56px; padding: 24px 28px; border-radius: var(--mt-r-md); border: 1px solid var(--mt-line-soft); }
.mt-coinfo__h { font-size: 17px; font-weight: 600; color: var(--mt-ink); margin: 0 0 14px; }
.mt-coinfo dl { margin: 0; display: grid; gap: 0; }
.mt-coinfo dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 9px 0; border-top: 1px solid var(--mt-line-soft); font-size: 14px; line-height: 1.45; }
.mt-coinfo dt { color: var(--mt-muted); font-weight: 400; text-transform: none; letter-spacing: 0; margin: 0; }
.mt-coinfo dd { color: var(--mt-ink); margin: 0; text-transform: none; letter-spacing: 0; }
.mt-coinfo .mt-links { margin-top: 18px; gap: 10px; }

@media (max-width: 1068px) {
  .mt-docpage { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
  .mt-docpage .mt-toc { display: none; }
}
@media (max-width: 734px) {
  .mt-docpage { display: block; padding: 4px 0 64px; }
  .mt-doc__side { position: static; max-height: none; overflow: visible; margin-bottom: 28px; }
  .mt-docnav__fold { border: 1px solid var(--mt-line); border-radius: var(--mt-r-sm); }
  .mt-docnav__fold > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; row-gap: 2px; padding: 10px 16px; min-height: 48px; cursor: pointer; list-style: none; }
  .mt-docnav__fold > summary::-webkit-details-marker { display: none; }
  .mt-docnav__fold > summary span { grid-column: 1; font-size: 12px; color: var(--mt-muted); }
  .mt-docnav__fold > summary b { grid-column: 1; font-size: 15px; color: var(--mt-ink); font-weight: 600; }
  .mt-docnav__fold > summary::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 8px; height: 8px; border-right: 1.5px solid var(--mt-muted); border-bottom: 1.5px solid var(--mt-muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--mt-ease); }
  .mt-docnav__fold[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
  .mt-docnav__list { padding: 4px 16px 16px; border-top: 1px solid var(--mt-line-soft); }
  .mt-docnav__group { padding-top: 12px; }
  .mt-docnav__group + .mt-docnav__group { margin-top: 8px; }
  .mt-docnav a { min-height: 44px; display: flex; align-items: center; }
  .mt-doc__head { padding-top: 0; margin-bottom: 28px; padding-bottom: 24px; }
  .mt-coinfo { padding: 20px; margin-top: 44px; }
  .mt-coinfo dl > div { grid-template-columns: 1fr; gap: 2px; }
  .mt-page--doc .mt-prose .wp-block-table { overflow-x: auto; }
  .mt-page--doc .mt-prose .mt-doc-facts { grid-template-columns: 1fr; gap: 0; border-radius: var(--mt-r-md); background: var(--mt-bg-alt); }
  .mt-page--doc .mt-prose .mt-doc-fact { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 14px 16px; border-radius: 0; background: none; }
  .mt-page--doc .mt-prose .mt-doc-fact + .mt-doc-fact { border-top: 1px solid var(--mt-line-soft); }
  .mt-page--doc .mt-prose .mt-doc-fact p:first-child { font-size: 18px; margin: 0; }
}
@media print {
  .mt-docpage { display: block; padding: 0; }
  .mt-doc__side, .mt-docpage .mt-toc { display: none !important; }
}

/* ---------- 404 ---------- */
.mt-nf .mt-nf__title { margin-top: 12px; }
.mt-nf .mt-nf__lead { margin-top: 12px; }
.mt-nf .mt-nf__links { justify-content: center; margin-top: 28px; }

/* ---------- màn hẹp ---------- */
@media (max-width: 734px) {
  .mt-blog .mt-newshead { padding-top: 28px; }
  .mt-blog .mt-newshead__search { width: 100%; }
  .mt-blog__grid { row-gap: 32px; }
  :is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose { font-size: 17px; }
  :is(.mt-post, .mt-page__body, .mt-pdp) .mt-prose h2 { margin-top: 40px; }
  .mt-page__head { padding: 28px 0 24px; }
  .mt-page__helpcard { padding: 20px; }
  .mt-qhero { padding-bottom: 44px; }
  .mt-qhero__in { padding-top: 32px; }
  .mt-qpage-wrap .mt-qaside { padding-top: 0; }
  .mt-contact__hero { padding-bottom: 48px; }
  .mt-contact__hero .mt-t-hero { margin-top: 32px; }
  .mt-contact__lead { margin-bottom: 28px; }
  .mt-contact__content { padding-top: 40px; }
  .mt-contact__body .wpcf7 { padding: 20px; }
  .mt-nf { padding: 64px 0 80px; }
}

/* ---------- QA 2026-11-18: thẻ nổi bật, thẻ bài, bình luận, vùng chạm ---------- */
/* Ảnh thẻ nổi bật là banner ngang có chữ: cột ảnh rộng hơn để ít bị cắt; mô tả gọn 3 dòng; meta xuống dòng gọn. */
/* Ảnh bìa bài viết là banner tỉ lệ ~1.91:1 có chữ: hiện trọn ảnh (contain trên nền đen của thẻ) thay vì cắt hai mép. */
@media (min-width: 1069px) {
  .mt-blog .mt-feature-dark { grid-template-columns: 1.35fr 1fr; }
  .mt-blog .mt-feature-dark__img { min-height: 0; }
  .mt-blog .mt-feature-dark__img img { object-fit: contain; }
}
@media (max-width: 1068px) {
  .mt-blog .mt-feature-dark__img { min-height: 0; aspect-ratio: 1.91 / 1; }
}
.mt-blog .mt-feature-dark__body > p:not(.mt-eyebrow) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mt-blog .mt-feature-dark__meta { flex-wrap: wrap; gap: 4px 14px; }
.mt-blog .mt-feature-dark__meta > * { white-space: nowrap; }
:is(.mt-blog, .mt-related) .mt-acard time { color: var(--mt-muted); }

/* Nội dung bài: bỏ mục danh sách rỗng do trình soạn thảo để lại. */
:is(.mt-post, .mt-page__body) .mt-prose li:empty { display: none; }

/* Bình luận: theo kiểu biểu mẫu của giao diện (bo tròn, chữ thường), thay khung xám vuông của Flatsome. */
.mt-post__comments #respond { background: var(--mt-bg-alt); border-radius: var(--mt-r-md); padding: 28px 28px 24px; }
.mt-post__comments .comment-reply-title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: var(--mt-ink); text-transform: none; margin: 0 0 6px; }
.mt-post__comments .comment-reply-title small a { font-size: 14px; font-weight: 400; color: var(--mt-link); margin-left: 8px; }
.mt-post__comments .comment-notes { font-size: 14px; color: var(--mt-muted); margin: 0 0 18px; }
.mt-post__comments .comment-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mt-post__comments .comment-form > p { margin: 0; }
.mt-post__comments .comment-form > :is(.comment-notes, .comment-form-comment, .comment-form-cookies-consent, .form-submit, .logged-in-as) { grid-column: 1 / -1; }
.mt-post__comments .comment-form label { display: block; font-size: 14px; font-weight: 600; color: var(--mt-ink); margin-bottom: 6px; }
.mt-post__comments .comment-form .required { color: #b42318; }
.mt-post__comments .comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea) {
  box-sizing: border-box; width: 100%; height: 48px; margin: 0; padding: 0 16px; border: 1px solid var(--mt-line); border-radius: 12px; background: #fff; box-shadow: none; font-size: 16px; color: var(--mt-ink);
}
.mt-post__comments .comment-form textarea { height: auto; min-height: 132px; padding: 12px 16px; resize: vertical; }
.mt-post__comments .comment-form :is(input, textarea):focus { border-color: var(--mt-blue); box-shadow: 0 0 0 4px rgba(10, 110, 209, .12); outline: 0; }
.mt-post__comments .comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.mt-post__comments .comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.mt-post__comments .form-submit input[type="submit"] {
  min-height: 48px; margin: 4px 0 0; padding: 0 28px; border: 0; border-radius: var(--mt-pill); background: var(--mt-blue); color: #fff; font-size: 17px; font-weight: 600; text-transform: none; letter-spacing: 0; cursor: pointer;
}
.mt-post__comments .form-submit input[type="submit"]:hover { background: var(--mt-blue-hover, #0077ed); }
.mt-post__comments .comment-list { margin: 0 0 32px; padding: 0; list-style: none; }
.mt-post__comments :is(.comments-title, .comment-list .fn) { color: var(--mt-ink); }

/* Vùng chạm tối thiểu 40px cho liên kết chữ trong các template trang. */
:is(.mt-nf__links, .mt-page__helpcard, .mt-related .mt-shead, .mt-qaside) .mt-more { min-height: 40px; }
.mt-post .mt-art-head a.mt-eyebrow { display: inline-flex; align-items: center; min-height: 40px; }

@media (max-width: 1068px) {
  .mt-post .mt-share :is(a, button) { min-height: 40px; }
}
/* Màn chạm (điện thoại, máy tính bảng): vùng chạm tối thiểu 40px. */
@media (max-width: 734px), (pointer: coarse) {
  .mt-blog .mt-filters-row .mt-chip { min-height: 40px; }
  .mt-qpage-wrap .mt-qtabs button { height: 40px; }
  .mt-qpage-wrap .mt-qopts .mt-check { min-height: 40px; }
}
@media (max-width: 734px) {
  :is(.mt-blog__grid, .mt-related) .mt-acard h3 { font-size: 17px; line-height: 1.28; }
  /* Ảnh thả trái/phải (vd. biểu tượng điện thoại 209px ở khối liên hệ cuối bài) chiếm hết chỗ của chữ trên màn hẹp. */
  :is(.mt-post, .mt-page__body) .mt-prose :is(.alignleft, .alignright) { max-width: 34%; }
  :is(.mt-post, .mt-page__body) .mt-prose :is(.alignleft, .alignright) img { max-width: 100%; height: auto; }
  /* Ảnh bìa bài là banner ~1.91:1 có chữ: khung 4:3 của mẫu cắt mất chữ, nên giữ tỉ lệ gốc của ảnh. */
  .mt-post .mt-art-hero { aspect-ratio: auto; }
  .mt-post .mt-art-hero img { display: block; height: auto; max-height: 70vh; }
  /* Meta bài: ảnh tác giả bên trái, tên ở dòng 1, ngày · thời gian đọc ở dòng 2 (tránh dấu chấm treo cuối dòng). */
  .mt-post .mt-art-meta { display: grid; grid-template-columns: 36px auto auto auto 1fr; justify-content: start; align-items: center; gap: 0 8px; }
  .mt-post .mt-art-meta > img { grid-row: 1 / 3; margin-right: 4px; }
  .mt-post .mt-art-meta > .author { grid-column: 2 / -1; }
  .mt-post .mt-art-meta > .author + [aria-hidden] { display: none; }
  .mt-post .mt-art-meta > :is(time.published, [aria-hidden], span:last-child) { grid-row: 2; }
  .mt-post__comments #respond { padding: 22px 18px 20px; }
  .mt-post__comments .comment-form { grid-template-columns: minmax(0, 1fr); }
  .mt-post__comments .form-submit input[type="submit"] { width: 100%; }
}

/* mt.css reset form controls bằng `revert` nên box-sizing quay về content-box: input/textarea width:100% + padding tràn khung. */
:is(.mt-qpage-wrap, .mt-blog, .mt-contact, .mt-nf, .mt-page__help) :is(input, textarea, select, button) { box-sizing: border-box; }

/* ---------- Ảnh minh hoạ giao diện (assets/img/ui/*.webp, 2026-11-19) ---------- */
/* Nền ảnh là xám nhạt gần --mt-bg-alt nhưng không trùng hẳn: luôn đặt trong khung bo góc, hoặc làm mờ mép bằng mask. */
.mt-img-fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
.mt-blog .mt-feature-dark__img img.mt-img-fallback { object-fit: cover; }

/* 404: số 404 nhỏ lại, linh vật làm điểm nhấn */
.mt-nf { padding-top: 64px; }
.mt-nf .mt-nf__code { margin-top: 28px; font-size: clamp(64px, 9vw, 112px); }

/* Dải "Hỏi kỹ sư MTEE": ảnh kỹ sư bên trái, chữ và nút bên phải */
.mt-helpband__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.mt-helpband__img { margin: 0; aspect-ratio: 3 / 2; border-radius: var(--mt-r-lg); overflow: hidden; background: #e8e8ed; }
.mt-helpband__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.mt-helpband__body .mt-muted { margin-top: 10px; max-width: 520px; }
.mt-helpband__body .mt-links { margin-top: 24px; }

/* Liên hệ: ảnh kho hàng dưới các kênh liên hệ */
.mt-contact__photo { margin: 40px 0 0; aspect-ratio: 21 / 8; border-radius: var(--mt-r-lg); overflow: hidden; background: #e8e8ed; }
.mt-contact__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Báo giá: ảnh bàn làm việc nằm phía phải đầu trang (chỉ màn rộng), mép trái mờ dần vào nền */
.mt-qhero__art { display: none; }
@media (min-width: 1069px) {
  .mt-qhero { position: relative; overflow: hidden; }
  .mt-qhero > .mt-wrap { position: relative; z-index: 1; }
  .mt-qhero__art { display: block; position: absolute; top: 0; bottom: 0; right: max(0px, calc((100% - var(--mt-wrap)) / 2 - 120px)); margin: 0; pointer-events: none; }
  .mt-qhero__art img { display: block; width: auto; height: 100%; max-width: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 42%, #000 92%, transparent 100%); }
  .mt-qhero__in { max-width: var(--mt-wrap); text-align: left; }
  .mt-qhero__in > * { max-width: 540px; }
  .mt-qhero__steps { justify-content: flex-start; }
}

@media (max-width: 734px) {
  .mt-nf { padding-top: 32px; }
  .mt-helpband__in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mt-helpband__img { aspect-ratio: 16 / 9; border-radius: var(--mt-r-md); }
  .mt-contact__photo { margin-top: 28px; aspect-ratio: 4 / 3; border-radius: var(--mt-r-md); }
}

/* ==========================================================================
   Trang tổng hợp thương hiệu /brand/ (page-brand.php)
   ========================================================================== */
.mt-bidx__hero { padding: 28px 0 56px; }
.mt-bidx__hero h1 { margin: 18px 0 0; }
.mt-bidx__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 56px; align-items: center; }
.mt-bidx__wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.mt-bidx__wall a { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 12px; background: #fff; border-radius: var(--mt-r-md); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: box-shadow .25s var(--mt-ease), transform .25s var(--mt-ease); }
.mt-bidx__wall a:nth-child(3n+2) { transform: translateY(14px); }
.mt-bidx__wall a:hover { box-shadow: var(--mt-shadow); }
.mt-bidx__wlogo { width: auto; height: var(--h, 26px); max-width: 100%; object-fit: contain; }
.mt-bidx__lead { max-width: 640px; margin: 18px 0 0; color: var(--mt-muted); }
.mt-bidx__stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.mt-bidx__stats li { display: flex; align-items: baseline; gap: 6px; margin: 0; padding: 10px 16px; background: #fff; border-radius: 999px; font-size: 14px; color: var(--mt-muted); }
.mt-bidx__stats b { font-size: 17px; font-weight: 700; color: var(--mt-ink); letter-spacing: -.01em; }
.mt-bidx__stats .mt-ico { align-self: center; width: 18px; height: 18px; color: var(--mt-blue); }

.mt-bidx__feat h2, .mt-bidx__more h2 { margin: 0 0 24px; }
.mt-bidx__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.mt-bidx__grid > li { margin: 0; }
.mt-bcard { position: relative; display: flex; flex-direction: column; height: 100%; padding: 22px 22px 20px; overflow: hidden; background: #fff; border: 1px solid var(--mt-line-soft); border-radius: var(--mt-r-lg); color: var(--mt-ink); text-decoration: none; transition: box-shadow .25s var(--mt-ease), transform .25s var(--mt-ease), border-color .25s var(--mt-ease); }
.mt-bcard::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--bc, var(--mt-brand)); opacity: .9; }
.mt-bcard:hover { color: var(--mt-ink); border-color: transparent; box-shadow: var(--mt-shadow); transform: translateY(-3px); }
.mt-bcard__logobox { display: flex; align-items: center; height: 56px; margin-bottom: 14px; }
.mt-bcard__logo { width: auto; height: var(--h, 34px); max-width: 170px; object-fit: contain; }
.mt-bcard__word { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--bc, var(--mt-ink)); }
.mt-bcard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mt-bcard__name { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.mt-bcard__count { flex: none; font-size: 13px; font-weight: 600; color: var(--mt-muted); font-variant-numeric: tabular-nums; }
.mt-bcard__lead { display: -webkit-box; margin-top: 8px; overflow: hidden; font-size: 14.5px; line-height: 1.5; color: var(--mt-muted); -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.mt-bcard__lines { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.mt-bcard__lines li { margin: 0; padding: 4px 10px; background: var(--mt-bg-alt); border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--mt-ink); }
.mt-bcard__go { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; padding-top: 18px; font-size: 14px; font-weight: 500; color: var(--mt-link); }
.mt-bcard__go .mt-ico { width: 14px; height: 14px; margin: 0; vertical-align: middle; transition: transform .25s var(--mt-ease); }
.mt-bcard:hover .mt-bcard__go .mt-ico { transform: translateX(3px); }

.mt-bidx__tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.mt-bidx__tiles > li { margin: 0; }
.mt-btile { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 18px 14px 16px; background: #fff; border-radius: var(--mt-r-md); color: var(--mt-ink); text-align: center; text-decoration: none; transition: box-shadow .25s var(--mt-ease), transform .25s var(--mt-ease); }
.mt-btile:hover { color: var(--mt-ink); box-shadow: var(--mt-shadow); transform: translateY(-2px); }
.mt-btile__logobox { display: flex; align-items: center; justify-content: center; height: 48px; margin-bottom: 10px; }
.mt-btile__logo { width: auto; height: var(--h, 26px); max-width: 130px; object-fit: contain; }
.mt-btile .mt-bcard__word { font-size: 17px; }
.mt-btile b { font-size: 15px; font-weight: 600; }
.mt-btile > span:last-child { margin-top: 2px; font-size: 12.5px; color: var(--mt-muted); }

.mt-bidx__prose { max-width: 820px; }

@media (max-width: 960px) {
  .mt-bidx__top { grid-template-columns: 1fr; }
  .mt-bidx__wall { display: none; }
  .mt-bidx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  .mt-bidx__hero { padding: 18px 0 40px; }
  .mt-bidx__grid { grid-template-columns: 1fr; gap: 12px; }
  .mt-bidx__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mt-bidx__stats li { padding: 8px 14px; }
}

/* ---------- trang tổng hợp soạn bằng script (page.php thêm .mt-page--landing khi nội dung có khối mt-lp-hero) ----------
 * Khối Gutenberg mang class mt-lp-* (tools/seo/china-vfd-hub.php). Cột chữ 760px canh trái; khối trực quan
 * (số liệu, thẻ hãng, bảng, lưới) trải hết khung. Mọi quy tắc khoanh trong .mt-page--landing .mt-prose. */
.mt-page--landing .mt-page__head { max-width: none; margin: 0; padding: 40px 0 28px; }
.mt-page--landing .mt-page__head h1 { max-width: 880px; }
.mt-page--landing .mt-page__body { padding-bottom: 96px; }
.mt-page--landing .mt-prose { max-width: none; margin: 0; }
.mt-page--landing .mt-prose > :is(p, h2, h3) { max-width: 760px; }
.mt-page--landing .mt-prose > h2 { margin-top: 88px; scroll-margin-top: 90px; }
.mt-page--landing .mt-prose > h3 { margin-top: 44px; }
.mt-page--landing .mt-prose > :is(.wp-block-group, .wp-block-table, ul) { margin-top: 28px; }
.mt-page--landing .mt-prose > .mt-lp-hero { margin-top: 0; }
.mt-page--landing .mt-prose a:is(.mt-btn, .mt-more) { text-decoration: none; }
.mt-page--landing .mt-prose a.mt-btn { color: var(--b-fg); } /* thắng màu link chung của cột đọc */
.mt-page--landing .mt-prose a.mt-more:hover { text-decoration: underline; }
/* Bên trong khối: tự định nhịp, bỏ lề mặc định của cột đọc và chấm tròn đầu dòng. */
.mt-page--landing .mt-prose .wp-block-group :where(p, ul, h2, h3, figure) { margin: 0; }
.mt-page--landing .mt-prose ul[class*="mt-lp-"] { display: grid; gap: 0; }
.mt-page--landing .mt-prose ul[class*="mt-lp-"] > li { padding-left: 0; }
.mt-page--landing .mt-prose ul[class*="mt-lp-"] > li::before { content: none; }

/* Mở đầu */
.mt-page--landing .mt-prose .mt-lp-hero > * + * { margin-top: 32px; }
.mt-page--landing .mt-prose .mt-lp-lead { max-width: 760px; font-size: 21px; line-height: 1.5; letter-spacing: -.018em; color: var(--mt-ink); }
.mt-page--landing .mt-prose ul.mt-lp-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--mt-line-soft); border-bottom: 1px solid var(--mt-line-soft); }
.mt-page--landing .mt-prose ul.mt-lp-stats > li { display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.mt-page--landing .mt-prose ul.mt-lp-stats > li:first-child { padding-left: 0; }
.mt-page--landing .mt-prose ul.mt-lp-stats > li + li { border-left: 1px solid var(--mt-line-soft); }
.mt-page--landing .mt-prose .mt-lp-stats strong { font-size: clamp(28px, 2.9vw, 38px); line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: var(--mt-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mt-page--landing .mt-prose .mt-lp-stats small { font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--mt-muted); }
.mt-page--landing .mt-prose .mt-lp-stats span { font-size: 14px; line-height: 1.4; color: var(--mt-muted); }
.mt-page--landing .mt-prose .mt-lp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.mt-page--landing .mt-prose ul.mt-lp-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; line-height: 1.6; color: var(--mt-ink); }
.mt-page--landing .mt-prose ul:is(.mt-lp-trust, .mt-lp-cta__list) > li { position: relative; padding-left: 28px; }
.mt-page--landing .mt-prose ul:is(.mt-lp-trust, .mt-lp-cta__list) > li::before {
  content: ""; position: absolute; left: 0; top: .2em; top: calc((1lh - 18px) / 2); width: 18px; height: 18px; border-radius: 0; background: var(--mt-ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Thẻ hai hãng */
.mt-page--landing .mt-prose .mt-lp-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mt-page--landing .mt-prose .mt-lp-brand { display: flex; flex-direction: column; gap: 12px; padding: 28px; border: 1px solid var(--mt-line-soft); border-radius: var(--mt-r-md); background: #fff; font-size: 16px; line-height: 1.55; }
.mt-page--landing .mt-prose .mt-lp-brand__logo { height: 30px; display: flex; align-items: center; }
.mt-page--landing .mt-prose .mt-lp-brand__logo img { width: auto; height: 100%; max-width: 170px; object-fit: contain; object-position: left center; border-radius: 0; }
.mt-page--landing .mt-prose .mt-lp-brand h3 { margin-top: 8px; font-size: 24px; }
.mt-page--landing .mt-prose .mt-lp-brand__meta { font-size: 14px; line-height: 1.45; color: var(--mt-muted); }
.mt-page--landing .mt-prose ul.mt-lp-brand__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-page--landing .mt-prose ul.mt-lp-brand__facts > li { padding: 5px 12px; border-radius: var(--mt-pill); background: var(--mt-bg-alt); font-size: 14px; font-weight: 500; color: var(--mt-ink); font-variant-numeric: tabular-nums; }
.mt-page--landing .mt-prose .mt-lp-brand__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: auto; padding-top: 8px; }
.mt-page--landing .mt-prose .mt-lp-brand__links .mt-btn--sm { min-height: 40px; }

/* Đối chiếu giá cùng công suất */
.mt-page--landing .mt-prose ul.mt-lp-vs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; }
.mt-page--landing .mt-prose ul.mt-lp-vs > li { display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; border-radius: var(--mt-r-md); background: var(--mt-bg-alt); font-size: 15px; line-height: 1.45; }
.mt-page--landing .mt-prose ul.mt-lp-vs > li:first-child { background: var(--mt-blue-soft); }
.mt-page--landing .mt-prose .mt-lp-vs span { color: var(--mt-muted); }
.mt-page--landing .mt-prose .mt-lp-vs strong { font-size: 28px; line-height: 1.2; letter-spacing: -.025em; color: var(--mt-ink); font-variant-numeric: tabular-nums; }
.mt-page--landing .mt-prose .mt-lp-vs a { margin-top: 6px; align-self: flex-start; }
.mt-page--landing .mt-prose > .mt-lp-vs__cap { margin-top: 12px; font-size: 14px; color: var(--mt-muted); }

/* Bảng: chỉ đường ngang mảnh, khung bo 18 */
.mt-page--landing .mt-prose .mt-lp-table { margin-left: 0; margin-right: 0; overflow-x: auto; }
.mt-page--landing .mt-prose .mt-lp-table table { display: table; width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--mt-line-soft); border-radius: var(--mt-r-md); overflow: hidden; font-size: 15px; line-height: 1.5; }
.mt-page--landing .mt-prose .mt-lp-table thead { border: 0; }
.mt-page--landing .mt-prose .mt-lp-table :is(th, td) { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--mt-line-soft); text-align: left; vertical-align: top; }
.mt-page--landing .mt-prose .mt-lp-table thead th { background: var(--mt-bg-alt); font-size: 13px; font-weight: 600; color: var(--mt-muted); border-bottom: 1px solid var(--mt-line-soft); }
.mt-page--landing .mt-prose .mt-lp-table tbody tr:last-child td { border-bottom: 0; }
.mt-page--landing .mt-prose .mt-lp-table figcaption { margin-top: 12px; text-align: left; font-size: 14px; color: var(--mt-muted); }
.mt-page--landing .mt-prose .mt-lp-table--compare td:first-child { width: 24%; font-weight: 600; color: var(--mt-ink); }
.mt-page--landing .mt-prose .mt-lp-table--price :is(th, td):nth-child(n+4) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mt-page--landing .mt-prose .mt-lp-table--price td:first-child { font-weight: 600; color: var(--mt-ink); white-space: nowrap; }
.mt-page--landing .mt-prose .mt-lp-table--price td:nth-child(4) { color: var(--mt-ink); font-weight: 500; }
.mt-page--landing .mt-prose .mt-lp-tag { display: inline-block; min-width: 72px; margin-right: 6px; padding: 2px 9px; border-radius: var(--mt-pill); background: var(--mt-bg-alt); font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--mt-muted); text-align: center; }
.mt-page--landing .mt-prose > .mt-lp-note { margin-top: 16px; font-size: 15px; color: var(--mt-muted); }

/* Chọn nhanh theo ứng dụng */
.mt-page--landing .mt-prose ul.mt-lp-picks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mt-page--landing .mt-prose ul.mt-lp-picks > li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--mt-line-soft); border-radius: var(--mt-r-md); font-size: 15px; line-height: 1.45; }
.mt-page--landing .mt-prose .mt-lp-picks > li > span:first-child { font-size: 13px; font-weight: 600; color: var(--mt-muted); }
.mt-page--landing .mt-prose .mt-lp-picks strong { font-size: 18px; line-height: 1.3; letter-spacing: -.015em; color: var(--mt-ink); }
.mt-page--landing .mt-prose .mt-lp-picks > li > span:last-child { color: #333336; }

/* Mã theo công suất */
.mt-page--landing .mt-prose .mt-lp-kw { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mt-page--landing .mt-prose .mt-lp-kw__card { padding: 24px; border-radius: var(--mt-r-md); background: var(--mt-bg-alt); }
.mt-page--landing .mt-prose .mt-lp-kw__card h3 { font-size: 20px; }
.mt-page--landing .mt-prose ul.mt-lp-rank { margin-top: 12px; font-size: 15px; line-height: 1.4; }
.mt-page--landing .mt-prose ul.mt-lp-rank > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-top: 1px solid var(--mt-line); }
.mt-page--landing .mt-prose ul.mt-lp-rank > li:first-child { border-top: 0; }
.mt-page--landing .mt-prose .mt-lp-rank a { font-family: var(--mt-mono); font-size: 14px; overflow-wrap: anywhere; }
.mt-page--landing .mt-prose .mt-lp-rank__p { font-weight: 600; color: var(--mt-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mt-page--landing .mt-prose .mt-lp-rank__s { grid-column: 1 / -1; font-size: 13px; color: var(--mt-muted); }

/* Cách chọn */
.mt-page--landing .mt-prose ul.mt-lp-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mt-page--landing .mt-prose ul.mt-lp-guide > li { padding: 24px; border-radius: var(--mt-r-md); background: var(--mt-bg-alt); font-size: 16px; line-height: 1.55; }
.mt-page--landing .mt-prose ul.mt-lp-guide > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mt-page--landing .mt-prose .mt-lp-guide strong { display: inline-block; margin-bottom: 4px; font-size: 18px; letter-spacing: -.015em; color: var(--mt-ink); }

/* Dải kêu gọi: mảng navy duy nhất của trang */
.mt-page--landing .mt-prose > .mt-lp-cta { margin-top: 96px; padding: 56px; border-radius: var(--mt-r-lg); color: #b9cce0;
  background: radial-gradient(90% 80% at 88% -10%, rgba(41, 151, 255, .55) 0%, rgba(41, 151, 255, 0) 60%), radial-gradient(70% 70% at -5% 110%, rgba(245, 130, 31, .3) 0%, rgba(245, 130, 31, 0) 60%), #031c36; }
.mt-page--landing .mt-prose .mt-lp-cta > * + * { margin-top: 28px; }
.mt-page--landing .mt-prose .mt-lp-cta h2 { max-width: 760px; color: #f5f5f7; scroll-margin-top: 90px; }
.mt-page--landing .mt-prose ul.mt-lp-cta__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; max-width: 900px; font-size: 17px; line-height: 1.5; color: #dbe6f2; }
.mt-page--landing .mt-prose ul.mt-lp-cta__list > li::before { background: #5fd38a; }
.mt-page--landing .mt-prose .mt-lp-cta .mt-btn--ghost { --b-bg: rgba(255, 255, 255, .1); --b-fg: #fff; --b-bd: rgba(255, 255, 255, .28); }
.mt-page--landing .mt-prose .mt-lp-cta .mt-btn--ghost:hover { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .4); }
.mt-page--landing .mt-prose .mt-lp-cta a:not(.mt-btn) { color: #7cc4ff; }
.mt-page--landing .mt-prose .mt-lp-cta__more { font-size: 15px; }

/* Hỏi đáp: details gốc của trình duyệt */
.mt-page--landing .mt-prose .mt-lp-faq { max-width: 860px; border-top: 1px solid var(--mt-line); }
.mt-page--landing .mt-prose .mt-lp-faq details { margin: 0; border-bottom: 1px solid var(--mt-line); }
.mt-page--landing .mt-prose .mt-lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.015em; color: var(--mt-ink); }
.mt-page--landing .mt-prose .mt-lp-faq summary::-webkit-details-marker { display: none; }
.mt-page--landing .mt-prose .mt-lp-faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 300; line-height: 1; color: var(--mt-muted); transition: transform .25s var(--mt-ease); }
.mt-page--landing .mt-prose .mt-lp-faq details[open] > summary::after { transform: rotate(45deg); }
.mt-page--landing .mt-prose .mt-lp-faq summary:hover { color: var(--mt-blue); }
.mt-page--landing .mt-prose .mt-lp-faq summary:focus-visible { outline: 2px solid var(--mt-blue); outline-offset: 4px; border-radius: 4px; }
.mt-page--landing .mt-prose .mt-lp-faq details > p { margin: 0; padding: 0 44px 22px 0; font-size: 17px; }

/* Mục lục: nút tròn dẫn tới từng phần */
.mt-page--landing .mt-prose > .mt-lp-toc__label { margin-top: 56px; font-size: 13px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--mt-muted); }
.mt-page--landing .mt-prose > ul.mt-lp-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mt-page--landing .mt-prose ul.mt-lp-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--mt-line-soft); border-radius: var(--mt-pill); background: #fff; font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--mt-ink); text-decoration: none; transition: border-color .2s, color .2s; }
.mt-page--landing .mt-prose ul.mt-lp-toc a:hover { border-color: var(--mt-blue); color: var(--mt-blue); }

/* Thẻ sản phẩm tiêu biểu (trang landing và bài blog cụm cảm biến) */
.mt-post .mt-prose > ul.mt-lp-prods { display: grid; padding: 0; margin-top: 20px; }
.mt-post .mt-prose > ul.mt-lp-prods > li { padding-left: 0; margin: 0; }
.mt-post .mt-prose > ul.mt-lp-prods > li::before { content: none; }
.mt-post .mt-prose .mt-lp-prod__img img { margin: 0; }
.mt-prose .mt-cb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-prose .mt-cb-actions .mt-btn { text-decoration: none; }
.mt-prose .mt-cb-actions a.mt-btn { color: var(--b-fg); } /* thắng màu link chung của cột đọc */
:is(.mt-page--landing, .mt-post) .mt-prose > ul.mt-lp-prods { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
:is(.mt-page--landing, .mt-post) .mt-prose .mt-lp-prod { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 16px 18px; border: 1px solid var(--mt-line-soft); border-radius: var(--mt-r-md); background: #fff; color: var(--mt-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
:is(.mt-page--landing, .mt-post) .mt-prose .mt-lp-prod:hover { border-color: var(--mt-line); box-shadow: 0 8px 24px rgba(3, 28, 54, .08); }
:is(.mt-page--landing, .mt-post) .mt-prose .mt-lp-prod__img { display: block; aspect-ratio: 1; margin-bottom: 10px; border-radius: var(--mt-r-sm, 10px); background: var(--mt-bg-alt); overflow: hidden; }
:is(.mt-page--landing, .mt-post) .mt-prose .mt-lp-prod__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; border-radius: 0; }
:is(.mt-page--landing, .mt-post) .mt-prose .mt-lp-prod__brand { font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--mt-muted); }
:is(.mt-page--landing, .mt-post) .mt-prose .mt-lp-prod__name { font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
:is(.mt-page--landing, .mt-post) .mt-prose .mt-lp-prod__sku { font-family: var(--mt-mono); font-size: 12px; color: var(--mt-muted); overflow-wrap: anywhere; }
:is(.mt-page--landing, .mt-post) .mt-prose .mt-lp-prod__price { margin-top: auto; padding-top: 8px; font-size: 16px; font-weight: 700; color: var(--mt-ink); font-variant-numeric: tabular-nums; }
:is(.mt-page--landing, .mt-post) .mt-prose .mt-lp-prod:hover .mt-lp-prod__name { color: var(--mt-blue); }

@media (prefers-reduced-motion: reduce) {
  .mt-page--landing .mt-prose .mt-lp-faq summary::after { transition: none; }
}
@media (max-width: 1068px) {
  :is(.mt-page--landing, .mt-post) .mt-prose > ul.mt-lp-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  :is(.mt-page--landing, .mt-post) .mt-prose > ul.mt-lp-prods { gap: 10px; }
  :is(.mt-page--landing, .mt-post) .mt-prose .mt-lp-prod { padding: 12px 12px 14px; }
  :is(.mt-page--landing, .mt-post) .mt-prose .mt-lp-prod__name { font-size: 14px; }
  .mt-page--landing .mt-prose > .mt-lp-toc__label { margin-top: 40px; }
  /* Bảng thường thành thẻ: hiện tên cột trước mỗi ô */
  .mt-page--landing .mt-prose .mt-lp-table td[data-label] + td[data-label] { margin-top: 8px; }
  .mt-page--landing .mt-prose .mt-lp-table td[data-label]:first-child { font-size: 16px; font-weight: 600; color: var(--mt-ink); }
  .mt-page--landing .mt-prose .mt-lp-table td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--mt-muted); }
}
@media (max-width: 1068px) {
  .mt-page--landing .mt-prose ul.mt-lp-picks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 834px) {
  .mt-page--landing .mt-prose ul.mt-lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mt-page--landing .mt-prose ul.mt-lp-stats > li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .mt-page--landing .mt-prose ul.mt-lp-stats > li:nth-child(n+3) { border-top: 1px solid var(--mt-line-soft); }
  .mt-page--landing .mt-prose .mt-lp-brands,
  .mt-page--landing .mt-prose .mt-lp-kw { grid-template-columns: 1fr; }
}
@media (max-width: 734px) {
  .mt-page--landing .mt-page__head { padding: 24px 0 20px; }
  .mt-page--landing .mt-page__body { padding-bottom: 64px; }
  .mt-page--landing .mt-prose > h2 { margin-top: 64px; }
  .mt-page--landing .mt-prose .mt-lp-lead { font-size: 19px; }
  .mt-page--landing .mt-prose ul.mt-lp-stats > li { padding: 18px 0 18px 16px; }
  .mt-page--landing .mt-prose .mt-lp-stats strong { font-size: 26px; }
  .mt-page--landing .mt-prose .mt-lp-actions .mt-btn { flex: 1 1 100%; }
  .mt-page--landing .mt-prose ul.mt-lp-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 14px; }
  .mt-page--landing .mt-prose .mt-lp-brand { padding: 22px; }
  .mt-page--landing .mt-prose ul:is(.mt-lp-vs, .mt-lp-picks, .mt-lp-guide, .mt-lp-cta__list) { grid-template-columns: 1fr; }
  .mt-page--landing .mt-prose ul.mt-lp-guide > li:last-child:nth-child(odd) { grid-column: auto; }

  /* Bảng thành thẻ xếp dọc: thead ẩn khỏi mắt nhưng vẫn cho trình đọc màn hình. */
  .mt-page--landing .mt-prose .mt-lp-table { overflow: visible; }
  .mt-page--landing .mt-prose .mt-lp-table table { display: block; border: 0; border-radius: 0; overflow: visible; }
  .mt-page--landing .mt-prose .mt-lp-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .mt-page--landing .mt-prose .mt-lp-table tbody { display: grid; gap: 12px; }
  .mt-page--landing .mt-prose .mt-lp-table tr { display: block; padding: 16px 18px; border: 1px solid var(--mt-line-soft); border-radius: var(--mt-r-md); }
  .mt-page--landing .mt-prose .mt-lp-table td { display: block; padding: 0; border: 0; width: auto; }
  .mt-page--landing .mt-prose .mt-lp-table--compare td:first-child { width: auto; margin-bottom: 8px; font-size: 16px; }
  .mt-page--landing .mt-prose .mt-lp-table--compare td + td { padding-top: 8px; }
  .mt-page--landing .mt-prose .mt-lp-table--compare td + td + td { margin-top: 8px; border-top: 1px solid var(--mt-line-soft); }
  .mt-page--landing .mt-prose .mt-lp-table--compare td:nth-child(2)::before { content: "Inovance"; }
  .mt-page--landing .mt-prose .mt-lp-table--compare td:nth-child(3)::before { content: "INVT"; }
  .mt-page--landing .mt-prose .mt-lp-table--compare td + td::before { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--mt-muted); }
  .mt-page--landing .mt-prose .mt-lp-table--price tr { display: grid; grid-template-columns: auto auto 1fr; grid-template-areas: "n n n" "p p p" "v k c"; gap: 4px 0; }
  .mt-page--landing .mt-prose .mt-lp-table--price td { text-align: left !important; font-size: 14px; color: var(--mt-muted); }
  .mt-page--landing .mt-prose .mt-lp-table--price td:nth-child(1) { grid-area: n; font-size: 16px; color: var(--mt-ink); }
  .mt-page--landing .mt-prose .mt-lp-table--price td:nth-child(2) { grid-area: v; }
  .mt-page--landing .mt-prose .mt-lp-table--price td:nth-child(3) { grid-area: k; }
  .mt-page--landing .mt-prose .mt-lp-table--price td:nth-child(4) { grid-area: p; font-size: 17px; font-weight: 600; color: var(--mt-ink); white-space: normal; }
  .mt-page--landing .mt-prose .mt-lp-table--price td:nth-child(5) { grid-area: c; }
  .mt-page--landing .mt-prose .mt-lp-table--price td:is(:nth-child(3), :nth-child(5))::before { content: "\00a0·\00a0"; }
  .mt-page--landing .mt-prose .mt-lp-table--price td:nth-child(5)::after { content: " mã"; }

  .mt-page--landing .mt-prose > .mt-lp-cta { margin-top: 72px; padding: 32px 22px; border-radius: var(--mt-r-md); }
  .mt-page--landing .mt-prose .mt-lp-cta .mt-lp-actions .mt-more { flex: 1 1 100%; justify-content: center; min-height: 44px; }
  .mt-page--landing .mt-prose .mt-lp-faq summary { font-size: 17px; }
  .mt-page--landing .mt-prose .mt-lp-faq details > p { padding-right: 0; font-size: 16px; }
}
