/* menu-no-hash — stop "#" / broken icon-font glyphs on submenu rows.
 * Keeps submenu layout, colors, underline/pointer hover, real URLs, and responsive menus.
 */

/* Impreza carets use font-family:fontawesome */
@font-face {
  font-display: swap;
  font-style: normal;
  font-family: "fontawesome";
  font-weight: 900;
  src: url("/wp-content/themes/Impreza/fonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-style: normal;
  font-family: "fontawesome";
  font-weight: 400;
  src: url("/wp-content/themes/Impreza/fonts/fa-regular-400.woff2") format("woff2");
}
@font-face {
  font-display: swap;
  font-style: normal;
  font-family: "FontAwesome";
  font-weight: 400;
  src: url("/wp-content/plugins/elementor/assets/lib/font-awesome/webfonts/fa-solid-900.woff2") format("woff2"),
       url("/wp-content/themes/Impreza/fonts/fa-solid-900.woff2") format("woff2");
}

.w-nav-arrow:before {
  font-weight: 900;
}

/* Leaf nav rows must never show caret / leftover glyph */
.w-nav-list .menu-item:not(.menu-item-has-children) > .w-nav-anchor > .w-nav-arrow,
.w-nav-list .menu-item:not(.menu-item-has-children) > .w-nav-anchor > .w-nav-arrow:before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Oklahoma / classic WP: no caret/hash glyph on leaf submenu rows */
#navbar .sub-menu > li:not(.menu-item-has-children) > a::before,
#navbar .sub-menu > li:not(.menu-item-has-children) > a::after,
.navbar ul li ul.sub-menu > li:not(.menu-item-has-children)::before,
.navbar ul li ul.sub-menu > li:not(.menu-item-has-children)::after,
.navbar ul li ul.sub-menu > li:not(.menu-item-has-children) > a::before,
.navbar ul li ul.sub-menu > li:not(.menu-item-has-children) > a::after {
  content: none !important;
}

/* Elementor: hide duplicate sub-arrows that can paint junk text */
.elementor-nav-menu a > .sub-arrow ~ .sub-arrow {
  display: none !important;
}

/* If an icon font fails and paints "#" into the sub-arrow slot, hide the text glyph
   without removing SVG carets or pointer underline boxes. */
.elementor-nav-menu .sub-arrow {
  font-size: 0 !important;
  line-height: 0 !important;
}
.elementor-nav-menu .sub-arrow svg,
.elementor-nav-menu .sub-arrow .e-font-icon-svg {
  font-size: initial;
  width: 1em;
  height: 1em;
}
