a,

* {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-focus-ring-color: transparent !important;
  outline: none;
}
a:focus,
a:active {
  background-color: transparent;
  outline: none;
}

.pro-badge {
  justify-content: center;
  align-items: center;
  background-color: #da373d;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  color: #fff;
  padding: 0 6px;
  text-transform: uppercase;
  position: relative;
  margin-left: -10px;
  left: -3px;
  bottom: -3px;
  border-radius: 12px;
}
@media (max-width: 1023px) {
  .pro-badge {
    font-size: 8px;
    line-height: 12px;
    margin: 0;
    left: 2px;
    bottom: 0;
  }
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}
.h-full{
  height: 100%;
}
/* Base nav link styles - font-size and padding controlled by responsive breakpoints below */
#nav-new a {
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
#nav-new .menu .dropdown .nav-item,
#nav-new .menu .dropdown a {
  cursor: pointer;
}
#nav-new .menu .dropdown .nav-item svg {
  position: relative;
  top: -2px;
  left: 5px;
}
#nav-new .menu .dropdown .dropdown-menu {
  display: none !important;
  background: white !important;
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
  z-index: 1000 !important;
  min-width: 180px !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

#nav-new .menu .dropdown .dropdown-menu li {
  padding: 0;
  text-align: left;
}

#nav-new .menu .dropdown .dropdown-menu li:hover {
  background-color: transparent;
}

#nav-new .menu .dropdown .dropdown-menu li a,
#nav-new .menu .dropdown .dropdown-menu li a.on-hover:hover,
#nav-new .menu .dropdown .dropdown-menu li a.active-link {
  border-bottom: none !important;
}
#mobile-menu .submenu .active-link-mobile,
#mobile-menu .submenu .dropdown-menu .active-link-mobile,
.profile .submenu .dropdown-menu .active-link-mobile {
  text-decoration: underline !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-focus-ring-color: transparent !important;
  outline: none !important;
}
#mobile-menu .submenu .dropdown-toggle.active-link-mobile,
.profile .submenu .dropdown-toggle.active-link-mobile{
  text-decoration: none !important;
}
#mobile-menu .submenu a,
#mobile-menu .submenu .dropdown-menu a,
.profile .submenu .dropdown-menu a {
  transition: background-color text-decoration 0.2s !important;
}

#mobile-menu .submenu a:active,
#mobile-menu .submenu .dropdown-menu a:active,
.profile .submenu .dropdown-menu a:active {
  background-color: rgba(51, 181, 229, 0.4) !important; /* Light blue */
  text-decoration: underline !important;
}

#nav-new .menu .dropdown .dropdown-menu li a {
  display: flex !important;
  color: #374151 !important;
  white-space: nowrap !important;
  text-transform: none !important;
  padding: 10px 16px !important;
  padding-left: 14px !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
  text-decoration: none !important;
  border-left: 2px solid transparent !important;
}
#nav-new .menu .dropdown .dropdown-menu li a:hover {
  color: #111827 !important;
  background-color: #f5f5f5 !important;
  border-left-color: var(--main-color-f2be22) !important;
}

#nav-new .menu .dropdown .dropdown-menu li:first-child a {
  border-radius: 6px 6px 0 0;
}

#nav-new .menu .dropdown .dropdown-menu li:last-child a {
  border-radius: 0 0 6px 6px;
}

#nav-new .menu .dropdown .dropdown-menu li:only-child a {
  border-radius: 6px;
}

/* Removed hover behavior - now using click-to-open via .open class */
#nav-new .menu .dropdown.open .dropdown-menu {
  display: flex !important;
}

/* Rotate chevron when dropdown is open */
#nav-new .menu .dropdown.open .nav-item svg {
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}
#nav-new .menu .dropdown .nav-item svg {
  transition: transform 0.2s ease;
}

#nav-new .profile .submenu .relative {
  position: relative;
}

#mobile-menu .submenu a,
.profile .submenu a,
#nav-new .profile .submenu a {
  padding: 0 !important;
  margin: 0 !important;
  color: #000 !important;
}
.profile .submenu .dropdown-menu,
#nav-new .profile .submenu .dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #fff;
  border: 1px solid #dcdcdc;
  position: absolute;
  top: 0;
  left: 100%;
}

#mobile-menu .submenu a {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  border-bottom: none !important;
}
#mobile-menu .submenu a svg {
  transform: rotate(-90deg) scale(0.9);
}
#mobile-menu .submenu .dropdown-menu {
  width: 150px;
  display: none;
}

#mobile-menu .submenu li.relative:hover .dropdown-menu {
  display: block;
}
@media (max-width: 1023px) {
  .profile .submenu .dropdown-menu,
  #nav-new .profile .submenu .dropdown-menu {
    position: static;
    border: none;
  }

  #mobile-menu .submenu .dropdown-menu {
    width: 100%;
  }
  .profile .submenu li,
  .profile .submenu a {
    font-size: 14px !important;
  }
  .profile .submenu li {
    padding-inline: 5px !important;
    border-top: 1px solid #dcdcdc;
  }
  .profile .submenu li:first-child{
    border-top-color: transparent;
  }
  .profile .submenu a {
    padding-inline: 0 !important;
  }
  ul.submenu li:hover, ul.submenu a:hover{
    background-color: transparent;
  }
  .profile .submenu li.relative:last-child{
    padding-bottom: 0 !important;
  }
  .profile .submenu li.relative >a{
    padding-inline: 5px !important;
  }
  .profile .submenu .dropdown-parent .dropdown-menu {
    display: none !important;
  }
  .profile .submenu .dropdown-parent.open .dropdown-menu.show {
    display: block !important;
  }
  .profile .submenu .dropdown-menu{
    border-top: 1px solid #dcdcdc;
    padding: 5px 0 0;
    margin: 10px 0 0;
  }
  .profile .submenu .dropdown-menu li{
    border-top: none;
    padding-inline: 5px !important;
    padding-block: 5px !important;
  }
  .profile .submenu .dropdown-menu li a{
    font-weight: 400;
  }
  .profile .submenu .dropdown-parent .dropdown-toggle svg,
  #mobile-menu .submenu .dropdown-parent .dropdown-toggle svg {
    transform: rotate(0deg) scale(0.9);
  }
  .profile .submenu .dropdown-parent.open .dropdown-toggle svg,
  #mobile-menu .submenu .dropdown-parent.open .dropdown-toggle svg{
    transform: rotate(180deg) scale(0.9);
  }
  #main-nav-user-name {
    display: none;
  }
}

/* Progressive nav scaling for intermediate breakpoints */
/* 1024-1150px: Most compact - smallest text and padding */
@media (min-width: 1024px) and (max-width: 1149px) {
  #nav-new a {
    font-size: 9.5px;
    padding: 6px 4px;
    margin-right: 4px;
  }
  #nav-new .menu .dropdown .nav-item svg {
    left: 2px;
    transform: scale(0.85);
  }
}

/* 1150-1279px: Slightly larger */
@media (min-width: 1150px) and (max-width: 1279px) {
  #nav-new a {
    font-size: 10px;
    padding: 7px 5px;
    margin-right: 8px;
  }
  #nav-new .menu .dropdown .nav-item svg {
    left: 3px;
    transform: scale(0.9);
  }
}

/* 1280-1369px: Medium - approaching default */
@media (min-width: 1280px) and (max-width: 1369px) {
  #nav-new a {
    font-size: 10.5px;
    padding: 8px 6px;
    margin-right: 12px;
  }
}

/* 1370-1399px: Near default */
@media (min-width: 1370px) and (max-width: 1399px) {
  #nav-new a {
    font-size: 11px;
    padding: 8px 8px;
    margin-right: 16px;
  }
}

/* 1400px+: Full size - largest text and padding */
@media (min-width: 1400px) {
  #nav-new a {
    font-size: 12.8px;
    padding: 8px 12px;
    margin-right: 20px;
  }
}

/* ================================================================
   MOBILE NAV - Option A: Minimal Header (Logo left, Hamburger right)
   ================================================================ */

/* Hide mobile nav on desktop */
#mobile-nav-header,
#mobile-nav-drawer,
#mobile-nav-overlay {
  display: none;
}

/* Desktop nav - explicitly show above 1023px */
@media (min-width: 1024px) {
  #nav-new,
  #nav-new.nav,
  .nav#nav-new,
  div#nav-new,
  div#nav-new.nav,
  div.nav#nav-new,
  .nav {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Only reset body padding for map pages - they handle their own spacing via #dashboard */
  body.unified-sidebar-active {
    padding-top: 0 !important;
  }
}

@media (max-width: 1023px) {
  /* Hide old nav on mobile/tablet - must override mobile.css which sets .nav { display: flex } */
  #nav-new,
  #nav-new.nav,
  .nav#nav-new,
  div#nav-new,
  div#nav-new.nav,
  div.nav#nav-new {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* Ensure nav wrapper doesn't take up space when desktop nav is hidden */
  [data-nav-component] {
    display: block;
    height: auto;
    min-height: 0;
  }

  /* Show mobile nav header */
  #mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #192342;
    padding: 0 12px;
    z-index: 100000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  /* Mobile logo */
  .mobile-nav-logo {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  .mobile-nav-logo img {
    height: 36px;
    width: auto;
  }

  /* Hamburger button */
  .mobile-nav-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: white;
  }
  .mobile-nav-hamburger svg {
    width: 24px;
    height: 24px;
  }
  .mobile-nav-hamburger .close-icon {
    display: none;
  }
  #mobile-nav-header.menu-open .mobile-nav-hamburger .hamburger-icon {
    display: none;
  }
  #mobile-nav-header.menu-open .mobile-nav-hamburger .close-icon {
    display: block;
  }

  /* Overlay */
  #mobile-nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  #mobile-nav-overlay.visible {
    opacity: 1;
    visibility: visible;
  }

  /* Slide-out drawer */
  #mobile-nav-drawer {
    display: block;
    position: fixed;
    top: 56px;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: #fff;
    z-index: 99999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #mobile-nav-drawer.open {
    transform: translateX(0);
  }

  .mobile-nav-drawer-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  /* Search section */
  .mobile-nav-search-section {
    padding: 16px;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
  }
  .mobile-nav-search-wrapper {
    position: relative;
  }
  .mobile-nav-searchbar {
    width: 100%;
    padding: 12px 40px 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    -webkit-appearance: none;
  }
  .mobile-nav-searchbar:focus {
    outline: none;
    border-color: #192342;
    box-shadow: 0 0 0 2px rgba(25, 35, 66, 0.1);
  }
  .mobile-nav-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
  }
  .mobile-nav-search-icon svg {
    width: 20px;
    height: 20px;
  }

  /* Account section */
  .mobile-nav-account-section {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
  }

  /* Unauthenticated state */
  .mobile-nav-account-unauth {
    display: flex;
    gap: 10px;
  }
  .mobile-nav-account-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background-color 0.15s ease;
  }
  .mobile-nav-account-btn svg {
    width: 16px;
    height: 16px;
  }
  .mobile-nav-login-btn {
    background: #192342;
    color: white;
  }
  .mobile-nav-login-btn:active {
    background: #0f1629;
  }
  .mobile-nav-register-btn {
    background: #f2be22;
    color: #192342;
  }
  .mobile-nav-register-btn:active {
    background: #d9a91e;
  }

  /* Authenticated state */
  .mobile-nav-account-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mobile-nav-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
  }
  .mobile-nav-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
  }
  .mobile-nav-user-avatar svg {
    width: 20px;
    height: 20px;
  }
  .mobile-nav-user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-nav-user-name {
    font-weight: 600;
    font-size: 15px;
    color: #111827;
    line-height: 1.2;
  }

  /* Badges row - plan badge and trial badge side by side */
  .mobile-nav-badges-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
  }

  .mobile-nav-user-badge {
    font-size: 10px;
    font-weight: 600;
    color: #f59e0b;
    text-transform: uppercase;
  }

  /* Mobile Plan Badge */
  .mobile-nav-plan-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 8px;
    border: 1px solid currentColor;
    text-transform: capitalize;
    cursor: default;
    line-height: 1.2;
  }

  /* Plan badge colors */
  .mobile-nav-plan-badge.plan-guest { color: #6b7280; }
  .mobile-nav-plan-badge.plan-free { color: #059669; }
  .mobile-nav-plan-badge.plan-basic { color: #2563eb; }
  .mobile-nav-plan-badge.plan-core { color: #7c3aed; }
  .mobile-nav-plan-badge.plan-explorer { color: #dc2626; }
  .mobile-nav-plan-badge.plan-investor-pro { color: #d97706; }

  /* Admin clickable badge */
  .mobile-nav-plan-badge.is-admin {
    cursor: pointer;
  }

  .mobile-nav-plan-badge.is-admin::after {
    content: ' ▼';
    font-size: 8px;
    opacity: 0.6;
  }


  .mobile-nav-account-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-nav-account-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 8px;
    color: #374151;
    font-size: 14px;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.15s ease;
  }
  .mobile-nav-account-links a:active {
    background: #f3f4f6;
  }
  .mobile-nav-account-links svg {
    width: 18px;
    height: 18px;
    color: #6b7280;
  }
  .mobile-nav-account-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 0;
  }
  .mobile-nav-signout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    margin-top: 4px;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #dc2626;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
  }
  .mobile-nav-signout-btn svg {
    width: 16px;
    height: 16px;
  }
  .mobile-nav-signout-btn:active {
    background: #fef2f2;
  }

  /* Navigation links */
  .mobile-nav-links {
    flex: 1;
    padding: 8px 0;
  }
  .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #374151;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease;
  }
  .mobile-nav-link:active {
    background: #f3f4f6;
  }
  .mobile-nav-link svg:first-child {
    width: 20px;
    height: 20px;
    color: #6b7280;
  }
  .mobile-nav-link .chevron {
    width: 12px;
    height: 12px;
    margin-left: auto;
    color: #9ca3af;
    transition: transform 0.2s ease;
  }

  /* Link groups with sublinks */
  .mobile-nav-link-group {
    border-bottom: 1px solid #f3f4f6;
  }
  .mobile-nav-link-group:last-child {
    border-bottom: none;
  }
  .mobile-nav-link-toggle {
    font-family: inherit;
  }
  .mobile-nav-sublinks {
    display: none;
    padding-left: 48px;
    padding-bottom: 8px;
    background: #f9fafb;
  }
  .mobile-nav-sublinks a {
    display: block;
    padding: 10px 16px;
    color: #4b5563;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.15s ease;
  }
  .mobile-nav-sublinks a:active {
    background: #e5e7eb;
  }

  /* Open state */
  .mobile-nav-link-group.open .mobile-nav-sublinks {
    display: block;
  }
  .mobile-nav-link-group.open .chevron {
    transform: rotate(180deg);
  }
  .mobile-nav-link-group.open .mobile-nav-link-toggle {
    background: #f3f4f6;
  }

  /* Autocomplete dropdown styling in mobile nav */
  #mobile-nav-searchbar + .autocomplete-items,
  .mobile-nav-search-wrapper .autocomplete-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    z-index: 100001;
  }
  .mobile-nav-search-wrapper .autocomplete-items div {
    padding: 12px 14px;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
  }
  .mobile-nav-search-wrapper .autocomplete-items div:last-child {
    border-bottom: none;
  }
  .mobile-nav-search-wrapper .autocomplete-items div:active,
  .mobile-nav-search-wrapper .autocomplete-items div.autocomplete-active {
    background: #f3f4f6;
  }

  /* ========================================
     Mobile Plan Switcher Bottom Sheet
     ======================================== */
  .mobile-plan-switcher-sheet {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100010;
    pointer-events: none;
  }

  .mobile-plan-switcher-sheet.open {
    pointer-events: auto;
  }

  .mobile-plan-switcher-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .mobile-plan-switcher-sheet.open .mobile-plan-switcher-overlay {
    opacity: 1;
  }

  .mobile-plan-switcher-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px 16px 0 0;
    padding: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .mobile-plan-switcher-sheet.open .mobile-plan-switcher-content {
    transform: translateY(0);
  }

  .mobile-plan-switcher-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
  }

  .mobile-plan-switcher-header span {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
  }

  .mobile-plan-switcher-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
  }

  .mobile-plan-switcher-close:active {
    background: #e5e7eb;
  }

  .mobile-plan-switcher-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-plan-switcher-options .plan-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 16px;
    background: #f9fafb;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s ease;
  }

  .mobile-plan-switcher-options .plan-option:active {
    background: #f3f4f6;
  }

  .mobile-plan-switcher-options .plan-option.active {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
  }

  .mobile-plan-switcher-options .plan-option.actual::after {
    content: 'Actual';
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    background: #dcfce7;
    color: #166534;
  }

  .plan-reset-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
  }

  .plan-reset-btn:active {
    background: #f3f4f6;
  }

  /* Adjust body padding for fixed header - use !important to override other styles */
  /* Exclude unified-sidebar-active pages - they handle their own spacing via #dashboard margin */
  body:not(.unified-sidebar-active) {
    padding-top: 56px !important;
    box-sizing: border-box;
  }

  /* Reset .mt-60 since body padding handles the spacing */
  .mt-60 {
    margin-top: 0 !important;
  }

  /* Ensure main content doesn't overlap with fixed mobile header */
  main {
    margin-top: 0;
  }

  /* Push down common page wrapper/container elements */
  body > .container,
  body > .wrapper,
  body > .page-wrapper,
  body > .content,
  body > .main-content,
  body > section:first-of-type,
  body > div:not([data-nav-component]):not(#mobile-nav-header):not(#mobile-nav-drawer):not(#mobile-nav-overlay):not(.modal):not([class*="modal"]):first-of-type {
    margin-top: 0;
  }
}

/* Override mobile.css at its breakpoints - it uses 1279px and 641px */
/* These ensure the old nav stays hidden regardless of mobile.css load order */
@media only screen and (max-width: 1023px) and (min-width: 1px) {
  .nav,
  .nav#nav-new,
  #nav-new.nav,
  div.nav,
  div.nav#nav-new {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }
}