/* Wider column on desktop */
@media (min-width: 768px) {
  .column { max-width: 820px; }
}

/* ---- Filter tabs (shared style with portfolio) ---- */
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.filter-btn:hover {
  background: var(--accent-soft);
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--surface);
}

/* ---- Publication entries ---- */
.publications-list {
  list-style: none;
}

.pub-entry {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.pub-entry:last-child {
  border-bottom: none;
}

.pub-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 4px;
}

.pub-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  opacity: 0.72;
  line-height: 1.4;
  margin: 0;
}

.pub-year {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 1px;
}

.pub-authors {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 2px;
}

.pub-venue {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 8px;
}

.pub-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 12px;
  margin-top: 8px;
}

.pub-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
}

.pub-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pub-bibtex-btn {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.pub-bibtex-btn:hover,
.pub-bibtex-btn.copied {
  color: var(--ink);
}

.bibtex-icon {
  width: 14px;
  height: 14px;
}

/* icon state: show clipboard by default, checkmark on copy */
.bibtex-icon--check { display: none; }
.pub-bibtex-btn.copied .bibtex-icon--copy  { display: none; }
.pub-bibtex-btn.copied .bibtex-icon--check { display: inline-block; }

.pub-see-all-btn {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  padding: 8px 0 0;
  cursor: pointer;
  transition: color 0.15s ease;
  display: block;
}

.pub-see-all-btn:hover {
  color: var(--ink);
}
