/* Compact text links directly above the full-story actions. */
.full_story .story-tag-links {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  padding: 0 18px 16px;
}

.full_story .story-tag-links[hidden] { display: none; }

.full_story .story-tag-links__list {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  gap: 7px 8px;
  font-size: 0; /* DLE separates its links with text commas. */
}

.full_story .story-tag-links.is-enhanced:not(.is-expanded) .story-tag-links__list {
  flex-wrap: nowrap;
  overflow: hidden;
}

.full_story .story-tag-links__list a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  max-width: 100%;
  min-height: 28px;
  overflow: hidden;
  padding: 3px 9px;
  border: 1px solid var(--text-soft);
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.full_story .story-tag-links__list a:hover,
.full_story .story-tag-links__list a:focus-visible,
.full_story .story-tag-links__list a:active,
.full_story .story-tag-links__list a.is-active,
.full_story .story-tag-links__list a[aria-current="page"] {
  color: var(--accent-main);
  border-color: var(--accent-main);
  background: var(--accent-main-soft);
  text-decoration: none;
}

.full_story .story-tag-links__list a[hidden],
.full_story .story-tag-links__more[hidden] {
  display: none !important;
}

.full_story .story-tag-links__more {
  flex: 0 0 auto;
  min-width: 30px;
  min-height: 30px;
  padding: 0 6px;
  border: 0;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text-soft);
  font: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.full_story .story-tag-links__more:hover,
.full_story .story-tag-links__more:focus-visible {
  color: var(--text);
  background: var(--border);
}

.full_story .story-tag-links__more:focus-visible {
  outline: 2px solid var(--accent-main);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .full_story .story-tag-links { padding-right: 14px; padding-left: 14px; }
  .full_story .story-tag-links__list a { border-radius: 9px; }
}
