@import url('/css/nil-home-v5.css?v=20260708d');

.nil-pubs-page .nil-detail-header {
  border-bottom: 0;
  margin-bottom: 16px;
  padding-bottom: 0;
}

.nil-pubs-page .nil-detail-header h1 {
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.nil-pub-note {
  margin: 0;
  color: #1f2c48;
  font-size: 1.05rem;
  line-height: 1.6;
}

.nil-year-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--nil-border);
}

.nil-year-filter a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--nil-border);
  background: rgba(255,255,255,0.92);
  color: var(--nil-blue-950);
  font-weight: 720;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(8,26,68,0.035);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nil-year-filter a:hover {
  transform: translateY(-1px);
  background: #eef6ff;
  border-color: rgba(13,110,253,0.28);
}

.nil-pub-year {
  scroll-margin-top: 105px;
  padding-top: 8px;
  margin-top: 26px;
}

.nil-pub-year + .nil-pub-year {
  border-top: 1px solid var(--nil-border);
  padding-top: 30px;
}

.nil-pub-year h2 {
  margin: 0 0 20px;
  color: var(--nil-blue-950);
  font-size: clamp(2.2rem, 4.6vw, 3.35rem);
  line-height: 1.0;
  letter-spacing: -0.022em;
}

.nil-pub-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 20px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--nil-border);
  box-shadow: 0 8px 22px rgba(8,26,68,0.055);
}

.nil-pub-card img {
  width: 100%;
  height: 158px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(9,36,94,0.10);
  background: #f7faff;
  box-shadow: 0 6px 16px rgba(8,26,68,0.055);
}

.nil-pub-content h3 {
  margin: 5px 0 9px;
  color: var(--nil-blue-950);
  font-size: 1.1rem;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.nil-pub-number {
  display: inline-flex;
  margin: 0 8px 0 0;
  color: var(--nil-blue-700);
  font-weight: 900;
}

.nil-pub-authors {
  margin: 0;
  color: #4f5c74;
  font-size: 0.95rem;
  line-height: 1.58;
}

.nil-pub-meta,
.nil-pub-doi {
  margin: 6px 0 0;
  color: #5b6880;
  font-size: 0.92rem;
  line-height: 1.5;
}

.nil-pub-meta em {
  color: var(--nil-blue-950);
  font-weight: 780;
}

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

.nil-pub-tags span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef6ff;
  color: #155bd7;
  border: 1px solid rgba(13,110,253,0.12);
  font-size: 0.74rem;
  font-weight: 780;
}

.nil-pub-list {
  display: grid;
  gap: 12px;
}

.nil-pub-list-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 18px;
  border-radius: 15px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--nil-border);
  box-shadow: 0 4px 14px rgba(8,26,68,0.035);
  color: #46546d;
  line-height: 1.65;
  font-size: 0.96rem;
}

.nil-pub-list-item strong {
  color: var(--nil-blue-700);
  font-weight: 900;
}

.nil-pub-list-item em {
  color: var(--nil-blue-950);
  font-weight: 760;
}

@media (max-width: 860px) {
  .nil-pub-card {
    grid-template-columns: 1fr;
  }
  .nil-pub-card img {
    height: 220px;
  }
  .nil-pub-list-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
