:root {
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-editorial: 'Bricolage Grotesque', var(--font-sans);
  --bg: #fff;
  --surface: #fff;
  --surface-2: #f2f3fc;
  --ink: #20233d;
  --muted: #5b6077;
  --line: #dce0ed;
  --accent: #493bc3;
  --accent-2: #493bc3;
  --accent-soft: #eeebff;
  --highlight: #086f99;
  --action: #493bc3;
  --action-hover: #35289e;
  --panel: #191c34;
  --nav-bg: #fff;
  --logo-grad: #493bc3;
  --primary-color: var(--accent);
  --primary-color-rgb: 73,59,195;
  --secondary-color: var(--ink);
  --bs-primary: var(--accent);
  --bs-primary-rgb: var(--primary-color-rgb);
  --r-card: 8px;
  --r-banner: 12px;
  --r-btn: 5px;
  --container: 1280px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17192b;
  --surface: #20233a;
  --surface-2: #272b48;
  --ink: #f7f6ff;
  --muted: #bdc3dd;
  --line: #404564;
  --accent: #c1b6ff;
  --accent-2: #c1b6ff;
  --accent-soft: #343056;
  --highlight: #83d8fa;
  --panel: #111325;
  --nav-bg: var(--bg);
  --logo-grad: var(--action);
  --primary-color: var(--accent);
  --primary-color-rgb: 193,182,255;
}

.bx-header__inner { height: 76px; }
.bx-logo__mark { border-radius: 9px; transform: none; }
.bx-logo__b, .bx-logo__word i { font-family: var(--font-editorial); font-style: normal; font-weight: 700; }
.bx-nav__link, .bx-signin { font-weight: 600; }
.bx-register, .bx-search__btn, [data-theme="dark"] .bx-search__btn,
.bx-btn-accent, .main .btn-default, .main .btn-apply, .main .btn-primary {
  background: var(--action);
  border-color: var(--action);
  color: #fff;
  border-radius: var(--r-btn);
}
.bx-register:hover, .bx-search__btn:hover, [data-theme="dark"] .bx-search__btn:hover,
.bx-btn-accent:hover, .main .btn-default:hover, .main .btn-apply:hover, .main .btn-primary:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
  color: #fff;
}

.bx-hero-wrap--search {
  background: linear-gradient(135deg, var(--surface-2), var(--accent-soft));
  overflow: hidden;
}
.bx-hero {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
  padding-block: clamp(54px, 7vw, 102px);
}
.bx-hero__col { min-width: 0; }
.bx-h1 {
  font-size: clamp(50px, 6vw, 84px);
  font-weight: 750;
  line-height: 1.02;
  text-wrap: initial;
  letter-spacing: -.055em;
}
.bx-h1 .bx-accent { color: var(--highlight); font-style: normal; }
.bx-lead { font-size: 17px; max-width: 49ch; }
.bx-search {
  min-height: 68px;
  background: var(--surface);
  border-color: var(--line);
  border-radius: var(--r-card);
  box-shadow: 0 12px 30px #28214c13;
}
.bx-search__field input, .bx-search__field select { font-size: 14px; }
.bx-search__field:focus-within { box-shadow: inset 0 -2px var(--accent); }
.bx-search__btn { padding-inline: 20px; }
.bx-chip { color: var(--muted); }
.bx-preview, [data-theme="dark"] .bx-preview {
  position: relative;
  isolation: isolate;
  padding: 28px 25px 0;
  border: 1px solid var(--line);
  border-radius: var(--r-banner);
  background: var(--surface);
  box-shadow: 0 20px 55px #25155724;
}
.bx-preview::before {
  position: absolute;
  z-index: -1;
  inset: -20px -23px 18px 22px;
  border: 2px solid var(--accent);
  border-radius: 20px;
  opacity: .18;
  transform: rotate(-7deg);
  pointer-events: none;
  content: '';
}
.bx-board-heading { font-size: clamp(23px, 3vw, 36px); font-weight: 700; margin-bottom: 18px; }
.bx-board-heading > :last-child { color: var(--accent); font-size: 25px; }
.bx-preview__bar { border-color: var(--line); }
.bx-prow { gap: 12px; padding-block: 16px; }
.bx-prow__title { font-size: 14px; }
.bx-prow__mono, .bx-job__mono, .bx-employer__mono {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--r-btn);
  font-family: var(--font-editorial);
  font-weight: 700;
}
.bx-board-link { color: var(--accent); font-size: 13px; }
.bx-trust, .bx-stats-wrap { padding-top: 22px; }
.bx-trust__logo, .bx-employer__logo { filter: none; }
.bx-stats { border-top-color: var(--line); }
.bx-stat__num { font-weight: 700; }

.bx-h2, .bx-jobmatch__h2, .bx-directory .bx-h2 {
  font-weight: 750;
  letter-spacing: -.04em;
}
.bx-link-underline { color: var(--accent); border-color: currentColor; font-weight: 700; }
.bx-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bx-cat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.bx-cat__icon {
  display: grid;
  grid-column: 1 / -1;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-btn);
  background: var(--accent-soft);
}
.bx-cat__name { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.bx-cat__count { color: var(--muted); font-size: 13px; }
.bx-cat:hover, .bx-cat:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
.bx-cat:hover::after, .bx-cat:focus-visible::after { color: var(--accent); }

.bx-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; border: 0; }
.bx-job {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
  padding: clamp(16px, 2vw, 25px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.bx-job:hover { border-color: var(--accent); }
.bx-job__head { align-items: flex-start; }
.bx-job__title { font-weight: 700; }
.bx-job__desc { display: block; font-size: 13px; }
.bx-job__level, .bx-tag {
  padding: 4px 9px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 4px;
}
.bx-job__tags > * + *::before { content: none; }
.bx-job__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.bx-job__apply { text-decoration: none; font-weight: 700; }
.bx-employers { border: 0; }
.bx-employer { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); }
.bx-employer:hover { border-color: var(--accent); }
.bx-hiring, .bx-cta {
  background: var(--action);
  color: #fff;
  border: 0;
  border-radius: var(--r-banner);
}
.bx-hiring__body, .bx-cta { padding: clamp(25px, 5vw, 60px); }
.bx-hiring__kicker, .bx-cta__lead { color: #efebff; }
.bx-hiring__h2, .bx-cta__h2 { color: #fff; font-weight: 700; }
.bx-hiring__btn, .bx-cta__btn--primary { background: #fff; color: var(--action); }
.bx-cta__btn--ghost { color: #fff; border-color: #cbc4ff; }
.bx-hiring__media { padding: 0; }
.bx-news__form .input-group button { background: var(--action); color: #fff; }
.bx-post__title, .bx-city__name, .bx-news__h2 { font-weight: 700; }

.main .banner-hero.hero-2 h1, .main .heading-banner,
.main .content-single h1, .main .job-header-content h1 {
  font-family: var(--font-editorial);
  font-weight: 750;
  letter-spacing: -.035em;
}
.main .banner-hero.hero-2 { border-radius: var(--r-banner); }
.main .card-grid-1, .main .card-grid-2, .main .sidebar-shadow, .main .sidebar-border {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.main .card-grid-1:hover, .main .card-grid-2:hover { background: var(--surface); border-color: var(--accent); }
.job-content-section .card-grid-2 { margin-bottom: 16px; padding: 20px; }
.job-content-section .card-grid-2 .card-block-info h4 { font-weight: 700; }
.job-content-section .card-grid-2 .btn-grey-small,
.job-content-section .card-grid-2 .btn-apply-now {
  background: var(--accent-soft);
  border: 0;
  border-radius: var(--r-btn);
  color: var(--accent);
  padding: 6px 10px;
}
.job-content-section .box-filters-job { border-bottom-color: var(--line); }
.main .sidebar-shadow { padding: 20px; }
.main .job-overview { padding: 20px; background: var(--surface-2); border-radius: var(--r-card); }
.bx-directory-search {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 5px 12px;
}
.bx-directory-search button { font-weight: 700; }

@media (max-width: 991.98px) {
  .bx-hero { grid-template-columns: minmax(0, 1fr); }
  .bx-preview::before { inset-inline: 10px; }
  .bx-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
  .bx-header__inner { height: 68px; }
  .bx-h1 { font-size: clamp(38px, 11.5vw, 56px); }
  .bx-lead { font-size: 15px; }
  .bx-preview { padding-inline: 16px; }
  .bx-cats { gap: 10px; }
  .bx-cat { gap: 8px; padding: 13px; }
  .bx-cat::after { content: none; }
  .bx-cat__name { font-size: 14px; }
  .bx-cat__count { font-size: 12px; }
  .bx-jobs { grid-template-columns: minmax(0, 1fr); }
}
