/* Editorial link states use the same legible ink for a standalone link and its card label. */
.textcad-community :is(.tc-text-link:is(:hover, :focus-visible),
                       a:is(:hover, :focus-visible) .tc-text-link) {
  color: #130d0c;
  text-decoration: underline;
  text-underline-offset: .22em;
}

html[theme="dark"] .textcad-community :is(.tc-text-link:is(:hover, :focus-visible),
                                          a:is(:hover, :focus-visible) .tc-text-link) {
  color: #ffc2b0;
}

/* Make each download action a separate touch target when the description wraps. */
.textcad-community .star-card-files a {
  display: inline-block;
  max-inline-size: 100%;
  min-block-size: 44px;
  padding-block: 10px;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.textcad-community .star-card-files dd a:first-of-type {
  margin-inline-start: .35rem;
}

.textcad-community .star-card-files a:focus-visible {
  outline-offset: 2px;
}
