/* =========================================================
   SINGLE – RESEARCHER & POSTDOC (Legacy Layout)
========================================================= */

.researcher-header,
.postdoc-header {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 50px;
}

.researcher-photo,
.postdoc-photo {
  flex-shrink: 0;
}

.researcher-photo img {
  width: 240px;
  height: auto;
  border-radius: 12px;
  display: block;
}

.postdoc-photo img {
  width: 240px;
  height: auto;
  border-radius: 24px;
  display: block;
}

.researcher-info,
.postdoc-info {
  flex: 1;
  min-width: 0;
}

.researcher-name,
.postdoc-name {
  font-size: 38px;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.researcher-position,
.postdoc-position {
  font-size: 17px;
  color: #555;
  margin-bottom: 20px;
}

.researcher-address {
  margin-bottom: 18px;
  color: #555;
}

.researcher-link,
.postdoc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #f3f6fa;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #1f2d3d;
  transition: all 0.2s ease;
  margin: 6px 8px 6px 0;
}

.researcher-link:hover,
.postdoc-link:hover {
  background: #123a63;
  color: white;
}

.researcher-contact {
  margin-top: 25px;
  font-size: 14px;
  color: #555;
}

.researcher-contact-item {
  margin-bottom: 6px;
}

.researcher-contact-item a {
  text-decoration: none;
  color: #1f2d3d;
}

.researcher-contact-item a:hover {
  color: #123a63;
}

@media (max-width: 900px) {
  .researcher-header,
  .postdoc-header {
    flex-direction: column;
  }

  .researcher-photo img,
  .postdoc-photo img {
    width: 220px;
  }
}
