/* Tighten multi-line publication titles */
.publication a[itemprop="name"],
.pub-list-item a[itemprop="name"] {
  display: inline-block;
  line-height: 1.25;
  margin-bottom: 0.15rem;
}




/* Compact publications container */
.compact-pubs p {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
}

/* Layout */
.compact-pubs .pub-item {
  display: flex;
  align-items: flex-start;
}

.compact-pubs .pub-id {
  min-width: 2.35rem;
  line-height: 1.3;
}

.compact-pubs .pub-text {
  flex: 1;
}

/* Title: tight line spacing if it wraps */
.compact-pubs .pub-text a {
  display: inline-block;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

/* Authors: tight line spacing if it wraps*/
.compact-pubs .pub-text em {
  display: inline-block;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

/* Venue: tight line spacing if it wraps*/
.compact-pubs .pub-text {
  display: inline-block;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

/* Author list: slightly smaller than title */
.compact-pubs .pub-text em {
  font-size: 0.92em;
}


/* citation badge */
/* .cite-count {
  display: inline-block;
  margin-top: 0.15rem;
  color: #0b66c3;
  background: rgba(11,102,195,0.06);
  border: 1px solid rgba(11,102,195,0.12);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.06rem 0.36rem;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0.9;
} */
/* citation badge — green (recommended) */
/* .cite-count {
  display: inline-block;
  margin-top: 0.15rem;
  color: #1b7f3b;
  background: rgba(27,127,59,0.08);
  border: 1px solid rgba(27,127,59,0.18);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.06rem 0.36rem;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0.90;
} */

/* Base citation badge */
.cite-count {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.06rem 0.36rem;
  border-radius: 3px;
  white-space: nowrap;
  opacity: 0.9;
}

/* 20–49: blue */
.cite-count.cite-blue {
  color: #3b5b92;
  background: rgba(59,91,146,0.08);
  border: 1px solid rgba(59,91,146,0.18);
}

/* 50–99: green */
.cite-count.cite-green {
  color: #1b7f3b;
  background: rgba(27,127,59,0.08);
  border: 1px solid rgba(27,127,59,0.18);
}

/* 100–249: orange */
.cite-count.cite-orange {
  color: #b35c00;
  background: rgba(179,92,0,0.10);
  border: 1px solid rgba(179,92,0,0.25);
}

/* 250+: red */
.cite-count.cite-red {
  color: #a12622;
  background: rgba(161,38,34,0.10);
  border: 1px solid rgba(161,38,34,0.25);
}






/* Citation legend */
.cite-legend {
  margin: 0.8rem 0 1.0rem;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.04);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cite-legend-title {
  font-weight: 700;
}

.cite-legend-items {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 1.2rem;
  row-gap: 0.5rem;
  align-items: center;
}

.cite-legend-item {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.cite-legend-label {
  color: #444;
  font-size: 0.88rem;
}

.cite-legend {
  opacity: 1.0;
}

/* Legend footnote */
.cite-legend-note {
  margin-top: -0.75rem;
  font-size: 0.78rem;
  color: #666;
  font-style: italic;
}






/* Smaller line spacing for titles in the "Talks" section: */
#talks strong,
.section-talks strong,
.talks-widget strong {
  line-height: 1.35 !important;
}

#talks li,
.section-talks li,
.talks-widget li {
  line-height: 1.4;
}




/* Compact spacing for Academic Network section */
#network ul {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

#network li {
  margin-bottom: 0.55rem;
  line-height: 1.35;
}

#network li em {
  display: inline-block;
  line-height: 1.25;
}
