.container {
  padding: 18px 18px 30px;
}

.site-header {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: center;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  background: transparent;
  border-radius: 0;
  transition: border-color 0.28s ease;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  margin: 0;
  transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.details h1 {
  margin: 0;
  font-size: 2.05rem;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--heading);
}

.breadcrumb-nav {
  margin-top: 2px;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb-nav a {
  text-decoration: none;
  color: var(--muted-strong);
  border-bottom: 1px solid transparent;
  transition: color 0.28s ease, border-color 0.28s ease;
}

.breadcrumb-nav a:hover {
  color: var(--link);
  border-color: var(--link);
}

.intro {
  margin: 0 0 20px;
  font-size: 1.03rem;
  line-height: 1.52;
  padding: 0;
  background: transparent;
  border: 0;
}

h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--heading);
}

.papers {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  transition: border-color 0.28s ease;
}

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

.paper-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 0 14px;
  transition: border-color 0.28s ease;
}

.paper-item:last-child {
  border-bottom: 0;
}

.paper-item p {
  margin: 0 0 5px;
  line-height: 1.42;
}

.paper-item cite {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--heading-soft);
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--media-bg);
  transition: border-color 0.28s ease, background-color 0.28s ease;
}

.iframe-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }

  .details {
    align-items: flex-start;
  }

  .profile-photo {
    width: 122px;
    height: 122px;
  }

  .details h1 {
    font-size: 1.72rem;
  }
}
