/*
Theme Name: Divi Child Real Estate
Theme URI: https://thedmduo.com
Description: Child theme Divi + EPL.
Author: The DM Duo
Author URI: https://tusitio.com
Template: Divi
Version: 1.0.0
Text Domain: divi-child-real-estate
*/

/* =============================================================================
   MINIMAL DIVI NAVIGATION OVERRIDE
   ============================================================================= */

/* Clean white header */
#main-header,
#main-header.et-fixed-header {
  background-color: #ffffff !important;
  box-shadow: 0 1px 0 rgba(4, 1, 36, 0.09) !important;
  border-bottom: none !important;
}

/* Nav links */
#top-menu > li > a,
#top-menu > li > a:visited {
  font-family:
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0d0c1d !important;
  text-transform: none !important;
  letter-spacing: 0.1px;
}
#top-menu > li > a:hover {
  color: #040124 !important;
  opacity: 0.55;
}
#top-menu > li.current-menu-item > a,
#top-menu > li.current_page_item > a {
  color: #040124 !important;
  opacity: 0.5;
}

/* Dropdown menus */
#top-menu ul {
  border-top: 2px solid #040124 !important;
  border-radius: 0 0 10px 10px !important;
  box-shadow: 0 8px 24px rgba(4, 1, 36, 0.1) !important;
  background: #ffffff !important;
}
#top-menu ul li a {
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #0d0c1d !important;
  border-bottom: 1px solid #f0f0f8 !important;
}
#top-menu ul li a:hover {
  background: #f7f7fb !important;
  color: #040124 !important;
}

/* Mobile menu — dark bar, white hamburger icon (mobile breakpoint only) */
@media (max-width: 980px) {
  #main-header,
  #main-header.et-fixed-header {
    background-color: #040124 !important;
  }
}
#et_mobile_nav_menu .mobile_menu_bar::before {
  color: #ffffff !important;
}
.mobile_menu_bar:before {
  color: #ffffff !important;
}
