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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Chivo', sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

/* ── Header / Nav ── */
header {
  background: #424242;
  color: #fff;
  padding: 0 1.5rem;
}

header .inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

header .site-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

header .site-title:hover {
  text-decoration: none;
  opacity: 0.85;
}

nav {
  display: flex;
  gap: 1.4rem;
}

nav a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.85;
}

nav a:hover {
  opacity: 1;
  text-decoration: none;
}

/* ── Main Layout ── */
.page-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
}

/* ── Sidebar ── */
.sidebar {
  text-align: center;
}

.sidebar img.avatar {
  width: 190px;
  height: 190px;

  object-fit: cover;
  margin-bottom: 1rem;
}

.sidebar h1 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.sidebar .subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.sidebar-links {
  list-style: none;
  text-align: left;
  font-size: 1rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.sidebar-links li {
  padding: 0.25rem 0;
}

.sidebar-links li a {
  color: #777;
}

/* ── Content Area ── */
.content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #555;
}

.content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.4rem;
}

.content p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #444;
}

.content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content ul li {
  font-size: 1rem;
  color: #444;
  margin-bottom: 0.3rem;
}

/* ── Share bar ── */
.share-bar {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: 1rem;
  color: #999;
}

.share-bar a {
  margin-right: 0.75rem;
}

/* ── Publications / Projects / Highlights lists ── */
.entry-list {
  list-style: none;
}

.entry-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.entry-list li:last-child {
  border-bottom: none;
}

.entry-list .entry-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #333;
}

.entry-list .entry-title a {
  color: #333;
}

.entry-list .entry-title a:hover {
  color: #777;
}

.entry-list .entry-meta {
  font-size: 1rem;
  color: #888;
  margin-top: 0.2rem;
}

.entry-list .entry-desc {
  font-size: 1rem;
  color: #555;
  margin-top: 0.4rem;
}

/* ── Footer ── */
footer {
  background: #424242;
  color: #aaa;
  text-align: center;
  padding: 1.2rem 1.5rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

footer a {
  color: #ccc;
}

/* ── Single-column pages (no sidebar) ── */
.page-wrapper.full-width {
  grid-template-columns: 1fr;
}

/* ── Responsive ── */
@media (max-width: 680px) {
  .page-wrapper {
    grid-template-columns: 1fr;
  }
  .sidebar {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
  }
  nav {
    gap: 0.8rem;
    flex-wrap: wrap;
  }
}
