/**
 * Dropdown Arrows Fix
 * This file ensures that dropdown arrows are visible in the navigation menu
 * Fixes the issue where arrows were hidden by icon-hiding rules
 */

/* Reset any icon fonts that might be interfering */
.navigation .level0.parent > .level-top:after {
  font-family: Arial, sans-serif !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  speak: none !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Force display of dropdown arrows with maximum specificity */
.navigation .level0.parent > .level-top:after,
nav .navigation .level0.parent > .level-top:after,
.nav-sections .navigation .level0.parent > .level-top:after {
  content: '▼' !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 12px !important;
  margin-left: 2px !important;
  color: #ffffff !important;
  vertical-align: middle !important;
  position: relative !important;
  z-index: 1 !important;
  background: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transform: none !important;
  transition: transform 0.3s ease !important;
}

/* Hover effect for arrows */
.navigation .level0.parent:hover > .level-top:after,
nav .navigation .level0.parent:hover > .level-top:after,
.nav-sections .navigation .level0.parent:hover > .level-top:after {
  transform: rotate(180deg) !important;
}

/* Ensure parent menu items have enough padding for the arrow */
.navigation .level0.parent > .level-top {
  padding-right: 25px !important;
  position: relative !important;
}

/* Alternative Unicode arrow characters in case ▼ doesn't work */
.navigation .level0.parent.arrow-alt > .level-top:after {
  content: '⏷' !important; /* Alternative down arrow */
}

/* Fallback with CSS border triangle if Unicode fails */
.navigation .level0.parent.arrow-border > .level-top:after {
  content: '' !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 4px solid transparent !important;
  border-right: 4px solid transparent !important;
  border-top: 6px solid #ffffff !important;
  border-bottom: none !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin-left: 2px !important;
}

/* Debug mode - uncomment to see if arrows are being generated */
/*
.navigation .level0.parent > .level-top:after {
  background-color: red !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid yellow !important;
}
*/
