/*
 * Halfpix Dayoo v1.2.36 - Discover facts and card chips.
 *
 * Facts: review.css drew every fact as its own rounded card while
 * unified-ui.css drew the list as a hairline table with a 1px line-coloured
 * gap; both applied at once, so the page showed rounded cards floating on a
 * grey gutter. Discover now uses the same hairline table as record pages
 * (.record-facts, DESIGN-SYSTEM "Record pages"), with palette tokens instead
 * of #fff so the dark scheme follows.
 */
.discover-detail .discover-detail__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  background: var(--hp-line);
}
.discover-detail .discover-detail__facts > div {
  margin: 0;
  padding: 10px 13px;
  border: 0;
  border-radius: 0;
  background: var(--hp-surface);
  box-shadow: none;
}
.discover-detail .discover-detail__facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.discover-detail .discover-detail__facts dt {
  color: var(--hp-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.discover-detail .discover-detail__facts dd {
  margin: 3px 0 0;
  color: var(--hp-ink);
  font-size: 13px;
  font-weight: 650;
  /* Break a long word only when it cannot fit on its own line. */
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (max-width: 380px) {
  .discover-detail .discover-detail__facts { grid-template-columns: 1fr; }
}

/* Card chips: tab, Pinned, and the editor's badge on one line. */
.discover-card__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.discover-card .discover-chip.discover-chip--pinned {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hp-surface);
  background: var(--hp-clay);
  border-color: var(--hp-clay);
}
.discover-card .discover-chip--pinned svg { width: 12px; height: 12px; }
.discover-card .discover-chip.discover-chip--badge {
  /* Clay text on the surface colour with a clay outline: clay on its own soft
     tint is only 4.3:1, and --clay-dark is the green primary, not a clay. */
  color: var(--hp-clay);
  background: var(--hp-surface);
  border: 1px solid var(--hp-clay);
}
