.pub-list {
  margin: 30px 0;
}

.pub {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 16px 18px;
  margin-bottom: 12px;
  background: rgba(128, 128, 128, 0.06);
  border: 1px solid var(--light-gray);
  border-radius: var(--rounded);
}

/* papers led by a student or postdoc (Wang, Kovaleski) */
.pub-lead {
  background: rgba(7, 149, 217, 0.1);
  border-color: rgba(7, 149, 217, 0.35);
}

.pub-thumb {
  flex-shrink: 0;
  width: 92px;
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  border-radius: 3px;
  box-shadow: var(--shadow);
  background: var(--background-alt);
  transition: transform 0.2s ease;
}

.pub-thumb:hover {
  transform: scale(1.03);
}

.pub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.pub-noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.8rem;
  color: var(--gray);
}

.pub-cite {
  flex: 1;
  min-width: 0;
  text-align: center;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.pub-cite .pub-title-link {
  font-weight: var(--semi-bold);
}

/* icon key above the publication list */
.pub-key {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  max-width: 860px;
  margin: 0 auto 30px;
  padding: 12px 18px;
  background: rgba(128, 128, 128, 0.06);
  border: 1px solid var(--light-gray);
  border-radius: var(--rounded);
  font-size: 0.85rem;
}

.pub-key-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: var(--dark-gray);
}

.pub-key .pub-ic-sys {
  font-size: 0.95rem;
}

.pub-key .icon {
  font-size: 0.92rem;
}

/* work-type icons in each paper box */
.pub-icons {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 9px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.pub-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: default;
}

.pub-icons .icon {
  font-size: 0.86rem;
}

/* emoji study-system marks: match the icon size and lift the glyph so it
   sits on the same center line as the Font Awesome icons */
.pub-ic-sys {
  font-size: 0.86rem;
  line-height: 1;
  transform: translateY(-0.09em);
}

.pub-ic-genomics .icon {
  color: #6a4fb3;
}

.pub-ic-pheno .icon {
  color: #3a9d54;
}

.pub-ic-cold .icon {
  color: #3b9fd4;
}

.pub-ic-model .icon {
  color: #e0842a;
}

.pub-ic-grad .icon {
  color: #444444;
}

@media (max-width: 600px) {
  .pub {
    gap: 14px;
  }
  .pub-thumb {
    width: 68px;
  }
  .pub-cite {
    font-size: 0.92rem;
  }
}
/* grid variant: larger image, compact reference beside it, three per row */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0;
}

.pub-grid .pub {
  margin-bottom: 0;
  align-items: flex-start;
  gap: 16px;
  padding: 14px;
}

.pub-grid .pub-thumb {
  width: 225px;
}

.pub-grid .pub-cite {
  text-align: left;
  font-size: 0.82rem;
  line-height: 1.4;
}

@media (max-width: 700px) {
  .pub-grid {
    grid-template-columns: 1fr;
  }
  .pub-grid .pub-thumb {
    width: 150px;
  }
}

/*# sourceMappingURL=publication.css.map */