/* ==========================================================================
   MMTECH – cầu nối với MM Store Nova.
   Nạp khi theme dùng header/footer của Nova (body.mmn.mmtech-nova), sau CSS theme và CSS Nova.
   CSS Nova đặt chữ, cỡ dòng, màu cho cả body.mmn; phần nội dung do theme vẽ
   (.mmtech-main) cần trở lại đúng kiểu chữ MMTECH.
   ========================================================================== */

body.mmtech-nova .mmtech-main {
  color: #15203a;
  font-family: "Be Vietnam Pro", sans-serif;
  line-height: 1.5;
  background: #fff;
}

/* Header Nova dính trên cùng (cao khoảng 72px): cột bên và các mục nhảy tới không bị header che. */
body.mmtech-nova .page-sidebar,
body.mmtech-nova .content-sidebar {
  top: calc(var(--mmtech-nova-header, 72px) + 24px);
}
body.mmtech-nova .page-sidebar > .content-sidebar {
  top: auto;
}
body.mmtech-nova :is(.post-body, .page-body) :is(h2, h3, h4, h5, h6) {
  scroll-margin-top: calc(var(--mmtech-nova-header, 72px) + 24px);
}

/* Trang Elementor cũ: luật "body.mmn a{color:inherit}" của Nova đè màu mặc định của icon Elementor.
   Trả lại màu gốc; độ ưu tiên giữ thấp để các kiểu icon "stacked/framed" và màu riêng từng khối vẫn thắng. */
body:where(.mmtech-nova) .mmtech-builder-content a:where(.elementor-icon) {
  color: #69727d;
}
