/* Fix for duplicate search bars */

/* Hide the search implementation from search.js but keep the functionality */
/* These elements should already be removed by the JavaScript */
#search-toggle, 
.search-container,
.search-box,
#search-input,
#search-btn,
#search-results {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ensure the MG prefixed search is visible and properly positioned */
#mg-search-toggle {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 9999 !important;
  position: fixed !important;
  top: 32px !important;
  right: 20px !important;
  width: 40px !important;
  height: 40px !important;
  background-color: #214653 !important;
  color: white !important;
  border-radius: 50% !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3) !important;
  transition: all 0.3s ease !important;
}

/* When search is active, ensure only MG search elements are interactive */
#mg-search-container,
#mg-search-box,
#mg-search-input,
#mg-search-btn,
#mg-search-results {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Hamburger menu visibility now controlled by mobile-menu-fix.css */ 