/* components/tag-topics.css — layout for partials/tag-topics.hbs.
   One line of links that scrolls sideways rather than wrapping. .tag-topics
   sets no `display`, or it would override the [hidden] it starts with. */

.tag-topics {
  margin-block-start: var(--space-3);
}

.tag-topics__list {
  display: flex;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  /* No visible scrollbar; still scrolls by touch, trackpad and keyboard. */
  scrollbar-width: none;
  /* Room for focus rings, which the overflow would clip. */
  padding-block: var(--focus-offset);
}

.tag-topics__item {
  flex-shrink: 0;
}

.tag-topics__link {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  white-space: nowrap;
  text-decoration: none;
}
