:root {
  --brand-blue: #13294b;
  --brand-orange: #ff5f05;
  --ink: #1f2933;
  --muted: #5b6572;
  --surface: #f7f8fa;
}

body {
  color: var(--ink);
}

a {
  color: var(--brand-blue);
}

a:hover {
  color: var(--brand-orange);
}

.navbar {
  border-bottom: 1px solid #e6e8eb;
}

.navbar-title {
  font-weight: 700;
}

#title-block-header,
.quarto-title,
.quarto-title h1,
main.content {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.quarto-title h1,
h1,
h2,
h3 {
  letter-spacing: 0;
}

h2 {
  border-bottom: 1px solid #e6e8eb;
  padding-bottom: 0.35rem;
}

h3 {
  font-size: 1.05rem;
}

main.content {
  max-width: 900px;
}

.cv-entry {
  margin-bottom: 0.85rem;
}

.cv-main {
  color: #111827;
  font-weight: 500;
}

.paper-main {
  font-weight: 550;
}

.cv-detail {
  font-size: 0.95rem;
}

.muted-note {
  display: none;
}

.institution-label {
  display: block;
  font-weight: 500;
  margin-bottom: 1rem;
}

.profile-header {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.profile-photo {
  width: 210px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.profile-text h1 {
  margin-top: 0;
}

.rating-note {
  margin-left: 0;
  margin-top: -0.6rem;
  margin-bottom: 0.6rem;
}

.page-footer {
  color: var(--muted);
}

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