/* Publication cards */
.pub-card {
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #e9ecef;
}

.pub-card:last-child {
  border-bottom: none;
}

.pub-title {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 0.5em;
  line-height: 1.4;
  color: #212529;
}

.pub-title a {
  color: #212529;
  text-decoration: none;
}

.pub-title a:hover {
  color: #007bff;
  text-decoration: underline;
}

.pub-authors {
  color: #6c757d;
  font-size: 0.95em;
  margin-bottom: 0.3em;
}

.pub-venue {
  font-style: italic;
  color: #495057;
  margin-bottom: 0.8em;
  font-size: 0.95em;
}

.pub-award {
  color: #856404;
  background-color: #fff3cd;
  padding: 0.3em 0.6em;
  border-radius: 4px;
  font-size: 0.85em;
  display: inline-block;
  margin-bottom: 0.8em;
}

/* Buttons */
.pub-buttons {
  margin-bottom: 0.8em;
}

.pub-btn {
  display: inline-block;
  padding: 0.4em 0.8em;
  margin-right: 0.5em;
  margin-bottom: 0.5em;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9em;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.pub-btn:hover {
  background-color: #0056b3;
  color: white;
  text-decoration: none;
}

.pub-btn.secondary {
  background-color: #6c757d;
}

.pub-btn.secondary:hover {
  background-color: #545b62;
}

/* Collapsible sections */
.pub-toggle {
  display: none;
  margin-top: 1em;
  padding: 1em;
  background-color: #f8f9fa;
  border-left: 3px solid #007bff;
  border-radius: 4px;
}

.pub-toggle.show {
  display: block;
}

.pub-toggle p {
  margin: 0;
  line-height: 1.6;
  color: #212529;
}

.pub-toggle pre {
  background-color: #fff;
  padding: 1em;
  border-radius: 4px;
  overflow-x: auto;
  margin-bottom: 0.5em;
}

.pub-toggle code {
  font-size: 0.85em;
  font-family: 'Courier New', Courier, monospace;
}

.copy-btn {
  padding: 0.3em 0.6em;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.85em;
  cursor: pointer;
}

.copy-btn:hover {
  background-color: #218838;
}
