/* The select above a list: sort on /articles, filter on /topics.
 *
 * These were sort_controls.css and filter.css -- byte-identical rules under
 * two class names, which is how the two pages drifted apart in the first
 * place. One set now, keyed to the type scale rather than to `em`. */

.list-control {
  margin-bottom: 24px;
}

.list-control-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.list-control-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.list-control-field label {
  font-family: var(--font-data);
  font-size: var(--fs-2xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.list-control-field select {
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background-color: var(--field);
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--ease);
}

.list-control-field select:hover {
  border-color: var(--rule-strong);
}

.list-control-field select:focus {
  border-color: var(--leaf);
}
