/* Nhân Tài Việt (tuyendung) — trang chủ y hệt mockup Astra đợt 6 (10-02): xanh lá #4fa145 (đậm #3c9a3a) + cam #f0ad4e, nền trắng.
   Mockup rộng 772px -> x1.865. Toàn bộ chữ Be Vietnam Pro. */
:root { --td-g: #43a047; --td-g2: #2e8b35; --td-o: #f0a43e; --td-ink: #1a1a1a; --td-text: #444; --td-muted: #777; --td-line: #e7e9ec; }
body, p, li, a, input, select, textarea, button, td, th, h1, h2, h3, h4, .nav > li > a, #logo a { font-family: "Be Vietnam Pro", sans-serif !important; }
body { background: #fff; color: var(--td-text); }
.td-sec, .td-footer, #header { word-break: normal !important; overflow-wrap: normal; }

/* ---------- header ---------- */
#header .header-main { background: #fff !important; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
#header .header-bg-color { background: #fff !important; }
#header .header-main .header-inner { max-width: 1440px; padding: 0 72px 0 78px !important; }
#header #logo { width: auto !important; margin: 0 !important; top: 0 !important; }
#header #logo a { position: relative; top: 0 !important; margin: 0 !important; display: flex; align-items: center; gap: 14px; color: var(--td-ink) !important; font-size: 34px; font-weight: 700 !important; line-height: 1; letter-spacing: -.015em; text-transform: none !important; white-space: nowrap; }
#header #logo a::before { content: ""; width: 104px; height: 68px; background: url(icons/deco-logo.png) center / contain no-repeat; }
#header .header-main .flex-left { flex: 1 1 auto; }
#header .header-main .flex-left .header-nav-main { padding-left: 46px; flex-wrap: nowrap; }
#header .header-nav-main { flex-wrap: nowrap !important; }
#header .header-nav-main > li { margin: 0 17px !important; }
#header .header-nav-main > li > a { color: #555 !important; font-size: 15.5px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; padding: 8px 0 !important; white-space: nowrap; position: relative; }
#header .header-nav-main > li > a::before, #header .header-nav-main > li > a::after { display: none !important; }
#header .header-nav-main > li:first-child > a { color: var(--td-g2) !important; font-weight: 600 !important; box-shadow: inset 0 -3px 0 var(--td-g); }
#header .header-button-1, #header .header-button-2 { margin-left: 20px !important; margin-right: 0 !important; }
#header .header-button-1 a, #header .header-button-2 a { min-height: 50px; padding: 0 24px !important; border-radius: 4px !important; font-size: 16.5px !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; display: inline-flex !important; align-items: center; white-space: nowrap; }
#header .header-button-1 a { background: #fff !important; border: 1.5px solid var(--td-g) !important; color: var(--td-g2) !important; padding: 0 28px !important; }
#header .header-button-2 a { background: var(--td-g) !important; border: 1.5px solid var(--td-g) !important; color: #fff !important; }
.mobile-nav .icon-menu { color: var(--td-ink) !important; }

/* ---------- khung chung ---------- */
.td-sec .col, .td-footer .col { padding: 0 !important; }
.td-sec .row, .td-footer .row { max-width: none !important; margin: 0 !important; }
.td-w { max-width: 1292px; margin: 0 auto; }
.td-h2 { color: var(--td-ink) !important; font-size: 34px !important; font-weight: 700 !important; line-height: 1.2 !important; letter-spacing: -.015em; margin: 0 !important; }
.td-sub { color: #666; font-size: 20px; margin-top: 12px; } .td-sub i { font-style: normal; margin: 0 10px; }
.td-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.td-link { display: inline-flex; align-items: center; gap: 10px; color: var(--td-g2) !important; font-size: 16.5px; font-weight: 600; white-space: nowrap; margin-bottom: 6px; }
.td-link img { width: 20px; height: 20px; }
.td-link-u { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(67, 160, 71, .6); }
.td-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 28px; background: var(--td-g); color: #fff !important; font-size: 17px; font-weight: 600; border-radius: 4px; white-space: nowrap; }
.td-btn img { width: 22px; height: 22px; }
.td-btn-lg { min-height: 62px; padding: 0 34px; font-size: 19px; }
.td-more { display: inline-flex; align-items: center; gap: 10px; color: var(--td-g2) !important; font-size: 16.5px; font-weight: 500; }
.td-more img { width: 18px; height: 18px; }

/* ---------- hero hai cửa ---------- */
.section.td-hero { padding: 26px 0 0 !important; }
.td-hero-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.td-hc { position: relative; height: 558px; border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.td-hc-seek { background: var(--td-g); }
.td-hc-hire { background: #fff; border: 1px solid #e3e6ea; box-shadow: 0 2px 12px rgba(0, 0, 0, .04); }
.td-hc-txt { position: relative; z-index: 2; padding: 38px 36px 0; }
.td-hc h1, .td-hc h2 { font-size: 46px !important; font-weight: 700 !important; line-height: 1.15 !important; margin: 0 !important; letter-spacing: -.02em; }
.td-hc h1 { color: #fff !important; } .td-hc h2 { color: var(--td-g2) !important; }
.td-hc-sub { font-size: 22.5px; margin-top: 12px; }
.td-hc-seek .td-hc-sub { color: #f1fbef; } .td-hc-hire .td-hc-sub { color: #333; }
.td-hc-hire .td-btn-lg { margin-top: 32px; }
.td-find { display: flex; gap: 14px; margin: 32px 0 0 !important; }
.td-find label { flex: 1 1 auto; display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 20px; background: #fff; border-radius: 4px; margin: 0 !important; }
.td-find label img { width: 24px; height: 24px; }
.td-find input { border: 0 !important; box-shadow: none !important; height: 58px !important; margin: 0 !important; padding: 0 !important; font-size: 16.5px !important; background: transparent !important; }
.td-find button { width: 168px; height: 62px; margin: 0 !important; border: 0; border-radius: 4px; background: var(--td-o); color: #fff; font-size: 19px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.td-hc-img { position: absolute; left: 0; right: 0; bottom: 0; height: 336px; clip-path: polygon(0 12%, 18% 7%, 42% 3%, 70% 1%, 100% 0, 100% 100%, 0 100%); background: #dfe7df; }
.td-hc-hire .td-hc-img { clip-path: polygon(0 0, 30% 1.5%, 60% 4%, 100% 6%, 100% 100%, 0 100%); }
.td-hc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- việc làm mới nhất ---------- */
.section.td-jobs { padding: 58px 0 40px !important; }
.td-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 26px; }
.td-chip { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; border-radius: 30px; background: #f1f2f4; color: #555 !important; font-size: 16.5px; }
.td-chip.on { background: var(--td-g); color: #fff !important; font-weight: 600; }
.td-tb { width: 100%; }
.td-tr { display: grid; grid-template-columns: minmax(0, 423fr) minmax(0, 246fr) minmax(0, 237fr) minmax(0, 202fr) 184px; align-items: center; min-height: 60px; padding: 0 22px; border-bottom: 1px solid #edf0f2; color: #777; font-size: 16px; }
.td-tr[hidden] { display: none; }
.td-th { background: #f3f4f6; border-radius: 4px; border: 0; min-height: 54px; color: #333; font-size: 17px; font-weight: 600; }
.td-jt { color: #333 !important; font-size: 17px; }
.td-sal { color: var(--td-g2); font-weight: 600; font-size: 17px; }
.td-apply { justify-self: end; display: inline-flex; align-items: center; justify-content: center; width: 146px; height: 42px; border: 1.5px solid var(--td-g); border-radius: 4px; color: var(--td-g2) !important; font-weight: 600; font-size: 16px; }
.td-apply:hover { background: var(--td-g); color: #fff !important; }
.td-empty { padding: 20px 22px; color: #777; }

/* ---------- ngành tuyển nhiều ---------- */
.section.td-inds { padding: 30px 0 30px !important; }
.td-ind-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.td-ind { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 202px; background: #fff; border-radius: 4px; box-shadow: 0 1px 6px rgba(0, 0, 0, .04); }
.td-ind img { width: 76px; height: 76px; margin-bottom: 22px; }
.td-ind span { color: #333; font-size: 20.5px; line-height: 1.35; }

/* ---------- doanh nghiệp tuyển thế nào ---------- */
.section.td-proc { padding: 36px 0 24px !important; }
.td-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 30px; }
.td-st b { position: relative; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--td-o); color: #fff; font-size: 27px; font-weight: 700; }
.td-st { position: relative; }
.td-st:not(:last-child)::after { content: ""; position: absolute; top: 36px; left: 100px; right: -2px; height: 2px; background: #f3b86a; }
.td-st:last-child::after { content: ""; position: absolute; top: 36px; left: 100px; right: 0; height: 2px; background: #f3b86a; }
.td-st h3 { color: var(--td-g2) !important; font-size: 22.5px !important; font-weight: 600 !important; margin: 22px 0 12px !important; }
.td-st div { color: #777; font-size: 17px; line-height: 1.7; }

/* ---------- đúng người ---------- */
.section.td-fit { padding: 14px 0 10px !important; }
.td-fit-in { display: grid; grid-template-columns: minmax(0, 783fr) minmax(0, 657fr); align-items: center; }
.td-fit-img { height: 446px; overflow: hidden; background: #e2e8e2; }
.td-fit-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.td-fit-txt { padding: 0 40px 0 70px; }
.td-ck { display: flex; gap: 24px; margin-top: 30px; }
.td-fit-txt .td-ck:first-of-type { margin-top: 34px; }
@media (min-width: 850px) { .td-fit .td-h2 { font-size: 37px !important; } }
.td-ck > i { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%; background: var(--td-g) url(icons/check-w.png) center / 28px no-repeat; }
.td-ck h3 { color: var(--td-ink) !important; font-size: 21.5px !important; font-weight: 600 !important; margin: 0 0 10px !important; }
.td-ck div div { color: #777; font-size: 17.5px; }
.td-fit .td-link { margin-top: 32px; font-size: 18px; font-weight: 500; }

/* ---------- góc nhìn ---------- */
.section.td-rev { padding: 20px 0 10px !important; }
.td-rev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-top: 28px; }
.td-rv { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 30px; align-items: center; border: 1px solid var(--td-line); border-radius: 6px; padding: 30px 30px 26px 66px; }
.td-qm { position: absolute; left: 26px; top: 6px; color: var(--td-o); font-family: Georgia, serif !important; font-size: 76px; font-weight: 700; line-height: 1; }
.td-av { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: #e8ece8; }
.td-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.td-rv-q { color: #555; font-size: 19px; line-height: 1.6; }
.td-rv-n { color: #777; font-size: 16.5px; margin-top: 10px; } .td-rv-n b { color: #444; font-weight: 600; }

/* ---------- tin tức ---------- */
.section.td-news { padding: 30px 0 34px !important; }
.td-po-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 60px; margin-top: 22px; }
.td-po-img { display: block; aspect-ratio: 411 / 215; overflow: hidden; border-radius: 4px; background: #e2e8e2; }
.td-po-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.td-po-k { display: block; color: var(--td-g2); font-size: 16px; font-weight: 500; margin: 16px 0 6px; }
.td-po h3 { margin: 0 0 12px !important; font-size: 19px !important; font-weight: 600 !important; line-height: 1.45 !important; }
.td-po h3 a { color: var(--td-ink) !important; }
.td-po-ex { color: #888; font-size: 16px; line-height: 1.7; margin-bottom: 12px; }

/* ---------- dải gửi CV ---------- */
.section.td-cta { padding: 0 !important; }
.td-cta-in { display: flex; align-items: center; justify-content: space-between; min-height: 131px; }
.td-cta h2 { color: var(--td-ink) !important; font-size: 41px !important; font-weight: 700 !important; margin: 0 !important; line-height: 1.15 !important; letter-spacing: -.02em; }
.td-cta-sub { color: #2a2a2a; font-size: 22px; }
.td-btn-cta { min-height: 62px; width: 228px; font-size: 20px; }

/* ---------- footer ---------- */
.section.td-footer { padding: 32px 0 0 !important; }
.td-ft { max-width: 1292px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 370fr) minmax(0, 300fr) minmax(0, 334fr) minmax(0, 288fr); }
.td-ft-logo { display: inline-flex; align-items: center; gap: 14px; }
.td-ft-logo img { width: 74px; height: 50px; object-fit: contain; }
.td-ft-logo span { color: #fff; font-size: 27px; font-weight: 500; }
.td-ft-tag { color: #cfd2d5; font-size: 16.5px; margin: 16px 0 24px; }
.td-soc { display: flex; gap: 14px; }
.td-soc a { width: 44px; height: 44px; border-radius: 50%; background: #3a3d40; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; }
.td-soc svg { width: 19px; height: 19px; }
.td-ft-col h4 { color: #fff !important; font-size: 16.5px !important; font-weight: 600 !important; margin: 4px 0 20px !important; }
.td-ft-col > a:not([href^="tel"]):not([href^="mailto"]) { display: block; color: #cfd2d5 !important; font-size: 16.5px; margin-bottom: 10px; }
.td-ft-ct a, .td-ft-addr { display: flex; align-items: flex-start; gap: 20px; color: #e3e5e7 !important; font-size: 16.5px; line-height: 1.55; margin-bottom: 12px; }
.td-ft-ct img { width: 24px; height: 24px; flex: 0 0 auto; }
.td-ft-bot { margin: 14px 0 0; padding: 14px 0 16px; border-top: 1px solid #3a3d40; text-align: center; color: #b9bdc1; font-size: 15px; }
#footer .absolute-footer { display: none !important; }

/* ---------- mobile ---------- */
@media (max-width: 849px) {
  #header .header-main .header-inner { padding: 0 10px !important; }
  #header #logo a { font-size: 23px; gap: 8px; } #header #logo a::before { width: 50px; height: 34px; }
  .td-w { padding: 0 16px; }
  .td-h2 { font-size: 28px !important; }
  .td-head { flex-wrap: wrap; gap: 6px 16px; } .td-link { font-size: 14.5px; margin: 0; }
  .section.td-hero { padding-top: 14px !important; }
  .td-hero-in { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .td-hc { height: auto; }
  .td-hc-txt { padding: 28px 20px 24px; }
  .td-hc h1, .td-hc h2 { font-size: 31px !important; }
  .td-hc-sub { font-size: 17px; }
  .td-find { flex-direction: column; gap: 10px; margin-top: 20px !important; }
  .td-find label { height: 52px; } .td-find input { height: 48px !important; }
  .td-find button { width: 100%; height: 52px; font-size: 17px; }
  .td-hc-hire .td-btn-lg { margin-top: 20px; min-height: 52px; font-size: 16px; padding: 0 22px; }
  .td-hc-img { position: relative; height: 210px; }
  .section.td-jobs { padding: 40px 0 30px !important; }
  .td-chips { flex-wrap: nowrap; overflow-x: auto; margin: 16px -16px 18px 0; padding-right: 16px; scrollbar-width: none; }
  .td-chip { flex: 0 0 auto; min-height: 40px; padding: 0 18px; font-size: 14.5px; }
  .td-th { display: none; }
  .td-tr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t a" "s a" "m a"; gap: 2px 12px; padding: 14px 4px; font-size: 14px; }
  .td-jt { grid-area: t; font-size: 16px; font-weight: 600; } .td-sal { grid-area: s; font-size: 15px; }
  .td-tr > span:nth-of-type(2), .td-tr > span:nth-of-type(3) { grid-area: m; display: inline; }
  .td-tr > span:nth-of-type(3) { display: none; }
  .td-apply { grid-area: a; width: 104px; height: 38px; font-size: 14.5px; }
  .section.td-inds { padding: 40px 0 44px !important; }
  .td-ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .td-ind { height: 150px; } .td-ind img { width: 54px; height: 54px; margin-bottom: 12px; } .td-ind span { font-size: 16px; }
  .td-sub { font-size: 16px; } .td-sub i { margin: 0 5px; }
  .td-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 24px; }
  .td-st::after, .td-st:last-child::after { display: none; }
  .td-st b { width: 56px; height: 56px; font-size: 21px; } .td-st h3 { font-size: 19px !important; margin: 12px 0 6px !important; } .td-st div { font-size: 15.5px; }
  .td-fit-in { grid-template-columns: minmax(0, 1fr); }
  .td-fit-img { height: 240px; }
  .td-fit-txt { padding: 26px 16px 10px; }
  .td-ck { gap: 16px; margin-top: 20px; } .td-ck > i { width: 40px; height: 40px; background-size: 22px; }
  .td-ck h3 { font-size: 18px !important; } .td-ck div div { font-size: 15.5px; }
  .td-rev-grid, .td-po-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .td-rv { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; padding: 30px 18px 22px 30px; }
  .td-av { width: 72px; height: 72px; } .td-qm { font-size: 54px; left: 14px; top: 4px; }
  .td-rv-q { font-size: 16.5px; } .td-rv-q br { display: none; }
  .td-cta-in { flex-direction: column; align-items: flex-start; gap: 16px; padding: 30px 16px; }
  .td-cta h2 { font-size: 30px !important; } .td-cta-sub { font-size: 17px; }
  .td-btn-cta { width: 100%; min-height: 54px; font-size: 18px; }
  .td-ft { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 0 16px; }
}
@media (min-width: 850px) and (max-width: 1399px) {
  .td-w, .td-ft { padding-left: 30px; padding-right: 30px; }
  .td-hc-txt { padding: 44px 34px 0; }
  .td-hc h1, .td-hc h2 { font-size: 38px !important; }
  .td-find button { width: 130px; }
  .td-tr { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 2fr) 150px; }
  .td-apply { width: 130px; }
  .td-fit-txt { padding: 0 30px 0 40px; }
  #header .header-main .flex-left .header-nav-main { padding-left: 20px; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #header .header-button-1 { display: none !important; }
  .td-ind-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .td-po-grid { gap: 24px; }
}
/* _midwidth: header Flatsome ở 850-1399px (laptop nhỏ/tablet ngang) — menu dựng theo mockup 1440 tràn phải; dùng chung mọi site */
@media (min-width: 850px) and (max-width: 1399px) {
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 6px !important; margin-right: 6px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 14px !important; }
  #header .header-search-form { max-width: 300px !important; width: 300px !important; margin-left: 20px !important; }
}
@media (min-width: 850px) and (max-width: 1199px) {
  #logo { width: auto !important; max-width: 210px !important; } #logo a { font-size: 21px !important; }
  #header .header-main .flex-right .header-button-1, #header .header-main .flex-right li.html, #header .header-search-form, #top-bar .flex-right { display: none !important; }
  #header .header-nav-main > li, #header .header-bottom-nav > li { margin-left: 3px !important; margin-right: 3px !important; }
  #header .header-nav-main > li > a, #header .header-bottom-nav > li > a { font-size: 13px !important; }
  #header .flex-col { min-width: 0; } #header .header-inner, #header .header-bottom .container { overflow: hidden; }
}
.col-inner a[href^="mailto"], .col-inner a[href^="tel"] { overflow-wrap: anywhere; }
