/* Topics across the top, the one being read in a single column underneath. */
.topicset { margin-top: 34px; }

.topicrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.topictab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  font: 700 15px/1.25 var(--display);
  letter-spacing: -.005em;
  padding: 12px 18px 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .18s ease, border-color .18s ease;
}
.topictab:hover { color: var(--page-fg); }
.topictab.on {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.topicbody {
  max-width: 68ch;
  padding: 26px 0 4px;
  animation: topic-in .3s cubic-bezier(.2,.8,.3,1);
}
.topicbody h3 {
  font: 800 clamp(21px,2.4vw,27px)/1.2 var(--display);
  letter-spacing: -.015em;
  margin: 0 0 10px;
}
.topicteaser {
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 16px;
}
.topicbody p { margin: 0 0 16px; }
.topicbody p:last-child { margin-bottom: 0; }

@keyframes topic-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .topicbody { animation: none; } }

@media (max-width: 620px) {
  .topicrow { gap: 2px; }
  .topictab { padding: 10px 12px 12px; font-size: 14px; }
}
