/* ============================================================
   Talent HUB public website: modern layer
   Loaded after web-style.css. Design tokens, header, footer and
   shared buttons. Page-specific styles stay with their views.
   ============================================================ */

:root {
  --ph-blue: #2563EB;
  --ph-blue-dark: #1D4ED8;
  --ph-blue-soft: #EFF6FF;
  --ph-navy: #0F172A;
  --ph-navy-deep: #0B1220;
  --ph-bg: #F8FAFC;
  --ph-line: #E2E8F0;
  --ph-slate: #64748B;
  --ph-text-2: #475569;
  --ph-ink: #111827;
  --ph-purple: #6366F1;
  --ph-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ph-header-h: 72px;
  --ph-container: 1240px;
  --ph-radius: 16px;
  --ph-radius-sm: 12px;
  --ph-shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --ph-shadow-md: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 28px -14px rgba(15, 23, 42, .18);
  --ph-shadow-lg: 0 2px 4px rgba(15, 23, 42, .04), 0 24px 48px -20px rgba(15, 23, 42, .28);
  --ph-ease: cubic-bezier(.2, .7, .2, 1);
  --th-hero-bg: #EEF3FF; /* hero field colour; the home header matches it */
}

body,
body.font-sans {
  font-family: var(--ph-font) !important;
  color: var(--ph-ink);
}

/* Native form controls do not inherit the page font by default */
button, input, select, textarea { font-family: inherit; }

/* Keyboard focus is always visible on links and buttons */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ph-blue);
  outline-offset: 2px;
}

/* ---------------- Shared buttons ---------------- */
.ph-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.ph-btn--primary { background: var(--ph-blue); color: #fff; }
.ph-btn--primary:hover { background: var(--ph-blue-dark); color: #fff; box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .7); }
.ph-btn--dark { background: var(--ph-navy); color: #fff; }
.ph-btn--dark:hover { background: #000; color: #fff; }
.ph-btn--outline { background: #fff; color: var(--ph-ink); border-color: var(--ph-line); }
.ph-btn--outline:hover { border-color: var(--ph-blue); color: var(--ph-blue); }
.ph-btn--light { background: #fff; color: var(--ph-ink); }
.ph-btn--light:hover { background: #E2E8F0; color: var(--ph-ink); }

/* ---------------- Header ---------------- */
.navbar-main {
  background: #fff;
  border-bottom: 1px solid var(--ph-line);
  box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
  transition: box-shadow .25s;
}
.navbar-main.is-scrolled { box-shadow: 0 8px 24px -12px rgba(15, 23, 42, .25); }
.navbar-main .brand-logo { max-width: 190px; margin-right: 12px; }
.navbar-main .brand-logo img { max-height: 48px; width: auto; }
@media (max-width: 991.98px) { .navbar-main .brand-logo img { max-height: 40px; } }

.nav-links { justify-content: center; gap: 4px; }
.nav-links > li > a,
.nav-links > li > button {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ph-ink);
  position: relative;
  padding: 0 16px;
}
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links > li > button:hover { color: var(--ph-blue); }
.nav-links > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--ph-blue);
  transform: scaleX(0); transform-origin: center; transition: transform .2s;
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after { transform: scaleX(1); }

.nav-auth { gap: 10px; }
.nav-auth .btn-login,
.nav-auth .btn-register {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 22px; border-radius: 12px; font-size: .9375rem; font-weight: 700; line-height: 1.2;
  border: 1px solid transparent; text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.nav-auth .btn-login { background: transparent; color: var(--ph-ink); border-color: var(--ph-line); }
.nav-auth .btn-login:hover { background: var(--ph-bg); color: var(--ph-blue); border-color: var(--ph-blue); }
.nav-auth .btn-register { background: var(--ph-blue-soft); color: var(--ph-blue); border-color: #DBEAFE; }
.nav-auth .btn-register:hover { background: #DBEAFE; color: var(--ph-blue-dark); }

.mega-menu, .dropdown-menu-nav, .navbar-main .dropdown-menu {
  border: 1px solid var(--ph-line);
  border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .18);
}
.navbar-main .dropdown-menu .dropdown-item { font-weight: 500; border-radius: 8px; }

@media (min-width: 992px) {
  .navbar-main .brand-logo img { max-height: 52px; }
  .navbar-inner { height: var(--ph-header-h); }
  .mega-menu, .dropdown-menu-nav { top: var(--ph-header-h); }
  /* Pages offset themselves by the old 60px header; add the extra height here. */
  main { padding-top: calc(var(--ph-header-h) - 60px); }
}

/* ---------------- Mobile menu ---------------- */
.mobile-menu { background: rgba(15, 23, 42, .55); }
.mobile-menu-panel { display: flex; flex-direction: column; width: min(340px, 88vw); padding: 20px 16px 28px; }
.mobile-menu-brand { padding-top: 6px; }
.mobile-menu-brand a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.mobile-menu-brand img { width: auto; max-height: 40px; }
.mobile-nav-list { margin-top: 14px; }
.mobile-nav-list li a,
.mobile-nav-list li button {
  align-items: center; min-height: 48px; padding: 0 14px; font-size: 1rem; font-weight: 600; border-radius: 10px;
  color: var(--ph-ink); transition: background .2s, color .2s;
}
.mobile-nav-list li a:hover,
.mobile-nav-list li button:hover { background: var(--ph-bg); color: var(--ph-blue); }
.mobile-sub-list { padding: 2px 0 6px 14px; }
.mobile-sub-list li a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: .9375rem; font-weight: 500; color: var(--ph-text-2); }
.mobile-sub-title { padding: 10px 12px 4px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ph-slate); }
.mobile-nav-list .chev-m { font-size: .7rem; color: var(--ph-slate); }
.mobile-sub-count { margin-left: 6px; font-size: .8125rem; color: var(--ph-slate); }
.mobile-menu-cta { display: grid; gap: 10px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--ph-line); }
.mm-btn {
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; font-size: 1rem; font-weight: 700;
  color: var(--ph-ink); text-decoration: none; background: #fff; border: 1.5px solid var(--ph-line); border-radius: var(--ph-radius-sm);
}
.mm-btn:hover { border-color: var(--ph-blue); color: var(--ph-blue); }
.mm-btn--primary { background: var(--ph-blue); border-color: var(--ph-blue); color: #fff; }
.mm-btn--primary:hover { background: var(--ph-blue-dark); border-color: var(--ph-blue-dark); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .ph-btn, .nav-links > li > a::after { transition: none; }
}
}

/* ============================================================
   HOME PAGE
   Everything below styles the public home page (website/home).
   Classes use the .th- prefix.
   ============================================================ */

/* ---- Page frame: one container width shared by header, content and footer ---- */
body.home-page { background: #fff; }
body.home-page main { padding-top: 0; background: #fff; }
body.home-page .container { max-width: var(--ph-container); --bs-gutter-x: 2.25rem; }
@media (min-width: 768px) {
  body.home-page .container { --bs-gutter-x: 3rem; }
}
/* The header is solid white on the home page (the old theme made it transparent) */
.home-page .navbar-main { background: transparent; border-bottom: 0; box-shadow: none; }
/* Scrolled: solid hero colour with no border, so the header reads as one continuous surface with the hero */
.home-page .navbar-main.is-scrolled,
.home-page .navbar-main.navbar-scrolled { background: var(--th-hero-bg); border-bottom: 0; box-shadow: 0 10px 24px -18px rgba(15, 23, 42, .28); }

/* ---- Reveal-on-scroll (enabled by the .js class + modern-public.js) ---- */
.js [data-reveal] {
  opacity: 0;
  transition: opacity .6s var(--ph-ease), transform .6s var(--ph-ease);
  transition-delay: var(--rd, 0ms);
}
.js [data-reveal="up"] { transform: translateY(22px); }
.js [data-reveal="left"] { transform: translateX(-26px); }
.js [data-reveal="right"] { transform: translateX(26px); }
.js [data-reveal="scale"] { transform: scale(.97); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---- Shared home pieces ---- */
.th-section { padding: 88px 0; }
.th-section--tint { background: var(--ph-bg); }

.th-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.th-head--center { flex-direction: column; align-items: center; text-align: center; margin-bottom: 44px; }
.th-head-text { max-width: 640px; }
.th-eyebrow { display: block; margin-bottom: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ph-blue); }
.th-head h2 {
  margin: 0; font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.2; font-weight: 800;
  letter-spacing: -.02em; color: var(--ph-ink);
}
.th-head p { margin: 10px 0 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ph-text-2); }

.th-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; flex: 0 0 auto;
  font-size: .9375rem; font-weight: 700; color: var(--ph-blue); text-decoration: none; white-space: nowrap;
}
.th-link i { transition: transform .2s var(--ph-ease); }
.th-link:hover { color: var(--ph-blue-dark); }
.th-link:hover i { transform: translateX(4px); }

.th-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
  border: 1.5px solid transparent; border-radius: var(--ph-radius-sm); font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.th-btn i { transition: transform .2s var(--ph-ease); }
.th-btn:hover i { transform: translateX(3px); }
.th-btn--primary { background: var(--ph-blue); color: #fff; }
.th-btn--primary:hover { background: var(--ph-blue-dark); color: #fff; box-shadow: 0 10px 22px -12px rgba(37, 99, 235, .8); }
.th-btn--light { background: #fff; color: var(--ph-navy); }
.th-btn--light:hover { background: #E2E8F0; color: var(--ph-navy); }
.th-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.th-btn--ghost:hover { background: #fff; color: var(--ph-navy); border-color: #fff; }
.th-btn--outline { background: #fff; color: var(--ph-ink); border-color: #CBD5E1; }
.th-btn--outline:hover { border-color: var(--ph-blue); color: var(--ph-blue); }
.th-pane--dark :focus-visible, .th-cta :focus-visible, .th-news :focus-visible { outline-color: #fff; }

/* ---- Hero ---- */
.th-hero {
  position: relative; overflow-x: clip;
  padding: calc(var(--ph-header-h) + 48px) 0 88px;
  background: linear-gradient(180deg, #EEF4FF 0%, #F8FAFC 100%);
}
.th-hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: 64px; align-items: center; }
.th-hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 7px 14px 7px 12px;
  font-size: .875rem; font-weight: 700; color: var(--ph-blue-dark); background: #fff; border: 1px solid #BFDBFE; border-radius: 999px;
}
.th-hero-title {
  margin: 0 0 20px; font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.08; font-weight: 800;
  letter-spacing: -.03em; color: var(--ph-ink);
}
.th-hero-title span { color: var(--ph-blue); }
.th-hero-sub { max-width: 560px; margin: 0 0 32px; font-size: 1.1875rem; line-height: 1.65; color: var(--ph-text-2); }

.th-search {
  position: relative; z-index: 20; display: flex; flex-wrap: wrap; align-items: stretch; gap: 4px; padding: 8px;
  background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); box-shadow: var(--ph-shadow-lg);
}
.th-field {
  position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 54px; padding: 0 16px;
  border-radius: var(--ph-radius-sm); transition: background .2s, box-shadow .2s;
}
.th-field:focus-within { background: var(--ph-blue-soft); box-shadow: inset 0 0 0 2px var(--ph-blue); }
.th-field > i { flex: 0 0 auto; font-size: 18px; color: var(--ph-slate); }
/* Row 1: keyword. Row 2: experience, location and the search button. */
.th-field--keyword { flex: 1 0 100%; border-bottom: 1px solid var(--ph-line); border-radius: var(--ph-radius-sm) var(--ph-radius-sm) 0 0; }
.th-field--exp { flex: 1 1 0; border-radius: var(--ph-radius-sm) 0 0 var(--ph-radius-sm); border-right: 1px solid var(--ph-line); }
.th-field--loc { flex: 1.1 1 0; }
.th-search .th-input,
.th-search .th-select {
  width: 100%; height: 52px; padding: 0; border: 0; border-radius: 0; outline: 0; background: transparent; box-shadow: none;
  font-size: 1rem; font-weight: 500; color: var(--ph-ink);
}
.th-search .th-input::placeholder { color: var(--ph-slate); opacity: 1; }
.th-search .th-select { appearance: none; -webkit-appearance: none; padding-right: 22px; cursor: pointer; text-overflow: ellipsis; }
.th-search .th-select.is-empty { color: var(--ph-slate); }
.th-search .th-select option { color: var(--ph-ink); }
.th-search input:focus-visible, .th-search select:focus-visible { outline: 0; }
.th-field > .th-caret { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 13px; pointer-events: none; }
.th-search-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px;
  border: 0; border-radius: var(--ph-radius-sm); background: var(--ph-blue); color: #fff; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background .2s;
}
.th-search-btn:hover { background: var(--ph-blue-dark); }
.th-search-btn:focus-visible { outline: 3px solid var(--ph-navy); outline-offset: 2px; }

.th-suggest {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; width: 100%; min-width: 220px; max-height: 240px; overflow-y: auto;
  padding: 6px; text-align: left; background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius-sm);
  box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .25);
}
.th-suggest[hidden] { display: none; }
.th-suggest-item {
  display: block; width: 100%; min-height: 40px; padding: 9px 12px; border: 0; border-radius: 8px; background: transparent;
  font-size: .9375rem; color: var(--ph-ink); text-align: left; cursor: pointer;
}
.th-suggest-item:hover, .th-suggest-item.is-active { background: var(--ph-blue-soft); color: var(--ph-blue-dark); }

.th-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; position: relative; z-index: 1; }
.th-popular-label { margin-right: 4px; font-size: .9375rem; font-weight: 600; color: var(--ph-text-2); }
.th-chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; font-size: .9375rem; font-weight: 600; color: var(--ph-ink);
  text-decoration: none; background: #fff; border: 1px solid var(--ph-line); border-radius: 999px;
  transition: border-color .2s, color .2s, background .2s;
}
.th-chip:hover { border-color: var(--ph-blue); color: var(--ph-blue); background: var(--ph-blue-soft); }

.th-hero-visual { position: relative; padding-bottom: 36px; }
.th-hero-photo { position: relative; margin: 0; aspect-ratio: 1 / 1.02; overflow: hidden; border-radius: 20px; background: #DBEAFE; box-shadow: var(--ph-shadow-lg); }
.th-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 46% 30%; transition: transform .8s var(--ph-ease); }
.th-hero-visual:hover .th-hero-photo img { transform: scale(1.03); }
.th-hero-panel {
  position: absolute; left: -36px; right: 28px; bottom: 0; z-index: 2; padding: 14px 16px 8px;
  background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); box-shadow: var(--ph-shadow-lg);
}
.th-hero-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 8px; font-size: .9375rem; font-weight: 700; }
.th-hero-panel-head span i { margin-right: 6px; color: var(--ph-blue); }
.th-hero-panel-head a { display: inline-flex; align-items: center; min-height: 32px; font-size: .875rem; font-weight: 700; color: var(--ph-blue); text-decoration: none; }
.th-hero-panel-head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.th-hero-job {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 6px; border-radius: var(--ph-radius-sm);
  color: var(--ph-ink); text-decoration: none; transition: background .2s;
}
.th-hero-job + .th-hero-job { border-top: 1px solid var(--ph-line); border-radius: 0; }
.th-hero-job:hover { background: var(--ph-bg); color: var(--ph-ink); }
.th-hero-job-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.th-hero-job-text strong { overflow: hidden; font-size: .9375rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.th-hero-job-text small { overflow: hidden; font-size: .8125rem; color: var(--ph-text-2); text-overflow: ellipsis; white-space: nowrap; }
.th-hero-job > .bi { color: var(--ph-slate); transition: transform .2s var(--ph-ease), color .2s; }
.th-hero-job:hover > .bi { color: var(--ph-blue); transform: translate(2px, -2px); }
.th-hero-empty { padding: 18px 12px 12px; text-align: center; font-size: .9375rem; color: var(--ph-text-2); }
.th-hero-empty i { display: block; margin-bottom: 6px; font-size: 26px; color: var(--ph-blue); }
.th-hero-empty p { margin: 0; }
.th-hero-chip {
  position: absolute; top: 20px; right: -14px; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 12px 18px;
  background: #fff; border: 1px solid var(--ph-line); border-radius: 14px; box-shadow: var(--ph-shadow-lg);
  font-size: .8125rem; font-weight: 600; color: var(--ph-text-2); line-height: 1.25;
}
.th-hero-chip b { display: block; font-size: 1.25rem; font-weight: 800; color: var(--ph-ink); letter-spacing: -.01em; }
.th-hero-chip div + div { padding-left: 14px; border-left: 1px solid var(--ph-line); }

/* ---- Statistics strip ---- */
.th-stats { background: #fff; border-bottom: 1px solid var(--ph-line); }
.th-stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.th-stat { display: flex; align-items: baseline; justify-content: center; gap: 12px; padding: 30px 16px; }
.th-stat + .th-stat { border-left: 1px solid var(--ph-line); }
.th-stat strong { font-size: 2.25rem; line-height: 1; font-weight: 800; letter-spacing: -.02em; color: var(--ph-blue); font-variant-numeric: tabular-nums; }
.th-stat span { font-size: 1rem; font-weight: 600; color: var(--ph-text-2); }

/* ---- Categories (compact grid) ---- */
.th-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 16px; }
.th-cat {
  display: flex; align-items: center; gap: 14px; height: 100%; min-height: 84px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); color: var(--ph-ink); text-decoration: none;
  box-shadow: var(--ph-shadow-sm); transition: border-color .2s, box-shadow .25s, transform .25s var(--ph-ease);
}
.th-cat:hover, .th-cat:focus-visible { border-color: #93C5FD; box-shadow: var(--ph-shadow-md); transform: translateY(-3px); color: var(--ph-ink); }
.th-cat-icon {
  flex: 0 0 46px; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 12px; background: var(--ph-blue-soft); color: var(--ph-blue); font-size: 22px; transition: transform .25s var(--ph-ease), background .2s, color .2s;
}
.th-cat:hover .th-cat-icon { background: var(--ph-blue); color: #fff; transform: scale(1.06); }
.th-cat-body { min-width: 0; flex: 1; }
.th-cat-name { display: block; font-size: 1rem; font-weight: 700; line-height: 1.3; overflow-wrap: break-word; }
.th-cat-count { display: block; margin-top: 2px; font-size: .875rem; color: var(--ph-text-2); }
.th-cat-arrow { flex: 0 0 auto; color: var(--ph-slate); transition: transform .2s var(--ph-ease), color .2s; }
.th-cat:hover .th-cat-arrow { transform: translateX(4px); color: var(--ph-blue); }

/* ---- Logo box (employers, jobs, hero panel) ---- */
.th-logo {
  flex: 0 0 56px; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; overflow: hidden;
  border: 1px solid var(--ph-line); border-radius: 14px; background: #fff; color: var(--ph-blue-dark);
  font-size: 1.125rem; font-weight: 800; letter-spacing: .02em;
}
.th-logo img { width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.th-logo.has-fallback { background: var(--ph-blue-soft); border-color: #DBEAFE; }
.th-logo--sm { flex-basis: 44px; width: 44px; height: 44px; border-radius: 12px; font-size: .9375rem; }
.th-logo--sm img { padding: 6px; }
.th-logo--lg { flex-basis: 72px; width: 72px; height: 72px; border-radius: 16px; font-size: 1.5rem; }
.th-logo--lg img { padding: 10px; }

/* ---- Employer directory cards ---- */
.th-emp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.th-emp {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 24px; color: var(--ph-ink); text-decoration: none;
  background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); box-shadow: var(--ph-shadow-sm);
  transition: border-color .2s, box-shadow .25s, transform .25s var(--ph-ease);
}
.th-emp:hover, .th-emp:focus-visible { border-color: #93C5FD; box-shadow: var(--ph-shadow-md); transform: translateY(-3px); color: var(--ph-ink); }
.th-emp .th-logo { margin-bottom: 14px; }
.th-emp-name { font-size: 1.125rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.th-emp-industry { min-height: 1.4em; font-size: .875rem; color: var(--ph-text-2); }
.th-emp-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--ph-line);
}
.th-emp-body { margin-bottom: 16px; }
.th-emp-count { font-size: .9375rem; font-weight: 700; color: var(--ph-blue-dark); }
.th-emp-go { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 700; color: var(--ph-ink); }
.th-emp-go i { transition: transform .2s var(--ph-ease); }
.th-emp:hover .th-emp-go { color: var(--ph-blue); }
.th-emp:hover .th-emp-go i { transform: translateX(4px); }

/* ---- Job cards ---- */
.th-job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.th-job {
  position: relative; display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 24px;
  background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); box-shadow: var(--ph-shadow-sm);
  transition: border-color .2s, box-shadow .25s, transform .25s var(--ph-ease);
}
.th-job:hover, .th-job:focus-within { border-color: #93C5FD; box-shadow: var(--ph-shadow-md); transform: translateY(-3px); }
.th-job-head { display: flex; align-items: flex-start; gap: 14px; }
.th-job-titles { min-width: 0; }
.th-job-title { margin: 0 0 4px; font-size: 1.25rem; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.th-job-title a { color: var(--ph-ink); text-decoration: none; overflow-wrap: anywhere; }
.th-job-title a:hover { color: var(--ph-blue); }
.th-job-title a:focus-visible { outline-offset: 4px; border-radius: 6px; }
.th-job-company { font-size: .9375rem; font-weight: 600; color: var(--ph-text-2); }
.th-job-salary {
  display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; padding: 7px 12px;
  font-size: .9375rem; font-weight: 700; color: #065F46; background: #ECFDF5; border-radius: 10px;
}
.th-job-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; font-size: .9375rem; color: #334155; }
.th-job-facts li { display: inline-flex; align-items: center; gap: 7px; }
.th-job-facts i { font-size: 16px; color: var(--ph-slate); }
.th-job-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.th-tag { padding: 5px 12px; font-size: .8125rem; font-weight: 600; color: var(--ph-blue-dark); background: var(--ph-blue-soft); border-radius: 8px; }
.th-job-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ph-line); }
.th-job-posted { font-size: .875rem; color: var(--ph-text-2); }
.th-job-actions { display: inline-flex; align-items: center; gap: 10px; }
.th-job-view {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  font-size: .9375rem; font-weight: 700; color: #fff; text-decoration: none; background: var(--ph-blue); border-radius: var(--ph-radius-sm);
  transition: background .2s;
}
.th-job-view:hover { background: var(--ph-blue-dark); color: #fff; }
.th-job-view i { transition: transform .2s var(--ph-ease); }
.th-job-view:hover i { transform: translateX(3px); }
.th-job-view:focus-visible { outline: 3px solid var(--ph-navy); outline-offset: 2px; }
.th-save {
  position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  padding: 0; font-size: 18px; color: var(--ph-text-2); background: #fff; border: 1.5px solid var(--ph-line); border-radius: var(--ph-radius-sm);
  cursor: pointer; transition: color .2s, border-color .2s, background .2s;
}
.th-save:hover { color: var(--ph-blue); border-color: var(--ph-blue); }
.th-save.saved { color: var(--ph-blue); background: var(--ph-blue-soft); border-color: #BFDBFE; }
.th-save:disabled { opacity: .6; cursor: progress; }

.th-empty { padding: 56px 20px; text-align: center; color: var(--ph-text-2); background: #fff; border: 1px dashed #CBD5E1; border-radius: var(--ph-radius); }
.th-empty i { font-size: 34px; color: var(--ph-blue); }
.th-empty h3 { margin: 12px 0 8px; font-size: 1.375rem; font-weight: 800; color: var(--ph-ink); }
.th-empty p { max-width: 440px; margin: 0 auto 22px; font-size: 1.0625rem; }
.th-more { margin-top: 36px; text-align: center; }

/* ---- Candidate / employer split ---- */
.th-split { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 20px; box-shadow: var(--ph-shadow-md); }
.th-pane { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 60px 56px; }
.th-pane--light { background: #E4EEFF; color: var(--ph-ink); }
.th-pane--dark { background: var(--ph-navy); color: #fff; }
.th-pane-label { font-size: .8125rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ph-blue-dark); }
.th-pane--dark .th-pane-label { color: #93C5FD; }
.th-pane h3 { margin: 0; color: var(--ph-ink); font-size: clamp(1.625rem, 1.1rem + 1.3vw, 2.125rem); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.th-pane p { max-width: 460px; margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--ph-text-2); }
.th-pane--dark h3 { color: #fff; }
.th-pane--dark p { color: #CBD5E1; }
.th-pane ul { margin: 6px 0 14px; padding: 0; list-style: none; font-size: 1rem; font-weight: 500; }
.th-pane li { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.th-pane li i { color: var(--ph-blue); font-size: 18px; }
.th-pane--dark li i { color: #60A5FA; }
.th-pane .th-btn { margin-top: auto; }

/* ---- Tools (bento) ---- */
.th-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.th-tool {
  display: flex; flex-direction: column; gap: 6px; padding: 28px; background: #fff; border: 1px solid var(--ph-line);
  border-radius: var(--ph-radius); transition: border-color .2s, box-shadow .25s, transform .25s var(--ph-ease);
}
.th-tool:hover { border-color: #93C5FD; box-shadow: var(--ph-shadow-md); transform: translateY(-3px); }
.th-tool--wide { grid-column: span 2; }
.th-tool-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 16px;
  border-radius: 12px; background: var(--ph-blue-soft); color: var(--ph-blue); font-size: 22px; transition: transform .25s var(--ph-ease);
}
.th-tool:hover .th-tool-icon { transform: translateY(-2px) scale(1.05); }
.th-tool h3 { margin: 0; font-size: 1.125rem; font-weight: 700; color: var(--ph-ink); }
.th-tool p { margin: 0; font-size: .96875rem; line-height: 1.6; color: var(--ph-text-2); }
.th-tool--wide h3 { font-size: 1.375rem; }
.th-tool--feature { background: var(--ph-blue-soft); border-color: #DBEAFE; }
.th-tool--feature .th-tool-icon { background: var(--ph-blue); color: #fff; width: 56px; height: 56px; font-size: 26px; }
.th-tool--dark { background: var(--ph-navy); border-color: var(--ph-navy); }
.th-tool--dark .th-tool-icon { background: rgba(255, 255, 255, .1); color: #93C5FD; width: 56px; height: 56px; font-size: 26px; }
.th-tool--dark h3 { color: #fff; }
.th-tool--dark p { color: #CBD5E1; }

/* ---- Locations ---- */
.th-loc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.th-loc {
  display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; color: var(--ph-ink); text-decoration: none;
  background: #fff; border: 1px solid var(--ph-line); border-radius: 14px; transition: border-color .2s, box-shadow .25s, transform .25s var(--ph-ease);
}
.th-loc:hover, .th-loc:focus-visible { border-color: #93C5FD; box-shadow: var(--ph-shadow-md); transform: translateY(-2px); color: var(--ph-ink); }
.th-loc > i { color: var(--ph-blue); font-size: 18px; transition: transform .25s var(--ph-ease); }
.th-loc:hover > i { transform: translateY(-2px); }
.th-loc-name { flex: 1; min-width: 0; font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; }
.th-loc-count { flex: 0 0 auto; font-size: .8125rem; font-weight: 600; color: var(--ph-text-2); }

/* ---- Newsletter band ---- */
.th-news { padding: 64px 0; background: var(--ph-blue); color: #fff; scroll-margin-top: calc(var(--ph-header-h) + 8px); }
.th-news-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.th-news h2 { margin: 0 0 10px; font-size: clamp(1.625rem, 1.1rem + 1.4vw, 2.125rem); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.th-news-copy p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: #E0EAFF; }
.th-news-row { display: flex; gap: 10px; position: relative; }
.th-news-input {
  flex: 1; min-width: 0; height: 54px; padding: 0 18px; font-size: 1rem; color: var(--ph-ink); background: #fff;
  border: 2px solid transparent; border-radius: var(--ph-radius-sm); outline: 0; transition: border-color .2s, box-shadow .2s;
}
.th-news-input::placeholder { color: var(--ph-slate); opacity: 1; }
.th-news-input:focus { box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
.th-news-input[aria-invalid="true"] { border-color: #DC2626; }
.th-news-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 140px; height: 54px; padding: 0 28px;
  font-size: 1rem; font-weight: 700; color: #fff; background: var(--ph-navy); border: 0; border-radius: var(--ph-radius-sm); cursor: pointer;
  transition: background .2s;
}
.th-news-btn:hover { background: #020617; }
.th-news-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.th-news-btn:disabled { cursor: progress; opacity: .85; }
.th-spinner { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: th-spin .7s linear infinite; }
.th-spinner[hidden] { display: none; }
@keyframes th-spin { to { transform: rotate(360deg); } }
.th-news-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.th-news-fineprint { margin: 10px 2px 0; font-size: .8125rem; color: #DBE7FF; }
.th-news-status { margin-top: 12px; }
.th-news-status:empty { display: none; }
.th-news-msg { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; font-size: .9375rem; font-weight: 600; line-height: 1.45; border-radius: var(--ph-radius-sm); }
.th-news-msg i { margin-top: 2px; }
.th-news-msg--error { background: #FEF2F2; color: #991B1B; }
.th-news-msg--ok { padding: 18px 20px; font-size: 1.0625rem; background: #ECFDF5; color: #065F46; }

/* ---- FAQ ---- */
.th-faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.th-faq-intro { position: sticky; top: calc(var(--ph-header-h) + 24px); }
.th-faq-intro h2 { margin: 0 0 12px; font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--ph-ink); }
.th-faq-intro p { margin: 0 0 24px; font-size: 1.0625rem; line-height: 1.6; color: var(--ph-text-2); }
.th-faq { border-top: 1px solid var(--ph-line); }
.th-faq .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--ph-line); border-radius: 0; }
.th-faq .accordion-header { margin: 0; }
.th-faq .accordion-button {
  gap: 16px; min-height: 68px; padding: 20px 4px; font-size: 1.0625rem; font-weight: 700; line-height: 1.45; color: var(--ph-ink);
  background: transparent; border-radius: 0; box-shadow: none; transition: color .2s;
}
.th-faq .accordion-button::after { flex: 0 0 22px; width: 22px; height: 22px; background-size: 22px; opacity: .7; }
.th-faq .accordion-button:hover { color: var(--ph-blue); }
.th-faq .accordion-button:not(.collapsed) { color: var(--ph-blue); background: transparent; box-shadow: none; }
.th-faq .accordion-button:focus-visible { outline: 3px solid var(--ph-blue); outline-offset: 0; border-radius: 6px; }
.th-faq .accordion-body { padding: 0 44px 24px 4px; font-size: 1rem; line-height: 1.75; color: #334155; }
.th-faq .accordion-body > :last-child { margin-bottom: 0; }

/* ---- Closing statement ---- */
.th-cta { padding: 96px 0; text-align: center; color: #fff; background: var(--ph-navy); }
.th-cta h2 { max-width: 720px; margin: 0 auto 16px; font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; color: #fff; }
.th-cta p { max-width: 560px; margin: 0 auto 36px; font-size: 1.125rem; line-height: 1.6; color: #CBD5E1; }
.th-cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.th-cta .th-btn { min-height: 52px; padding: 0 32px; }

/* ---- How it works ---- */
.th-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.th-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; }
.th-step-num {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; margin-bottom: 22px;
  border-radius: 50%; background: var(--ph-blue-soft); border: 1px solid #DBEAFE; color: var(--ph-blue); font-size: 2.25rem; font-weight: 800; line-height: 1;
}
.th-step h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; color: var(--ph-ink); }
.th-step p { max-width: 300px; margin: 0; font-size: 1rem; line-height: 1.6; color: var(--ph-text-2); }
/* Dashed connector between the number circles */
@media (min-width: 768px) {
  .th-step + .th-step::before {
    content: ""; position: absolute; top: 44px; right: calc(50% + 56px); width: calc(100% - 112px); border-top: 2px dashed #BFDBFE;
  }
}
@media (max-width: 767.98px) {
  .th-steps { grid-template-columns: 1fr; gap: 28px; }
  .th-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; align-items: start; text-align: left; padding: 0; }
  .th-step-num { grid-row: 1 / span 2; width: 56px; height: 56px; margin: 0; font-size: 1.5rem; }
  .th-step h3 { margin: 4px 0 6px; }
}

/* ---- Responsive ---- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .th-search-btn { flex: 1 0 100%; margin-top: 4px; }
}
@media (max-width: 1199.98px) {
  .th-section { padding: 72px 0; }
  .th-hero-grid { gap: 48px; }
  .th-hero-panel { left: -24px; right: 16px; }
  .th-pane { padding: 48px 40px; }
}
@media (max-width: 991.98px) {
  :root { --ph-header-h: 60px; }
  .th-section { padding: 56px 0; }
  .th-hero { padding: calc(var(--ph-header-h) + 28px) 0 48px; }
  .th-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .th-hero-sub { margin-bottom: 26px; }
  .th-field { min-height: 56px; }
  .th-field--exp, .th-field--loc { flex: 1 0 100%; border-right: 0; border-bottom: 1px solid var(--ph-line); border-radius: 0; }
  .th-search-btn { flex: 1 0 100%; min-height: 56px; margin-top: 6px; }
  .th-suggest { max-height: min(240px, 45vh); }
  /* On small screens the hero image is a clean crop below the search with no overlays */
  .th-hero-visual { padding: 0; }
  .th-hero-photo { aspect-ratio: 16 / 10; border-radius: var(--ph-radius); }
  .th-hero-photo img { object-position: 50% 32%; }
  .th-hero-panel, .th-hero-chip { display: none; }
  .th-job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .th-emp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-split { grid-template-columns: 1fr; }
  .th-pane { padding: 40px 32px; }
  .th-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-news { padding: 48px 0; }
  .th-news-grid { grid-template-columns: 1fr; gap: 24px; }
  .th-faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .th-faq-intro { position: static; }
  .th-cta { padding: 64px 0; }
}
@media (max-width: 767.98px) {
  .th-head { margin-bottom: 28px; }
  .th-stat { flex-direction: column; align-items: center; gap: 4px; padding: 20px 6px; text-align: center; }
  .th-stat strong { font-size: 1.625rem; }
  .th-stat span { font-size: .8125rem; line-height: 1.3; }
}
@media (max-width: 575.98px) {
  /* Header keeps only Login; registration and Post a Job live in the menu */
  .nav-auth .regi_drop { display: none; }
  .th-section { padding: 44px 0; }
  .th-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .th-head--center { align-items: center; }
  .th-hero-badge { font-size: .8125rem; margin-bottom: 18px; }
  .th-hero-sub { font-size: 1.0625rem; }
  .th-job-grid, .th-emp-grid, .th-loc-grid, .th-bento { grid-template-columns: 1fr; }
  .th-tool--wide { grid-column: auto; }
  .th-job, .th-emp { padding: 20px; }
  .th-job-foot { flex-wrap: wrap; }
  .th-job-actions { width: 100%; }
  .th-job-view { flex: 1; justify-content: center; }
  .th-pane { padding: 32px 22px; }
  .th-pane .th-btn { width: 100%; }
  .th-news-row { flex-direction: column; }
  .th-news-btn { width: 100%; }
  .th-news-input { flex: 0 0 auto; }
  .th-faq .accordion-button { font-size: 1rem; }
  .th-faq .accordion-body { padding-right: 4px; }
  .th-cta { padding: 52px 0; }
  .th-cta-actions .th-btn { width: 100%; }
  .th-popular { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .th-cat, .th-emp, .th-job, .th-tool, .th-loc, .th-btn, .th-link i, .th-hero-photo img { transition: none; }
  .th-spinner { animation-duration: 1.6s; }
  .th-hero-visual:hover .th-hero-photo img { transform: none; }
}

/* ---- Home: 4-counter stats, hiring band, job tabs, location cards ---- */
.th-stats-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991.98px) {
  .th-stat { flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 24px 8px; }
  .th-stat strong { font-size: 1.875rem; }
  .th-stat span { font-size: .875rem; }
}
@media (max-width: 575.98px) {
  .th-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-stat:nth-child(odd) { border-left: 0; }
  .th-stat:nth-child(n+3) { border-top: 1px solid var(--ph-line); }
  .th-stat { padding: 18px 8px; }
  .th-stat strong { font-size: 1.625rem; }
}

.th-band-wrap { padding: 56px 0; background: #fff; }
.th-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 44px;
  background: var(--ph-blue-soft); border: 1px solid #DBEAFE; border-radius: 20px;
}
.th-band-text { max-width: 640px; }
.th-band h2 { margin: 0 0 8px; font-size: clamp(1.375rem, 1rem + 1vw, 1.875rem); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--ph-ink); }
.th-band p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ph-text-2); }
.th-band-actions { display: flex; flex: 0 0 auto; gap: 12px; }
@media (max-width: 991.98px) {
  .th-band-wrap { padding: 40px 0; }
  .th-band { flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 24px; }
}
@media (max-width: 575.98px) {
  .th-band-actions { width: 100%; flex-direction: column; }
  .th-band-actions .th-btn { width: 100%; }
}

.th-tabs-scroll { margin: 0 0 28px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.th-tabs-scroll::-webkit-scrollbar { display: none; }
.th-tabs { display: flex; gap: 8px; width: max-content; min-width: 100%; }
.th-tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; font-size: .9375rem; font-weight: 600; line-height: 1;
  color: var(--ph-text-2); white-space: nowrap; background: #fff; border: 1px solid var(--ph-line); border-radius: 999px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.th-tab i { font-size: 16px; }
.th-tab:hover { color: var(--ph-blue); border-color: var(--ph-blue); }
.th-tab.is-active { color: #fff; background: var(--ph-blue); border-color: var(--ph-blue); }
.th-tabpanel[hidden] { display: none; }
.th-tabpanel { animation: th-fade .3s var(--ph-ease); }
@keyframes th-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .th-tabpanel { animation: none; } .th-tab { transition: none; } }

.th-loc { min-height: 68px; }
.th-loc-icon {
  flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--ph-blue-soft); color: var(--ph-blue); font-size: 17px;
}
.th-loc > .th-loc-icon i { font-size: 17px; }
.th-loc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.th-loc-meta { margin-top: 2px; font-size: .8125rem; line-height: 1.35; color: var(--ph-text-2); }
.th-loc-badge { flex: 0 0 auto; padding: 4px 10px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #92400E; background: #FEF3C7; border-radius: 6px; }

/* ============================================================
   JOBBOX-STYLE HOME REFRESH
   Layout and look inspired by the JobBox job-portal demo.
   Loaded last so it refines the .th- components above.
   ============================================================ */

/* ---- Header: Register as a text link, Sign in as the filled action ---- */
.nav-auth .regi_drop { order: 1; }
.nav-auth .btn-login { order: 3; background: var(--ph-blue); color: #fff; border-color: var(--ph-blue); }
.nav-auth .btn-login:hover { background: var(--ph-blue-dark); color: #fff; border-color: var(--ph-blue-dark); }
.nav-auth .btn-register { background: transparent; border-color: transparent; color: var(--ph-ink); }
.nav-auth .btn-register:hover { background: var(--ph-blue-soft); color: var(--ph-blue); }

/* ---- Hero: soft blue field, two overlapping photos ---- */
.th-hero { background: var(--th-hero-bg); padding: calc(var(--ph-header-h) + 56px) 0 104px; }
/* Decorative circles live in their own clipped layer so the search suggestions can still overflow the hero */
.th-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.th-hero-bg::before, .th-hero-bg::after { content: ""; position: absolute; border-radius: 50%; }
.th-hero-bg::before { right: -12%; top: -38%; width: 68%; aspect-ratio: 1; background: #E2EBFF; }
.th-hero-bg::after { left: -14%; bottom: -60%; width: 46%; aspect-ratio: 1; background: #E7EEFF; }
.th-hero .container { position: relative; z-index: 1; }
.th-hero-visual { min-height: 460px; padding: 0; }
.th-hero-photo {
  position: absolute; margin: 0; overflow: hidden; background: #DBEAFE; border: 6px solid #fff; box-shadow: var(--ph-shadow-lg);
}
.th-hero-photo--main { top: 0; right: 0; width: 78%; aspect-ratio: 5 / 4; border-radius: 28px 28px 28px 96px; }
.th-hero-photo--second { bottom: 0; left: 0; width: 58%; aspect-ratio: 4 / 3.3; border-radius: 96px 28px 28px 28px; z-index: 2; }
.th-hero-photo img { object-position: 50% 30%; }
.th-hero-photo--second img { object-position: 50% 40%; }
.th-hero-dots {
  position: absolute; left: 6%; top: 8%; z-index: 0; width: 104px; height: 104px; opacity: .45;
  background-image: radial-gradient(var(--ph-blue) 2px, transparent 2.5px); background-size: 16px 16px;
}
.th-hero-chip { top: auto; right: 0; bottom: 18px; }
.th-search { border-radius: 14px; }

/* ---- Section heads are centred by default ---- */
.th-head { justify-content: center; text-align: center; }
.th-head .th-head-text { margin: 0 auto; }

/* ---- Hiring banner ---- */
.th-section:has(+ .th-band-wrap) { padding-bottom: 40px; }
.th-band-wrap { padding: 0 0 80px; background: #fff; }
.th-band {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 40px; padding: 28px 44px;
  background: #fff; border: 1px solid var(--ph-line); border-radius: 20px; box-shadow: var(--ph-shadow-md);
}
.th-band-mark { display: flex; flex-direction: column; line-height: 1; }
.th-band-mark span { font-size: .875rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: var(--ph-slate); }
.th-band-mark strong { font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); font-weight: 800; letter-spacing: -.03em; color: var(--ph-blue); }
.th-band-text h2 { font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); }

/* ---- Tabs ---- */
.th-tabs { width: max-content; min-width: 0; margin: 0 auto; }
.th-tab { min-height: 42px; padding: 0 16px; font-size: .875rem; }
.th-tab.is-active { color: var(--ph-blue); background: var(--ph-blue-soft); border-color: var(--ph-blue); }

/* ---- Job cards: four across, compact ---- */
.th-job-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.th-job { gap: 12px; padding: 20px; border-color: #E3EAF8; box-shadow: none; }
.th-job:hover, .th-job:focus-within { box-shadow: var(--ph-shadow-md); }
.th-job-head { align-items: center; gap: 12px; }
.th-job-company-wrap { min-width: 0; }
.th-job-company { font-size: .9375rem; font-weight: 700; color: var(--ph-ink); overflow-wrap: anywhere; }
.th-job-location { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: .8125rem; color: var(--ph-text-2); }
.th-job-location i { color: var(--ph-slate); }
.th-job-title { margin: 2px 0 0; font-size: 1.125rem; line-height: 1.35; }
.th-job-facts { gap: 6px 14px; font-size: .8125rem; }
.th-job-facts i { font-size: 14px; }
.th-job-foot { flex-wrap: wrap; gap: 10px; }
.th-job-salary { display: block; align-self: auto; min-width: 0; padding: 0; font-size: 1.0625rem; font-weight: 800; color: var(--ph-blue); background: none; }
.th-job-salary--muted { font-size: .8125rem; font-weight: 600; color: var(--ph-slate); }
.th-job-view { min-height: 40px; padding: 0 14px; font-size: .875rem; color: var(--ph-blue); background: var(--ph-blue-soft); }
.th-job-view:hover { color: #fff; background: var(--ph-blue); }
.th-save { width: 40px; height: 40px; }

/* ---- Feature block ---- */
.th-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.th-feature-media { position: relative; max-width: 520px; }
.th-feature-media img {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 6px solid #fff; border-radius: 28px 28px 28px 120px;
  box-shadow: var(--ph-shadow-lg);
}
.th-feature-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: #fff;
  border: 1px solid var(--ph-line); border-radius: 14px; box-shadow: var(--ph-shadow-lg); font-size: .8125rem; font-weight: 600; color: var(--ph-text-2); line-height: 1.25;
}
.th-feature-card i { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ph-blue-soft); color: var(--ph-blue); font-size: 18px; }
.th-feature-card b { display: block; font-size: 1.25rem; font-weight: 800; color: var(--ph-ink); }
.th-feature-card--top { top: 36px; left: -28px; }
.th-feature-card--bottom { right: -24px; bottom: 44px; }
.th-feature-copy h2 { margin: 0 0 16px; font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--ph-ink); }
.th-feature-copy h2 span { color: var(--ph-blue); }
.th-feature-copy p { max-width: 480px; margin: 0 0 28px; font-size: 1.0625rem; line-height: 1.7; color: var(--ph-text-2); }
.th-feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* ---- Statistics ---- */
.th-stats { padding: 0 0 88px; border: 0; background: #fff; }
.th-stats-row { gap: 24px; }
.th-stats .th-stat, .th-stats .th-stat:nth-child(n) { display: block; padding: 0 12px; text-align: center; border: 0; }
.th-stats .th-stat strong { display: block; font-size: clamp(2.5rem, 1.6rem + 2.4vw, 3.5rem); line-height: 1.1; color: var(--ph-blue); }
.th-stats .th-stat span { display: block; margin-top: 10px; font-size: 1.125rem; font-weight: 700; color: var(--ph-ink); }
.th-stats .th-stat p { max-width: 220px; margin: 6px auto 0; font-size: .9375rem; line-height: 1.5; color: var(--ph-text-2); }

/* ---- Top recruiters: compact company cards ---- */
.th-emp { flex-direction: row; align-items: center; gap: 16px; padding: 18px 20px; }
.th-emp .th-logo { margin: 0; }
.th-emp-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; margin: 0; }
.th-emp-name { font-size: 1.0625rem; }
.th-emp-industry { min-height: 0; }
.th-emp-count { margin-top: 2px; font-size: .875rem; }

/* ---- Locations: cover cards ---- */
.th-loc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.th-loc { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding: 0; overflow: hidden; border-radius: var(--ph-radius); }
.th-loc-cover { position: relative; display: flex; align-items: center; justify-content: center; height: 150px; font-size: 56px; color: rgba(255, 255, 255, .92); transition: transform .5s var(--ph-ease); }
.th-loc:hover .th-loc-cover i { transform: translateY(-3px) scale(1.06); }
.th-loc-cover i { transition: transform .3s var(--ph-ease); }
.th-loc--0 .th-loc-cover { background: linear-gradient(135deg, #2563EB, #60A5FA); }
.th-loc--1 .th-loc-cover { background: linear-gradient(135deg, #4F46E5, #818CF8); }
.th-loc--2 .th-loc-cover { background: linear-gradient(135deg, #0EA5E9, #38BDF8); }
.th-loc--3 .th-loc-cover { background: linear-gradient(135deg, #1D4ED8, #3B82F6); }
.th-loc--4 .th-loc-cover { background: linear-gradient(135deg, #0F766E, #2DD4BF); }
.th-loc--5 .th-loc-cover { background: linear-gradient(135deg, #334155, #64748B); }
.th-loc-badge { position: absolute; top: 12px; left: 12px; }
.th-loc-info { display: flex; flex-direction: column; padding: 16px 18px; }
.th-loc-name { font-size: 1.125rem; font-weight: 700; }
.th-loc-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: .875rem; color: var(--ph-text-2); }

/* ---- Newsletter panel ---- */
.th-news-wrap { padding: 0 0 88px; background: #fff; scroll-margin-top: calc(var(--ph-header-h) + 8px); }
.th-cta + .th-news-wrap { padding-top: 88px; }
.th-news { position: relative; overflow: hidden; padding: 64px 32px; text-align: center; color: #fff; background: var(--ph-blue); border-radius: 24px; scroll-margin-top: 0; }
.th-news::before, .th-news::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; }
.th-news::before { left: -80px; top: -90px; width: 260px; height: 260px; }
.th-news::after { right: -60px; bottom: -110px; width: 300px; height: 300px; }
.th-news > * { position: relative; z-index: 1; }
.th-news h2 { max-width: 560px; margin: 0 auto 10px; }
.th-news > p { max-width: 520px; margin: 0 auto 28px; font-size: 1.0625rem; line-height: 1.6; color: #E0EAFF; }
.th-news-body { max-width: 580px; margin: 0 auto; text-align: left; }
.th-news-row { align-items: center; gap: 8px; padding: 8px; background: #fff; border-radius: 14px; transition: box-shadow .2s; }
.th-news-row:focus-within { box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
.th-news-row:has(.th-news-input[aria-invalid="true"]) { box-shadow: 0 0 0 2px #DC2626; }
.th-news-icon { padding-left: 10px; font-size: 18px; color: var(--ph-slate); }
.th-news-input { height: 46px; padding: 0 8px; border: 0; background: transparent; }
.th-news-input:focus { box-shadow: none; }
.th-news-btn { height: 46px; }


/* ---- Responsive ---- */
@media (max-width: 1199.98px) {
  .th-job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-hero-visual { min-height: 400px; }
  .th-feature { gap: 48px; }
  .th-band { gap: 28px; padding: 26px 32px; }
}
@media (max-width: 991.98px) {
  .th-hero { padding: calc(var(--ph-header-h) + 28px) 0 56px; }
  .th-hero-visual { min-height: 0; }
  .th-hero-photo--main { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 24px 24px 24px 64px; }
  .th-hero-photo--second, .th-hero-dots { display: none; }
  .th-band-wrap { padding-bottom: 56px; }
  .th-band { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; }
  .th-band-mark { flex-direction: row; align-items: baseline; gap: 10px; }
  .th-band-actions { flex-wrap: wrap; }
  .th-feature { grid-template-columns: 1fr; gap: 48px; }
  .th-feature-media { max-width: 460px; margin: 0 auto; }
  .th-feature-card--top { left: 12px; top: 20px; }
  .th-feature-card--bottom { right: 12px; bottom: 28px; }
  .th-stats { padding-bottom: 56px; }
  .th-stats .th-stat strong { font-size: 2.25rem; }
  .th-loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .th-news-wrap { padding-bottom: 56px; }
  .th-cta + .th-news-wrap { padding-top: 56px; }
}
@media (max-width: 767.98px) {
  .th-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .th-stats .th-stat span { font-size: 1rem; }
}
@media (max-width: 575.98px) {
  .th-job-grid, .th-loc-grid { grid-template-columns: 1fr; }
  .th-loc-cover { height: 120px; }
  .th-news { padding: 44px 20px; border-radius: 20px; }
  .th-news-icon { display: none; }
  .th-news-row { flex-direction: column; align-items: stretch; }
  .th-news-input { flex: 0 0 auto; padding: 0 12px; }
  .th-news-btn { width: 100%; }
  .th-band-actions .th-btn { flex: 1 1 100%; }
  .th-stats .th-stat strong { font-size: 2rem; }
  .th-stats .th-stat p { font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .th-loc-cover, .th-loc-cover i, .th-news-row { transition: none; }
}
@media (max-width: 1199.98px) {
  .th-feature-card--top { left: 12px; }
  .th-feature-card--bottom { right: 12px; }
}

/* ============================================================
   MOTION SYSTEM
   Modelled on the JobBox demo (checked live): staggered fade-up
   reveals, hero thumbnails sliding in once, a sticky header that
   shrinks, 3px card lift on hover, owl carousels, back-to-top.
   Timings: 150-250ms for hover and press, 300-450ms for state
   changes, 600-900ms for entrances. Everything below is switched
   off by prefers-reduced-motion at the end of this block.
   ============================================================ */
:root {
  --th-ease-hover: cubic-bezier(.02, .01, .47, 1);
}

/* ---- Sticky header: shrinks and gains a shadow once scrolled ---- */
.navbar-main { transition: box-shadow .3s var(--ph-ease), background-color .3s; }
@media (min-width: 992px) {
  .navbar-inner { transition: height .3s var(--ph-ease); }
  .navbar-main .brand-logo img { transition: max-height .3s var(--ph-ease); }
  .navbar-main.is-scrolled .navbar-inner { height: 64px; }
  .navbar-main.is-scrolled .brand-logo img { max-height: 44px; }
  .navbar-main.is-scrolled .mega-menu,
  .navbar-main.is-scrolled .dropdown-menu-nav { top: 64px; }
}

/* ---- Dropdowns fade and slide in ---- */
@keyframes th-drop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.nav-links > li:hover > .mega-menu,
.nav-links > li:hover > .dropdown-menu-nav,
.navbar-main .dropdown-menu.show { animation: th-fade .18s ease; }

/* ---- Button, link and form states ---- */
.th-btn, .th-search-btn, .th-news-btn, .th-job-view, .th-save, .th-tab, .th-chip, .nav-auth .btn-login, .nav-auth .btn-register {
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s var(--th-ease-hover);
}
.th-btn:active, .th-search-btn:active, .th-news-btn:active, .th-job-view:active, .th-save:active, .th-tab:active,
.nav-auth .btn-login:active, .nav-auth .btn-register:active { transform: translateY(1px) scale(.98); }
.th-chip:hover { transform: translateY(-2px); }
.th-field:hover:not(:focus-within) { background: #F8FAFF; }
.th-field > .th-caret { transition: transform .2s var(--ph-ease); }
.th-field--exp:focus-within .th-caret { transform: translateY(-50%) rotate(180deg); }
.th-search-btn.is-loading { opacity: .9; cursor: progress; }
.th-search-btn .th-spinner { margin-right: 2px; }

/* ---- Card hover: 3px lift, soft shadow, small icon/logo movement ---- */
.th-cat, .th-emp, .th-job, .th-tool, .th-loc { transition: border-color .25s, box-shadow .25s, transform .25s var(--th-ease-hover); }
.th-job .th-logo { transition: transform .25s var(--th-ease-hover); }
.th-job:hover .th-logo, .th-emp:hover .th-logo { transform: scale(1.06); }
.th-emp .th-logo { transition: transform .25s var(--th-ease-hover); }

/* ---- Hero: thumbnails slide in once; copy uses the reveal system ---- */
@keyframes th-thumb-main { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes th-thumb-second { from { opacity: 0; transform: translate(-28px, 24px); } to { opacity: 1; transform: none; } }
@keyframes th-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes th-fade { from { opacity: 0; } to { opacity: 1; } }
.js .th-hero-photo--main, .js .th-hero-photo--second, .js .th-hero-chip, .js .th-hero-dots { opacity: 0; }
.js.th-ready .th-hero-photo--main { animation: th-thumb-main .9s var(--ph-ease) .15s both; }
.js.th-ready .th-hero-photo--second { animation: th-thumb-second .9s var(--ph-ease) .35s both; }
.js.th-ready .th-hero-chip { animation: th-pop .6s var(--ph-ease) .95s both; }
.js.th-ready .th-hero-dots { animation: th-fade .8s ease .7s both; }
.js .th-hero-photo--main img, .js .th-hero-photo--second img { transition: transform .8s var(--ph-ease); }
.th-hero-photo:hover img { transform: scale(1.03); }

/* ---- Loading placeholders: shimmer only while an image is still loading (class set by modern-public.js) ---- */
@keyframes th-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.is-loading {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, .6) 50%, rgba(255, 255, 255, 0) 75%);
  background-size: 200% 100%; background-repeat: no-repeat; animation: th-shimmer 1.4s ease-in-out infinite;
}
.th-feature-media.is-loading { border-radius: 28px 28px 28px 120px; background-color: #E8EEFB; aspect-ratio: 1 / 1; }
.th-suggest-skel { display: block; height: 14px; margin: 12px; border-radius: 6px; background: linear-gradient(90deg, #E8EEFB 25%, #F4F7FD 50%, #E8EEFB 75%); background-size: 200% 100%; animation: th-shimmer 1.2s ease-in-out infinite; }
.th-suggest-skel--short { width: 60%; }

/* ---- Recruiters carousel (owl) ---- */
.th-emp-grid.owl-carousel { display: block; }
.th-emp-grid.owl-carousel .owl-stage { display: flex; }
.th-emp-grid.owl-carousel .owl-item { display: flex; }
.th-emp-grid.owl-carousel .owl-item > div { width: 100%; }
.th-emp-grid.owl-carousel .th-emp { height: 100%; }
.th-emp-grid.owl-carousel .owl-nav { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.th-emp-grid.owl-carousel .owl-nav button {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0;
  font-size: 18px; color: var(--ph-ink); background: #fff; border: 1px solid var(--ph-line); border-radius: 50%; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--th-ease-hover);
}
.th-emp-grid.owl-carousel .owl-nav button:hover { color: #fff; background: var(--ph-blue); border-color: var(--ph-blue); }
.th-emp-grid.owl-carousel .owl-nav button:active { transform: scale(.94); }
.th-emp-grid.owl-carousel .owl-nav button.disabled { opacity: .4; pointer-events: none; }
.th-emp-grid.owl-carousel .owl-dots { display: none; }

/* ---- Back to top ---- */
.th-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 1040; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; font-size: 20px; color: #fff; background: var(--ph-blue); border: 0; border-radius: 50%;
  box-shadow: var(--ph-shadow-lg); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s var(--ph-ease), visibility 0s linear .25s, background .2s;
}
.th-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.th-to-top:hover { background: var(--ph-blue-dark); transform: translateY(-3px); }
.th-to-top:active { transform: scale(.94); }
.th-to-top:focus-visible { outline: 3px solid var(--ph-navy); outline-offset: 3px; }
@media (max-width: 575.98px) { .th-to-top { right: 14px; bottom: 14px; } }

/* ---- Page transitions: browsers with cross-document view transitions cross-fade between pages ---- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: ease; }

/* ---- Reduced motion: no entrance, hover-lift, carousel or page motion ---- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .js .th-hero-photo--main, .js .th-hero-photo--second, .js .th-hero-chip, .js .th-hero-dots { animation: none; opacity: 1; }
  .is-loading, .th-suggest-skel { animation: none; }
  .nav-links > li:hover > .mega-menu, .nav-links > li:hover > .dropdown-menu-nav, .navbar-main .dropdown-menu.show { animation: none; }
  .navbar-inner, .navbar-main .brand-logo img, .th-to-top, .th-field > .th-caret,
  .th-cat, .th-emp, .th-job, .th-tool, .th-loc, .th-job .th-logo, .th-emp .th-logo { transition: none; }
  .th-cat:hover, .th-emp:hover, .th-job:hover, .th-tool:hover, .th-loc:hover, .th-chip:hover, .th-to-top:hover { transform: none; }
  .th-btn:active, .th-search-btn:active, .th-news-btn:active, .th-job-view:active, .th-save:active, .th-tab:active { transform: none; }
}
.th-emp-grid.owl-carousel { position: relative; overflow: hidden; }
.th-emp-grid.owl-carousel .owl-stage-outer { position: relative; overflow: hidden; }
.th-emp-grid.owl-carousel .owl-nav { overflow: visible; }
/* Elements waiting to reveal are offset sideways; clip them so they never create horizontal scroll */
body.home-page main { overflow-x: clip; }

/* ---- Header buttons: tidy Register caret and keep Register + Sign in inside the bar at 992-1199px ---- */
.nav-auth .btn-register.dropdown-toggle::after {
  width: .5em; height: .5em; margin: -.2em 0 0 .6em; border: 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s var(--ph-ease);
}
.nav-auth .btn-register.dropdown-toggle.show::after { transform: rotate(225deg); margin-top: .2em; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-links { gap: 0; }
  .nav-links > li > a, .nav-links > li > button { padding: 0 10px; }
  .navbar-main .brand-logo { max-width: 160px; margin-right: 4px; }
  .nav-auth { gap: 6px; }
  .nav-auth .btn-login, .nav-auth .btn-register { padding: 0 16px; }
}

/* ============================================================
   SITE-WIDE MOTION (inner pages)
   Listing cards lift on hover like the home cards; buttons, form
   fields and dropdowns share the same feedback everywhere.
   ============================================================ */
.job-card-items, .comp-card-item { transition: transform .25s var(--th-ease-hover), box-shadow .25s, border-color .25s; }
.job-card-items:hover, .comp-card-item:hover { transform: translateY(-3px); box-shadow: var(--ph-shadow-md); }
.btn, .primaryBtn, .secondaryBtn, .auth-button, .btn-search, .btn-blue-pill, .btn-main {
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s var(--th-ease-hover);
}
.btn:not(:disabled):active, .primaryBtn:active, .secondaryBtn:active, .auth-button:active, .btn-search:active, .btn-blue-pill:active, .btn-main:active { transform: translateY(1px) scale(.98); }
.form-control, .form-select, .th-form-control, .auth-field { transition: border-color .2s, box-shadow .2s, background-color .2s; }
.dropdown-menu.show { animation: th-fade .18s ease; }
@media (prefers-reduced-motion: reduce) {
  .job-card-items, .comp-card-item, .btn, .primaryBtn, .secondaryBtn, .auth-button, .btn-search, .btn-blue-pill, .btn-main { transition: none; }
  .job-card-items:hover, .comp-card-item:hover { transform: none; }
  .btn:not(:disabled):active, .primaryBtn:active, .secondaryBtn:active, .auth-button:active, .btn-search:active, .btn-blue-pill:active, .btn-main:active { transform: none; }
  .dropdown-menu.show { animation: none; }
}

/* ============================================================
   HERO: floating motion
   Photos, the counter chip and the dot pattern drift gently after
   they have entered; the heading highlight is underlined once.
   Uses the independent `translate` property so it never fights the
   entrance animations (which use `transform`). Desktop only; paused
   when the hero is off screen and disabled for reduced motion.
   ============================================================ */
@keyframes th-float { from { translate: 0 -7px; } to { translate: 0 7px; } }
@keyframes th-drift { from { translate: 0 0; } to { translate: 26px 18px; } }
@keyframes th-underline { from { background-size: 0 .26em; } to { background-size: 100% .26em; } }

.th-hero-title span {
  background-image: linear-gradient(rgba(37, 99, 235, .22), rgba(37, 99, 235, .22));
  background-repeat: no-repeat; background-position: 0 92%; background-size: 0 .26em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.js.th-ready .th-hero-title span { animation: th-underline .9s var(--ph-ease) 1s forwards; }

@media (min-width: 992px) {
  .js.th-ready .th-hero-photo--main { animation: th-thumb-main .9s var(--ph-ease) .15s both, th-float 6s ease-in-out 1.2s infinite alternate; }
  .js.th-ready .th-hero-photo--second { animation: th-thumb-second .9s var(--ph-ease) .35s both, th-float 7s ease-in-out 1.5s infinite alternate-reverse; }
  .js.th-ready .th-hero-chip { animation: th-pop .6s var(--ph-ease) .95s both, th-float 5s ease-in-out 1.8s infinite alternate; }
  .js.th-ready .th-hero-dots { animation: th-fade .8s ease .7s both, th-drift 9s ease-in-out 1.5s infinite alternate; }
  .th-hero-bg::before { animation: th-drift 16s ease-in-out infinite alternate; }
  .th-hero-bg::after { animation: th-drift 20s ease-in-out infinite alternate-reverse; }
}
/* off-screen hero: freeze everything so it costs nothing */
.th-hero.is-offscreen *, .th-hero.is-offscreen .th-hero-bg::before, .th-hero.is-offscreen .th-hero-bg::after { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .js.th-ready .th-hero-photo--main, .js.th-ready .th-hero-photo--second, .js.th-ready .th-hero-chip, .js.th-ready .th-hero-dots { animation: none; opacity: 1; }
  .th-hero-bg::before, .th-hero-bg::after { animation: none; }
  .th-hero-title span { animation: none; background-size: 100% .26em; }
  .js.th-ready .th-hero-title span { animation: none; }
}

/* ============================================================
   JOBBOX MATCH PASS
   Brings proportions, spacing and component styling closer to the
   JobBox reference: compact hero, one-row category carousel,
   tinted job cards with excerpts, compact recruiter cards,
   photo-style location cards.
   ============================================================ */

/* ---- Rhythm ---- */
.th-section { padding: 72px 0; }
.th-head { margin-bottom: 32px; }
.th-head h2 { font-size: clamp(1.625rem, 1.2rem + 1.2vw, 2rem); }
.th-head p { font-size: 1rem; }

/* ---- Header: Register reads as a text link ---- */
.nav-auth .btn-register { text-decoration: underline; text-underline-offset: 4px; }

/* ---- Hero: compact, two photos with offset blue frames, curved bottom edge ---- */
.th-hero { padding: calc(var(--ph-header-h) + 32px) 0 84px; }
.th-hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; z-index: 0; height: 64px;
  background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; pointer-events: none;
}
.th-hero-title { margin-bottom: 16px; font-size: clamp(2rem, 1.2rem + 2vw, 3rem); line-height: 1.15; }
.th-hero-sub { max-width: 480px; margin-bottom: 28px; font-size: 1.0625rem; line-height: 1.6; }
.th-hero-visual { min-height: 400px; }
.th-hero-photo { border: 0; box-shadow: -8px 8px 0 var(--ph-blue); }
.th-hero-photo--main { width: 74%; }
.th-hero-photo--second { width: 56%; }
.th-popular { gap: 4px 10px; margin-top: 20px; }
.th-popular-label { margin-right: 2px; font-weight: 700; color: var(--ph-ink); }
.th-chip {
  min-height: 0; padding: 0; font-size: .9375rem; font-weight: 500; color: var(--ph-text-2); background: none; border: 0; border-radius: 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.th-chip:not(:last-child)::after { content: ","; text-decoration: none; display: inline-block; }
.th-chip:hover { color: var(--ph-blue); background: none; transform: none; }
@media (min-width: 1200px) {
  .th-search { flex-wrap: nowrap; padding: 6px; }
  .th-field { min-height: 52px; padding: 0 12px; }
  .th-field--keyword { flex: 1 1 0; border-bottom: 0; border-right: 1px solid var(--ph-line); border-radius: var(--ph-radius-sm) 0 0 var(--ph-radius-sm); }
  .th-field--exp { flex: 0 0 150px; }
  .th-field--loc { flex: 0 0 160px; border-right: 0; }
  .th-search .th-input, .th-search .th-select { font-size: .9375rem; }
  .th-search-btn { min-height: 52px; padding: 0 24px; }
}

/* ---- Browse by category: one-row carousel of compact cards ---- */
.th-cat-wrap { position: relative; padding: 0 28px; }
.th-cat-nav { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.th-cat-nav button, .th-head-nav button {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; font-size: 14px;
  color: var(--ph-blue); background: #E4ECFF; border: 0; border-radius: 50%; cursor: pointer; pointer-events: auto;
  transition: background .2s, color .2s, transform .15s var(--th-ease-hover);
}
.th-cat-nav button { position: absolute; top: 50%; margin-top: -16px; }
.th-cat-nav .owl-prev { left: -6px; }
.th-cat-nav .owl-next { right: -6px; }
.th-cat-nav button:hover, .th-head-nav button:hover { color: #fff; background: var(--ph-blue); }
.th-cat-nav button:active, .th-head-nav button:active { transform: scale(.94); }
.th-cat-nav button.disabled, .th-head-nav button.disabled { opacity: .45; pointer-events: none; }
.th-cat-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.th-cat-grid.owl-carousel { display: block; }
.th-cat-grid.owl-carousel .owl-stage { display: flex; }
.th-cat-grid.owl-carousel .owl-item { display: flex; }
.th-cat-grid.owl-carousel .owl-item > div { width: 100%; }
.th-cat-grid.owl-carousel .owl-stage-outer { position: relative; overflow: hidden; padding: 4px 0; }
.th-cat { min-height: 0; padding: 14px 16px; gap: 12px; border-color: #E5EAF5; border-radius: 10px; box-shadow: none; }
.th-cat-icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 18px; border-radius: 8px; }
.th-cat-name { font-size: .9375rem; }
.th-cat-count { font-size: .75rem; }

/* ---- Hiring banner ---- */
.th-band-wrap { padding: 0 0 64px; }
.th-band-mark strong { color: var(--ph-navy); }
.th-band { padding: 24px 40px; }

/* ---- Jobs of the day ---- */
.th-tab { min-height: 40px; padding: 0 14px; font-size: .8125rem; border-radius: 8px; }
.th-job { background: #F9FBFF; border-color: #E6ECF8; }
.th-job:hover, .th-job:focus-within { background: #fff; }
.th-job-excerpt {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0;
  font-size: .8125rem; line-height: 1.55; color: var(--ph-text-2);
}
.th-job-view { font-weight: 600; }

/* ---- Feature photo: landscape, plain rounded corners ---- */
.th-feature-media { max-width: 560px; }
.th-feature-media img { aspect-ratio: 5 / 4; border: 0; border-radius: 20px; }
.th-feature-media.is-loading { aspect-ratio: 5 / 4; border-radius: 20px; }

/* ---- Top recruiters: compact cards, arrows beside the heading ---- */
.th-head--nav { position: relative; }
.th-head-nav { position: absolute; top: 6px; right: 0; display: flex; gap: 8px; }
.th-emp-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.th-emp-grid.owl-carousel .owl-stage-outer { padding: 4px 0; }
.th-emp { flex-wrap: wrap; align-items: flex-start; gap: 0 12px; padding: 16px; border-color: #E5EAF5; border-radius: 10px; box-shadow: none; }
.th-emp .th-logo { flex-basis: 44px; width: 44px; height: 44px; font-size: 1rem; border-radius: 10px; }
.th-emp-body { flex: 1; min-width: 0; }
.th-emp-name { font-size: .9375rem; line-height: 1.3; }
.th-emp-industry { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: .8125rem; color: var(--ph-slate); }
.th-emp-count { flex: 1 0 100%; margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--ph-line); font-size: .8125rem; font-weight: 600; color: var(--ph-text-2); text-align: right; }

/* ---- Jobs by location: padded white cards, uneven widths like the reference ---- */
.th-loc-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.th-loc-cell { grid-column: span 4; }
@media (min-width: 992px) {
  .th-loc-cell--0 { grid-column: span 3; }
  .th-loc-cell--1 { grid-column: span 4; }
  .th-loc-cell--2 { grid-column: span 5; }
  .th-loc-cell--3 { grid-column: span 4; }
  .th-loc-cell--4 { grid-column: span 5; }
  .th-loc-cell--5 { grid-column: span 3; }
}
.th-loc { padding: 6px; border-color: #E6ECF8; border-radius: 12px; }
.th-loc-cover { height: 170px; border-radius: 8px; }
.th-loc-info { padding: 12px 8px 6px; }
.th-loc-name { font-size: 1rem; }
.th-loc-meta { font-size: .8125rem; }
.th-loc-badge { top: 10px; left: 10px; }

@media (max-width: 991.98px) {
  .th-section { padding: 56px 0; }
  .th-cat-wrap { padding: 0 20px; }
  .th-loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-loc-cell { grid-column: auto; }
  .th-loc-cover { height: 140px; }
  .th-head-nav { position: static; justify-content: center; margin-top: 12px; }
}
@media (max-width: 575.98px) {
  .th-section { padding: 44px 0; }
  .th-loc-grid { grid-template-columns: 1fr; }
  .th-cat-wrap { padding: 0 22px; }
  .th-band { padding: 22px 20px; }
}
@media (min-width: 1200px) {
  .th-field--exp { flex-basis: 136px; }
  .th-field--loc { flex-basis: 140px; }
  .th-search-btn { padding: 0 20px; }
}
.th-job-foot { flex-wrap: nowrap; align-items: center; gap: 8px; }
.th-job-salary { min-width: 0; font-size: .9375rem; line-height: 1.25; }
.th-job-view { flex: 0 0 auto; padding: 0 12px; white-space: nowrap; }
@media (min-width: 1200px) {
  .th-field--exp { flex-basis: 150px; }
  .th-field--loc { flex-basis: 132px; }
  .th-search-btn { padding: 0 18px; }
}
@media (min-width: 1200px) {
  .th-field--exp > i:first-child { display: none; }
  .th-field--exp { flex-basis: 140px; }
}
@media (max-width: 991.98px) {
  .th-hero { padding-bottom: 64px; }
  .th-hero-visual { min-height: 0; }
  .th-hero-photo--main { width: calc(100% - 8px); box-shadow: -6px 6px 0 var(--ph-blue); }
}

/* ============================================================
   BRAND COLOUR
   The footer navy (#1B2E58, the middle of the footer gradient) for every
   button, with a lighter hover, a darker pressed state and a matching
   focus ring. The footer keeps its original dark design.
   Hover/pressed use the darker blues from the same family.
   ============================================================ */
:root {
  --theme-secondary: #2563EB;
  --primary-blue: #2563EB;
  --primary-blue-rgb: 37, 99, 235;
  --bs-primary: #1B2E58;
  --bs-primary-rgb: 27, 46, 88;
  --bs-link-color: #2563EB;
  --bs-link-color-rgb: 37, 99, 235;
  --bs-link-hover-color: #1D4ED8;
  --bs-link-hover-color-rgb: 29, 78, 216;
  --bs-focus-ring-color: rgba(27, 46, 88, .35);
  --th-btn: #1B2E58;
  --th-btn-hover: #243D78;
  --th-btn-active: #132144;
  --th-focus-ring: 0 0 0 .22rem rgba(27, 46, 88, .35);
}

/* ---- Footer keeps its original dark design (web-style.css); only the focus ring is made visible on it ---- */
.footer-main a:focus-visible, .footer-main button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 4px; }

/* ---- Buttons: gradient and off-shade blues become the brand blue ---- */
body .primaryBtn, body .th-submit-btn { background: var(--th-btn); border-color: var(--th-btn); color: #fff; }
body .primaryBtn:hover, body .th-submit-btn:hover { background: var(--th-btn-hover); border-color: var(--th-btn-hover); color: #fff; }
body .auth-button, body .btn-apply, body .btn-search, body .btn-blue-pill, body .btn-main { background: var(--th-btn); border-color: var(--th-btn); color: #fff; }
body .auth-button:hover, body .btn-apply:hover, body .btn-search:hover, body .btn-blue-pill:hover, body .btn-main:hover { background: var(--th-btn-hover); border-color: var(--th-btn-hover); color: #fff; }
body .auth-button:active, body .btn-apply:active, body .btn-search:active, body .btn-blue-pill:active, body .btn-main:active, body .primaryBtn:active { background: var(--th-btn-active); border-color: var(--th-btn-active); }

/* Bootstrap buttons */
.btn-primary {
  --bs-btn-bg: #1B2E58; --bs-btn-border-color: #1B2E58;
  --bs-btn-hover-bg: #243D78; --bs-btn-hover-border-color: #243D78;
  --bs-btn-active-bg: #132144; --bs-btn-active-border-color: #132144;
  --bs-btn-disabled-bg: #1B2E58; --bs-btn-disabled-border-color: #1B2E58;
  --bs-btn-focus-shadow-rgb: 27, 46, 88;
}
.btn-outline-primary {
  --bs-btn-color: #1B2E58; --bs-btn-border-color: #1B2E58;
  --bs-btn-hover-bg: #1B2E58; --bs-btn-hover-border-color: #1B2E58;
  --bs-btn-active-bg: #132144; --bs-btn-active-border-color: #132144;
  --bs-btn-focus-shadow-rgb: 27, 46, 88;
}

/* ---- Focus states: one ring colour everywhere ---- */
a:focus-visible, button:focus-visible, .btn:focus-visible, [tabindex]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--th-btn); outline-offset: 2px; }
.btn:focus, .btn:focus-visible { box-shadow: var(--th-focus-ring); }
.form-control:focus, .form-select:focus, .th-form-control:focus, .auth-field:focus, textarea.form-control:focus {
  border-color: var(--th-btn); box-shadow: var(--th-focus-ring); outline: 0;
}
.form-check-input:checked { background-color: var(--th-btn); border-color: var(--th-btn); }
.form-check-input:focus { border-color: var(--th-btn); box-shadow: var(--th-focus-ring); }
.form-range:focus::-webkit-slider-thumb { box-shadow: 0 0 0 1px #fff, var(--th-focus-ring); }
.dropdown-item.active, .dropdown-item:active { background-color: var(--th-btn); color: #fff; }
.page-link { color: var(--th-btn); }
.page-link:focus { box-shadow: var(--th-focus-ring); }
.page-item.active .page-link { background-color: var(--th-btn); border-color: var(--th-btn); }
.nav-pills .nav-link.active, .nav-tabs .nav-link.active { color: var(--th-btn); }
.accordion-button:not(.collapsed) { color: var(--th-btn); }
.accordion-button:focus { border-color: var(--th-btn); box-shadow: var(--th-focus-ring); }

/* Third-party widgets that carry their own blues */
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single { border-color: var(--th-btn); box-shadow: var(--th-focus-ring); }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background-color: var(--th-btn); color: #fff; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--th-btn); border-color: var(--th-btn); }
.swal2-styled.swal2-confirm { background-color: var(--th-btn) !important; }
.swal2-styled.swal2-confirm:focus { box-shadow: var(--th-focus-ring) !important; }
.swal2-styled.swal2-confirm:hover { background-color: var(--th-btn-hover) !important; }

/* Our own components: pressed state and a white ring where the control sits on blue */
.th-btn--primary:active, .th-search-btn:active { background: var(--th-btn-active); }
.th-news :focus-visible, .th-cta :focus-visible, .th-pane--dark :focus-visible { outline-color: #fff; }
/* Newsletter button sits on the white input bar, so it takes the brand blue too */
.th-news-btn { background: var(--ph-blue); }
.th-news-btn:hover { background: var(--ph-blue-dark); }
.th-news-btn:active { background: var(--th-blue-active); }
.th-news-btn:focus-visible { outline: 3px solid var(--ph-navy); outline-offset: 2px; }

/* ============================================================
   HERO RIGHT SIDE: matches the supplied reference view
   Soft blue shapes on the right, two photos with a blue L-shaped
   frame (left + bottom edge) and cut corners, light dot patterns,
   and a white wave rising to the right at the bottom.
   ============================================================ */
:root { --th-hero-frame: #3C65F5; --th-hero-bg: #F2F6FD; }

/* shapes */
.th-hero-bg::before {
  right: -6%; top: -14%; left: auto; bottom: auto; width: 46%; aspect-ratio: auto; height: 82%; background: #C9D9F3;
  border-radius: 0 0 0 72% / 0 0 0 62%;
}
.th-hero-bg::after {
  right: -10%; left: auto; top: -10%; bottom: auto; width: 64%; aspect-ratio: auto; height: 96%; background: #DCE7F9; z-index: -1;
  border-radius: 0 0 0 58% / 0 0 0 52%;
}
.th-hero::after { left: -5%; right: -5%; height: 72px; border-radius: 100% 0 0 0 / 100% 0 0 0; }

/* photos: top-left main, bottom-right second, overlapping */
.th-hero-photo { border: 0; border-left: 8px solid var(--th-hero-frame); border-bottom: 8px solid var(--th-hero-frame); box-shadow: none; background-color: #DBEAFE; }
.th-hero-photo--main { top: 0; left: 0; right: auto; width: 72%; aspect-ratio: 5 / 4; border-radius: 18px 46px 0 0; }
.th-hero-photo--second { bottom: 0; right: 0; left: auto; width: 58%; aspect-ratio: 4 / 3.1; border-radius: 46px 46px 46px 0; }
.th-hero-photo--main img { object-position: 50% 30%; }
.th-hero-photo--second img { object-position: 50% 40%; }

/* dot patterns */
.th-hero-dots {
  left: auto; right: 4%; top: 12%; width: 98px; height: 98px; opacity: 1;
  background-image: radial-gradient(#B3C2EC 1.5px, transparent 1.8px); background-size: 8px 8px;
}
.th-hero-visual::after {
  content: ""; position: absolute; left: 12%; bottom: 8%; z-index: 0; width: 98px; height: 46px;
  background-image: radial-gradient(#B3C2EC 1.5px, transparent 1.8px); background-size: 8px 8px; pointer-events: none;
}

/* counter chip moves to the empty top-right corner */
.th-hero-chip { top: 6px; right: 0; bottom: auto; }

@keyframes th-thumb-second { from { opacity: 0; transform: translate(28px, 24px); } to { opacity: 1; transform: none; } }

@media (max-width: 991.98px) {
  .th-hero-photo--main { width: 100%; border-radius: 18px 46px 0 0; }
  .th-hero-visual::after { display: none; }
}
.th-hero-bg::before { width: 54%; height: 84%; border-radius: 0 0 0 100% / 0 0 0 82%; }
.th-hero-chip { top: auto; right: auto; left: 0; bottom: 4px; }
.th-hero-visual::after { left: 38%; bottom: 2%; }
@media (max-width: 991.98px) { .th-hero-chip { display: none; } }
/* Legacy auth/form rules remove the focus ring; keep one visible brand ring on every field */
body input.form-control:focus, body select.form-select:focus, body textarea.form-control:focus, body .auth-field:focus, body .th-form-control:focus {
  border-color: var(--ph-blue) !important; box-shadow: var(--th-focus-ring) !important;
}
body .th-contact-page .th-form-control:focus { box-shadow: var(--th-focus-ring) !important; }

/* ---- Our components take the same button navy ---- */
.th-btn--primary, .th-search-btn, .th-news-btn, .th-to-top, .nav-auth .btn-login, .mm-btn--primary, .th-job-view {
  background: var(--th-btn); border-color: var(--th-btn); color: #fff;
}
.th-btn--primary:hover, .th-search-btn:hover, .th-news-btn:hover, .th-to-top:hover, .nav-auth .btn-login:hover, .mm-btn--primary:hover, .th-job-view:hover {
  background: var(--th-btn-hover); border-color: var(--th-btn-hover); color: #fff;
}
.th-btn--primary:active, .th-search-btn:active, .th-news-btn:active, .th-to-top:active, .nav-auth .btn-login:active, .mm-btn--primary:active, .th-job-view:active {
  background: var(--th-btn-active); border-color: var(--th-btn-active);
}
.th-btn--primary:hover { box-shadow: 0 10px 22px -12px rgba(27, 46, 88, .75); }
.th-btn--outline:hover, .mm-btn:hover { border-color: var(--th-btn); color: var(--th-btn); }
.th-tab:hover { border-color: var(--th-btn); color: var(--th-btn); }
.th-tab.is-active { background: var(--th-btn); border-color: var(--th-btn); color: #fff; }
.th-save:hover { border-color: var(--th-btn); color: var(--th-btn); }
.th-save.saved { background: #E8ECF5; border-color: var(--th-btn); color: var(--th-btn); }
.th-cat-nav button, .th-head-nav button, .th-emp-grid.owl-carousel .owl-nav button { color: var(--th-btn); background: #E8ECF5; }
.th-cat-nav button:hover, .th-head-nav button:hover { background: var(--th-btn); color: #fff; }
.th-btn--primary:focus-visible, .th-search-btn:focus-visible, .th-job-view:focus-visible, .th-tab:focus-visible, .nav-auth .btn-login:focus-visible { outline: 3px solid var(--th-btn); outline-offset: 3px; }
.th-news-btn:focus-visible, .th-to-top:focus-visible { outline-color: var(--th-btn); }
/* On dark sections a navy button would disappear, so it flips to white with navy text */
.th-cta .th-btn--primary, .th-pane--dark .th-btn--primary { background: #fff; border-color: #fff; color: var(--th-btn); }
.th-cta .th-btn--primary:hover, .th-pane--dark .th-btn--primary:hover { background: #E8ECF5; border-color: #E8ECF5; color: var(--th-btn); box-shadow: none; }
.th-cta .th-btn--primary:active { background: #D5DBEA; }

/* ---- Newsletter card uses the footer's navy gradient (same declaration as .footer-main in web-style.css) ---- */
:root { --th-footer-bg: linear-gradient(1deg, rgba(8, 22, 58, .96), rgb(7 31 82 / 90%)); }
.th-news { background: var(--th-footer-bg); }
.th-news > p, .th-news-copy p { color: #D6DEF0; }
.th-news::before, .th-news::after { background: rgba(255, 255, 255, .07); }

/* ---- Remaining legacy buttons that carried their own blue ---- */
body .btn-apply, body .btn-apply.apply-job-btn { background: var(--th-btn) !important; border-color: var(--th-btn) !important; color: #fff !important; }
body .btn-apply:hover, body .btn-apply.apply-job-btn:hover { background: var(--th-btn-hover) !important; border-color: var(--th-btn-hover) !important; }
body .btn-apply.disabled { background: #94A3B8 !important; border-color: #94A3B8 !important; }
body .th-contact-page .th-submit-btn { background: var(--th-btn); background-image: none; color: #fff; }
body .th-contact-page .th-submit-btn:hover { background: var(--th-btn-hover); background-image: none; }
body .cat-item:hover, body .cat-item.active { border-color: var(--th-btn); color: var(--th-btn); background: #EEF1F8; }

/* Jobs pages ship their own stylesheet (job-screens.css) that reads the old --theme-secondary blue; match its specificity here */
body .jobsListingPage .jp-searchbar button[type="submit"] { background: var(--th-btn); }
body .jobsListingPage .jp-searchbar button[type="submit"]:hover { background: var(--th-btn-hover); filter: none; }
body .jobsListingPage .jp-searchbar button[type="submit"]:active { background: var(--th-btn-active); }
body .jobDetailsPage .btn-apply:not(.disabled), body .jobsListingPage .btn-apply:not(.disabled) { background: var(--th-btn) !important; color: #fff !important; }
body .jobDetailsPage .btn-apply:not(.disabled):hover, body .jobsListingPage .btn-apply:not(.disabled):hover { background: var(--th-btn-hover) !important; filter: none; box-shadow: 0 6px 16px -8px rgba(27, 46, 88, .6); }
body .jobDetailsPage .btn-apply:not(.disabled):active, body .jobsListingPage .btn-apply:not(.disabled):active { background: var(--th-btn-active) !important; }
body .jobsListingPage .btn-apply:focus-visible, body .jobDetailsPage .btn-apply:focus-visible, body .jobsListingPage .jp-searchbar button[type="submit"]:focus-visible { outline: 3px solid var(--th-btn); outline-offset: 3px; }

/* ============================================================
   REFINEMENT PASS: compact header + roomier section rhythm
   ============================================================ */
:root { --ph-header-h: 64px; }

/* ---- Header: 64px bar (56px once scrolled), 44px logo, 40px buttons, tighter nav spacing ---- */
@media (min-width: 992px) {
  .navbar-inner { height: var(--ph-header-h); gap: 8px; }
  .navbar-main .brand-logo { max-width: 170px; margin-right: 8px; }
  .navbar-main .brand-logo img { max-height: 44px; }
  .navbar-main.is-scrolled .navbar-inner { height: 56px; }
  .navbar-main.is-scrolled .brand-logo img { max-height: 38px; }
  .navbar-main.is-scrolled .mega-menu, .navbar-main.is-scrolled .dropdown-menu-nav { top: 56px; }
  .nav-links { gap: 2px; }
  .nav-links > li > a, .nav-links > li > button { padding: 0 12px; font-size: .9375rem; }
  .nav-links > li > a::after { left: 12px; right: 12px; }
  .nav-auth { gap: 8px; }
  .nav-auth .btn-login, .nav-auth .btn-register { min-height: 40px; padding: 0 18px; font-size: .875rem; }
  .nav-auth .btn-register { padding: 0 8px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .nav-links > li > a, .nav-links > li > button { padding: 0 9px; }
  .navbar-main .brand-logo { max-width: 150px; }
  .nav-auth .btn-login { padding: 0 16px; }
}
@media (max-width: 991.98px) {
  :root { --ph-header-h: 56px; }
  .navbar-inner { height: 56px; }
  .navbar-main .brand-logo img { max-height: 36px; }
  .nav-auth .btn-login, .nav-auth .btn-register { min-height: 40px; }
  .hamburger { min-width: 40px; min-height: 40px; }
}

/* ---- Homepage section spacing ---- */
.th-section { padding: 96px 0; }
.th-head { margin-bottom: 40px; }
.th-head--center { margin-bottom: 44px; }
.th-section:has(+ .th-band-wrap) { padding-bottom: 48px; }
.th-band-wrap { padding: 0 0 80px; }
.th-stats { padding: 0 0 96px; }
.th-cta { padding: 96px 0; }
.th-news-wrap { padding-bottom: 96px; }
.th-cta + .th-news-wrap { padding-top: 96px; }
.th-more { margin-top: 44px; }
@media (max-width: 1199.98px) {
  .th-section { padding: 80px 0; }
  .th-band-wrap { padding-bottom: 64px; }
  .th-stats, .th-news-wrap { padding-bottom: 80px; }
  .th-cta, .th-cta + .th-news-wrap { padding-top: 80px; }
  .th-cta { padding-bottom: 80px; }
}
@media (max-width: 991.98px) {
  .th-section { padding: 64px 0; }
  .th-band-wrap { padding-bottom: 56px; }
  .th-stats, .th-news-wrap { padding-bottom: 64px; }
  .th-cta { padding: 64px 0; }
  .th-cta + .th-news-wrap { padding-top: 64px; }
  .th-head, .th-head--center { margin-bottom: 36px; }
  .th-more { margin-top: 36px; }
}
@media (max-width: 575.98px) {
  .th-section { padding: 52px 0; }
  .th-section:has(+ .th-band-wrap) { padding-bottom: 36px; }
  .th-band-wrap { padding-bottom: 44px; }
  .th-stats, .th-news-wrap { padding-bottom: 52px; }
  .th-cta, .th-cta + .th-news-wrap { padding: 52px 0; }
  .th-cta + .th-news-wrap { padding-bottom: 52px; }
  .th-head, .th-head--center { margin-bottom: 28px; }
  .th-more { margin-top: 28px; }
}
@media (min-width: 992px) { .navbar-main .brand-logo { max-width: 190px; } .navbar-main.is-scrolled .brand-logo { max-width: 165px; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .navbar-main .brand-logo { max-width: 170px; } .navbar-main.is-scrolled .brand-logo { max-width: 150px; } }

/* ============================================================
   REGISTER BUTTON + MENU
   Outlined in the same navy as Sign in; the menu is a clean card
   with icons, no pointer arrow and no row dividers.
   ============================================================ */
body .nav-auth .btn-register {
  gap: 2px; padding: 0 14px; color: var(--th-btn); background: transparent; border: 1.5px solid var(--th-btn);
  border-radius: 12px; text-decoration: none; font-weight: 700;
}
body .nav-auth .btn-register:hover, body .nav-auth .btn-register:focus-visible, body .nav-auth .btn-register.show {
  color: var(--th-btn); background: #E8ECF5; border-color: var(--th-btn);
}
body .nav-auth .btn-register:active { background: #D9DFEE; }
body .nav-auth .btn-register.dropdown-toggle::after { margin-left: .55em; }
body .nav-auth .btn-register:focus-visible { outline: 3px solid var(--th-btn); outline-offset: 3px; }

.regi_drop .dropdown-menu {
  min-width: 210px; margin-top: 10px !important; padding: 8px; background: #fff; border: 1px solid var(--ph-line);
  border-radius: 14px; box-shadow: 0 18px 40px -14px rgba(15, 23, 42, .28);
}
.regi_drop .dropdown-menu::before, .regi_drop .dropdown-menu::after { display: none !important; }
.regi_drop .dropdown-item {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 8px;
  font-size: .9375rem; font-weight: 600; color: var(--ph-ink); transition: background .15s, color .15s;
}
.regi_drop .dropdown-item i { font-size: 1.05rem; color: var(--th-btn); }
.regi_drop .dropdown-item:hover, .regi_drop .dropdown-item:focus { color: var(--th-btn); background: #E8ECF5; }
.regi_drop .dropdown-item:active { color: #fff; background: var(--th-btn); }
.regi_drop .dropdown-item:active i { color: #fff; }
.regi_drop .dropdown-item + .dropdown-item, .regi_drop li + li .dropdown-item { border-top: 0; }
.nav-auth .regi_drop { margin-right: 0 !important; }
.nav-auth { gap: 10px; }
.regi_drop .dropdown-menu li, .regi_drop .dropdown-menu li + li { border: 0; margin: 0; }
.regi_drop .dropdown-menu li + li { margin-top: 2px; }
.regi_drop .dropdown-item i { margin: 0; width: 1.25rem; text-align: center; flex: 0 0 auto; }
.regi_drop .dropdown-menu { min-width: 190px; }
.regi_drop .dropdown-menu { margin-right: 8px !important; }
.regi_drop .dropdown-item { padding: 10px 12px; gap: 8px; }

/* ============================================================
   BUTTON SYSTEM
   One shared design for every button on the website.
   Tokens: sizes sm 36 / compact 40 / md 44 / lg 52, radius 12,
   Plus Jakarta Sans 700, navy primary (the footer navy).
   Variants: primary, outline, neutral, danger, light/ghost (dark
   sections). States: hover, focus-visible, active, disabled.
   Existing links, handlers and markup are untouched.
   ============================================================ */
:root {
  --btn-h-sm: 36px; --btn-h-cmp: 40px; --btn-h-md: 44px; --btn-h-lg: 52px;
  --btn-px-sm: 16px; --btn-px-md: 24px; --btn-px-lg: 32px;
  --btn-radius: 12px; --btn-radius-sm: 10px;
  --btn-fs-sm: .875rem; --btn-fs-md: .9375rem; --btn-fs-lg: 1rem;
  --btn-tint: #E8ECF5; --btn-tint-active: #D9DFEE; --btn-neutral-border: #CBD5E1; --btn-danger: #DC2626;
  --btn-disabled-bg: #E2E8F0; --btn-disabled-fg: #64748B;
}

/* base: shape, typography, md size */
body .btn-primary,
body .th-btn--primary,
body .th-search-btn,
body .th-news-btn,
body .primaryBtn,
body .auth-button,
body .th-contact-page .th-submit-btn,
body .btn-apply,
body .btn-search,
body .btn-main,
body .btn-blue-pill,
body .nav-auth .btn-login,
body .mm-btn--primary,
body .th-job-view,
body .jobDetailsPage .btn-apply:not(.disabled),
body .jobsListingPage .btn-apply:not(.disabled),
body .jobsListingPage .jp-searchbar button[type="submit"],
body .btn-outline-primary,
body .nav-auth .btn-register,
body .th-btn--outline,
body .btn-light,
body .btn-outline-secondary,
body .btn-secondary,
body .secondaryBtn,
body .social-login-btn,
body .mm-btn:not(.mm-btn--primary),
body .btn-outline-danger,
body .th-btn--light,
body .th-btn--ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--btn-h-md); padding: 0 var(--btn-px-md);
  font-family: var(--ph-font); font-size: var(--btn-fs-md); font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none;
  border: 1.5px solid transparent; border-radius: var(--btn-radius); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s var(--th-ease-hover);
}
body .btn:not(.btn-icon):not(.btn-link) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--btn-h-md); padding: 0 var(--btn-px-md);
  font-family: var(--ph-font); font-size: var(--btn-fs-md); font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none;
  border-width: 1.5px; border-radius: var(--btn-radius); text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s var(--th-ease-hover);
}

/* primary */
body .btn-primary,
body .th-btn--primary,
body .th-search-btn,
body .th-news-btn,
body .primaryBtn,
body .auth-button,
body .th-contact-page .th-submit-btn,
body .btn-apply,
body .btn-search,
body .btn-main,
body .btn-blue-pill,
body .nav-auth .btn-login,
body .mm-btn--primary,
body .th-job-view,
body .jobDetailsPage .btn-apply:not(.disabled),
body .jobsListingPage .btn-apply:not(.disabled),
body .jobsListingPage .jp-searchbar button[type="submit"] { background: var(--th-btn); border-color: var(--th-btn); color: #fff; }

body .btn-primary:hover,
body .th-btn--primary:hover,
body .th-search-btn:hover,
body .th-news-btn:hover,
body .primaryBtn:hover,
body .auth-button:hover,
body .th-contact-page .th-submit-btn:hover,
body .btn-apply:hover,
body .btn-search:hover,
body .btn-main:hover,
body .btn-blue-pill:hover,
body .nav-auth .btn-login:hover,
body .mm-btn--primary:hover,
body .th-job-view:hover,
body .jobDetailsPage .btn-apply:not(.disabled):hover,
body .jobsListingPage .btn-apply:not(.disabled):hover,
body .jobsListingPage .jp-searchbar button[type="submit"]:hover { background: var(--th-btn-hover); border-color: var(--th-btn-hover); color: #fff; filter: none; }

body .btn-primary:active,
body .th-btn--primary:active,
body .th-search-btn:active,
body .th-news-btn:active,
body .primaryBtn:active,
body .auth-button:active,
body .th-contact-page .th-submit-btn:active,
body .btn-apply:active,
body .btn-search:active,
body .btn-main:active,
body .btn-blue-pill:active,
body .nav-auth .btn-login:active,
body .mm-btn--primary:active,
body .th-job-view:active,
body .jobDetailsPage .btn-apply:not(.disabled):active,
body .jobsListingPage .btn-apply:not(.disabled):active,
body .jobsListingPage .jp-searchbar button[type="submit"]:active { background: var(--th-btn-active); border-color: var(--th-btn-active); color: #fff; }

/* outline (navy) */
body .btn-outline-primary,
body .nav-auth .btn-register { background: transparent; border-color: var(--th-btn); color: var(--th-btn); }

body .btn-outline-primary:hover,
body .nav-auth .btn-register:hover,
body .btn-outline-primary.show,
body .nav-auth .btn-register.show { background: var(--btn-tint); border-color: var(--th-btn); color: var(--th-btn); }

body .btn-outline-primary:active,
body .nav-auth .btn-register:active { background: var(--btn-tint-active); }

/* neutral (secondary actions) */
body .th-btn--outline,
body .btn-light,
body .btn-outline-secondary,
body .btn-secondary,
body .secondaryBtn,
body .social-login-btn,
body .mm-btn:not(.mm-btn--primary) { background: #fff; border-color: var(--btn-neutral-border); color: var(--ph-ink); }

body .th-btn--outline:hover,
body .btn-light:hover,
body .btn-outline-secondary:hover,
body .btn-secondary:hover,
body .secondaryBtn:hover,
body .social-login-btn:hover,
body .mm-btn:not(.mm-btn--primary):hover { background: #F5F7FB; border-color: var(--th-btn); color: var(--th-btn); }

body .th-btn--outline:active,
body .btn-light:active,
body .btn-outline-secondary:active,
body .btn-secondary:active,
body .secondaryBtn:active,
body .social-login-btn:active,
body .mm-btn:not(.mm-btn--primary):active { background: var(--btn-tint); }

/* danger */
body .btn-outline-danger { background: transparent; border-color: var(--btn-danger); color: var(--btn-danger); }

body .btn-outline-danger:hover { background: var(--btn-danger); border-color: var(--btn-danger); color: #fff; }

/* on dark sections */
body .th-btn--light { background: #fff; border-color: #fff; color: var(--th-btn); }
body .th-btn--light:hover { background: var(--btn-tint); border-color: var(--btn-tint); color: var(--th-btn); }
body .th-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
body .th-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--th-btn); }

/* sizes */
body .btn-sm:not(.btn-icon),
body .jobsListingPage .btn-apply:not(.disabled),
body .jobsListingPage .btn-apply { min-height: var(--btn-h-sm); padding: 0 var(--btn-px-sm); font-size: var(--btn-fs-sm); border-radius: var(--btn-radius-sm); }

body .nav-auth .btn-login,
body .nav-auth .btn-register,
body .th-job-view { min-height: var(--btn-h-cmp); padding: 0 18px; font-size: var(--btn-fs-sm); }

body .th-search-btn,
body .th-cta .th-btn,
body .th-contact-page .th-submit-btn,
body .th-btn--lg { min-height: var(--btn-h-lg); padding: 0 var(--btn-px-lg); font-size: var(--btn-fs-lg); }

body .nav-auth .btn-register { padding: 0 14px; }
body .th-job-view { padding: 0 14px; }

/* focus */
body .btn-primary:focus-visible,
body .th-btn--primary:focus-visible,
body .th-search-btn:focus-visible,
body .th-news-btn:focus-visible,
body .primaryBtn:focus-visible,
body .auth-button:focus-visible,
body .th-contact-page .th-submit-btn:focus-visible,
body .btn-apply:focus-visible,
body .btn-search:focus-visible,
body .btn-main:focus-visible,
body .btn-blue-pill:focus-visible,
body .nav-auth .btn-login:focus-visible,
body .mm-btn--primary:focus-visible,
body .th-job-view:focus-visible,
body .jobDetailsPage .btn-apply:not(.disabled):focus-visible,
body .jobsListingPage .btn-apply:not(.disabled):focus-visible,
body .jobsListingPage .jp-searchbar button[type="submit"]:focus-visible,
body .btn-outline-primary:focus-visible,
body .nav-auth .btn-register:focus-visible,
body .th-btn--outline:focus-visible,
body .btn-light:focus-visible,
body .btn-outline-secondary:focus-visible,
body .btn-secondary:focus-visible,
body .secondaryBtn:focus-visible,
body .social-login-btn:focus-visible,
body .mm-btn:not(.mm-btn--primary):focus-visible,
body .btn-outline-danger:focus-visible,
body .th-btn--light:focus-visible,
body .th-btn--ghost:focus-visible,
body .btn:not(.btn-icon):not(.btn-link):focus-visible,
body .th-tab:focus-visible,
body .th-save:focus-visible { outline: 3px solid var(--th-btn); outline-offset: 3px; }

body .th-cta .th-btn:focus-visible, body .th-pane--dark .th-btn:focus-visible, body .th-btn--ghost:focus-visible, body .th-btn--light:focus-visible { outline-color: #fff; }

/* disabled */
body .btn-primary:disabled,
body .btn-primary[disabled],
body .btn-primary.disabled,
body .btn-primary[aria-disabled="true"],
body .th-btn--primary:disabled,
body .th-btn--primary[disabled],
body .th-btn--primary.disabled,
body .th-btn--primary[aria-disabled="true"],
body .th-search-btn:disabled,
body .th-search-btn[disabled],
body .th-search-btn.disabled,
body .th-search-btn[aria-disabled="true"],
body .th-news-btn:disabled,
body .th-news-btn[disabled],
body .th-news-btn.disabled,
body .th-news-btn[aria-disabled="true"],
body .primaryBtn:disabled,
body .primaryBtn[disabled],
body .primaryBtn.disabled,
body .primaryBtn[aria-disabled="true"],
body .auth-button:disabled,
body .auth-button[disabled],
body .auth-button.disabled,
body .auth-button[aria-disabled="true"],
body .th-contact-page .th-submit-btn:disabled,
body .th-contact-page .th-submit-btn[disabled],
body .th-contact-page .th-submit-btn.disabled,
body .th-contact-page .th-submit-btn[aria-disabled="true"],
body .btn-apply:disabled,
body .btn-apply[disabled],
body .btn-apply.disabled,
body .btn-apply[aria-disabled="true"],
body .btn-search:disabled,
body .btn-search[disabled],
body .btn-search.disabled,
body .btn-search[aria-disabled="true"],
body .btn-main:disabled,
body .btn-main[disabled],
body .btn-main.disabled,
body .btn-main[aria-disabled="true"],
body .btn-blue-pill:disabled,
body .btn-blue-pill[disabled],
body .btn-blue-pill.disabled,
body .btn-blue-pill[aria-disabled="true"],
body .nav-auth .btn-login:disabled,
body .nav-auth .btn-login[disabled],
body .nav-auth .btn-login.disabled,
body .nav-auth .btn-login[aria-disabled="true"],
body .mm-btn--primary:disabled,
body .mm-btn--primary[disabled],
body .mm-btn--primary.disabled,
body .mm-btn--primary[aria-disabled="true"],
body .th-job-view:disabled,
body .th-job-view[disabled],
body .th-job-view.disabled,
body .th-job-view[aria-disabled="true"],
body .jobDetailsPage .btn-apply:not(.disabled):disabled,
body .jobDetailsPage .btn-apply:not(.disabled)[disabled],
body .jobDetailsPage .btn-apply:not(.disabled).disabled,
body .jobDetailsPage .btn-apply:not(.disabled)[aria-disabled="true"],
body .jobsListingPage .btn-apply:not(.disabled):disabled,
body .jobsListingPage .btn-apply:not(.disabled)[disabled],
body .jobsListingPage .btn-apply:not(.disabled).disabled,
body .jobsListingPage .btn-apply:not(.disabled)[aria-disabled="true"],
body .jobsListingPage .jp-searchbar button[type="submit"]:disabled,
body .jobsListingPage .jp-searchbar button[type="submit"][disabled],
body .jobsListingPage .jp-searchbar button[type="submit"].disabled,
body .jobsListingPage .jp-searchbar button[type="submit"][aria-disabled="true"],
body .btn-outline-primary:disabled,
body .btn-outline-primary[disabled],
body .btn-outline-primary.disabled,
body .btn-outline-primary[aria-disabled="true"],
body .nav-auth .btn-register:disabled,
body .nav-auth .btn-register[disabled],
body .nav-auth .btn-register.disabled,
body .nav-auth .btn-register[aria-disabled="true"],
body .th-btn--outline:disabled,
body .th-btn--outline[disabled],
body .th-btn--outline.disabled,
body .th-btn--outline[aria-disabled="true"],
body .btn-light:disabled,
body .btn-light[disabled],
body .btn-light.disabled,
body .btn-light[aria-disabled="true"],
body .btn-outline-secondary:disabled,
body .btn-outline-secondary[disabled],
body .btn-outline-secondary.disabled,
body .btn-outline-secondary[aria-disabled="true"],
body .btn-secondary:disabled,
body .btn-secondary[disabled],
body .btn-secondary.disabled,
body .btn-secondary[aria-disabled="true"],
body .secondaryBtn:disabled,
body .secondaryBtn[disabled],
body .secondaryBtn.disabled,
body .secondaryBtn[aria-disabled="true"],
body .social-login-btn:disabled,
body .social-login-btn[disabled],
body .social-login-btn.disabled,
body .social-login-btn[aria-disabled="true"],
body .mm-btn:not(.mm-btn--primary):disabled,
body .mm-btn:not(.mm-btn--primary)[disabled],
body .mm-btn:not(.mm-btn--primary).disabled,
body .mm-btn:not(.mm-btn--primary)[aria-disabled="true"],
body .btn-outline-danger:disabled,
body .btn-outline-danger[disabled],
body .btn-outline-danger.disabled,
body .btn-outline-danger[aria-disabled="true"],
body .th-btn--light:disabled,
body .th-btn--light[disabled],
body .th-btn--light.disabled,
body .th-btn--light[aria-disabled="true"],
body .th-btn--ghost:disabled,
body .th-btn--ghost[disabled],
body .th-btn--ghost.disabled,
body .th-btn--ghost[aria-disabled="true"],
body .btn:not(.btn-icon):not(.btn-link):disabled,
body .btn:not(.btn-icon):not(.btn-link)[disabled],
body .btn:not(.btn-icon):not(.btn-link).disabled,
body .btn:not(.btn-icon):not(.btn-link)[aria-disabled="true"] {
  background: var(--btn-disabled-bg) !important; border-color: var(--btn-disabled-bg) !important; color: var(--btn-disabled-fg) !important;
  opacity: 1; cursor: not-allowed; box-shadow: none !important; transform: none !important; filter: none; pointer-events: none;
}
body .th-news-btn { height: var(--btn-h-md); }

/* motion: no lift on hover (same for every button), a small press on click */
body .btn-primary:hover,
body .th-btn--primary:hover,
body .th-search-btn:hover,
body .th-news-btn:hover,
body .primaryBtn:hover,
body .auth-button:hover,
body .th-contact-page .th-submit-btn:hover,
body .btn-apply:hover,
body .btn-search:hover,
body .btn-main:hover,
body .btn-blue-pill:hover,
body .nav-auth .btn-login:hover,
body .mm-btn--primary:hover,
body .th-job-view:hover,
body .jobDetailsPage .btn-apply:not(.disabled):hover,
body .jobsListingPage .btn-apply:not(.disabled):hover,
body .jobsListingPage .jp-searchbar button[type="submit"]:hover,
body .btn-outline-primary:hover,
body .nav-auth .btn-register:hover,
body .th-btn--outline:hover,
body .btn-light:hover,
body .btn-outline-secondary:hover,
body .btn-secondary:hover,
body .secondaryBtn:hover,
body .social-login-btn:hover,
body .mm-btn:not(.mm-btn--primary):hover,
body .btn-outline-danger:hover,
body .th-btn--light:hover,
body .th-btn--ghost:hover,
body .btn:not(.btn-icon):not(.btn-link):hover { transform: none; }
body .btn-primary:active:not(:disabled):not(.disabled),
body .th-btn--primary:active:not(:disabled):not(.disabled),
body .th-search-btn:active:not(:disabled):not(.disabled),
body .th-news-btn:active:not(:disabled):not(.disabled),
body .primaryBtn:active:not(:disabled):not(.disabled),
body .auth-button:active:not(:disabled):not(.disabled),
body .th-contact-page .th-submit-btn:active:not(:disabled):not(.disabled),
body .btn-apply:active:not(:disabled):not(.disabled),
body .btn-search:active:not(:disabled):not(.disabled),
body .btn-main:active:not(:disabled):not(.disabled),
body .btn-blue-pill:active:not(:disabled):not(.disabled),
body .nav-auth .btn-login:active:not(:disabled):not(.disabled),
body .mm-btn--primary:active:not(:disabled):not(.disabled),
body .th-job-view:active:not(:disabled):not(.disabled),
body .jobDetailsPage .btn-apply:not(.disabled):active:not(:disabled):not(.disabled),
body .jobsListingPage .btn-apply:not(.disabled):active:not(:disabled):not(.disabled),
body .jobsListingPage .jp-searchbar button[type="submit"]:active:not(:disabled):not(.disabled),
body .btn-outline-primary:active:not(:disabled):not(.disabled),
body .nav-auth .btn-register:active:not(:disabled):not(.disabled),
body .th-btn--outline:active:not(:disabled):not(.disabled),
body .btn-light:active:not(:disabled):not(.disabled),
body .btn-outline-secondary:active:not(:disabled):not(.disabled),
body .btn-secondary:active:not(:disabled):not(.disabled),
body .secondaryBtn:active:not(:disabled):not(.disabled),
body .social-login-btn:active:not(:disabled):not(.disabled),
body .mm-btn:not(.mm-btn--primary):active:not(:disabled):not(.disabled),
body .btn-outline-danger:active:not(:disabled):not(.disabled),
body .th-btn--light:active:not(:disabled):not(.disabled),
body .th-btn--ghost:active:not(:disabled):not(.disabled),
body .btn:not(.btn-icon):not(.btn-link):active:not(:disabled):not(.disabled) { transform: translateY(1px) scale(.98); }
@media (min-width: 1200px) { body .th-search-btn { padding: 0 22px; } }

/* ============================================================
   RESPONSIVE PASS
   Fixes found by auditing every public page at 1920 / 1440 / 1280 /
   1024 / 820 / 600 / 430 / 375 / 320px.
   ============================================================ */

/* ---- Smallest phones (<=359px): header must still fit logo + Sign in + menu ---- */
@media (max-width: 359.98px) {
  .navbar-inner { gap: 4px; }
  .navbar-inner.container, body .container { --bs-gutter-x: 1.5rem; }
  .navbar-main .brand-logo { max-width: 104px; margin-right: 0; }
  .navbar-main .brand-logo img { max-height: 30px; }
  body .nav-auth .btn-login { padding: 0 12px; min-height: 36px; font-size: .8125rem; }
  .hamburger { min-width: 36px; padding: 4px; }
  .hamburger span { width: 22px; }
}

/* ---- Auth + registration pages: the form track may shrink instead of pushing past the card ---- */
@media (max-width: 991.98px) {
  .career-login-grid { grid-template-columns: minmax(0, 1fr); }
  .career-login-right, .career-login-form-wrap, .register-form, .register-form .form-group { min-width: 0; max-width: 100%; }
}
@media (max-width: 575.98px) {
  .career-login-right { padding: 34px 22px 26px; }
  .career-login-form-wrap h2 { font-size: 28px; }
  .password-group { grid-template-columns: minmax(0, 1fr) 72px; gap: 8px; }
  .password-toggle { width: 100%; min-height: 44px; padding: 0 8px; font-size: 14px; }
}

/* ---- Touch targets: footer links, popular searches, listing titles ---- */
@media (max-width: 991.98px) {
  body .footer-main .footer-links li a, body .footer-main .footer-contact-group a, body .footer-main .footer-legal-links a { display: inline-flex; align-items: center; min-height: 40px; }
  .th-chip { display: inline-flex; align-items: center; min-height: 32px; }
}
@media (max-width: 767.98px) {
  .job-title-link { display: inline-block; padding: 6px 0; }
}

/* ---- Minimum readable text (12px) for small meta badges and notes ---- */
.applied-badge, .review-cnt, .posted, .skill-pill, .file-upload-note, .register-resume-meta, .badge { font-size: max(12px, .75rem); }

/* ---- Jobs / employers filters on tablets and phones: compact two-column groups with their own scroll,
        instead of one very long stack above the results ---- */
@media (max-width: 991.98px) {
  .filter-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .filter-panel > .filter-header { grid-column: 1 / -1; }
  .filter-panel .filter-section { max-height: 280px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border-right: 1px solid var(--ph-line); }
  .filter-panel .filter-section:nth-of-type(even) { border-right: 0; }
  .filter-panel .fst { position: sticky; top: -1px; z-index: 1; background: #fff; padding-bottom: 6px; }
}
@media (max-width: 575.98px) {
  .filter-panel { grid-template-columns: minmax(0, 1fr); }
  .filter-panel .filter-section { max-height: 230px; border-right: 0; }
}

/* ============================================================
   HERO (tablet) + JOBS OF THE DAY (mobile)
   ============================================================ */
/* Tablet (768-991px): no decorative photos; the hero is the headline and search only. Desktop and phone layouts unchanged. */
@media (min-width: 768px) and (max-width: 991.98px) {
  .th-hero-visual { display: none; }
  .th-hero { padding-bottom: 72px; }
  .th-hero-copy { max-width: 640px; }
  .th-hero-sub { max-width: 560px; }
}

/* Phones: job cards, filter tabs and footers sized to the screen */
@media (max-width: 575.98px) {
  .th-tabs-scroll {
    margin-inline: calc(var(--bs-gutter-x, 2.25rem) * -.5); padding-inline: calc(var(--bs-gutter-x, 2.25rem) * .5); padding-bottom: 8px;
    scroll-snap-type: x proximity; scroll-padding-inline: 16px;
  }
  .th-tabs { gap: 8px; margin: 0; }
  .th-tab { flex: 0 0 auto; scroll-snap-align: start; min-height: 40px; padding: 0 14px; }

  .th-job-grid { gap: 16px; }
  .th-job { padding: 18px; gap: 12px; }
  .th-job-head { gap: 12px; }
  .th-job-company { font-size: .9375rem; overflow-wrap: anywhere; }
  .th-job-location { font-size: .8125rem; }
  .th-job-title { font-size: 1.125rem; }
  .th-job-facts { gap: 6px 14px; }
  .th-job-excerpt { -webkit-line-clamp: 3; }

  /* salary on the left, action on the right; when a long salary needs the room, the button drops to its own full-width row */
  .th-job-foot { flex-wrap: wrap; align-items: center; gap: 10px 12px; padding-top: 14px; }
  .th-job-salary { flex: 1 1 150px; min-width: 0; font-size: 1rem; line-height: 1.3; }
  .th-job-actions { flex: 1 1 140px; width: auto; justify-content: flex-end; }
  .th-job-view { flex: 1 1 auto; justify-content: center; min-height: 44px; }
  .th-save { flex: 0 0 44px; width: 44px; height: 44px; }
}
/* Tablet search bar: keyword on the first row, experience + location together, full-width button */
@media (min-width: 768px) and (max-width: 991.98px) {
  .th-field--exp, .th-field--loc { flex: 1 1 0; border-bottom: 0; }
  .th-field--exp { border-right: 1px solid var(--ph-line); border-radius: var(--ph-radius-sm) 0 0 var(--ph-radius-sm); }
  .th-search-btn { flex: 1 0 100%; margin-top: 6px; }
}

/* Hero photo is desktop-only: hidden on tablets and phones (<=991px) */
@media (max-width: 991.98px) {
  .th-hero-visual { display: none; }
  .th-hero { padding-bottom: 56px; }
}

/* ============================================================
   CANDIDATE / EMPLOYER CARDS: same design as the newsletter card
   Footer-navy gradient, 24px radius, soft circles, centred content.
   ============================================================ */
.th-split { gap: 24px; overflow: visible; background: none; border-radius: 0; box-shadow: none; }
.th-split .th-pane, .th-split .th-pane--light, .th-split .th-pane--dark {
  position: relative; overflow: hidden; align-items: center; text-align: center; gap: 12px; padding: 56px 32px;
  color: #fff; background: var(--th-footer-bg); border-radius: 24px;
}
.th-split .th-pane::before, .th-split .th-pane::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; }
.th-split .th-pane::before { left: -70px; top: -80px; width: 220px; height: 220px; }
.th-split .th-pane::after { right: -60px; bottom: -90px; width: 250px; height: 250px; }
.th-split .th-pane > * { position: relative; z-index: 1; }
.th-split .th-pane-label, .th-split .th-pane--light .th-pane-label { color: #93C5FD; }
.th-split .th-pane h3 { color: #fff; max-width: 480px; }
.th-split .th-pane p, .th-split .th-pane--light p { color: #D6DEF0; max-width: 460px; }
.th-split .th-pane ul { margin: 6px auto 18px; text-align: left; }
.th-split .th-pane li, .th-split .th-pane--light li { color: #fff; }
.th-split .th-pane li i, .th-split .th-pane--light li i { color: #60A5FA; }
.th-split .th-pane .th-btn { margin-top: auto; background: #fff; border-color: #fff; color: var(--th-btn); }
.th-split .th-pane .th-btn:hover { background: var(--btn-tint); border-color: var(--btn-tint); color: var(--th-btn); }
.th-split .th-pane :focus-visible { outline-color: #fff; }
@media (max-width: 991.98px) { .th-split .th-pane { padding: 44px 24px; } }
@media (max-width: 575.98px) { .th-split { gap: 16px; } .th-split .th-pane { padding: 36px 20px; border-radius: 20px; } .th-split .th-pane .th-btn { width: 100%; } }

/* ---- Job search steps: illustration + checklist ---- */
.th-steps2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.th-steps2-media img { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; }
.th-steps2-copy h2 { margin: 0 0 32px; font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: var(--ph-ink); }
.th-steps2-list { display: grid; gap: 24px; margin: 0; padding: 0; list-style: none; }
.th-steps2-list li { display: flex; align-items: flex-start; gap: 14px; }
.th-steps2-list li > i { flex: 0 0 auto; margin-top: 2px; font-size: 1.25rem; color: #3DA58A; }
.th-steps2-list h3 { margin: 0 0 4px; font-size: 1.0625rem; font-weight: 700; color: var(--ph-ink); }
.th-steps2-list p { margin: 0; max-width: 480px; font-size: 1rem; line-height: 1.65; color: var(--ph-text-2); }
@media (max-width: 991.98px) {
  .th-steps2 { grid-template-columns: 1fr; gap: 36px; }
  .th-steps2-media img { max-width: 420px; }
  .th-steps2-copy h2 { margin-bottom: 24px; }
}

/* ---- News and blog (static) ---- */
.th-head--left { justify-content: space-between; text-align: left; align-items: flex-end; flex-direction: row; }
.th-head--left .th-head-text { margin: 0; }
.th-head--left .th-head-nav { position: static; flex: 0 0 auto; }
.th-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.th-blog-grid.owl-carousel { display: block; }
.th-blog-grid.owl-carousel .owl-stage { display: flex; }
.th-blog-grid.owl-carousel .owl-item { display: flex; }
.th-blog-grid.owl-carousel .owl-item > div { width: 100%; }
.th-blog-grid.owl-carousel .owl-stage-outer { padding: 4px 0; }
.th-post { display: flex; flex-direction: column; height: 100%; padding: 10px; background: #fff; border: 1px solid #E6ECF8; border-radius: 14px; transition: box-shadow .25s, transform .25s var(--ph-ease); }
.th-post:hover { box-shadow: var(--ph-shadow-md); transform: translateY(-3px); }
.th-post-img { overflow: hidden; border-radius: 10px; aspect-ratio: 400 / 255; background: #E8ECF5; }
.th-post-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ph-ease); }
.th-post:hover .th-post-img img { transform: scale(1.03); }
.th-post-body { display: flex; flex: 1; flex-direction: column; padding: 16px 8px 8px; }
.th-post-tag { align-self: flex-start; padding: 4px 10px; font-size: .75rem; font-weight: 600; color: var(--th-btn); background: #E8ECF5; border-radius: 6px; }
.th-post h3 { margin: 12px 0 8px; font-size: 1.125rem; line-height: 1.35; font-weight: 700; color: var(--ph-ink); }
.th-post p { margin: 0 0 16px; font-size: .875rem; line-height: 1.6; color: var(--ph-text-2); }
.th-post-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.th-post-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; font-size: .75rem; font-weight: 700; color: var(--th-btn); background: #E8ECF5; border-radius: 50%; }
.th-post-meta { display: flex; flex-direction: column; min-width: 0; font-size: .75rem; color: var(--ph-slate); }
.th-post-meta b { font-size: .875rem; font-weight: 600; color: var(--ph-text-2); }
.th-post-read { margin-left: auto; font-size: .75rem; color: var(--ph-slate); white-space: nowrap; }
@media (max-width: 575.98px) { .th-head--left { flex-direction: column; align-items: flex-start; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { .th-post, .th-post-img img { transition: none; } .th-post:hover { transform: none; } }
/* Steps section now shares the centred section heading used by "Tools"; list sits beside the illustration */
.th-steps2 { max-width: 1040px; margin-inline: auto; gap: 56px; }
.th-steps2-list { gap: 28px; }

/* ============================================================
   CANDIDATE / EMPLOYER CARDS (revised)
   Left-aligned, equal height, aligned rows. Job-seeker card is light
   with navy accents; employer card is the footer navy. Same radius,
   padding and structure so they read as a pair.
   ============================================================ */
.th-split { align-items: stretch; gap: 24px; }
.th-split .th-pane, .th-split .th-pane--light, .th-split .th-pane--dark {
  align-items: flex-start; text-align: left; gap: 0; padding: 40px; border-radius: 24px; min-height: 0;
}
.th-split .th-pane::before, .th-split .th-pane::after { display: none; }
.th-split .th-pane--light { color: var(--ph-ink); background: #EEF2FA; border: 1px solid #DCE3F1; }
.th-split .th-pane--dark { color: #fff; background: var(--th-footer-bg); border: 1px solid transparent; }
.th-pane-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 20px; font-size: 1.5rem; border-radius: 14px;
}
.th-split .th-pane--light .th-pane-icon { color: #fff; background: var(--th-btn); }
.th-split .th-pane--dark .th-pane-icon { color: #fff; background: rgba(255, 255, 255, .14); }
.th-split .th-pane-label { margin-bottom: 8px; }
.th-split .th-pane--light .th-pane-label { color: var(--ph-blue); }
.th-split .th-pane--dark .th-pane-label { color: #93C5FD; }
.th-split .th-pane h3 { max-width: none; margin: 0 0 12px; font-size: clamp(1.5rem, 1.1rem + 1vw, 1.875rem); min-height: 2.4em; display: flex; align-items: flex-start; }
.th-split .th-pane--light h3 { color: var(--ph-ink); }
.th-split .th-pane--dark h3 { color: #fff; }
.th-split .th-pane p { max-width: 460px; min-height: 3.3em; }
.th-split .th-pane--light p { color: var(--ph-text-2); }
.th-split .th-pane--dark p { color: #D6DEF0; }
.th-split .th-pane ul { width: 100%; margin: 24px 0 32px; padding-top: 24px; text-align: left; }
.th-split .th-pane--light ul { border-top: 1px solid #D5DDEE; }
.th-split .th-pane--dark ul { border-top: 1px solid rgba(255, 255, 255, .18); }
.th-split .th-pane li { padding: 7px 0; font-size: 1rem; font-weight: 500; }
.th-split .th-pane--light li { color: var(--ph-ink); }
.th-split .th-pane--light li i { color: #2E9E7E; }
.th-split .th-pane--dark li i { color: #6EE7B7; }
.th-split .th-pane .th-btn { margin-top: auto; }
.th-split .th-pane--light .th-btn { background: var(--th-btn); border-color: var(--th-btn); color: #fff; }
.th-split .th-pane--light .th-btn:hover { background: var(--th-btn-hover); border-color: var(--th-btn-hover); color: #fff; }
.th-split .th-pane--light :focus-visible { outline-color: var(--th-btn); }
@media (max-width: 991.98px) { .th-split .th-pane { padding: 32px 28px; } .th-split .th-pane h3, .th-split .th-pane p { min-height: 0; } }
@media (max-width: 575.98px) { .th-split .th-pane { padding: 28px 22px; border-radius: 20px; } .th-pane-icon { width: 46px; height: 46px; margin-bottom: 16px; } }
.th-split .th-pane h3 { min-height: 0; display: block; }
.th-post-foot { justify-content: space-between; padding-top: 12px; border-top: 1px solid #EEF1F8; }
.th-post-meta { flex-direction: row; font-size: .8125rem; }

/* ============================================================
   TOOLS SECTION (revised): even 3 x 2 grid, one navy accent tile
   ============================================================ */
.th-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1040px; margin-inline: auto; }
.th-tool, .th-tool--wide, .th-tool--feature, .th-tool--dark { grid-column: auto; position: relative; gap: 0; padding: 32px 28px; min-height: 210px; background: #fff; border: 1px solid #E3E9F5; border-radius: 20px; box-shadow: none; overflow: hidden; }
.th-tool:hover { transform: translateY(-4px); border-color: #C6D2EC; box-shadow: 0 18px 36px -22px rgba(27, 46, 88, .35); }
.th-tool-icon, .th-tool--feature .th-tool-icon, .th-tool--dark .th-tool-icon { width: 52px; height: 52px; margin-bottom: 22px; font-size: 1.5rem; color: #fff; background: var(--th-btn); border-radius: 14px; }
.th-tool h3, .th-tool--wide h3 { margin: 0 0 8px; font-size: 1.1875rem; font-weight: 700; color: var(--ph-ink); }
.th-tool p { max-width: 300px; font-size: .9688rem; line-height: 1.6; color: var(--ph-text-2); }
.th-tool--feature { background: #EEF2FA; border-color: #DCE3F1; }
.th-tool--dark { background: var(--th-footer-bg); border-color: transparent; }
.th-tool--dark .th-tool-icon { background: rgba(255, 255, 255, .16); }
.th-tool--dark h3 { color: #fff; }
.th-tool--dark p { color: #D6DEF0; }
.th-tool--dark:hover { border-color: transparent; box-shadow: 0 18px 36px -20px rgba(8, 22, 58, .6); }
@media (max-width: 991.98px) { .th-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 575.98px) { .th-bento { grid-template-columns: 1fr; gap: 16px; } .th-tool, .th-tool--wide, .th-tool--feature, .th-tool--dark { min-height: 0; padding: 26px 22px; } .th-tool p { max-width: none; } }

/* ============================================================
   TOOLS (redesign): intro on the left, tool list on the right
   ============================================================ */
.th-tools { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.th-tools-intro h2 { margin: 0 0 16px; font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem); line-height: 1.18; font-weight: 800; letter-spacing: -.025em; color: var(--ph-ink); }
.th-tools-intro p { max-width: 440px; margin: 0 0 28px; font-size: 1.0625rem; line-height: 1.7; color: var(--ph-text-2); }
.th-tools-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.th-tool-item { display: flex; align-items: flex-start; gap: 16px; padding: 26px 0; border-top: 1px solid #D5DDEE; }
.th-tool-badge {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; width: 48px; height: 48px; font-size: 1.375rem; color: var(--th-btn);
  background: #fff; border: 1px solid #D5DDEE; border-radius: 50%; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ph-ease);
}
.th-tool-item:hover .th-tool-badge { color: #fff; background: var(--th-btn); border-color: var(--th-btn); transform: scale(1.06); }
.th-tool-item h3 { margin: 2px 0 6px; font-size: 1.0625rem; font-weight: 700; color: var(--ph-ink); }
.th-tool-item p { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--ph-text-2); }
@media (max-width: 1199.98px) { .th-tools { gap: 48px; } .th-tools-list { gap: 0 28px; } }
@media (max-width: 991.98px) {
  .th-tools { grid-template-columns: 1fr; gap: 32px; }
  .th-tools-intro p { max-width: 560px; }
}
@media (max-width: 575.98px) {
  .th-tools-list { grid-template-columns: 1fr; }
  .th-tool-item { padding: 20px 0; }
}
@media (prefers-reduced-motion: reduce) { .th-tool-badge { transition: none; } .th-tool-item:hover .th-tool-badge { transform: none; } }

/* ============================================================
   BACKGROUND HARMONY
   - one light tint (close to the hero field) for alternating sections
   - closing CTA uses the same navy gradient as the footer and cards
   - newsletter sits on the tint so it separates the CTA from the footer
   ============================================================ */
:root { --th-tint: #F5F8FD; }
.th-section--tint { background: var(--th-tint); }
.th-cta { background: var(--th-footer-bg); }
.th-news-wrap { background: var(--th-tint); padding-top: 80px; }
.th-cta + .th-news-wrap { padding-top: 80px; }
@media (max-width: 991.98px) { .th-news-wrap, .th-cta + .th-news-wrap { padding-top: 56px; } }
@media (max-width: 575.98px) { .th-news-wrap, .th-cta + .th-news-wrap { padding-top: 44px; } }

/* ============================================================
   JOB CARDS (refined): clear header, title, chip row, 2-line summary
   and a footer that puts the salary on its own line so it never wraps
   against the button. Equal-height rows.
   ============================================================ */
.th-job { gap: 14px; padding: 22px; background: #fff; border: 1px solid #E3E9F5; border-radius: 18px; box-shadow: 0 1px 2px rgba(15, 23, 42, .03); }
.th-job:hover, .th-job:focus-within { border-color: #C6D2EC; box-shadow: 0 20px 36px -24px rgba(27, 46, 88, .4); }
.th-job-head { align-items: center; gap: 12px; }
.th-job .th-logo { flex-basis: 48px; width: 48px; height: 48px; border-radius: 12px; }
.th-job-company { font-size: .9375rem; font-weight: 600; color: var(--ph-ink); line-height: 1.3; }
.th-job-location { margin-top: 3px; font-size: .8125rem; color: var(--ph-slate); }
.th-job-title { margin: 2px 0 0; font-size: 1.1875rem; line-height: 1.35; font-weight: 800; letter-spacing: -.01em; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.th-job-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.th-job-chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; font-size: .8125rem; font-weight: 600; color: var(--th-btn); background: #EEF2FA; border-radius: 999px; }
.th-job-chips i { font-size: .875rem; }
.th-job-excerpt { -webkit-line-clamp: 2; min-height: 3.1em; margin: 0; font-size: .875rem; line-height: 1.55; color: var(--ph-text-2); }
.th-job-foot { display: flex; flex-direction: column; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid #EDF1F8; }
.th-job-salary { display: block; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; color: var(--th-btn); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-job-salary--muted { font-size: .875rem; font-weight: 600; color: var(--ph-slate); letter-spacing: 0; }
.th-job-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.th-job-posted { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--ph-slate); min-width: 0; }
.th-job-actions { flex: 0 0 auto; }
.th-job-view { min-height: 40px; padding: 0 16px; font-size: .875rem; }
@media (max-width: 575.98px) {
  .th-job { padding: 18px; }
  .th-job-title, .th-job-excerpt { min-height: 0; }
  .th-job-foot-row { flex-wrap: wrap; }
  .th-job-posted { flex: 1 1 auto; }
  .th-job-actions { flex: 1 1 auto; width: auto; }
  .th-job-view { flex: 1 1 auto; min-height: 44px; }
}
.th-job-foot .th-job-salary { flex: 0 0 auto; align-self: stretch; text-align: left; width: 100%; }
@media (max-width: 575.98px) {
  .th-job-foot .th-job-salary { flex: 0 0 auto; font-size: 1.0625rem; }
  .th-job-foot .th-job-actions { flex: 1 1 auto; width: auto; justify-content: flex-end; }
  .th-job-foot-row { flex-wrap: nowrap; }
  .th-job-view { flex: 0 0 auto; padding: 0 18px; }
}
.th-job-title { min-height: 0; }
.th-job-foot .th-job-posted { flex: 0 1 auto; justify-content: flex-start; margin: 0; padding: 0; }
.th-job-foot .th-job-foot-row { justify-content: space-between; }
.th-job-foot .th-job-actions { margin-left: auto; }
.th-job-foot { align-items: stretch; justify-content: flex-start; }
.th-job-foot .th-job-foot-row { width: 100%; }

/* ============================================================
   JOBS BY LOCATION (redesign): even grid of compact cards in the
   site's navy/blue palette, with a bar showing each place's share
   of open vacancies.
   ============================================================ */
.th-loc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1040px; margin-inline: auto; }
.th-loc {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 0; height: 100%; padding: 22px; overflow: visible;
  background: #fff; border: 1px solid #E3E9F5; border-radius: 18px; text-decoration: none; color: var(--ph-ink);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ph-ease);
}
.th-loc:hover, .th-loc:focus-visible { border-color: #C6D2EC; box-shadow: 0 20px 36px -24px rgba(27, 46, 88, .4); transform: translateY(-4px); }
.th-loc-top { display: flex; align-items: center; gap: 14px; }
.th-loc .th-loc-icon { flex: 0 0 52px; width: 52px; height: 52px; font-size: 1.375rem; color: #fff; background: var(--th-btn); border-radius: 14px; transition: background .25s; }
.th-loc .th-loc-icon i { color: #fff; }
.th-loc:hover .th-loc-icon { background: var(--th-btn-hover); }
.th-loc .th-loc-body { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 4px; }
.th-loc .th-loc-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--ph-ink); }
.th-loc .th-loc-meta { display: flex; flex-wrap: wrap; gap: 2px 12px; margin: 0; font-size: .8125rem; color: var(--ph-text-2); }
.th-loc .th-loc-meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin-right: 12px; vertical-align: middle; background: #A9B6D3; border-radius: 50%; }
.th-loc .th-loc-badge { position: static; padding: 2px 8px; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #92400E; background: #FEF3C7; border-radius: 6px; }
.th-loc .th-loc-badge--blue { color: var(--th-btn); background: #E8ECF5; }
.th-loc .th-loc-go { flex: 0 0 auto; font-size: 1.125rem; color: var(--ph-slate); transition: transform .25s var(--ph-ease), color .25s; }
.th-loc:hover .th-loc-go { color: var(--th-btn); transform: translate(3px, -3px); }
.th-loc-bar { display: block; height: 6px; overflow: hidden; background: #EDF1F8; border-radius: 999px; }
.th-loc-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--th-btn), #3B64B8); border-radius: 999px; }
@media (max-width: 991.98px) { .th-loc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 575.98px) { .th-loc-grid { grid-template-columns: 1fr; } .th-loc { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .th-loc, .th-loc-go, .th-loc-icon { transition: none; } .th-loc:hover, .th-loc:hover .th-loc-go { transform: none; } }
.th-loc .th-loc-meta span + span::before { display: none; }
.th-loc .th-loc-meta { gap: 0 14px; }
.th-loc .th-loc-name { flex-wrap: nowrap; }
.th-loc .th-loc-name .th-loc-badge { flex: 0 0 auto; }

/* ============================================================
   JOBS BY LOCATION (v3): featured top location + ranked list
   ============================================================ */
.th-locx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; max-width: 1040px; margin-inline: auto; align-items: stretch; }
.th-locx-feature {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 36px 32px; overflow: hidden; color: #fff; text-decoration: none;
  background: var(--th-footer-bg); border-radius: 24px; transition: transform .25s var(--ph-ease), box-shadow .25s;
}
.th-locx-feature::before, .th-locx-feature::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; }
.th-locx-feature::before { right: -60px; top: -70px; width: 220px; height: 220px; }
.th-locx-feature::after { left: -80px; bottom: -110px; width: 260px; height: 260px; }
.th-locx-feature > * { position: relative; z-index: 1; }
.th-locx-feature:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 24px 44px -24px rgba(8, 22, 58, .65); }
.th-locx-tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 5px 12px; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #FDE68A; background: rgba(255, 255, 255, .12); border-radius: 999px; }
.th-locx-pin { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 8px; font-size: 1.5rem; color: #fff; background: rgba(255, 255, 255, .16); border-radius: 16px; }
.th-locx-name { font-size: 1.75rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.th-locx-count { margin-top: 10px; font-size: 1rem; color: #D6DEF0; }
.th-locx-count b { margin-right: 4px; font-size: 2.75rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.th-locx-sub { font-size: .875rem; color: #B9C6E4; }
.th-locx-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 26px; font-size: .9375rem; font-weight: 700; color: #fff; }
.th-locx-cta i { transition: transform .2s var(--ph-ease); }
.th-locx-feature:hover .th-locx-cta i { transform: translateX(5px); }
.th-locx-list { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 8px 24px; list-style: none; background: #fff; border: 1px solid #E3E9F5; border-radius: 24px; }
.th-locx-list li + li { border-top: 1px solid #EDF1F8; }
.th-locx-row { display: flex; align-items: center; gap: 16px; padding: 18px 0; color: var(--ph-ink); text-decoration: none; }
.th-locx-rank { flex: 0 0 36px; font-size: .9375rem; font-weight: 800; color: #A9B6D3; font-variant-numeric: tabular-nums; transition: color .2s; }
.th-locx-info { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.th-locx-rname { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.th-locx-rsub { font-size: .8125rem; color: var(--ph-slate); }
.th-locx-pill { flex: 0 0 auto; padding: 5px 12px; font-size: .8125rem; font-weight: 700; white-space: nowrap; color: var(--th-btn); background: #EEF2FA; border-radius: 999px; }
.th-locx-arrow { flex: 0 0 auto; font-size: 1.125rem; color: var(--ph-slate); transition: transform .2s var(--ph-ease), color .2s; }
.th-locx-row:hover { color: var(--ph-ink); }
.th-locx-row:hover .th-locx-rank { color: var(--th-btn); }
.th-locx-row:hover .th-locx-arrow { color: var(--th-btn); transform: translateX(4px); }
.th-locx-row:focus-visible { outline: 3px solid var(--th-btn); outline-offset: 2px; border-radius: 10px; }
@media (max-width: 991.98px) { .th-locx { grid-template-columns: 1fr; gap: 20px; } .th-locx-feature { padding: 30px 26px; } }
@media (max-width: 575.98px) {
  .th-locx-list { padding: 4px 16px; border-radius: 20px; }
  .th-locx-feature { border-radius: 20px; padding: 26px 22px; }
  .th-locx-row { gap: 12px; padding: 16px 0; }
  .th-locx-rank { flex-basis: 26px; }
  .th-locx-arrow { display: none; }
  .th-locx-count b { font-size: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) { .th-locx-feature, .th-locx-cta i, .th-locx-arrow { transition: none; } .th-locx-feature:hover, .th-locx-row:hover .th-locx-arrow, .th-locx-feature:hover .th-locx-cta i { transform: none; } }
.th-locx .th-loc-badge { position: static; padding: 2px 8px; font-size: .6875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; border-radius: 6px; }

/* Faster page-load fade for the legacy full-screen loader (was 0.5s) */
.main-loader.loader__up { transition: opacity .2s ease, visibility 0s linear .2s; }

/* ---- Tablet/phone filters: balanced two-column flow with no empty gaps (replaces the row grid) ---- */
@media (min-width: 576px) and (max-width: 991.98px) {
  .filter-panel { display: block; column-count: 2; column-gap: 0; }
  .filter-panel > .filter-header { column-span: all; }
  .filter-panel .filter-section { break-inside: avoid; max-height: none; overflow: visible; border-right: 0; }
  .filter-panel .filter-section:nth-of-type(odd) { border-right: 1px solid var(--ph-line); }
  .filter-panel .fst { position: static; }
}

/* ============================================================
   ACCESSIBILITY PASS (contrast + touch targets)
   Text below 4.5:1 found by a computed-style scan of home, jobs,
   login and contact is darkened to the slate already used elsewhere.
   ============================================================ */
.th-locx-rank { color: var(--ph-slate); }
.filter-panel .cnt, .review-cnt, .job-card-items .posted, .jobsListingPage .posted { color: #6B7280; }
.social-login-note, .career-login-form-wrap .social-login-note { color: #5F6B7A; }
.career-login-divider p, .career-login-divider span { color: #5F6B7A; }
.cookie_popup a, .cookie_content a { display: inline-block; padding: 8px 2px; }
body .filter-panel .filter-opt label .cnt, body .filter-opt label .cnt, body .review-cnt, body .job-card-items .posted { color: #6B7280; }
body .social-login-divider span, body .social-login-note { color: #5F6B7A; }
body .text-muted { color: #5F6B85 !important; }
body .jobDetailsPage .text-muted, body .jobDetailsPage .text-muted * , body .jobDetailsPage .text-body-secondary { color: #5F6B85 !important; }
body .sc-rat, body .company-card .sc-rat { color: #6B7280; }
body .sc-rat, body [class*="sc-"] .sc-rat { color: #6B7280 !important; }

/* ============================================================
   BLOG (public pages)
   ============================================================ */
.th-blog-wrap { padding-top: 40px; padding-bottom: 88px; }
.th-blog-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 32px; }
.th-blog-search { position: relative; flex: 0 1 320px; }
.th-blog-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ph-slate); }
.th-blog-search input { width: 100%; height: 46px; padding: 0 14px 0 40px; font-size: .9375rem; border: 1.5px solid #D5DDEE; border-radius: 12px; background: #fff; }
.th-blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.th-blog-cats .th-tab { text-decoration: none; }
.th-blog-cats small { opacity: .75; }
.th-blog-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.th-blog-list > div { display: flex; }
.th-blog-list .th-post { width: 100%; }
.th-post-link { color: var(--th-btn); text-decoration: none; }
.th-post-link:hover { color: var(--th-btn); }
.th-post-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 2.5rem; color: #A9B6D3; background: #E8ECF5; }
.th-post-img { display: block; }
.th-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; }
.th-pager-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; font-weight: 700; color: var(--ph-ink); text-decoration: none; background: #fff; border: 1.5px solid #D5DDEE; border-radius: 12px; }
.th-pager-btn:hover { border-color: var(--th-btn); color: var(--th-btn); }
.th-pager-btn.is-active { color: #fff; background: var(--th-btn); border-color: var(--th-btn); }
.th-pager-btn.is-disabled { opacity: .45; pointer-events: none; }

.th-article-section { padding-top: calc(var(--ph-header-h) + 32px); }
.th-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 24px; font-size: .875rem; color: var(--ph-text-2); }
.th-crumbs a { color: var(--ph-text-2); text-decoration: none; }
.th-crumbs a:hover { color: var(--th-btn); }
.th-crumbs i { font-size: .7rem; color: #A9B6D3; }
.th-article { max-width: 780px; margin: 0 auto; }
.th-contact-hero .bannerTitle { text-wrap: balance; }
/* Compact banner for listing pages (Blog): keeps the content above the fold, especially on phones */
.th-contact-page .th-contact-hero--compact { padding: 56px 0 44px; }
.th-contact-page .th-contact-hero--compact .th-hero-badge { display: none; }
.th-contact-page .th-contact-hero--compact .bannerTitle { margin-bottom: 10px; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); line-height: 1.15; }
.th-contact-page .th-contact-hero--compact .th-hero-text { margin: 0; font-size: 1rem; line-height: 1.6; }
@media (max-width: 767.98px) { .th-contact-page .th-contact-hero--compact { padding: 36px 0 28px; } }
.th-article-head h1 { text-wrap: balance; }
.th-article-head h1 { margin: 14px 0 14px; font-size: clamp(1.875rem, 1.2rem + 2.2vw, 2.75rem); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; color: var(--ph-ink); }
.th-article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 28px; font-size: .875rem; color: var(--ph-text-2); }
.th-article-meta i { margin-right: 6px; color: var(--ph-slate); }
.th-article-hero { margin: 0 0 32px; overflow: hidden; border-radius: 20px; }
.th-article-hero img { display: block; width: 100%; height: auto; }
.th-article-lead { margin: 0 0 28px; font-size: 1.25rem; line-height: 1.6; font-weight: 500; color: #334155; }
.th-article-body { font-size: 1.0625rem; line-height: 1.8; color: #1F2A44; overflow-wrap: anywhere; }
.th-article-body h2 { margin: 2.2rem 0 .9rem; font-size: 1.625rem; font-weight: 800; letter-spacing: -.01em; color: var(--ph-ink); }
.th-article-body h3 { margin: 1.8rem 0 .7rem; font-size: 1.3125rem; font-weight: 700; color: var(--ph-ink); }
.th-article-body h4, .th-article-body h5, .th-article-body h6 { margin: 1.4rem 0 .6rem; font-weight: 700; color: var(--ph-ink); }
.th-article-body p { margin: 0 0 1.2rem; }
.th-article-body a { color: var(--th-btn); text-decoration: underline; text-underline-offset: 3px; }
.th-article-body ul, .th-article-body ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.th-article-body li { margin-bottom: .4rem; }
.th-article-body img { display: block; max-width: 100%; height: auto; margin: 1.6rem auto; border-radius: 14px; }
.th-article-body blockquote { margin: 1.6rem 0; padding: 14px 20px; color: #334155; background: #EEF2FA; border-left: 4px solid var(--th-btn); border-radius: 0 12px 12px 0; }
.th-article-body table { display: block; width: 100%; margin: 1.6rem 0; overflow-x: auto; border-collapse: collapse; }
.th-article-body th, .th-article-body td { padding: 10px 14px; border: 1px solid #D5DDEE; }
.th-article-body th { background: #EEF2FA; font-weight: 700; }
.th-article-body pre { padding: 16px; overflow-x: auto; background: #0F172A; color: #E2E8F0; border-radius: 12px; }
.th-article-body .text-align-left { text-align: left; }
.th-article-body .text-align-center { text-align: center; }
.th-article-body .text-align-right { text-align: right; }
.th-article-body .text-align-justify { text-align: justify; }
.th-article-body .text-tiny { font-size: .7em; }
.th-article-body .text-small { font-size: .85em; }
.th-article-body .text-big { font-size: 1.4em; }
.th-article-body .text-huge { font-size: 1.8em; }
.th-article-body figure { margin: 1.6rem 0; }
.th-article-body figure.image { display: table; clear: both; margin: 1.6rem auto; text-align: center; }
.th-article-body figure.image img { margin: 0 auto; }
.th-article-body figure.image figcaption { padding: 6px 0 0; font-size: .85rem; color: #64748B; }
.th-article-body figure.image-style-side { float: right; max-width: 50%; margin: .4rem 0 1rem 1.5rem; }
.th-article-body figure.image-style-align-left, .th-article-body figure.image-style-block-align-left { margin-left: 0; margin-right: auto; }
.th-article-body figure.image-style-align-right, .th-article-body figure.image-style-block-align-right { margin-left: auto; margin-right: 0; }
.th-article-body img.image-style-align-left { float: left; margin: .4rem 1.5rem 1rem 0; }
.th-article-body img.image-style-align-right { float: right; margin: .4rem 0 1rem 1.5rem; }
.th-article-body figure.table { margin: 1.6rem 0; }
.th-article-body figure.table table { margin: 0; }
.th-article-body::after { content: ""; display: block; clear: both; }
.th-article-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--ph-line); }
.th-related { max-width: 1100px; margin: 72px auto 0; }
.th-related h2 { margin: 0 0 24px; font-size: 1.625rem; font-weight: 800; color: var(--ph-ink); }
@media (max-width: 991.98px) { .th-blog-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .th-blog-wrap { padding-bottom: 64px; } }
@media (max-width: 575.98px) {
  .th-blog-list { grid-template-columns: 1fr; gap: 18px; }
  .th-blog-search { flex: 1 1 100%; }
  .th-article-section { padding-top: calc(var(--ph-header-h) + 20px); }
  .th-article-foot .th-btn { flex: 1 1 100%; }
}
.th-post-more { align-self: flex-start; margin: -6px 0 16px; font-size: .8125rem; font-weight: 600; color: var(--th-btn); text-decoration: none; }
.th-post-more:hover, .th-post-more:focus-visible { text-decoration: underline; }
.th-post-more .bi { margin-left: 2px; transition: transform .2s; }
.th-post-more:hover .bi { transform: translateX(3px); }

/* Blog detail: call to action under the article */
.th-article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; margin-top: 40px; padding: 24px 28px; background: #EEF2FA; border: 1px solid #D5DDEE; border-radius: 16px; }
.th-article-cta h2 { margin: 0 0 4px; font-size: 1.25rem; font-weight: 800; color: var(--ph-ink); }
.th-article-cta p { margin: 0; font-size: .9375rem; color: var(--ph-text-2); }
.th-article-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 575.98px) {
  .th-article-cta { padding: 20px; }
  .th-article-cta-actions, .th-article-cta-actions .th-btn { width: 100%; }
}

/* Global table row hover for the public/candidate DataTables (same behaviour as the admin panel) */
:root {
  --th-row-hover-bg: rgba(37, 99, 235, .08);
}

.table > tbody > tr:hover > *:not(.dt-empty):not(.dataTables_empty),
table.dataTable > tbody > tr:hover > *:not(.dt-empty):not(.dataTables_empty) {
  --bs-table-bg-state: var(--th-row-hover-bg);
  --bs-table-hover-bg: var(--th-row-hover-bg);
  background-color: var(--th-row-hover-bg);
}
