.pub-list {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.pub-year-heading {
  font-family: 'Varela Round', sans-serif;
  font-size: 1.8rem;
  color: #ff7300;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 115, 0, 0.25);
}

.pub-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background-color: rgba(162, 162, 162, 0.1);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: #e61f1f 0 0 6px, #fb3333 0 0 14px, #fb5f05 0 0 22px, #ff4848 0 0 30px;
}

.pub-thumb {
  width: 140px;
  height: 95px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background-color: rgba(255, 115, 0, 0.08);
}

.pub-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background-color: rgba(255, 115, 0, 0.08);
  border: 1px solid rgba(255, 115, 0, 0.2);
  width: 140px;
  height: 95px;
  border-radius: 6px;
  flex-shrink: 0;
}

.pub-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

a.pub-title,
span.pub-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  color: #ff8c42;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: rgba(255, 140, 66, 0.5);
}

a.pub-title:hover {
  color: #ffb07a;
  text-decoration-color: #ffb07a;
}

span.pub-title {
  text-decoration: none;
  color: #cdbeb8;
}

.pub-venue {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 20px;
  background-color: rgba(255, 115, 0, 0.15);
  border: 1px solid rgba(255, 115, 0, 0.3);
  color: #ffb07a;
  font-size: 0.8rem;
  font-family: 'Courier New', monospace;
  width: fit-content;
}

.pub-authors {
  color: #cdbeb8 !important;
  font-size: 0.9rem !important;
  margin: 0 !important;
  font-family: 'Open Sans', sans-serif !important;
}

.pub-equal {
  color: #777;
  font-size: 0.78rem;
  font-style: italic;
  margin: 0 !important;
}

.pub-year-label {
  color: #888;
  font-style: italic;
  font-size: 0.85rem;
  margin: 0 !important;
}

.pub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.tag-topic {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1.5px solid #e14724;
  color: #e14724;
  font-size: 0.72rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

a.tag-link {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1.5px solid #ff7300;
  color: #ff7300;
  text-decoration: none;
  font-size: 0.72rem;
  font-family: 'Courier New', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a.tag-link:hover {
  background-color: #ff7300;
  color: #020202;
}

.pub-card-soon {
  opacity: 0.6;
}

.pub-venue-soon {
  background-color: rgba(150, 150, 150, 0.15);
  border-color: rgba(150, 150, 150, 0.3);
  color: #aaa;
}

/* Daylight theme overrides */
.daylight .pub-card {
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.daylight .pub-year-heading {
  color: #c85000;
  border-bottom-color: rgba(200, 80, 0, 0.25);
}

.daylight .pub-venue {
  background-color: rgba(200, 80, 0, 0.1);
  border-color: rgba(200, 80, 0, 0.3);
  color: #c85000;
}

.daylight .pub-authors {
  color: #5f3808 !important;
}

.daylight .pub-year-label {
  color: #888;
}

.daylight span.pub-title {
  color: #5f3808;
}

@media (max-width: 600px) {
  .pub-card {
    flex-direction: column;
  }

  .pub-thumb,
  .pub-thumb-placeholder {
    width: 100%;
    height: 160px;
  }

  .pub-year-heading {
    font-size: 1.4rem;
  }
}
