body {
  font-family: "Avenir Next", Arial, sans-serif;
  color: #263445;
  background: #ffffff;
}

.navbar {
  background: white !important;
  border-bottom: 1px solid #e9edf2;
}

#title-block-header {
  display: none;
}

.academic-layout {
  max-width: 1100px;
  margin: 65px auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.profile-sidebar {
  position: sticky;
  top: 100px;
}

.portrait-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #eaf0f6;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718198;
  margin-bottom: 24px;
}

.profile-sidebar h1 {
  font-size: 1.65rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.position {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.affiliation {
  color: #677588;
  font-size: 0.92rem;
}

.profile-links {
  font-size: 0.85rem;
  color: #2867a9;
  margin: 20px 0;
}

.coffee-button {
  display: inline-block;
  background: #2867a9;
  color: white !important;
  padding: 11px 19px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.94rem;
}

.coffee-button:hover {
  background: #194f86;
}

.academic-content section {
  margin-bottom: 54px;
  scroll-margin-top: 100px;
}

.academic-content h2 {
  font-size: 1.6rem;
  font-weight: 650;
  margin-bottom: 20px;
}

.academic-content p {
  line-height: 1.8;
}

.publication {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.year {
  color: #2867a9;
  font-weight: 600;
}

.publication p {
  color: #697586;
  margin: 4px 0 0;
}

.booking-card {
  padding: 22px;
  background: #f4f7fb;
  border-radius: 9px;
  border: 1px solid #e4eaf2;
}

.booking-card p {
  color: #697586;
  margin: 8px 0 0;
}

@media (max-width: 760px) {
  .academic-layout {
    grid-template-columns: 1fr;
    gap: 42px;
    margin: 30px auto;
  }

  .profile-sidebar {
    position: static;
  }

  .portrait-placeholder {
    max-width: 220px;
  }
}


.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 9px;
  margin-bottom: 24px;
}


/* Publication section headings */
.publication-group-heading {
  font-size: 1.18rem;
  font-weight: 600;
  color: #526174;
  margin-top: 32px;
  margin-bottom: 24px;
}

/* Publication title links */
.publication a {
  color: #263445;
  text-decoration: none;
  line-height: 1.5;
}

.publication a:hover {
  color: #2867a9;
  text-decoration: underline;
}

/* Author and journal details */
.publication p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 6px;
}

/* Additional context for letters */
.publication .reply-context {
  font-size: 0.82rem;
  color: #8290a0;
  font-style: italic;
  margin-top: 4px;
}


.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.contact-actions .coffee-button {
  display: block;
  width: 200px;
  text-align: center;
  margin: 0;
}
