.bds-search-suggestions {
  border-bottom-right-radius: var(--component--border-radius);
  border-bottom-left-radius: var(--component--border-radius);
  position: absolute;
  top: 100%;
  left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0 0 var(--component--border-radius);
  color: var(--search-overlay--color);
  background: var(--search-overlay--background);
  box-shadow: var(--box-shadow);
}

.bds-search-suggestions li div {
  border-top: 1px solid color-mix(in srgb, var(--search-overlay--color), transparent 90%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5em var(--padding-x);
}

.bds-search-suggestions li a:hover {
  color: inherit;
}

.bds-search-suggestions li .bds-post-type {
  border-radius: var(--component--border-radius);
  padding: 0.125em 0.33em;
  font-size: smaller;
  border: 1px solid color-mix(in srgb, currentColor, transparent 50%);
  filter: invert(1);
}

.bds-search-dialog__form:has(.bds-search-suggestions--visible) {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
