/**
 * Styles for SearchStax Autosuggest dropdown.
 *
 * Key Responsibilities:
 * - Styles the dropdown <ul> created below the input field.
 * - Handles active state for hovered/keyboard-selected items.
 * - Ensures suggestions appear visually connected to the search input.
 */

.searchstax-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background:white;
  border:1px solid #ccc;
  z-index: 1000;
  max-height: 250px;
  overflow-y: auto;
  margin-top: -1px;
  border-radius: 4px;
  padding-left: 0px;
  border-top-color: #2825258c!important;
}

.searchstax-suggestions li.active {
  background: #f0f0f0;
  font-weight: bold;
}

.searchstax-suggestions li {
    cursor: pointer;
    padding: 8px 22px;
    line-height: 24px;
}

@media(max-width: 960px) {
    .searchstax-suggestions {
        max-height: 200px!important;
    }
}