/* Keep filtered project lists on the same card scale as the full index. */
body[data-page-layout="index_wiki"] .post-list.wiki {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* Collection taglines describe a project, so let them wrap instead of truncating. */
.site-region--leftbar
  .brand-header:has(.brand-navigation__back[href="/wiki/"])
  .brand-tagline {
  max-width: 15rem;
  margin-inline: auto;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.55;
  text-wrap: balance;
}

@media screen and (max-width: 667px) {
  body[data-page-layout="index_wiki"] .post-list.wiki {
    grid-template-columns: minmax(0, 1fr);
  }
}
