/* Live search results dropdown (search-box.js / vib_ajax_search) */

.search-results {
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e2e2e8;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.search-results-list {
  display: flex;
  flex-direction: column;
}

.search-result-item {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid #eeeef3;
  color: inherit;
  text-decoration: none;
  line-height: 1.4;
}

.search-result-item:last-child {
  border-bottom: 0;
}

.search-result-item:hover,
.search-result-item:focus {
  background: #f4f4fa;
  outline: none;
}

.search-result-title {
  display: block;
  font-weight: 600;
  color: #3b3486;
}

.search-result-type {
  display: inline-block;
  margin-top: 4px;
  padding: 1px 8px;
  border-radius: 10px;
  background: #ececf7;
  color: #55557a;
  font-size: 0.75em;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.search-result-content {
  display: block;
  margin-top: 6px;
  color: #555;
  font-size: 0.875em;
}

.search-result-item strong {
  font-weight: 700;
  color: inherit;
}

.search-no-results {
  padding: 12px 16px;
  color: #666;
}
