:root {
  --site-ink: #18212b;
  --site-muted: #5c6875;
  --site-line: #d8e0e7;
  --site-soft: #f4f7f8;
  --site-blue: #0076c2;
  --site-green: #1d766f;
  --site-gold: #b36b00;
  --site-nav: #111820;
}

html {
  scroll-padding-top: 5.75rem;
}

body {
  min-height: 100vh;
  padding-top: 4.4rem;
  color: var(--site-ink);
  background: #fbfcfc;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: #0069a8;
}

a:hover {
  color: #004f7d;
}

.site-navbar {
  background: var(--site-nav) !important;
  border-bottom: 3px solid var(--site-blue);
}

.site-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
}

.site-navbar .nav-link {
  font-weight: 600;
}

.site-navbar .nav-link.active {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--site-blue);
  text-underline-offset: 0.35rem;
  text-decoration-thickness: 0.15rem;
}

.brand-logo {
  max-width: 190px;
  object-fit: contain;
}

.navbar-brand img {
  max-width: 42vw;
}

.site-header {
  padding: 3.4rem 0 2.2rem;
  background: linear-gradient(180deg, #eef6f8 0%, #fbfcfc 100%);
  border-bottom: 1px solid var(--site-line);
}

.site-header.compact {
  padding: 2.4rem 0 1.7rem;
}

.site-kicker {
  margin-bottom: 0.5rem;
  color: var(--site-green);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.myname,
.site-title {
  margin: 0;
  color: var(--site-ink);
  font-size: clamp(2.1rem, 5vw, 4.25rem);
  font-weight: 760;
  line-height: 1.05;
}

.function,
.site-subtitle {
  margin: 0.75rem 0 0;
  color: var(--site-muted);
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  font-weight: 520;
}

.hero-summary {
  max-width: 48rem;
  margin: 1.4rem 0 0;
  font-size: 1.12rem;
}

.profile-photo {
  width: min(100%, 320px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 7px solid #fff;
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(24, 33, 43, 0.16);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1.35rem 0 0;
  list-style: none;
}

.tag-list li {
  padding: 0.38rem 0.62rem;
  color: #18333a;
  background: #e4f0ef;
  border: 1px solid #c8ddda;
  border-radius: 0.35rem;
  font-size: 0.92rem;
  font-weight: 650;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.45rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.45rem;
  padding: 0.45rem 0.7rem;
  color: var(--site-ink);
  background: #fff;
  border: 1px solid var(--site-line);
  border-radius: 0.35rem;
  font-weight: 650;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--site-ink);
  background: var(--site-soft);
  border-color: #b9c6cf;
}

.contact-link img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.content-section {
  padding: 2.7rem 0;
  border-bottom: 1px solid var(--site-line);
}

.content-section:last-of-type {
  border-bottom: 0;
}

.section-heading {
  margin-bottom: 1rem;
  color: var(--site-ink);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 760;
}

.section-lede {
  max-width: 58rem;
  color: var(--site-muted);
  font-size: 1.05rem;
}

.timeline-list,
.plain-list {
  padding-left: 1.2rem;
}

.timeline-list li,
.plain-list li {
  margin-bottom: 0.55rem;
}

.info-panel {
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--site-line);
  border-radius: 0.5rem;
}

.info-panel h2,
.info-panel h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
  font-weight: 730;
}

.location-lines {
  margin: 0;
  color: var(--site-muted);
}

.viewer-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0.75rem 0 0;
  border: 1px solid var(--site-line);
  border-radius: 0.45rem;
  overflow: hidden;
}

.viewer-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.viewer-caption {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  text-align: center;
}

.page-main {
  padding: 2.7rem 0 3.5rem;
}

.update-note {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--site-muted);
  font-size: 0.95rem;
}

.publication-layout {
  align-items: flex-start;
}

.filter-panel {
  position: sticky;
  top: 5.6rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--site-line);
  border-radius: 0.5rem;
}

.filter-panel h2 {
  margin-top: 0.4rem;
  font-size: 1.1rem;
  font-weight: 730;
}

.text-input {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #b9c6cf;
  border-radius: 0.35rem;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.75rem 0 1rem;
}

.jump-links a,
.papers-sidebar .nav-link {
  border-radius: 0.3rem;
  text-decoration: none;
}

.jump-links a {
  padding: 0.25rem 0.5rem;
  background: #eef3f5;
}

.papers-sidebar {
  padding: 0;
}

.papers-sidebar .nav-link {
  padding: 0.2rem 0.45rem;
}

.ml-3 {
  margin-left: 1rem;
}

.filteredgroup {
  margin-bottom: 1.35rem;
  padding: 1.35rem 0 1.15rem;
  border-top: 1px solid var(--site-line);
}

.filteredgroup h2,
.filteredgroup h3 {
  margin-bottom: 1rem;
  color: var(--site-green);
  font-size: 1.25rem;
  font-weight: 760;
}

.page-supervision #pr > h2:not(.section-heading) {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-top: 1.15rem;
  color: var(--site-green);
  border-top: 1px solid var(--site-line);
  font-size: 1.25rem;
  font-weight: 760;
}

.pub_auth_ {
  color: var(--site-muted);
  font-weight: 650;
}

.pub_title {
  color: var(--site-ink);
  font-size: 1.03rem;
}

.pub_book1,
.pub_book2,
.pub_role_,
.pub_note {
  color: var(--site-muted);
}

.pub_note {
  color: var(--site-gold);
}

.pub_doi__ a,
.pub_pdf__ a,
.pub_web__ a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 1.7rem;
  margin-left: 0.15rem;
  color: var(--site-blue);
  background: #eef6fb;
  border-radius: 0.3rem;
  text-decoration: none;
}

.footer {
  padding: 1.4rem 0 2rem;
  color: var(--site-muted);
  background: #fff;
}

.footer hr {
  margin-top: 0;
}

@media (max-width: 767.98px) {
  body {
    padding-top: 4rem;
  }

  .site-header {
    padding: 2rem 0 1.5rem;
  }

  .profile-photo {
    width: 210px;
    margin-top: 1.5rem;
  }

  .contact-link {
    flex: 1 1 calc(50% - 0.65rem);
    justify-content: center;
  }
}
