/* JOBDEAL 2.5.5: scoped to Neve's mobile drawer. */
@media (max-width:959px) {
  body.jd-mobile-navigation #header-menu-sidebar { width:min(100vw,420px)!important; }
  body.jd-mobile-navigation #header-menu-sidebar-bg {
    width:min(100vw,420px)!important;
    max-width:100vw!important;
    background:radial-gradient(ellipse at 100% 0,rgba(255,105,0,.12),transparent 55%),linear-gradient(160deg,#0d172d,#16243e)!important;
    color:#f5f7fb!important;
    box-shadow:0 0 48px rgba(13,23,45,.3)!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .close-sidebar-panel {
    display:flex!important; position:relative!important; inset:auto!important;
    justify-content:flex-end!important; align-items:center!important;
    height:64px!important; box-sizing:border-box!important;
    padding:10px 16px!important; margin:0!important; background:transparent!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .close-sidebar-panel button {
    width:44px!important; height:44px!important; min-width:44px!important;
    padding:10px!important; border:1px solid rgba(255,158,92,.4)!important;
    border-radius:13px!important; color:#ffad73!important; background:rgba(255,105,0,.1)!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .close-sidebar-panel .icon-bar { background:#ffad73!important; }
  body.jd-mobile-navigation #header-menu-sidebar-inner {
    width:100%!important; max-width:none!important;
    height:auto!important; min-height:0!important;
    max-height:calc(100vh - 64px)!important; max-height:calc(100dvh - 64px)!important;
    margin:0!important; padding:0 16px max(24px,env(safe-area-inset-bottom))!important;
    box-sizing:border-box!important; overflow-y:auto!important; overscroll-behavior:contain;
    background:transparent!important; text-align:left!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar-inner::before {
    content:"JOBDEAL"; display:block; color:#ffad73;
    font:900 19px/1.4 Arial,sans-serif; letter-spacing:2px; padding:0 2px 18px;
  }
  body.jd-mobile-navigation #header-menu-sidebar :is(.builder-item,.item--inner,.nv-nav-wrap,[role="navigation"]) {
    width:100%!important; max-width:none!important; margin:0!important; padding:0!important; background:transparent!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul {
    display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important; width:100%!important; margin:0!important; padding:0!important;
    border:0!important; background:transparent!important; list-style:none!important; align-items:stretch!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .menu-item {
    display:block!important; position:relative!important; width:auto!important; min-width:0!important;
    margin:0!important; padding:0!important; border:0!important; float:none!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .menu-item > .wrap {
    display:block!important; position:relative!important; margin:0!important; padding:0!important; height:100%;
  }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .menu-item > .wrap > a {
    display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important;
    gap:10px!important; width:100%!important; min-height:96px!important; height:100%; box-sizing:border-box!important;
    padding:15px 10px!important; margin:0!important; border:1px solid rgba(196,209,231,.19)!important;
    border-radius:16px!important; background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025))!important;
    color:#f5f7fb!important; font-family:inherit!important; font-size:13px!important; font-weight:700!important;
    line-height:1.4!important; letter-spacing:0!important; text-align:center!important; text-decoration:none!important;
    white-space:normal!important; overflow-wrap:anywhere; box-shadow:none!important;
    transition:background .15s ease,border-color .15s ease;
  }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .menu-item > .wrap > a::before {
    content:""; display:block!important; flex:0 0 25px; width:25px; height:25px;
    background-color:#ffad73; -webkit-mask:var(--jd-menu-icon) center/contain no-repeat; mask:var(--jd-menu-icon) center/contain no-repeat;
  }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > :is(.current-menu-item,.current-menu-ancestor,.nv-active) > .wrap > a {
    color:#ffc399!important; border-color:#ff8b39!important; background:rgba(255,105,0,.13)!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > :is(.jd-nav-worker,.jd-nav-employer) > .wrap > a {
    border-color:rgba(255,139,57,.55)!important; background:linear-gradient(145deg,rgba(255,105,0,.18),rgba(255,105,0,.06))!important;
  }

  /* 2.5.5: keep the opening and final navigation actions visually balanced.
     Home and Login span the full grid width, but stay lower than standard tiles.
     Contact remains a standard square tile so it pairs with Business Sales. */
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > :is(.jd-nav-home,.jd-nav-login) {
    grid-column:1/-1!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > :is(.jd-nav-home,.jd-nav-login) > .wrap > a {
    min-height:70px!important; height:auto!important; flex-direction:row!important;
    justify-content:center!important; gap:12px!important; padding:14px 16px!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .menu-item-has-children { grid-column:1/-1; }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .menu-item-has-children > .wrap { height:auto; }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .menu-item-has-children > .wrap > a {
    min-height:72px!important; flex-direction:row!important; justify-content:flex-start!important;
    padding:14px 66px 14px 16px!important; gap:12px!important; text-align:left!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .caret-wrap {
    position:absolute!important; top:14px!important; right:10px!important; bottom:auto!important; left:auto!important;
    width:44px!important; height:44px!important; margin:0!important; padding:12px!important; box-sizing:border-box!important;
    border:1px solid rgba(255,158,92,.35)!important; border-radius:12px!important;
    background:rgba(255,105,0,.12)!important; color:#ffad73!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .caret-wrap :is(.caret,svg) { display:block!important; width:100%!important; height:100%!important; }
  body.jd-mobile-navigation #header-menu-sidebar .sub-menu {
    display:none!important; position:static!important; inset:auto!important; width:100%!important; max-width:none!important;
    margin:8px 0 0!important; padding:0!important; border:0!important; background:transparent!important;
    box-shadow:none!important; visibility:visible!important; opacity:1!important; transform:none!important; list-style:none!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .sub-menu.dropdown-open,
  body.jd-mobile-navigation #header-menu-sidebar .wrap:has(> .caret-wrap[aria-expanded="true"]) + .sub-menu {
    display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:7px!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .sub-menu > .menu-item {
    display:block!important; width:auto!important; min-width:0!important; margin:0!important; padding:0!important; border:0!important;
  }
  body.jd-mobile-navigation #header-menu-sidebar .sub-menu > .menu-item > .wrap > a {
    display:flex!important; align-items:center!important; justify-content:flex-start!important;
    width:100%!important; min-height:60px!important; height:100%; box-sizing:border-box!important;
    padding:12px 10px!important; margin:0!important; border:1px solid rgba(196,209,231,.17)!important;
    border-radius:12px!important; background:rgba(255,255,255,.045)!important; color:#e4eaf4!important;
    font-family:inherit!important; font-size:12px!important; font-weight:600!important; line-height:1.45!important;
    text-align:left!important; text-decoration:none!important; white-space:normal!important; overflow-wrap:anywhere;
  }
  body.jd-mobile-navigation #header-menu-sidebar .sub-menu > .current-menu-item > .wrap > a { color:#ffc399!important; border-color:#ff8b39!important; }
  body.jd-mobile-navigation #header-menu-sidebar a:hover { border-color:#ffad73!important; }
  body.jd-mobile-navigation #header-menu-sidebar :is(a,button):focus-visible { outline:3px solid #ffad73!important; outline-offset:2px!important; }
}
@media (max-width:959px) and (prefers-reduced-motion:reduce) {
  body.jd-mobile-navigation #header-menu-sidebar a { transition:none!important; }
}

@media (max-width:959px) {
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .menu-item { --jd-menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3C%2Fsvg%3E"); }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .jd-nav-home { --jd-menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207v11H3Z%22%2F%3E%3Cpath%20d%3D%22M9%2021v-7h6v7%22%2F%3E%3C%2Fsvg%3E"); }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .jd-nav-worker { --jd-menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%227%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%207V3h8v4M3%2012c5%204%2013%204%2018%200M12%2012v4%22%2F%3E%3C%2Fsvg%3E"); }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .jd-nav-employer { --jd-menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M2%2021v-3a7%207%200%200%201%2014%200v3M16%204a3%203%200%200%201%200%206m3%204a6%206%200%200%201%203%205v2%22%2F%3E%3C%2Fsvg%3E"); }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .jd-nav-jobs { --jd-menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%224%22%20width%3D%2214%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M9%204V2h6v2M9%2010h6M9%2014h6M9%2018h3%22%2F%3E%3C%2Fsvg%3E"); }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .jd-nav-map { --jd-menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m2%206%206-3%208%203%206-3v15l-6%203-8-3-6%203ZM8%203v15M16%206v15%22%2F%3E%3C%2Fsvg%3E"); }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .jd-nav-advertise { --jd-menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%209%2016-5v16L3%2015Zm3%207%202%206h4l-2-7M22%208v8%22%2F%3E%3C%2Fsvg%3E"); }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .jd-nav-business { --jd-menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2010v11h18V10M2%2010l2-7h16l2%207M2%2010q2%204%205%200%202%204%205%200%202%204%205%200%203%204%205%200M9%2021v-7h6v7%22%2F%3E%3C%2Fsvg%3E"); }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .jd-nav-contact { --jd-menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%2220%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%206%209%207%209-7%22%2F%3E%3C%2Fsvg%3E"); }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .jd-nav-login { --jd-menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203h7v18h-7M2%2012h14m-5-5%205%205-5%205%22%2F%3E%3C%2Fsvg%3E"); }
  body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .jd-nav-sectors { --jd-menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%222%22%2F%3E%3C%2Fsvg%3E"); }
}

/* v2.6.1: publication entry shown as a native primary-menu tile. */
@media (max-width:959px) {
 body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .jd-nav-publish { --jd-menu-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%205v14M5%2012h14%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%223%22%2F%3E%3C%2Fsvg%3E"); }
 body.jd-mobile-navigation #header-menu-sidebar .primary-menu-ul > .jd-nav-publish > .wrap > a { border-color:rgba(255,139,57,.55)!important; background:linear-gradient(145deg,rgba(255,105,0,.18),rgba(255,105,0,.06))!important; }
}
