/* assets/css/publications.css */

/* Scope to page content to increase specificity */
.page__content .publications,
.publications {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Title */
.publications h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Grid */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Card */
.pub-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  padding: 1.25rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid rgba(0,0,0,0.04);
}

/* Hover lift */
.pub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

/* Headings, authors, venue, links */
.pub-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: #111; }
.pub-card .authors { font-style: italic; font-size: 0.9rem; color: #444; margin-bottom: .45rem; }
.pub-card .venue { font-weight: 600; font-size: 0.92rem; color: #0056b3; margin-bottom: .6rem; }
.pub-card .note { font-size: .88rem; color: #555; margin-bottom: .6rem; }

.pub-card .links a {
  display: inline-block;
  margin-right: .6rem;
  margin-top: .3rem;
  padding: .32rem .6rem;
  border-radius: 6px;
  background: #f5f5f5;
  color: #0066cc;
  text-decoration: none;
  font-weight: 500;
  font-size: .86rem;
}
.pub-card .links a:hover { background: #0066cc; color: #fff; }

