/* Neovistaa Careers 2.0 — site chrome: header helpers. The footer is the site's original footer (footer.php, own CSS). */
:root { --nvh-blue: #032c95; --nvh-yellow: #ffca02; --nvh-ink: #0f1729; --nvh-ink2: #2a3346; --nvh-muted: #5d6577; --nvh-line: #e6e8ee; --nvh-h: 72px; }

/* layout fixes kept from 1.x: no white strip under the footer, no WP sidebar */
html, body { margin: 0 !important; padding-bottom: 0 !important; }
body > #page, #page.site { margin-bottom: 0 !important; }
#secondary, .widget-area { display: none !important; }
#primary, #main, .site-main { width: 100% !important; max-width: 100% !important; }
#content, .site-content, #page { width: 100%; }
nav.navigation.post-navigation { display: none; }

/* ---------- header ---------- */
.nvh { position: sticky; top: 0; z-index: 9990; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--nvh-line); font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; }
@supports (backdrop-filter: blur(8px)) { .nvh { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(8px); } }
.admin-bar .nvh { top: 32px; }
@media (max-width: 782px) { .admin-bar .nvh { top: 46px; } }
.nvh *, .nvh *::before, .nvh *::after { box-sizing: border-box; }
.nvh__bar { width: min(100% - 40px, 1280px); min-height: var(--nvh-h); margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; }
.nvh__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--nvh-ink) !important; }
.nvh__logo { display: block; height: 34px; width: auto; }
.nvh__word { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--nvh-ink); }
.nvh__dot-b { color: var(--nvh-blue); }
.nvh__sub { padding-left: 10px; border-left: 1px solid #d5d9e2; font-size: 12.5px; font-weight: 500; color: var(--nvh-muted); line-height: 18px; }
.nvh__nav { display: flex; align-items: center; justify-content: center; gap: 30px; min-width: 0; }
.nvh__link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; font-size: 14.5px; font-weight: 600; color: var(--nvh-ink2) !important; text-decoration: none !important; white-space: nowrap; transition: color .15s ease; }
.nvh__link:hover { color: var(--nvh-blue) !important; }
.nvh__link.is-current { color: var(--nvh-blue) !important; }
.nvh__link.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--nvh-yellow); }
html.nv-kbd .nvh__link:focus-visible, html.nv-kbd .nvh__cta:focus-visible, html.nv-kbd .nvh__login:focus-visible, html.nv-kbd .nvh__bell:focus-visible, html.nv-kbd .nvh__me-btn:focus-visible, html.nv-kbd .nvh__burger:focus-visible{ outline: 2px solid var(--nvh-blue); outline-offset: 3px; border-radius: 8px; }
.nvh__emp { display: inline-flex; align-items: center; gap: 8px; }
.nvh__free { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; background: #e7f6ec; color: #13703f; font-size: 11px; font-weight: 700; white-space: nowrap; }
.nvh__actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.nvh__login { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border: 1.5px solid var(--nvh-blue); border-radius: 12px; color: var(--nvh-blue) !important; background: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none !important; transition: background .15s ease; }
.nvh__login:hover { background: #f1f4fd; }
.nvh__login svg, .nvh__cta svg { width: 17px; height: 17px; }
.nvh__cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 20px; border-radius: 12px; background: var(--nvh-yellow); color: #111827 !important; font-size: 14.5px; font-weight: 700; text-decoration: none !important; box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 4px 12px rgba(255, 202, 2, .35); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.nvh__cta:hover { background: #ffd22e; box-shadow: 0 1px 0 rgba(0, 0, 0, .06), 0 6px 16px rgba(255, 202, 2, .45); }
.nvh__cta:active { transform: translateY(1px); }
.nvh__bell { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--nvh-ink2) !important; }
.nvh__bell:hover { background: #f5f6f8; }
.nvh__bell svg { width: 21px; height: 21px; }
.nvh__dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--nvh-yellow); box-shadow: 0 0 0 2px #fff; }
.nvh__me { position: relative; }
.nvh__me-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 4px 10px 4px 4px; border: 1px solid var(--nvh-line); border-radius: 999px; background: #fff; color: var(--nvh-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.nvh__me-btn:hover { border-color: #cfd4de; }
.nvh__avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--nvh-ink); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.nvh__chev { width: 15px; height: 15px; color: var(--nvh-muted); transition: transform .15s ease; }
.nvh__me-btn[aria-expanded="true"] .nvh__chev { transform: rotate(180deg); }
.nvh__menu { position: absolute; right: 0; top: calc(100% + 8px); width: 260px; padding: 8px; background: #fff; border: 1px solid var(--nvh-line); border-radius: 14px; box-shadow: 0 12px 32px rgba(15, 23, 41, .14); z-index: 10; }
.nvh__menu[hidden] { display: none; }
.nvh__menu-who { display: grid; gap: 2px; margin: 0 0 6px; padding: 8px 10px 10px; border-bottom: 1px solid var(--nvh-line); font-size: 14px; color: var(--nvh-ink); }
.nvh__menu-who span { font-size: 12.5px; color: var(--nvh-muted); overflow: hidden; text-overflow: ellipsis; }
.nvh__menu ul { list-style: none; margin: 0; padding: 0; }
.nvh__menu a, .nvh__menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 9px; background: none; color: var(--nvh-ink2) !important; font: inherit; font-size: 14px; font-weight: 500; text-align: left; text-decoration: none !important; cursor: pointer; }
.nvh__menu a:hover, .nvh__menu button:hover, html.nv-kbd .nvh__menu a:focus-visible, html.nv-kbd .nvh__menu button:focus-visible{ background: #f5f6f8; outline: none; }
.nvh__menu svg { width: 17px; height: 17px; color: var(--nvh-muted); }
.nvh__menu-sep { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--nvh-line); }
.nvh__menu .nvh__menu-sep button[data-nv-logout] { justify-content: center; background: #d92d20; color: #fff !important; font-weight: 700; border-radius: 10px; }
.nvh__menu .nvh__menu-sep button[data-nv-logout] svg { color: #fff; }
.nvh__menu .nvh__menu-sep button[data-nv-logout]:hover, html.nv-kbd .nvh__menu .nvh__menu-sep button[data-nv-logout]:focus-visible { background: #b42318; }
.nvh__burger { display: none; width: 42px; height: 42px; border: 1px solid var(--nvh-line); border-radius: 12px; background: #fff; color: var(--nvh-ink); cursor: pointer; place-items: center; }
.nvh__burger svg { width: 20px; height: 20px; }
.nvh__burger-close { display: none; }
.nvh__burger[aria-expanded="true"] .nvh__burger-open { display: none; }
.nvh__burger[aria-expanded="true"] .nvh__burger-close { display: block; }
.nvh-panel { border-top: 1px solid var(--nvh-line); background: #fff; }
.nvh-panel[hidden] { display: none; }
.nvh-panel__nav { width: min(100% - 32px, 640px); margin: 0 auto; padding: 10px 0 18px; display: grid; }
.nvh-panel__nav .nvh__link { padding: 13px 4px; border-bottom: 1px solid var(--nvh-line); font-size: 15.5px; }
.nvh-panel__nav .nvh__link.is-current::after { display: none; }
.nvh-panel__nav .nvh__link.is-current { box-shadow: inset 3px 0 0 var(--nvh-yellow); padding-left: 12px; }
.nvh__cta--block { margin-top: 14px; min-height: 48px; }

@media (max-width: 1080px) {
  .nvh--app .nvh__nav { gap: 20px; }
  .nvh__nav { gap: 22px; }
  .nvh__me-name { display: none; }
}
@media (max-width: 960px) {
  .nvh__nav { display: none; }
  .nvh__bar { grid-template-columns: auto 1fr; gap: 12px; min-height: 64px; width: min(100% - 28px, 1280px); }
  .nvh__burger { display: inline-grid; }
}
@media (max-width: 560px) {
  .nvh__cta { display: none; }
  .nvh-panel .nvh__cta { display: inline-flex; }
  .nvh__login span { display: none; }
  .nvh__login { padding: 0 11px; }
  .nvh__sub { display: none; }
  .nvh__word { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .nvh__cta, .nvh__chev, .nvh__link { transition: none; } }
html.nvh-open { overflow: hidden; }
@media (min-width: 961px) { html.nvh-open { overflow: auto; } }

p, li, dd { text-wrap: pretty; }
/* Signed-in bell + name menu inside the original header */
.nv-account-menu { display: inline-flex; align-items: center; gap: 8px; position: relative; }
.site-header .nvh__me-btn { font-family: Arial, Helvetica, sans-serif; }
.site-header__account-mobile .nv-account-menu { margin-top: 8px; }
.site-header__account-mobile .nvh__menu { position: static; width: 100%; box-shadow: none; margin-top: 8px; }

/* ---- Dark mode switch (menu sheet, header account menu, footer) */
.nv-mode { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nv-mode__label { flex: 1; }
.nv-mode__switch { position: relative; flex: none; width: 40px; height: 24px; border-radius: 99px; background: #cfd5e1; transition: background-color .2s ease; }
.nv-mode__switch span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 41, .3); transition: transform .22s cubic-bezier(.2, .8, .2, 1); }
.nv-mode[aria-checked="true"] .nv-mode__switch { background: #032c95; }
.nv-mode[aria-checked="true"] .nv-mode__switch span { transform: translateX(16px); }
html.nv-kbd .nv-mode:focus-visible { outline: 3px solid #ffca02; outline-offset: 2px; border-radius: 10px; }
.nv-mode--row { min-height: 52px; padding: 8px 14px; font-size: 15px; font-weight: 600; color: var(--nva-ink, #18243b); }
.nv-mode--row .nv-mode__ico { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; background: #eef1fb; color: #032c95; }
.nv-mode--row .nv-mode__ico svg { width: 18px; height: 18px; }
.nv-mode--menu { min-height: 40px; padding: 8px 10px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--nvh-ink2, #2a3346); }
.nv-mode--menu:hover { background: #f5f6f8; }
.nv-mode--menu .nv-mode__ico { display: inline-grid; color: var(--nvh-muted, #5d6577); }
.nv-mode--menu .nv-mode__ico svg { width: 17px; height: 17px; }
.nv-mode--menu .nv-mode__switch { width: 34px; height: 20px; }
.nv-mode--menu .nv-mode__switch span { width: 14px; height: 14px; }
.nv-mode--menu[aria-checked="true"] .nv-mode__switch span { transform: translateX(14px); }
.nv-mode--header { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-right: 6px; padding: 0; border: 1px solid var(--nvh-line, #e6e8ee) !important; border-radius: 50%; background: transparent !important; color: var(--nvh-ink2, #2a3346); }
.nv-mode--header:hover { border-color: #cfd4de !important; }
.nv-mode--header .nv-mode__ico svg { width: 19px; height: 19px; display: block; }
.nv-mode--header .nv-mode__ico--sun, .nv-mode--header[aria-checked="true"] .nv-mode__ico--moon { display: none; }
.nv-mode--header[aria-checked="true"] .nv-mode__ico--sun { display: block; }
@media (max-width: 760px) { .nv-mode--header { display: none !important; } }
/* 3.0.4: desktop has the header switch for signed-in users too, so the account menu does not repeat it. */
@media (min-width: 761px) { .nvh__menu .nv-mode--menu { display: none !important; } }
.nv-mode { background: transparent !important; }
.nv-logo-dark { display: none !important; }
.nvh__menu-mode { padding-top: 2px; }
/* Switching colours: everything changes in the same frame (no half-faded elements). */
html.nv-theming, html.nv-theming *, html.nv-theming *::before, html.nv-theming *::after { transition: none !important; }

/* 3.1: offline bar (shown while the connection is down) */
.nv-offline-bar { position: fixed; left: 50%; top: 10px; z-index: 100020; transform: translate(-50%, -140%); max-width: calc(100% - 24px); padding: 9px 16px; border-radius: 999px; background: #0b1320; color: #fff; font: 600 13px/1.3 Inter, system-ui, sans-serif; box-shadow: 0 8px 24px rgba(11, 19, 32, .25); transition: transform .25s ease; text-align: center; }
.nv-offline-bar.is-on { transform: translate(-50%, 0); }
html[data-theme="dark"] .nv-offline-bar { background: #e8ecf4; color: #0b1320; }
@media (prefers-reduced-motion: reduce) { .nv-offline-bar { transition: none; } }
