/*************************************
  Research Page — Publication Cards
*************************************/

.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Publication Card */
.pub-card {
  background: var(--bg-elevated, #0c1022);
  border-radius: var(--radius-card, 0.9rem);
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.32));
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow-soft, 0 18px 40px rgba(15, 23, 42, 0.75));
  position: relative;
  overflow: hidden;
}

/* Neon border accent (very subtle) */
.pub-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
      135deg,
      var(--accent-teal, #22d3ee),
      transparent 45%,
      var(--accent-pink, #fb37b7)
    )
    border-box;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.16;
  pointer-events: none;
}

/* Title */
.pub-card-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e5e7eb;
  line-height: 1.35;
}

/* Meta */
.pub-card-meta {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  color: var(--text-muted, #9ca3af);
}

/* Summary */
.pub-card-summary {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 0.75rem;
  color: var(--text-soft, #c4c6dd);
}

/* Links */
.pub-card-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-teal, #22d3ee);
  text-decoration: none;
}

.pub-card-links a:hover {
  text-shadow: 0 0 6px var(--accent-teal, #22d3ee);
  text-decoration: underline;
}


/*************************************
  Mini Project Sections
*************************************/

.mini-project {
  margin-bottom: 1.45rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.mini-project-title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #f3f4f6;
}

.mini-project p {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-soft, #c4c6dd);
}


/*************************************
  Misc Enhancements
*************************************/

/* Improve bullets on all research pages */
.bullet-list li {
  padding-left: 0.35rem;
}

/* Adjust for tablets and smaller screens */
@media (max-width: 720px) {
  .pub-card {
    padding: 1.1rem 1.15rem;
  }

  .pub-grid {
    gap: 1.2rem;
  }

  .mini-project-title {
    font-size: 1rem;
  }
}
