body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: #222;
}

/* Default sidebar */
.sidebar {
  border-right: 1px solid #ddd;
}

/* Desktop: full height sidebar */
@media (min-width: 768px) {
  .sidebar {
    min-height: 100vh;
  }
}

.profile-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ccc;
}

.name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.affiliation {
  font-size: 0.95rem;
  color: #555;
}

.links a {
  text-decoration: none;
  color: #0073e6;
}

.links a:hover {
  text-decoration: underline;
}

main.content {
  max-width: 800px;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

footer {
  margin-top: 2rem;
}

.icon-row {
  gap: 15px; /* space between icons */
}

.icon-link i {
  font-size: 1.5rem;
  color: #666;    /* default grey */
  text-decoration: none;
  transition: color 0.3s;
}

.icon-link:hover i {
  color: #000;    /* darker on hover */
}

/* Default (desktop) profile photo */
.profile-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #ccc;
}

/* Mobile-specific smaller photo */
.mobile-photo {
  width: 80px;
  height: 80px;
  border: 2px solid #aaa;
}

/* Compact text styles for mobile header */
.mobile-header .name {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.mobile-header .affiliation {
  font-size: 0.8rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

/* Icon styling */
.icon-row {
  gap: 12px;
}
