.profile-page {
  max-width: 980px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.8rem;
  font-family: "Inter", "Noto Sans", "Segoe UI", Arial, sans-serif;
}

.profile-sidebar {
  position: sticky;
  top: 1.2rem;
  align-self: start;
  border-right: 1px solid var(--pst-color-border);
  padding-right: 1.1rem;
}

.profile-photo {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  border: 1px solid var(--pst-color-border);
  object-fit: cover;
  display: block;
  margin-bottom: 0.8rem;
}

.profile-sidebar h1 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
}

.profile-title {
  margin: 0.22rem 0 0;
  font-size: 0.98rem;
  font-weight: 600;
}

.profile-affiliation {
  margin: 0.25rem 0 0.85rem;
  color: var(--pst-color-text-muted);
  font-size: 0.95rem;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  margin: 0.42rem 0;
  display: flex;
  align-items: center;
  gap: 0.48rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.32rem;
  border: 0;
  background: color-mix(in srgb, var(--pst-color-primary) 10%, transparent);
  color: color-mix(in srgb, var(--pst-color-primary) 65%, var(--pst-color-text-base));
  flex-shrink: 0;
  font-style: normal;
}

.contact-icon::before {
  display: block;
  font-size: 0.74rem;
  line-height: 1;
}

.icon-solid::before {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
}

.icon-brands::before {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands";
  font-weight: 400;
}

.icon-envelope::before {
  content: "\f0e0";
}

.icon-phone::before {
  content: "\f095";
}

.icon-location::before {
  content: "\f3c5";
}

.icon-github::before {
  content: "\f09b";
}

.profile-preload {
  display: none;
}

.profile-main section {
  margin: 0 0 1.15rem;
}

.profile-main section>h1 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  font-weight: 600;
}

.profile-main p {
  margin: 0.3rem 0;
  line-height: 1.7;
  font-size: 1rem;
}

.profile-main ul {
  margin: 0.18rem 0 0;
  padding-left: 1.1rem;
}

.profile-main li {
  margin: 0.25rem 0;
  line-height: 1.6;
}

.paper-actions {
  margin-top: 0.45rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.paper-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--pst-color-border);
  border-radius: 999px;
  font-size: 0.86rem;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.paper-btn:hover {
  background: color-mix(in srgb, var(--pst-color-primary) 10%, transparent);
}

.publication-list li {
  margin: 0.74rem 0;
}

@media (max-width: 860px) {
  .profile-page {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .profile-sidebar {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--pst-color-border);
    padding-right: 0;
    padding-bottom: 0.9rem;
  }
}