/* JobFlow V34: mobile hamburger dropdown visual polish only */
@media (max-width: 780px) {
  body .jf-header {
    z-index: 9990;
  }

  body .jf-menu-toggle,
  body button.jf-menu-toggle {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    border-radius: 17px !important;
    border: 1px solid rgba(47, 102, 255, .24) !important;
    background: linear-gradient(180deg, #ffffff, #f4f8ff) !important;
    box-shadow: 0 14px 34px rgba(12, 36, 78, .10) !important;
    color: #071936 !important;
  }

  body .jf-menu-toggle[aria-expanded="true"],
  body .jf-menu-toggle.is-open,
  body .jf-header.menu-open .jf-menu-toggle {
    color: #fff !important;
    border-color: rgba(49, 93, 244, .55) !important;
    background: linear-gradient(135deg, #071936 0%, #123b7d 58%, #315df4 100%) !important;
    box-shadow: 0 18px 42px rgba(49, 93, 244, .28) !important;
  }

  body .jf-nav,
  body .jf-header .jf-nav {
    left: 20px !important;
    right: 20px !important;
    top: 86px !important;
    padding: 12px !important;
    border: 1px solid rgba(144, 172, 216, .28) !important;
    border-radius: 26px !important;
    background:
      radial-gradient(circle at 50% 0%, rgba(67, 111, 255, .38) 0%, rgba(67, 111, 255, 0) 38%),
      linear-gradient(135deg, #071936 0%, #0b2b59 48%, #071936 100%) !important;
    box-shadow: 0 26px 68px rgba(4, 21, 48, .34) !important;
    overflow: hidden !important;
  }

  body .jf-nav::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 16px;
    bottom: 16px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(49, 93, 244, .20), rgba(255, 255, 255, .04));
    pointer-events: none;
  }

  body .jf-nav__list {
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 6px !important;
    background: transparent !important;
  }

  body .jf-nav__list li,
  body .jf-nav__list .menu-item {
    margin: 0 !important;
    padding: 0 !important;
  }

  body .jf-nav__list a,
  body .jf-nav__list a:visited {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 54px !important;
    padding: 14px 18px !important;
    border-radius: 17px !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, .075) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    font-weight: 900 !important;
    letter-spacing: -.02em !important;
    text-decoration: none !important;
  }

  body .jf-nav__list a::after {
    content: "→";
    opacity: .72;
    font-weight: 950;
    transform: translateX(0);
  }

  body .jf-nav__list a:hover,
  body .jf-nav__list a:focus,
  body .jf-nav__list .current-menu-item > a,
  body .jf-nav__list .current_page_item > a,
  body .jf-nav__list a[aria-current="page"] {
    color: #ffffff !important;
    background: linear-gradient(135deg, #315df4 0%, #4776ff 100%) !important;
    border-color: rgba(255, 255, 255, .22) !important;
    box-shadow: 0 16px 34px rgba(49, 93, 244, .32) !important;
  }

  body .jf-nav__list a:hover::after,
  body .jf-nav__list a:focus::after,
  body .jf-nav__list .current-menu-item > a::after,
  body .jf-nav__list .current_page_item > a::after,
  body .jf-nav__list a[aria-current="page"]::after {
    opacity: 1;
    transform: translateX(2px);
  }

  body .jf-header__right {
    display: none !important;
  }

  body .jf-lang-switch,
  body .jf-nav .jf-lang-switch,
  body .jf-nav__list .jf-lang-switch {
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 8px !important;
    padding: 10px !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.08) !important;
    color: rgba(255,255,255,.72) !important;
  }

  body .jf-lang-switch a {
    min-height: auto !important;
    padding: 9px 14px !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    box-shadow: none !important;
  }

  body .jf-lang-switch a::after {
    display: none !important;
  }

  body .jf-lang-switch a.is-active,
  body .jf-lang-switch a[aria-current="true"] {
    background: #fff !important;
    color: #315df4 !important;
  }
}
