.author-name {
  font-size: 0.8em;
}

.conference-name {
  font-size: 0.8em;
}

.resource-link {
  font-size: 0.8em;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
}

.fade {
  transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -webkit-transition: opacity 0.2s ease-in-out;
}

span.highlight {
  background-color: #fbe8ab;
}

[data-theme="dark"] span.highlight {
  background-color: #8b6914;
  color: #fff;
}

span.badge {
  font-size: 13px;
  background-color: #cd3f3f;
  color: #ffffff;
  font-weight: 600;
  padding-right: 0.4em;
  padding-left: 0.4em;
  padding-top: 0.05em;
  padding-bottom: 0.05em;
  border-radius: 10rem;
}

[data-theme="dark"] span.badge {
  background-color: #e74c3c;
}

/* Publication table styles */
.pub-image-cell {
  padding: 10px;
  width: 30%;
  vertical-align: middle;
}

.pub-content-cell {
  padding: 20px;
  width: 70%;
  vertical-align: middle;
}

.pub-image {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .pub-image {
  box-shadow: 0 0 2px 2px rgba(255, 255, 255, 0.25);
}

.pub-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background-color: #f0f0f0;
  border: 2px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: #666;
  text-align: center;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .pub-placeholder {
  background-color: #3a3a3a;
  border-color: #555;
  color: #ccc;
}