@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: #f7f7f7;
  color: #4a4a4a;
  line-height: 1.8;
}

a {
  color: #444;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  gap: 48px;
}

.site-title {
  font-size: 22px;
  font-weight: 700;
  color: #666;
  padding-bottom: 10px;
  border-bottom: 4px solid #cfcfcf;
}

.nav a {
  margin-right: 34px;
  font-size: 18px;
  color: #777;
}

.nav a.active {
  color: #444;
  font-weight: 700;
}

.page {
  max-width: 1200px;
  margin: 48px auto 70px auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.sidebar {
  width: 260px;
}

.profile-photo {
  width: 220px !important;
  height: 220px !important;
  max-width: 220px !important;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 4px solid #f0f0f0;
}

.profile-name {
  margin-top: 20px;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
  color: #444;
}

.profile-line {
  font-size: 16px;
  color: #666;
  margin-bottom: 4px;
}

.profile-links {
  margin-top: 14px;
}

.profile-links a {
  display: block;
  margin-bottom: 6px;
  text-decoration: underline;
}

.content-section {
  margin-bottom: 54px;
}

.content-section h2 {
  font-size: 34px;
  font-weight: 700;
  color: #444;
  margin-top: 0;
  margin-bottom: 18px;
}

.content-section p,
.content-section li {
  font-size: 18px;
  color: #555;
}

.content-section ul {
  padding-left: 24px;
}

.highlight {
  font-weight: 700;
  color: #222;
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .page {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sidebar {
    width: 100%;
  }

  .profile-photo {
    width: 180px !important;
    height: 180px !important;
    max-width: 180px !important;
  }
}

.pub-list a {
  color: #1a73e8;
}

.pub-list a:visited {
  color: #1a73e8;
}

.pub-list a:hover {
  color: #0b57d0;
  text-decoration: underline;
}
