/* Th?nh ph?n chung theo Home / HomeM v? c?c artboard bi?n th?. */
body.ml-ui #masthead .header-nav-main > li > a { font-family: Arsenal, sans-serif; font-size: 17px; font-weight: 600; line-height: 1.55; }
body.ml-ui #masthead .header-ml-actions .ml-hotline { background: #a51d2d !important; color: #fff !important; font-size: 17px; font-weight: 700; line-height: 1.55 !important; gap: .3em; padding: 10px 20px; border-radius: 999px; }
body.ml-ui #masthead .header-ml-actions .ml-hotline:hover { background: #8f1a2b !important; }
body.ml-ui #masthead .header-ml-actions .ml-lang { display: flex; align-items: center; box-sizing: border-box; width: 58px; min-width: 58px; height: 40px; min-height: 40px; padding: 0 8px; background: transparent; overflow: visible; border: 1px solid #e6dccb; border-radius: 8px; color: #2b1c1e; font: 600 16px/1.55 Arsenal, sans-serif; }
body.ml-ui #masthead .header-ml-actions .ml-lang :is(a, select) { font-family: Arsenal, sans-serif; font-size: inherit; font-weight: inherit; color: inherit; }
body.ml-ui #masthead .header-ml-actions .ml-lang :is(img, .flag) { display: none !important; }
body.ml-ui #logo img, body.ml-ui .header-wrapper.stuck #masthead #logo img { max-height: 40px !important; width: auto; }
body.ml-ui #footer .ml-footer { border-radius: 36px 36px 0 0; border-top: 2px solid #cfae6e; background: radial-gradient(120% 160% at 0% 0%,#a82234 0%,#8f1a2b 42%,#6f1020 100%); color: rgba(255,248,236,.8); font-size: 16px; line-height: 1.55; }
body.ml-ui #footer .ml-footer a { color: rgba(255,248,236,.8); }
body.ml-ui #footer .ml-footer__in { padding: 30px 24px; gap: 16px; font-size: inherit; }
body.ml-ui #wrapper .dz-btn { font-family: Arsenal, sans-serif; font-size: 17px; font-weight: 700; line-height: 1.55; padding: 14px 26px; }
body.ml-ui #wrapper :is(.dz-btn--ink,.dz-btn--zalo,.dz-btn--zalo-line,.dz-btn--ghost-w) { padding: 12px 24px; }
body.ml-ui .dz-pcard :is(h2, h3, .dz-pcard__loc, .dz-tag, .dz-specs dt, .dz-specs dd) { line-height: 1.55; }
body.ml-ui .dz-pcard .dz-specs dt { font-size: 14px; }
body.ml-ui .dz-pcard .dz-specs dd { font-size: 16px; }
body.ml-ui .dz-pcard--list .dz-specs dd { font-size: 17px; }
body.ml-ui .dz-pcard--aside .dz-pcard__loc { font-size: 16px; }
body.ml-ui .dz-pcard--aside .dz-specs :is(dt, dd) { line-height: 1.75; }
body.ml-ui .dz-pcard--aside h3 { font-size: 19px; }
body.ml-ui .dz-pcard--rel h3 { font-size: 20px; }
body.ml-ui .dz-pcard:is(.dz-pcard--aside,.dz-pcard--rel) .dz-tag { font-size: 14px; }
body.ml-ui .dz-pcard:is(.dz-pcard--aside,.dz-pcard--rel) .dz-specs dt { font-size: 13px; }
body.ml-ui .dz-pcard:is(.dz-pcard--aside,.dz-pcard--rel) .dz-specs dd { font-size: 15px; font-weight: 700; }
body.ml-ui .dz-pcard:is(.dz-pcard--aside,.dz-pcard--rel) .dz-specs dd.is-empty { font-weight: 600; }
body.ml-ui .dz-pcard--rel .dz-pcard__loc { margin: 0; }
body.ml-ui #wrapper .dz-pcard--aside .dz-btn--block { padding: 12px; border-radius: 8px; font-size: 19px; }
body.ml-ui #wrapper .dz-pcard--list .dz-btn--list { padding: 0 16px; }
@media (min-width:850px) {
 body.ml-ui #masthead .header-inner, body.ml-ui .header-wrapper.stuck #masthead .header-inner { padding-top: 12px; padding-bottom: 12px; align-items: center; }
}
@media (min-width:850px) and (max-width:1180px) {
 body.ml-ui #masthead .header-nav-main { gap: 16px; }
 body.ml-ui #masthead .header-nav-main > li > a { font-size: 14px; }
}
@media (max-width:849px) {
 body.ml-ui #masthead :is(.header-mobile-nav, .mobile-nav) li.nav-icon > a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; color: #2b1c1e; }
 body.ml-ui #logo img.header-logo, body.ml-ui .header-wrapper.stuck #masthead #logo img { max-height: 28px !important; }
 body.ml-ui #masthead .header-ml-actions .ml-lang { width: 53px; min-width: 53px; height: 38px; min-height: 38px; padding: 0 8px; border-radius: 12px; font-size: 15px; }
 body.ml-ui #footer .ml-footer { border-radius: 36px 36px 0 0; font-size: 15px; }
 body.ml-ui #footer .ml-footer__in { box-sizing: border-box; padding: 24px 16px; gap: 8px; font-size: 15px; }
 body.ml-ui #wrapper .dz-btn { min-height: 48px; padding: 0 18px; font-size: 18px; line-height: 1.55; gap: 8px; }
 body.ml-ui #wrapper :is(.dz-btn--ink,.dz-btn--zalo,.dz-btn--zalo-line,.dz-btn--ghost-w) { padding: 0 16px; }
 body.ml-ui .dz-pcard:not(.dz-pcard--aside):not(.dz-pcard--rel) h3 { font-size: 19px; }
 body.ml-ui .dz-pcard:not(.dz-pcard--aside):not(.dz-pcard--rel) .dz-pcard__loc { font-size: 15px; }
 body.ml-ui .dz-pcard:not(.dz-pcard--aside):not(.dz-pcard--rel) .dz-specs { gap: 8px; margin-top: 12px; padding-top: 12px; }
 body.ml-ui .dz-pcard:not(.dz-pcard--aside):not(.dz-pcard--rel) .dz-specs dt { font-size: 13px; }
 body.ml-ui .dz-pcard:not(.dz-pcard--aside):not(.dz-pcard--rel) .dz-specs dd { font-size: 15px; font-weight: 700; }
 body.ml-ui .dz-pcard--aside .dz-pcard__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
 body.ml-ui .dz-pcard--aside h3 { font-size: 20px; }
 body.ml-ui #wrapper .dz-pcard--aside .dz-btn--block { min-height: 48px; padding: 0 18px; border-radius: 999px; }
 body.ml-ui .dz-pcard--list h2 { font-size: 19px; }
 body.ml-ui .dz-pcard--list .dz-pcard__body { padding: 16px; }
 body.ml-ui .dz-pcard--list .dz-pcard__loc { margin-top: 2px !important; font-size: 16px !important; }
 body.ml-ui #wrapper .dz-pcard--list .dz-btn--list { margin-top: 14px; border-radius: 999px; padding: 0 18px; }
}

/* Header mobile như canvas (.hd: cao tối thiểu 52 + đệm 6px trên dưới, lề trái 16px) */
@media (max-width: 849px) {
  body.ml-ui #masthead.header-main .header-inner, body.ml-ui .header-wrapper.stuck #masthead .header-inner { box-sizing: content-box; min-height: 52px !important; height: auto !important; padding: 6px 8px 6px 16px; }
  body.ml-ui #masthead .header-inner > .flex-col:first-child, body.ml-ui #masthead #logo { padding-left: 0; margin-left: 0; }
}
body.ml-ui #masthead .header-ml-actions .ml-lang { padding: 0 12px; }
@media (max-width: 849px) { body.ml-ui #masthead .header-ml-actions .ml-lang { padding: 0 10px; } }
@media (max-width: 849px) { body.ml-ui #masthead .header-inner, body.ml-ui .header-wrapper.stuck #masthead .header-inner { gap: 0 !important; } body.ml-ui #masthead .mobile-nav.nav-right { gap: 4px; } }
/* GTranslate: chỉ chữ "VI ▾" như canvas, cùng font/cỡ/màu ô ngôn ngữ */
body.ml-ui .ml-lang :is(.gt_float_switcher, .gt-selected, .gt-current-lang) { font: inherit !important; color: inherit !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; line-height: 1 !important; display: flex !important; align-items: center; gap: 4px; }
body.ml-ui .ml-lang .gt-lang-code { font: inherit !important; color: inherit !important; text-transform: uppercase; }
body.ml-ui .ml-lang .gt_float_switcher-arrow { opacity: .8; }

/* Phần tử ngoài #wrapper (thanh dưới mobile, popup, ngăn kéo menu, link bỏ qua): cũng Arsenal, để trình duyệt không tải font Montserrat (404) của style.css theme cha. */
body.ml-ui :where(.ml-appnav, .ml-appnav *, .skip-link, .pum, .pum *, .mobile-sidebar, .mobile-sidebar *, .mfp-wrap, .mfp-wrap *) { font-family: Arsenal, Georgia, serif; }

/* Thanh đường dẫn: mục cuối (tên bài/dự án dài) rút gọn bằng "…" thay vì bị cắt cụt, trên mọi trang */
body.ml-ui .mv-crumbs ol { min-width: 0; max-width: 100%; }
body.ml-ui .mv-crumbs ol > li:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.ml-ui .mv-crumbs ol > li:not(:last-child) { flex: 0 0 auto; }

/* Chân trang đầy đủ (ml-fx): 4 cột link + NAP + mạng xã hội + bản quyền. */
body.ml-ui #footer .ml-fx { font-size: 15px; line-height: 1.6; }
body.ml-ui #footer .ml-fx__in { box-sizing: content-box; max-width: 1160px; margin: 0 auto; padding: 48px 24px 0; }
body.ml-ui #footer .ml-fx__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
body.ml-ui #footer .ml-fx__logo { display: inline-block; margin: 0 0 12px; font: 400 26px/1.2 var(--dz-serif, Arsenal, serif); letter-spacing: .14em; color: #fff; text-decoration: none; }
body.ml-ui #footer .ml-fx__about { margin: 0 0 16px; max-width: 420px; color: rgba(255,248,236,.85); }
body.ml-ui #footer .ml-fx__nap { display: flex; flex-direction: column; gap: 4px; margin: 0; font-style: normal; color: rgba(255,248,236,.85); }
body.ml-ui #footer .ml-fx__nap strong { color: #fff; font-weight: 700; }
body.ml-ui #footer .ml-fx__social { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
body.ml-ui #footer .ml-fx__social li { margin: 0; }
body.ml-ui #footer .ml-fx__social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(207,174,110,.55); border-radius: 50%; color: #fff; transition: background .2s, border-color .2s; }
body.ml-ui #footer .ml-fx__social a:hover { background: rgba(255,255,255,.12); border-color: #cfae6e; text-decoration: none; }
body.ml-ui #footer .ml-fx__title { margin: 4px 0 14px; font: 700 14px/1.4 Arsenal, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #e7cf9c; }
body.ml-ui #footer .ml-fx__col ul { margin: 0; padding: 0; list-style: none; }
body.ml-ui #footer .ml-fx__col li { margin: 0 0 8px; }
body.ml-ui #footer .ml-fx__col a, body.ml-ui #footer .ml-fx__nap a { color: rgba(255,248,236,.88); text-decoration: none; }
body.ml-ui #footer .ml-fx__col a:hover, body.ml-ui #footer .ml-fx__nap a:hover { color: #fff; text-decoration: underline; text-decoration-color: #cfae6e; text-underline-offset: 4px; }
body.ml-ui #footer .ml-fx__col .ml-fx__all { color: #e7cf9c; font-weight: 600; }
body.ml-ui #footer .ml-fx__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding: 18px 0 24px; border-top: 1px solid rgba(207,174,110,.35); font-size: 13px; color: rgba(255,248,236,.7); }
@media (min-width: 850px) and (max-width: 1100px) {
  body.ml-ui #footer .ml-fx__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  body.ml-ui #footer .ml-fx__brand { grid-column: 1 / -1; }
}
/* Khi khối thương hiệu chiếm cả hàng: chia 2 cột (giới thiệu + mạng xã hội | thông tin pháp lý, liên hệ) để footer không dài. */
@media (min-width: 600px) and (max-width: 1100px) {
  body.ml-ui #footer .ml-fx__brand { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  body.ml-ui #footer .ml-fx__brand > :not(.ml-fx__nap) { grid-column: 1; }
  body.ml-ui #footer .ml-fx__nap { grid-column: 2; grid-row: 1 / span 3; padding-top: 6px; }
  body.ml-ui #footer .ml-fx__about { max-width: none; }
  body.ml-ui #footer .ml-fx__social { margin-top: 4px; }
}
@media (max-width: 849px) {
  body.ml-ui #footer .ml-fx { font-size: 15px; }
  body.ml-ui #footer .ml-fx__in { padding: 32px 16px 0; }
  body.ml-ui #footer .ml-fx__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  body.ml-ui #footer .ml-fx__brand { grid-column: 1 / -1; }
  body.ml-ui #footer .ml-fx__col li { margin-bottom: 4px; }
  body.ml-ui #footer .ml-fx__col a { display: inline-block; padding: 4px 0; }
  body.ml-ui #footer .ml-fx__bottom { flex-direction: column; margin-top: 28px; padding-bottom: 20px; }
}
