/* basic USWDS styles for the ais search Hits component
  that might be used by many projects */

.ais-Hits {
  color: var(--ogds-theme-color-base-ink, #1b1b1b);
  margin-top: var(--ogds-spacing-2, 1rem);
}

.ais-Hits-list {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--ogds-spacing-2, 1rem);
}

.ais-Hits-item {
  border: 2px solid var(--ogds-color-gray-10, #e6e6e6);
  padding: var(--ogds-spacing-2, 1rem);
  list-style-position: inside;
}

.ais-Highlight-highlighted,
.ais-Snippet-highlighted {
  background-color: var(--ogds-theme-color-primary-lighter, #d9e8f6);
  color: var(--ogds-theme-color-primary-dark, #1a4480);
}

/* styling for custom components; not part of ais itself */

.search-result-url {
  color: var(--ogds-theme-color-base, #71767a);
  font-size: var(--ogds-theme-type-scale-xs, 0.9375rem);
}
