/* Publications page */

.pub-hero .subtitle {
  margin-bottom: 8px;
}

.pub-cv-note {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

.pub-cta {
  margin-top: 14px;
  display: inline-flex;
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 920px) {
  .pub-grid {
    grid-template-columns: 1fr;
  }
}

.pub-section-title {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.pub-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pub-list-header {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0 6px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
}

.pub-list-header .pub-text {
  flex: 1;
}

.pub-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.pub-item:last-child {
  border-bottom: 0;
}

.pub-num {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--muted);
  min-width: 2em;
}

.pub-year {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--brand);
  min-width: 2.5em;
}

.pub-text {
  flex: 1;
}

.pub-link {
  flex: 1;
  color: var(--brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s, opacity .15s;
}
.pub-link:hover {
  border-bottom-color: var(--brand);
  opacity: .9;
}

.pub-full {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pub-card-full {
  width: 100%;
}

.card-muted {
  background: var(--card-warm);
  border-color: var(--line);
}

.card-muted a {
  color: var(--brand);
  font-weight: 700;
}

.card-muted a:hover {
  opacity: .9;
}
