#search_widget.lwgs-widget {
  position: relative;
}

#search_widget .lwgs-autocomplete {
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1050;
  overflow-y: auto;
  max-height: 420px;
}

#search_widget .lwgs-autocomplete[hidden] {
  display: none !important;
}

#search_widget .lwgs-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
}

#search_widget .lwgs-suggestion-title {
  min-width: 0;
}

#search_widget .lwgs-suggestion-type {
  flex: 0 0 auto;
  opacity: 0.7;
}

#search_widget .lwgs-no-results {
  cursor: default;
}

.lwgs-results-page .lwgs-results-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.lwgs-results-page .lwgs-results-form .form-control {
  min-width: 0;
}

.lwgs-results-page .lwgs-result-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lwgs-results-page .lwgs-result {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.lwgs-results-page .lwgs-result-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.lwgs-results-page .lwgs-result-meta {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.lwgs-results-page .lwgs-result-excerpt {
  margin: 0;
}
