/* ============================================================
   BexoJOBS — "Signal" theme
   Foundations (tokens, light/dark) + Header. Built from
   design-reference/bexojobs-tokens.css + source HTML (exact values).
   ============================================================ */

:root {
  --font-sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  /* LIGHT (default) */
  --bg:          #FFFFFF;
  --surface:     #FFFFFF;
  --surface-2:   #F5F7FA;
  --ink:         #0B1220;
  --muted:       #5B6678;
  --line:        #E5E9F0;
  --accent:      #0C9488;
  --accent-2:    #4F46E5;
  --accent-soft: #E2F5F2;
  --panel:       #0B1220;
  --panel-text:  #FFFFFF;
  --nav-bg:      rgba(255,255,255,.82);

  --logo-grad:   linear-gradient(150deg, #16C0B0, #0A7568);
  --logo-shadow: 0 5px 16px -5px rgba(12,148,136,.65);
  --shadow: 0 1px 2px rgba(11,18,32,.04), 0 14px 44px -18px rgba(11,18,32,.14);

  --r-pill:   100px;
  --r-card:   18px;
  --r-banner: 26px;
  --r-btn:    12px;
  --r-btn-lg: 15px;
  --r-logo:   10px;
  --r-chip:   8px;
  --r-chip-sm:7px;

  --container: 1200px;
  --gutter:    24px;

  --ease:    cubic-bezier(.4,0,.2,1);
  --t-theme: .45s ease;
  --t-hover: .25s ease;
}

[data-theme="dark"] {
  --bg:          #080B11;
  --surface:     #10151E;
  --surface-2:   #161D28;
  --ink:         #EAF0F8;
  --muted:       #8A97AC;
  --line:        #212A38;
  --accent:      #2DD4BF;
  --accent-2:    #818CF8;
  --accent-soft: #0E2A29;
  --panel:       #151D2A;
  --panel-text:  #FFFFFF;
  --nav-bg:      rgba(8,11,17,.74);
  --shadow:      0 1px 2px rgba(0,0,0,.5), 0 22px 56px -20px rgba(0,0,0,.75);
}

/* ---- Page base (scoped to the bx surface so we don't disturb other widgets) ---- */
.bx { background: var(--bg); color: var(--ink); font-family: var(--font-sans);
      transition: background var(--t-theme), color var(--t-theme); }
html[data-theme] body { transition: background var(--t-theme), color var(--t-theme); }
.bx *, .bx *::before, .bx *::after { box-sizing: border-box; }
.bx ::selection { background: var(--accent); color: #fff; }
.bx-container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

@keyframes bxFade { from { opacity:0; transform: translateY(14px); } to { opacity:1; transform:none; } }
@keyframes bxBeacon { 0%,100% { opacity:.55; transform:scale(1); } 50% { opacity:.85; transform:scale(1.06); } }
.bx-dot-live { animation: bxBeacon 2.4s ease-in-out infinite; }
.bx-scroll::-webkit-scrollbar { width: 8px; }
.bx-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

/* Signature card hover (used across sections) */
.bx-card { transition: transform var(--t-hover), border-color var(--t-hover); }
.bx-card:hover { transform: translateY(-3px); border-color: var(--accent); }

/* ============================================================
   HEADER
   ============================================================ */
.bx-header {
  position: sticky; top: 0; z-index: 1030;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-theme), border-color var(--t-theme);
}
.bx-header__inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  height: 72px; display: flex; align-items: center; gap: 28px;
}

/* Logo */
.bx-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.bx-logo__mark {
  width: 34px; height: 34px; border-radius: var(--r-logo); display: grid; place-items: center;
  background: var(--logo-grad); box-shadow: var(--logo-shadow); position: relative; overflow: hidden; flex: none;
}
.bx-logo__mark::after {
  content: ""; position: absolute; top: -6px; right: -6px; width: 18px; height: 18px;
  border-radius: 50%; background: rgba(255,255,255,.22);
}
.bx-logo__b { font-family: var(--font-sans); font-size: 19px; font-weight: 800; color: #fff; line-height: 1; position: relative; }
.bx-logo__word { font-family: var(--font-sans); font-size: 20px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.bx-logo__word i { color: var(--accent); letter-spacing: .04em; font-style: normal; }

/* Nav */
.bx-nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.bx-nav__link {
  padding: 9px 14px; border-radius: 9px; text-decoration: none; color: var(--muted);
  font-size: 14.5px; font-weight: 500; font-family: var(--font-sans); white-space: nowrap;
  background: transparent; border: none; cursor: pointer; transition: color .15s ease, background .15s ease;
}
.bx-nav__link:hover { color: var(--ink); }
.bx-nav__link.is-active { color: var(--ink); }
.bx-nav__dd { position: relative; }
.bx-nav__dd-btn { display: flex; align-items: center; gap: 5px; }
.bx-nav__dd-btn svg { transition: transform .18s ease; }
.bx-nav__dd[data-open="true"] .bx-nav__dd-btn svg { transform: rotate(180deg); }
.bx-nav__dd-panel {
  position: absolute; top: 46px; left: 0; width: 190px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 7px; display: flex; flex-direction: column; gap: 1px; z-index: 60;
}
.bx-nav__dd-panel[hidden] { display: none; }
.bx-nav__dd-panel a { padding: 9px 12px; border-radius: 9px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; }
.bx-nav__dd-panel a:hover { background: var(--surface-2); }

/* Header actions (right) */
.bx-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* Language selector (Signal style) */
.bx-lang { position: relative; }
.bx-lang__btn {
  display: flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 10px;
  border: 1px solid var(--line); background: transparent; cursor: pointer; color: var(--ink);
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600;
}
.bx-lang__btn img, .bx-lang__btn .flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; flex: none; }
.bx-lang__btn svg { transition: transform .18s ease; }
.bx-lang[data-open="true"] .bx-lang__btn svg { transform: rotate(180deg); }
.bx-lang__panel {
  position: absolute; top: 46px; right: 0; width: 300px; max-height: 340px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; z-index: 60;
}
.bx-lang__panel[hidden] { display: none; }
.bx-lang__item {
  display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 9px;
  text-decoration: none; color: var(--ink); font-family: var(--font-sans); font-size: 13px; font-weight: 500; text-align: left;
}
.bx-lang__item:hover { background: var(--surface-2); }
.bx-lang__item.is-active { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.bx-lang__item img, .bx-lang__item .flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; flex: none; }
.bx-lang__item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Theme toggle */
.bx-theme-toggle {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; color: var(--ink); display: grid; place-items: center;
}
.bx-theme-toggle .bx-moon { display: none; }
[data-theme="dark"] .bx-theme-toggle .bx-sun { display: none; }
[data-theme="dark"] .bx-theme-toggle .bx-moon { display: block; }

/* Auth links */
.bx-signin { padding: 9px 15px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.bx-register { padding: 9px 16px; border-radius: 10px; text-decoration: none; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; }

/* Hide the legacy mobile burger area styling clash; show actions responsibly */
@media (max-width: 991.98px) {
  .bx-nav { display: none; }
  .bx-header__inner { gap: 14px; }
}
@media (max-width: 575.98px) {
  .bx-lang__panel { grid-template-columns: 1fr; width: 260px; }
  .bx-signin { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.bx-hero-wrap { background: var(--bg); color: var(--ink); font-family: var(--font-sans);
  transition: background var(--t-theme), color var(--t-theme); }
.bx-hero-wrap *, .bx-hero-wrap *::before, .bx-hero-wrap *::after { box-sizing: border-box; }
.bx-hero {
  max-width: var(--container); margin: 0 auto; padding: 64px var(--gutter) 40px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative;
}
.bx-hero-glow {
  position: absolute; inset: -60px -12% auto -12%; height: 620px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(460px 320px at 16% 26%, rgba(12,148,136,.20), transparent 70%),
    radial-gradient(480px 340px at 88% 8%, rgba(79,70,229,.14), transparent 72%);
}
.bx-hero__col { position: relative; z-index: 1; }

.bx-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px; border-radius: var(--r-chip);
  background: var(--accent-soft); color: var(--accent); font-family: var(--font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: .01em; margin-bottom: 22px; white-space: nowrap;
}
.bx-badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none;
  box-shadow: 0 0 0 4px var(--accent-soft); animation: bxBeacon 2.4s ease-in-out infinite; }

.bx-h1 { font-family: var(--font-sans); font-weight: 700; font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.04; letter-spacing: -.022em; margin: 0 0 18px; color: var(--ink); text-wrap: balance; }
.bx-h1 .bx-accent { color: var(--accent); }
.bx-lead { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 480px; margin: 0 0 28px; }

/* Search console */
.bx-search { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow); padding: 8px; display: flex; align-items: stretch; gap: 2px; max-width: 560px; }
.bx-search__field { display: flex; flex-direction: column; justify-content: center; padding: 8px 14px; border-radius: 12px; min-width: 0; }
.bx-search__field--kw { flex: 1.3; }
.bx-search__field--ind { flex: 1; }
.bx-search__label { font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.bx-search__field input, .bx-search__field select {
  border: none; background: transparent; outline: none; font-family: var(--font-sans);
  font-size: 14.5px; font-weight: 500; color: var(--ink); padding: 2px 0; width: 100%; cursor: pointer; appearance: none;
}
.bx-search__field input { cursor: text; }
.bx-search__field select option { color: #111; }
.bx-search__divider { width: 1px; background: var(--line); margin: 8px 0; }
.bx-search__btn { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 22px; border-radius: 13px;
  border: none; cursor: pointer; background: var(--accent); color: #fff; font-family: var(--font-sans); font-size: 14.5px; font-weight: 700; }

.bx-popular { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.bx-popular__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.bx-chip { padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); text-decoration: none;
  color: var(--ink); font-size: 13px; font-weight: 500; transition: border-color var(--t-hover), color var(--t-hover); }
.bx-chip:hover { border-color: var(--accent); color: var(--accent); }
.bx-adv { font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; margin-left: 4px; }

/* Product preview (right) */
.bx-preview { position: relative; }
.bx-preview__glow { position: absolute; inset: 8% -6% -10% 10%; border-radius: 24px;
  background: radial-gradient(120% 120% at 75% 8%, var(--accent), transparent 58%); opacity: .16; filter: blur(8px); }
.bx-preview__panel { position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); box-shadow: var(--shadow); overflow: hidden; }
.bx-preview__bar { display: flex; align-items: center; gap: 10px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.bx-preview__q { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.bx-preview__count { margin-left: auto; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.bx-preview__rows { padding: 8px; }
.bx-prow { display: flex; align-items: center; gap: 12px; padding: 13px 12px; border-radius: 12px; text-decoration: none; }
.bx-prow--hl { background: var(--accent-soft); }
.bx-prow__logo { width: 36px; height: 36px; border-radius: 9px; object-fit: contain; background: #fff;
  border: 1px solid var(--line); padding: 6px; flex: none; }
.bx-prow__mono { width: 36px; height: 36px; border-radius: 9px; flex: none; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-family: var(--font-sans); font-size: 15px; }
.bx-prow__main { flex: 1; min-width: 0; }
.bx-prow__title { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-prow__sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-prow__salary { font-family: var(--font-mono); font-size: 12px; font-weight: 700; white-space: nowrap; }
.bx-prow--hl .bx-prow__salary { color: var(--accent); }
.bx-prow__salary { color: var(--muted); }

.bx-match { position: absolute; right: -16px; bottom: -18px; background: var(--panel); color: #fff;
  border-radius: 14px; box-shadow: var(--shadow); padding: 12px 15px; display: flex; align-items: center; gap: 12px; }
.bx-match__gauge { position: relative; width: 38px; height: 38px; flex: none; }
.bx-match__num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-size: 11px; font-weight: 700; }
.bx-match__t1 { font-size: 13px; font-weight: 700; line-height: 1.1; white-space: nowrap; }
.bx-match__t2 { font-size: 11.5px; color: rgba(255,255,255,.6); white-space: nowrap; }

@media (max-width: 991.98px) {
  .bx-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; }
  .bx-preview { display: none; }
  .bx-search { flex-wrap: wrap; }
}

/* ============================================================
   SECTION PRIMITIVES (kicker / h2)
   ============================================================ */
.bx-section { max-width: var(--container); margin: 0 auto; padding: 40px var(--gutter); }
.bx-kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: inline-flex; align-items: center; gap: 8px; }
.bx-kicker::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.bx-h2 { font-family: var(--font-sans); font-weight: 700; font-size: 34px; letter-spacing: -.02em; margin: 0; color: var(--ink); }
.bx-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.bx-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.bx-link-underline { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap;
  border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.bx-trust { max-width: var(--container); margin: 0 auto; padding: 14px var(--gutter) 56px; }
.bx-trust__row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: center; opacity: .9; }
.bx-trust__label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.bx-trust__co { display: flex; align-items: center; gap: 9px; }
.bx-trust__logo { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; }
.bx-trust__mono { width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 11px; font-family: var(--font-sans); }
.bx-trust__name { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }

/* ============================================================
   STATS BAND
   ============================================================ */
.bx-stats-wrap { max-width: var(--container); margin: 8px auto 0; padding: 0 var(--gutter); }
.bx-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.bx-stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.bx-stat:last-child { border-right: none; }
.bx-stat__num { font-family: var(--font-mono); font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.bx-stat__num--accent { color: var(--accent); }
.bx-stat__label { font-size: 13.5px; color: var(--muted); font-weight: 500; margin-top: 8px; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.bx-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bx-cat { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: transform var(--t-hover), border-color var(--t-hover); }
.bx-cat:hover { transform: translateY(-4px); border-color: var(--accent); }
.bx-cat__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft);
  display: grid; place-items: center; color: var(--accent); }
.bx-cat__name { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.bx-cat__count { display: flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.bx-cat__count::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

@media (max-width: 991.98px) {
  .bx-stats { grid-template-columns: repeat(2, 1fr); }
  .bx-stat:nth-child(2) { border-right: none; }
  .bx-stat:nth-child(1), .bx-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .bx-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .bx-cats { grid-template-columns: 1fr; }
}

/* ============================================================
   HIRING BANNER
   ============================================================ */
.bx-hiring { position: relative; border-radius: var(--r-banner); overflow: hidden; background: var(--panel);
  display: grid; grid-template-columns: 1.1fr .9fr; min-height: 280px; }
.bx-hiring__body { padding: 48px 52px; display: flex; flex-direction: column; justify-content: center; z-index: 2; }
.bx-hiring__kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.bx-hiring__h2 { font-family: var(--font-sans); font-weight: 700; font-size: 36px; line-height: 1.1; letter-spacing: -.02em; color: #FBF9F4; margin: 0 0 22px; }
.bx-hiring__btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: var(--r-btn);
  background: var(--accent); color: #fff; text-decoration: none; font-size: 15px; font-weight: 700; white-space: nowrap; }
.bx-hiring__media { position: relative; }
.bx-hiring__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bx-hiring__fade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--panel), transparent 55%); }

/* ============================================================
   TODAY'S TOP JOBS
   ============================================================ */
.bx-tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 24px 0 28px; }
.bx-tab { padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease; white-space: nowrap; }
.bx-tab:hover { color: var(--ink); border-color: var(--accent); }
.bx-tab.is-active { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 14px -4px var(--accent); }

.bx-jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bx-job { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 22px; display: flex; flex-direction: column; gap: 15px; text-decoration: none; }
.bx-job.is-hidden { display: none; }
.bx-job__head { display: flex; align-items: flex-start; gap: 14px; }
.bx-job__logo { width: 50px; height: 50px; border-radius: 13px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 7px; flex: none; }
.bx-job__mono { width: 50px; height: 50px; border-radius: 13px; flex: none; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-weight: 800; font-family: var(--font-sans); font-size: 19px; }
.bx-job__main { flex: 1; min-width: 0; }
.bx-job__co { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.bx-job__co b { font-size: 14px; font-weight: 700; color: var(--ink); }
.bx-job__co span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-job__title { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bx-job__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; flex: none; }
.bx-job__match { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 7px;
  background: var(--accent-soft); color: var(--accent); font-family: var(--font-mono); font-size: 11px; font-weight: 700; white-space: nowrap; }
.bx-job__match::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.bx-job__time { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.bx-job__desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.bx-job__tags { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.bx-job__level { padding: 4px 11px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.bx-tag { padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--muted); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.bx-job__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid var(--line); margin-top: auto; }
.bx-job__salary { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.bx-job__apply { display: inline-flex; align-items: center; gap: 6px; padding: 9px 17px; border-radius: 10px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.bx-browse-all { text-align: center; margin-top: 30px; }
.bx-browse-all a { display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: var(--r-btn);
  border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; }

@media (max-width: 991.98px) {
  .bx-hiring { grid-template-columns: 1fr; }
  .bx-hiring__media { display: none; }
  .bx-jobs { grid-template-columns: 1fr; }
}

/* ============================================================
   JOB-MATCH PROMO
   ============================================================ */
.bx-jobmatch { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-banner); padding: 18px 18px 18px 48px; }
.bx-jobmatch__h2 { font-family: var(--font-sans); font-weight: 700; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); margin: 0 0 16px; }
.bx-jobmatch__lead { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0 0 26px; max-width: 380px; }
.bx-jobmatch__btns { display: flex; gap: 11px; flex-wrap: wrap; }
.bx-btn-accent { padding: 12px 22px; border-radius: var(--r-btn); background: var(--accent); color: #fff; text-decoration: none; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.bx-btn-ghost { padding: 12px 22px; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.bx-jobmatch__img { border-radius: 20px; overflow: hidden; aspect-ratio: 16/10; }
.bx-jobmatch__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============================================================
   TOP EMPLOYERS
   ============================================================ */
.bx-employers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bx-employer { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 14px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.bx-employer__logo { width: 42px; height: 42px; border-radius: 11px; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 6px; }
.bx-employer__mono { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-family: var(--font-sans); font-size: 16px; }
.bx-employer__name { font-size: 12.5px; font-weight: 600; color: var(--ink); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }

/* ============================================================
   JOBS BY LOCATION
   ============================================================ */
.bx-cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bx-city { position: relative; border-radius: 20px; overflow: hidden; text-decoration: none; aspect-ratio: 3 / 2.1; display: block; border: 1px solid var(--line); }
.bx-city img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.bx-city:hover img { transform: scale(1.05); }
.bx-city__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,9,7,.82)); }
.bx-city__cap { position: absolute; left: 20px; bottom: 18px; right: 20px; }
.bx-city__name { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.bx-city__meta { font-size: 13px; color: rgba(255,255,255,.82); font-weight: 500; }

/* ============================================================
   BLOG
   ============================================================ */
.bx-blogs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bx-post { display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); text-decoration: none; }
.bx-post__img { aspect-ratio: 16/9; overflow: hidden; }
.bx-post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bx-post__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.bx-post__tag { align-self: flex-start; padding: 4px 11px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); font-size: 11.5px; font-weight: 700; }
.bx-post__title { font-family: var(--font-sans); font-weight: 700; font-size: 21px; line-height: 1.2; letter-spacing: -.01em; color: var(--ink); margin: 0; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bx-post__meta { display: flex; align-items: center; gap: 9px; padding-top: 8px; border-top: 1px solid var(--line); }
.bx-post__avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; flex: none; }
.bx-post__by { font-size: 12.5px; color: var(--muted); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bx-post__read { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.bx-post { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.bx-post:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-soft); }
.bx-post__img img { transition: transform .5s ease; }
.bx-post:hover .bx-post__img img { transform: scale(1.04); }

/* ============================================================
   CTA BAND
   ============================================================ */
.bx-cta-wrap { max-width: 1200px; margin: 24px auto 0; padding: 0 24px; }
.bx-cta { position: relative; border-radius: 26px; overflow: hidden; background: var(--panel); text-align: center; padding: 64px 32px; }
.bx-cta__glow { position: absolute; left: 50%; top: -30%; width: 340px; height: 340px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 60%); opacity: .45; filter: blur(20px); pointer-events: none; }
.bx-cta__inner { position: relative; }
.bx-cta__h2 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -.02em; font-size: 38px; color: #FBF9F4; margin: 0 0 14px; }
.bx-cta__lead { font-size: 16px; color: rgba(251,249,244,.72); margin: 0 auto 28px; max-width: 480px; line-height: 1.5; }
.bx-cta__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bx-cta__btn { padding: 14px 28px; border-radius: 12px; background: var(--accent); color: #fff; text-decoration: none; font-size: 15px; font-weight: 700;
  white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease; }
.bx-cta__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.55); }
.bx-cta__btn--ghost { background: transparent; border: 1px solid rgba(251,249,244,.25); color: #FBF9F4; font-weight: 600; }
.bx-cta__btn--ghost:hover { border-color: rgba(251,249,244,.5); box-shadow: none; }

/* ============================================================
   NEWSLETTER (Signal)
   ============================================================ */
.bx-news-wrap { max-width: 1200px; margin: 24px auto 0; padding: 0 24px; }
.bx-news { position: relative; border-radius: 26px; overflow: hidden; background: var(--accent-soft); padding: 56px 32px; text-align: center; }
.bx-news__glow { position: absolute; right: -8%; top: -40%; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 62%); opacity: .18; filter: blur(18px); pointer-events: none; }
.bx-news__inner { position: relative; max-width: 620px; margin: 0 auto; }
.bx-kicker--center { justify-content: center; }
.bx-news__h2 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -.02em; font-size: 32px; color: var(--ink); margin: 0 0 26px; line-height: 1.15; }
.bx-news__form form { margin: 0; }
.bx-news__form .input-group { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.bx-news__form .input-newsletter { flex: 1 1 240px; min-width: 0; height: 54px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); padding: 0 18px; font-size: 15px; color: var(--ink); outline: none; transition: border-color .2s ease; }
.bx-news__form .input-newsletter:focus { border-color: var(--accent); }
.bx-news__form .input-newsletter::placeholder { color: var(--muted); }
.bx-news__form .input-group button, .bx-news__form .btn { height: 54px; border-radius: 12px; background: var(--accent); color: #fff; border: 0;
  padding: 0 28px; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s ease, box-shadow .2s ease; }
.bx-news__form .input-group button:hover, .bx-news__form .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(0,0,0,.4); }

/* ============================================================
   FOOTER (Signal)
   ============================================================ */
.bx-footer { max-width: 1200px; margin: 0 auto; padding: 64px 24px 40px; }
.bx-footer__top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.bx-foot__brand .bx-logo { margin-bottom: 16px; }
.bx-foot__about { font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 280px; margin: 0 0 18px; }
.bx-foot__socials { display: flex; gap: 9px; flex-wrap: wrap; }
.bx-foot__social { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
.bx-foot__social:hover { border-color: var(--accent); transform: translateY(-2px); }
.bx-foot__social img { width: 16px; height: 16px; object-fit: contain; }
.bx-foot__col { min-width: 0; }
.bx-foot__title { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.bx-foot__links { display: flex; flex-direction: column; gap: 11px; list-style: none; padding: 0; margin: 0; }
.bx-foot__link { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s ease; }
.bx-foot__link:hover { color: var(--accent); }
.bx-foot__apps { max-width: 280px; margin-top: 8px; }
.bx-foot__apps-text { margin-bottom: 14px; }
.bx-foot__badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bx-foot__badges img { height: 40px; width: auto; border-radius: 8px; display: block; }
.bx-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; flex-wrap: wrap; }
.bx-footer__copy { font-size: 13px; color: var(--muted); }
.bx-footer__langs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.bx-footer__langs svg { flex: none; }

@media (max-width: 991.98px) {
  .bx-jobmatch { grid-template-columns: 1fr; padding: 28px; }
  .bx-jobmatch__img { display: none; }
  .bx-employers { grid-template-columns: repeat(3, 1fr); }
  .bx-cities, .bx-blogs { grid-template-columns: 1fr; }
  .bx-footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .bx-cta__h2 { font-size: 30px; }
}
@media (max-width: 575.98px) {
  .bx-employers { grid-template-columns: repeat(2, 1fr); }
  .bx-footer__top { grid-template-columns: 1fr; }
  .bx-cta { padding: 48px 22px; }
}

