/* Optional resource links below a Distill article's description. */
.post.distill d-title .distill-title-links {
  grid-column: text-start / text-end;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .45rem;
  margin-bottom: .4rem;
}
.post.distill d-title .distill-title-links a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .7rem;
  border: 1px solid var(--global-theme-color);
  border-radius: .25rem;
  color: var(--global-theme-color);
  font-size: .9rem;
  line-height: 1.4;
  text-decoration: none;
}
.post.distill d-title .distill-title-links a:hover,
.post.distill d-title .distill-title-links a:focus-visible {
  background: var(--global-theme-color);
  color: var(--global-bg-color);
}

/* Show project visits beside the Published date, away from the subtitle. */
.post.distill d-byline .project-view-count:not([hidden]) {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-left: .6rem;
  padding: .2rem .6rem;
  border: 1px solid var(--global-divider-color);
  border-radius: 999px;
  background: color-mix(in srgb, var(--global-theme-color) 8%, var(--global-bg-color));
  color: var(--global-theme-color);
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

@media (min-width: 1000px) {
  .post.distill d-byline .project-published {
    grid-column: span 2;
  }
}
