/* =========================================================
   GRID – POSTDOC
========================================================= */

.postdoc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin: 40px 0;
}

.postdoc-card {
  text-align: center;
  padding: 18px;
  border: 1px solid #eee;
  border-radius: 20px;
  transition: all 0.25s ease;
}

.postdoc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.postdoc-card a {
  text-decoration: none;
  color: inherit;
}

.postdoc-card-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
  margin: 0 auto 18px auto;
  transition: transform 0.3s ease;
}

.postdoc-card-image img:hover {
  transform: scale(1.04);
}

.postdoc-card-name {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
}

.postdoc-card-position {
  font-size: 14px;
  color: #666;
}

.postdoc-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    margin-left: 44px;  /* ajuste fino */
	
}

.grid-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

@media (max-width: 600px) {
  .postdoc-card-image img {
    width: 170px;
    height: 170px;
  }
}
