/* ── Page Fellows ── */
.fellows-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}
.fellows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* ── Carte Fellow ── */
.fellow-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.fellow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
}
.fellow-card-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  overflow: hidden;
}
.fellow-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fellow-card-photo .placeholder-avatar {
  font-size: 64px;
  color: var(--green);
  opacity: .5;
}
.fellow-card-body {
  padding: 16px;
}
.fellow-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.fellow-card-title {
  font-size: .8rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 10px;
}
.fellow-card-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.fellow-theme-tag {
  font-size: .68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  background: #f0faf5;
  color: var(--green);
  border: 1px solid #c8e6c9;
}
.fellow-card-stats {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--gray);
}
.fellow-card-stats i {
  color: var(--green);
}

/* ── Profil Fellow ── */
.fellow-profile {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
.profile-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
  font-size: .88rem;
  margin-bottom: 24px;
  cursor: pointer;
}
.profile-back:hover { text-decoration: underline; }
.profile-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.09);
  overflow: hidden;
}
.profile-header {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: linear-gradient(135deg, var(--green) 0%, #007038 100%);
  color: white;
  align-items: center;
}
.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 4px;
}
.profile-info .profile-title {
  font-size: .95rem;
  opacity: .85;
  margin-bottom: 8px;
}
.profile-info .profile-email {
  font-size: .85rem;
  opacity: .7;
}
.profile-info .profile-email i {
  margin-right: 6px;
}
.profile-body {
  padding: 28px;
}
.profile-section {
  margin-bottom: 28px;
}
.profile-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 12px;
}
.profile-section h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin-top: 6px;
  border-radius: 2px;
}
.profile-bio {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--dark);
}
.profile-themes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.profile-theme-tag {
  background: #f0faf5;
  color: var(--green);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #c8e6c9;
}
.profile-pubs-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.profile-pub-item {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background .2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.profile-pub-item:last-child { border-bottom: none; }
.profile-pub-item:hover { background: #f5fdf9; }
.profile-pub-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  color: white;
  text-transform: uppercase;
  flex-shrink: 0;
}
.profile-pub-title {
  flex: 1;
  font-weight: 600;
  font-size: .88rem;
  color: var(--dark);
  line-height: 1.4;
}
.profile-pub-year {
  font-size: .78rem;
  color: var(--gray);
  flex-shrink: 0;
}
.no-pubs {
  text-align: center;
  padding: 30px;
  color: var(--gray);
  font-style: italic;
}

@media (max-width: 700px) {
  .fellows-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .fellow-profile { padding: 20px 12px; }
  .profile-header { flex-direction: column; text-align: center; padding: 20px; }
  .profile-body { padding: 20px; }
}

@media (max-width: 480px) {
  .fellows-grid { grid-template-columns: 1fr; }
}