/*
 * Unfold changelist / content links use text-important only (no link color).
 * At rest: keep default text color, subtle underline (classic link cue).
 * On hover/focus: primary color (matches existing Unfold filter links).
 * Skip button-like anchors (bg-* / border* Unfold button classes).
 */

#content a:not([class*="bg-"]):not([class*="border"]) {
  text-decoration-line: underline;
  text-decoration-color: var(--color-base-300);
  text-underline-offset: 2px;
}

.dark #content a:not([class*="bg-"]):not([class*="border"]) {
  text-decoration-color: var(--color-base-600);
}

#content a:not([class*="bg-"]):not([class*="border"]):hover,
#content a:not([class*="bg-"]):not([class*="border"]):focus-visible {
  color: var(--color-primary-600);
  text-decoration-color: currentColor;
}

.dark #content a:not([class*="bg-"]):not([class*="border"]):hover,
.dark #content a:not([class*="bg-"]):not([class*="border"]):focus-visible {
  color: var(--color-primary-500);
}

/*
 * Suspect URL changelist. Body copy is 14px (text-sm). The table is one step
 * smaller so columns stay narrower; "Provient de" stays smaller still.
 * Cells align to the top so a tall provenance column does not float the rest.
 * Scoped to the result table so the change form keeps the normal size.
 */
#result_list {
  font-size: 0.8125rem;
  line-height: 1.35;
}

#result_list td,
#result_list tbody th {
  vertical-align: top;
}

.provenance-item {
  display: block;
}

#result_list td.field-display_all_crawls {
  font-size: 0.625rem;
  line-height: 1.35;
}

#result_list td.field-display_all_crawls .provenance-item + .provenance-item {
  margin-top: 0.35em;
}
