/* Word-usage reference pages: /mixup/<key>, /usage/<a>-vs-<b>, /phrase/<key>.
 * Hero, sections, cards and buttons come from sapling-ds.css; this file only
 * holds the furniture the three templates share. */

.wu-hero-actions {
  margin-top: 1.75rem;
}
.s-hero-meta .wu-trends {
  color: var(--ds-accent-soft);
  text-decoration: none;
}
.s-hero-meta .wu-trends:hover {
  text-decoration: underline;
}
.wu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}
.s-hero .wu-tags .s-tag {
  background: rgb(255 255 255 / 10%);
  color: var(--ds-accent-soft);
}

/* Example / paraphrase lists inside a card: hairline rows, no zebra. */
.wu-list .s-card {
  padding-top: 1.25rem;
  padding-bottom: 0.5rem;
}
.wu-list h3 {
  margin-bottom: 0.9rem;
}
.wu-list .list-group {
  border-radius: 0;
}
.wu-list .list-group-item {
  padding: 0.7rem 0;
  color: var(--ds-ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--ds-line);
}
.wu-list .list-group-item:first-child {
  border-top: 0;
}
.wu-list .list-group-item:hover {
  color: var(--ds-ink);
}
.wu-list mark {
  padding: 0.05em 0.25em;
  border-radius: 4px;
  background: #fff1c2;
  color: inherit;
}
.wu-empty {
  margin: 0 0 1rem;
  color: var(--ds-ink-soft);
  font-size: 0.92rem;
  font-style: italic;
}

/* Country usage table (/usage): one row per country, so it fits a phone
   without the old 13-column horizontal scroll. */
.wu-table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--ds-line);
  border-radius: var(--border-radius-lg);
  background: #fff;
}
.wu-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: var(--ds-ink);
}
.wu-table caption {
  padding: 0.75rem 0.875rem 0;
  caption-side: bottom;
  color: var(--ds-ink-soft);
  font-size: 0.8rem;
}
.wu-table th,
.wu-table td {
  padding: 0.6rem 0.875rem;
  border-bottom: 1px solid var(--ds-line);
  text-align: left;
}
.wu-table tbody tr:last-child th,
.wu-table tbody tr:last-child td {
  border-bottom: 0;
}
.wu-table thead th {
  background: var(--ds-surface);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ds-ink-soft);
}
.wu-table tbody th {
  font-weight: 600;
}
.wu-table tbody tr:hover {
  background: var(--ds-surface);
}
.wu-table .wu-num {
  font-family: var(--ds-font-mono);
  font-size: 0.8125rem;
  text-align: right;
  white-space: nowrap;
}
.wu-table .wu-win {
  font-weight: 700;
}
.wu-table .wu-dim {
  color: var(--ds-ink-soft);
}
.wu-summary {
  max-width: 42rem;
  margin: 0 0 1.25rem;
  color: var(--ds-ink-soft);
  line-height: 1.6;
}

.wu-browse {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.75rem;
}
.wu-credit {
  max-width: 42rem;
  margin: 2.5rem auto 0;
  color: var(--ds-ink-soft);
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}
