/* Topic banners keep a uniform ratio across data sources. */

.topic-grid {
  margin: .75rem;
}

.topic-grid ul {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: .7rem;
}

.topic-grid li {
  min-width: 0; padding: 0; background: #fff;
}

.topic-grid img {
  width: 100%; aspect-ratio: 1.8;
}

.topic-grid p {
  padding: .4rem .1rem .2rem;
  font-size: .65rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
