/* Data for Thought — filterable list pages (Research, Press). */

h1, h2, .display { font-family: var(--font-editorial); font-weight: 600; letter-spacing: -0.01em; }

/* ---- Page head ---- */
.list-hero { padding: 40px 0 8px; }
.list-hero.has-art {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.list-hero .dft-eyebrow { margin-bottom: 10px; }
.list-hero h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.06; margin: 0; }
.list-hero .lede {
  font-size: 18px; line-height: 1.6; color: var(--text-secondary);
  max-width: 560px; margin: 16px 0 0;
}
.list-art { width: 100%; height: auto; max-width: 360px; justify-self: center; mix-blend-mode: multiply; }

/* ---- Filters ---- */
.list { margin-top: 28px; }
.filterbar { display: flex; flex-wrap: wrap; gap: 8px; }
.filterbar .chip {
  font: 700 13px/1 var(--font-ui); color: var(--text-secondary);
  background: var(--surface-primary); border: 1px solid var(--border-subtle);
  border-radius: 999px; padding: 9px 14px; min-height: 36px; cursor: pointer;
}
.filterbar .chip:hover { border-color: var(--border-strong); color: var(--text-primary); }
.filterbar .chip[aria-pressed="true"] {
  background: var(--brand-teal); border-color: var(--brand-teal); color: var(--brand-paper);
}
.filterbar .chip:focus-visible { outline: 2px solid var(--brand-sand); outline-offset: 2px; }
.filter-count {
  margin: 14px 0 0; font-size: 12px; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-faint);
}

/* ---- List ---- */
.pub-list {
  list-style: none; margin: 10px 0 0; padding: 0;
  background: var(--surface-primary); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.pub {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 4px 20px; align-items: baseline;
  padding: 18px 22px; border-top: 1px solid var(--border-subtle);
}
.pub:first-child { border-top: none; }
.pub.is-hidden { display: none; }
.pub-year { font-size: 14px; font-weight: 800; color: var(--pillar-accent-ink); font-variant-numeric: tabular-nums; }
.pub-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pub-title { font-family: var(--font-editorial); font-size: 19px; font-weight: 500; line-height: 1.3; color: var(--text-primary); }
.pub-meta { font-size: 14px; font-style: italic; color: var(--text-secondary); }
.pub-authors { font-size: 13.5px; color: var(--text-faint); }
.pub-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pub-tag {
  font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px;
  background: var(--surface-secondary); border: 1px solid var(--border-subtle); color: var(--text-secondary);
}
.pub-link {
  font-size: 14px; font-weight: 700; color: var(--brand-teal); text-decoration: none; white-space: nowrap;
}
.pub-link:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .list-hero.has-art { grid-template-columns: 1fr; gap: 16px; }
  .list-art { max-width: 55%; justify-self: start; }
  .pub { grid-template-columns: 1fr; padding: 16px; }
  .pub-link { margin-top: 6px; }
}
