/* ===== PUBLICATION LIST ===== */
.pub-list {
  counter-reset: pubnum;
  margin-top: 2rem;
}

/* ===== Each entry ===== */
.pub-entry {
  counter-increment: pubnum;
  position: relative;
  margin: 1.5rem 0;
  padding: 0.7rem 1.5rem 0.2rem 3.5rem;
  background-color: #f9fafb;
  border-left: 4px solid #0d6efd;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Number on the left */
.pub-entry::before {
  content: counter(pubnum) ".";
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0d6efd;
}

/* ===== Main layout ===== */
.pub-main {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ===== Title + authors ===== */
.pub-title {
  color: #0d3b66;
  font-size: 0.95rem;
}

.pub-authors {
  color: #555;
  font-size: 0.85rem;
}

.pub-ref {
  color: #555;
  font-size: 0.85rem;
}

/* ===== Buttons ===== */
.pub-buttons {
  margin-top: 0.3rem;
}

.pub-btn {
  background-color: #0d6efd;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  padding: 0.25rem 0.7rem;
  font-size: 0.85rem;
  margin-right: 0.4rem;
  transition: background-color 0.2s ease-in-out;
}

.pub-btn:hover {
  background-color: #0b5ed7;
  color: white;
}

/* ===== Collapsible abstract ===== */
.pub-abstract summary {
  cursor: pointer;
  color: #1b2639;
  font-weight: 600;
  list-style: none;
}

.pub-abstract summary:hover {
  text-decoration: underline;
}

.pub-abstract {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Small tweak for consistent spacing */
details > summary::-webkit-details-marker {
  display: none;
}
