@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
  --bg: #f5f7fb;
  --paper: #ffffff;
  --ink: #1f252d;
  --muted: #667280;
  --soft: #edf2f8;
  --line: #dce4ee;
  --blue: #215fa8;
  --blue-dark: #17477d;
  --cyan: #2f7c91;
  --green: #2f765f;
  --gold: #9c6a15;
  --red: #a53d48;
  --violet: #6e58a8;
  --shadow: 0 18px 44px rgba(31, 37, 45, 0.08);
  --shadow-hover: 0 22px 60px rgba(31, 37, 45, 0.15);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 420px);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 228, 238, 0.86);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--ink);
  font-weight: 780;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-weight: 550;
}

.links {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 15px;
}

.links a {
  color: #364150;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 7px 10px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.links a:hover,
.links a.active {
  background: #fff;
  border-color: var(--line);
  color: var(--blue);
  box-shadow: 0 8px 22px rgba(31, 37, 45, 0.08);
  text-decoration: none;
  transform: translateY(-1px);
}

.shell {
  width: 100%;
  flex: 1 0 auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 38px 24px 76px;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 48px;
}

.ui-icon,
.interest-icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sidebar {
  position: sticky;
  top: 86px;
  align-self: start;
}

.profile-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.avatar {
  width: 156px;
  height: 156px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
}

.name {
  margin: 18px 0 4px;
  font-size: 24px;
  line-height: 1.18;
}

.cn-name {
  color: var(--muted);
  font-size: 15px;
}

.bio {
  margin: 14px 0 18px;
  color: #4d5865;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.profile-links {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.profile-links li {
  margin: 0;
  display: flex;
  gap: 9px;
  align-items: baseline;
}

.profile-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.icon {
  width: 1.4em;
  flex: 0 0 1.4em;
  text-align: center;
}

.profile-focus {
  margin: 16px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.focus-label {
  color: #334154;
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.focus-tags span {
  border: 1px solid #d4e0ee;
  border-radius: 999px;
  background: #fff;
  color: #445266;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.3;
  padding: 4px 8px;
}

.school-strip {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.school-strip span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #344255;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 9px;
}

.school-strip img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}

.content {
  min-width: 0;
}

.hero {
  padding: 8px 0 18px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-intro {
  max-width: 820px;
  color: #465260;
  font-size: 18px;
  margin: 0 0 14px;
  overflow-wrap: anywhere;
}

.motto-quote {
  max-width: 820px;
  margin: 14px 0 18px;
  border-left: 3px solid var(--blue);
  padding: 7px 0 7px 16px;
}

.motto-quote p {
  color: #253246;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.6;
  margin: 0 0 4px;
}

.motto-quote cite {
  color: #5d6876;
  display: block;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

.research-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 2px;
  max-width: 860px;
}

.research-brief > div {
  border-top: 1px solid var(--line);
  padding: 13px 4px 0;
}

.brief-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #334154;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  padding: 0;
  margin-bottom: 8px;
}

.research-brief p {
  margin: 0;
  color: #465260;
  font-size: 15px;
  line-height: 1.58;
}

.home-page .hero > p {
  margin-bottom: 14px;
}

.interest-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
}

.interest-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.interest-icon {
  width: 34px;
  height: 34px;
  border: 1px solid #d5e1ef;
  border-radius: 7px;
  background: #f5f9fe;
  color: var(--blue);
  padding: 7px;
}

.interest-row h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.35;
}

.interest-row p {
  margin: 0;
  color: #4b5662;
  font-size: 14px;
  line-height: 1.58;
}

.projects-shell {
  max-width: 1040px;
  grid-template-columns: minmax(0, 1fr);
}

.hero p {
  max-width: 820px;
  color: #465260;
  font-size: 18px;
  margin: 0 0 20px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 680;
  box-shadow: 0 4px 14px rgba(31, 37, 45, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(31, 37, 45, 0.12);
  border-color: #b8c8dc;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 10px;
}

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #b9c9da;
}

.stat strong {
  display: block;
  font-size: 24px;
  line-height: 1.15;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  margin-top: 34px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
}

.section-head a {
  font-size: 14px;
}

.cards {
  display: grid;
  gap: 14px;
}

.paper {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease, background 170ms ease;
}

.paper::before,
.project::before,
.note::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(33, 95, 168, 0.34);
  transition: opacity 170ms ease;
}

.paper:hover,
.project:hover,
.note:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #b6c7dc;
}

.paper:hover::before,
.project:hover::before,
.note:hover::before {
  opacity: 1;
}

.paper-symbol {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #ecf4ff;
  color: var(--blue);
  font-size: 22px;
}

.paper-symbol.iclr {
  background: #fff0ee;
  color: var(--red);
}

.paper-symbol.icml {
  background: #edf7f2;
  color: var(--green);
}

.paper-symbol.neurips {
  background: #f6efff;
  color: var(--violet);
}

.paper h3,
.project h3,
.note h3 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.35;
}

.paper-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 86px);
  margin-bottom: 8px;
}

.venue {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 8px;
  background: #f5f7fb;
  border: 1px solid var(--line);
  color: #394553;
}

.venue.hot {
  background: #fff1ed;
  border-color: #f2c7bd;
  color: #9a332c;
}

.venue.green {
  background: #edf8f2;
  border-color: #bdddcf;
  color: #21664e;
}

.venue.violet {
  background: #f4efff;
  border-color: #d5c9f2;
  color: #5d4695;
}

.venue.gray {
  background: #f4f6f8;
  border-color: #d7dde5;
  color: #4f5c68;
}

.role-badge,
.status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #465260;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.3;
  padding: 3px 8px;
}

.status-badge {
  background: #f8fbff;
  color: #596675;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.me {
  color: var(--blue);
  font-weight: 820;
  background: #eaf3ff;
  border-radius: 4px;
  padding: 0 3px;
}

.paper p,
.project p,
.note p {
  margin: 0 0 10px;
  color: #4b5662;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.action {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 13px;
  color: #314050;
  font-family: inherit;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.action:hover {
  text-decoration: none;
  background: #fff;
  border-color: #b8c8dc;
  color: var(--blue);
}

.paper-with-thumb {
  grid-template-columns: 184px auto minmax(0, 1fr);
}

.selected-paper,
.ccf-paper {
  padding-top: 28px;
}

.corner-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border: 1px solid #e7b9a7;
  border-radius: 6px;
  background: linear-gradient(180deg, #fffaf7, #fff0e9);
  color: #9a332c;
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  box-shadow: 0 8px 20px rgba(154, 51, 44, 0.1);
}

.paper-thumb {
  display: block;
  align-self: start;
  height: 240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.paper-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #fff;
  display: block;
  transition: transform 180ms ease;
}

.paper:hover .paper-thumb img {
  transform: scale(1.015);
}

.publication-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}

.publication-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.publication-filter button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #435165;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 680;
  padding: 7px 10px;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.publication-filter button:hover,
.publication-filter button.active {
  border-color: #b9cbe0;
  background: #edf5ff;
  color: var(--blue);
}

.publication-tools > p {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.paper[hidden] {
  display: none;
}

.paper-symbol .ui-icon {
  width: 21px;
  height: 21px;
}

.project-showcase {
  display: grid;
  gap: 18px;
}

.project-entry {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  border-top: 1px solid var(--line);
  padding: 22px 0 4px;
}

.project-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3f8;
  cursor: zoom-in;
}

.project-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: top center;
  background: #fff;
  transition: transform 170ms ease;
}

.project-media:hover img {
  transform: scale(1.02);
}

.project-copy h2 {
  margin: 2px 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

.project-copy p {
  margin: 0 0 9px;
  color: #4b5662;
  font-size: 14px;
  line-height: 1.58;
}

.project-copy strong {
  color: #29384b;
}

.project-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.project-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 11px 0;
}

.project-facts div {
  display: flex;
  gap: 6px;
}

.project-facts dt,
.project-facts dd {
  margin: 0;
  font-size: 12px;
}

.project-facts dt {
  color: #344457;
  font-weight: 780;
}

.project-facts dd {
  color: var(--muted);
}

.project-grid,
.note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.project,
.note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  position: relative;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(110, 88, 168, 0.32);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 170ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #c5b8e5;
}

.service-card:hover::before {
  opacity: 1;
}

.service-logo {
  display: grid;
  place-items: center;
  min-height: 132px;
  border: 1px solid #ddd5f0;
  border-radius: 8px;
  background: linear-gradient(180deg, #faf8ff, #ffffff);
  padding: 18px;
}

.service-logo img {
  display: block;
  width: min(100%, 148px);
  height: auto;
}

/* 官网白色标识适配浅色服务卡片，保留原始图片。 */
.service-logo img.service-logo-monochrome {
  filter: brightness(0);
}

.service-body h3 {
  margin: 0 0 4px;
  font-size: 21px;
  line-height: 1.35;
}

.cn-line {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.service-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.service-meta div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px 12px;
}

.service-meta dt {
  color: #526070;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.service-meta dd {
  margin: 0;
  color: #2d3845;
  font-weight: 680;
  overflow-wrap: anywhere;
}

.blog-list {
  display: grid;
  gap: 10px;
}

.blog-index .blog-shell {
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 40px;
}

.blog-author {
  padding: 18px;
}

.blog-author .avatar {
  width: 112px;
  height: 112px;
}

.blog-author .name {
  font-size: 20px;
}

.blog-author .name span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.blog-author .bio {
  margin-bottom: 0;
}

.blog-search {
  position: relative;
  margin: 0 0 12px;
}

.blog-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.blog-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 9px 42px 9px 42px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.blog-search input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33, 95, 168, 0.12);
}

.blog-search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 15px;
  height: 15px;
  border: 2px solid #647386;
  border-radius: 50%;
  transform: translateY(-58%);
  pointer-events: none;
}

.blog-search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  border-radius: 1px;
  background: #647386;
  transform: rotate(45deg);
}

.blog-search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #536174;
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  transform: translateY(-50%);
}

.blog-search-clear:hover {
  background: var(--soft);
  color: var(--blue);
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 18px;
}

.blog-filter button {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #455365;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  padding: 8px 12px;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, color 170ms ease;
}

.blog-filter button:hover,
.blog-filter button.active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}

.blog-filter button span {
  opacity: 0.76;
  margin-left: 4px;
}

.blog-results-bar {
  min-height: 30px;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.blog-results-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.blog-results-bar button,
.blog-empty button {
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 2px;
}

.blog-empty {
  border: 1px dashed #b9c7d8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 32px 20px;
  text-align: center;
}

.blog-empty p {
  margin: 6px 0 10px;
  color: var(--muted);
}

.blog-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  gap: 18px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 128px;
  padding: 16px 14px 16px 18px;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(31, 37, 45, 0.04);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease, background 170ms ease;
}

.blog-row[hidden] {
  display: none;
}

.blog-row::after {
  content: "›";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
  transition: transform 170ms ease, background 170ms ease, border-color 170ms ease;
}

.blog-row:hover {
  text-decoration: none;
  transform: translateY(-2px);
  border-color: #b6c7dc;
  background: #fbfdff;
  box-shadow: var(--shadow);
}

.blog-row:hover::after {
  transform: translateX(2px);
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.blog-row-main {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.blog-row-main strong {
  color: #0f1d2d;
  font-size: 17px;
  line-height: 1.35;
  transition: color 170ms ease;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.blog-row:hover .blog-row-main strong {
  color: var(--blue);
}

.blog-row-main span {
  color: #5a6674;
  font-size: 14px;
  line-height: 1.45;
}

.blog-row-main .blog-row-subtitle {
  color: #536174;
  font-size: 13px;
  font-weight: 650;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.blog-row-main .blog-row-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-row-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 230px;
}

.blog-row-meta span,
.blog-row-meta time {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: #455365;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.3;
  padding: 4px 8px;
  white-space: nowrap;
}

.blog-breadcrumb {
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.blog-breadcrumb a {
  color: var(--blue);
}

.blog-post .page-title {
  overflow-wrap: anywhere;
}

.blog-post .blog-shell {
  grid-template-columns: 240px minmax(0, 820px);
  gap: 40px;
  justify-content: center;
}

.post-subtitle {
  margin: -10px 0 8px;
  color: #4e5d6e;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
}

.blog-post [data-post-meta] {
  color: var(--muted);
  font-size: 14px;
}

.article-toc {
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  border-left: 2px solid var(--line);
  padding: 2px 8px 8px 14px;
  scrollbar-width: thin;
}

.article-toc > strong {
  display: block;
  margin: 12px 0 8px;
  color: #263444;
  font-size: 13px;
}

.toc-back {
  display: inline-flex;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.toc-links {
  display: grid;
  gap: 1px;
}

.toc-link {
  display: block;
  border-left: 2px solid transparent;
  border-radius: 0 5px 5px 0;
  color: #5d6a79;
  font-size: 12px;
  line-height: 1.4;
  padding: 5px 7px;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.toc-link:hover,
.toc-link.active {
  border-left-color: var(--blue);
  background: #edf4fc;
  color: var(--blue-dark);
}

.toc-level-3 {
  padding-left: 18px;
  font-size: 11px;
}

.mobile-toc {
  display: none;
}

.markdown-body h2,
.markdown-body h3 {
  scroll-margin-top: 88px;
}

.reading-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 18;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #c8d5e4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 28px rgba(31, 37, 45, 0.16);
  color: var(--blue);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 150ms ease, transform 150ms ease, border-color 150ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--blue);
}

.back-to-top span {
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(3px) rotate(45deg);
}

.figure-zoom {
  position: relative;
  width: 100%;
  display: block;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  padding: 0;
}

.figure-zoom:focus-visible {
  outline-offset: -4px;
}

.image-lightbox {
  width: min(96vw, 1440px);
  max-width: none;
  max-height: 94vh;
  overflow: hidden;
  border: 1px solid #c8d5e4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(15, 29, 45, 0.36);
  padding: 0;
}

.image-lightbox::backdrop {
  background: rgba(15, 23, 36, 0.72);
  backdrop-filter: blur(3px);
}

.lightbox-toolbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 7px 9px 7px 15px;
}

.lightbox-toolbar > span {
  overflow: hidden;
  color: #465466;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-toolbar button {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #405064;
  cursor: pointer;
  font: inherit;
  font-size: 23px;
  line-height: 1;
}

.lightbox-toolbar button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.lightbox-stage {
  max-width: 100%;
  max-height: calc(94vh - 49px);
  overflow: auto;
  background: #eef3f8;
  padding: 16px;
}

.lightbox-stage img {
  width: auto;
  height: auto;
  max-width: calc(96vw - 34px);
  max-height: calc(94vh - 82px);
  display: block;
  margin: 0 auto;
  background: #fff;
}

.dialog-open {
  overflow: hidden;
}

.code-block {
  position: relative;
  margin: 20px 0;
}

.code-block pre {
  margin: 0;
  padding-top: 42px;
}

.code-language {
  position: absolute;
  top: 11px;
  left: 14px;
  z-index: 1;
  color: #aebed1;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
}

.code-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 30px;
  height: 30px;
  border: 1px solid #46566c;
  border-radius: 6px;
  background: #172235;
  color: #cbd6e4;
  cursor: pointer;
}

.code-copy:hover,
.code-copy.copied {
  border-color: #8cb6e8;
  color: #fff;
}

.code-copy span,
.code-copy span::after {
  position: absolute;
  width: 9px;
  height: 10px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  content: "";
}

.code-copy span {
  top: 8px;
  left: 8px;
}

.code-copy span::after {
  top: 3px;
  left: 3px;
  background: #172235;
}

.markdown-table-wrap {
  box-shadow: inset -12px 0 12px -14px rgba(31, 37, 45, 0.52);
}

.article-skeleton {
  display: grid;
  gap: 14px;
  padding-top: 8px;
}

.article-skeleton span {
  height: 15px;
  border-radius: 5px;
  background: linear-gradient(90deg, #e8eef5 25%, #f7f9fc 50%, #e8eef5 75%);
  background-size: 220% 100%;
  animation: skeleton-loading 1.4s ease-in-out infinite;
}

.article-skeleton span:nth-child(1),
.article-skeleton span:nth-child(4) {
  width: 72%;
}

.article-skeleton span:nth-child(3) {
  width: 88%;
}

@keyframes skeleton-loading {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.article-error {
  border: 1px solid #e2c1c5;
  border-radius: 8px;
  background: #fff7f7;
  padding: 22px;
}

.article-error p {
  margin: 6px 0 14px;
}

.article-error div {
  display: flex;
  gap: 10px;
}

.article-error button,
.article-error a {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 11px;
}

.article-footer-nav {
  max-width: 820px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.article-sequence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.article-sequence > a,
.related-posts a {
  min-width: 0;
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 13px;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.article-sequence > a:hover,
.related-posts a:hover {
  border-color: #b6c7dc;
  box-shadow: 0 10px 26px rgba(31, 37, 45, 0.09);
  text-decoration: none;
  transform: translateY(-1px);
}

.article-sequence span,
.related-posts a > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
}

.article-sequence strong,
.related-posts strong {
  overflow: hidden;
  color: #1b2b3c;
  font-size: 13px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-sequence small,
.related-posts small {
  color: var(--muted);
  font-size: 11px;
}

.related-posts {
  margin-top: 28px;
}

.related-posts h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.related-posts > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.markdown-body {
  max-width: 820px;
}

.markdown-body h2,
.markdown-body h3,
.markdown-body h4 {
  margin: 30px 0 10px;
  line-height: 1.25;
}

.markdown-body p,
.markdown-body li {
  color: #3f4b59;
}

.markdown-body ul,
.markdown-body ol {
  padding-left: 22px;
}

.markdown-body blockquote {
  margin: 18px 0;
  border-left: 4px solid #7294bb;
  background: #f5f8fc;
  color: #34485e;
  line-height: 1.7;
  padding: 12px 16px;
}

.markdown-table-wrap {
  width: 100%;
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.markdown-body table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}

.markdown-body th,
.markdown-body td {
  border-bottom: 1px solid var(--line);
  color: #3f4b59;
  line-height: 1.45;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.markdown-body th {
  background: #f3f6f9;
  color: #213346;
  font-weight: 750;
  white-space: nowrap;
}

.markdown-body tbody tr:last-child td {
  border-bottom: 0;
}

.markdown-body figure {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(31, 37, 45, 0.06);
}

.markdown-body figure img {
  display: block;
  width: 100%;
  height: auto;
  background: #f8fbff;
}

.markdown-body figcaption {
  border-top: 1px solid var(--line);
  color: #5d6876;
  background: #f8fbff;
  font-size: 13px;
  line-height: 1.5;
  padding: 9px 12px;
}

.markdown-body pre {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0f1724;
  color: #f7faff;
  padding: 14px;
}

.markdown-body code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.redirect-page {
  max-width: 720px;
  margin: 10vh auto;
  padding: 24px;
}

.edu-grid {
  display: grid;
  gap: 14px;
}

.edu-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 16px;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.edu-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #b6c7dc;
}

.edu-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.edu-card h3 {
  margin: 0 0 4px;
}

.edu-card p {
  margin: 0;
  color: #4c5867;
}

.tag.prestige {
  color: #8f3a1c;
  border-color: #f0c8b8;
  background: #fff3ee;
  font-weight: 780;
}

.cv-list {
  display: grid;
  gap: 12px;
}

.cv-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 14px;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.section-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cv-page .section-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.cv-list article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #b6c7dc;
}

.cv-list.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cv-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f9fd;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  padding: 9px;
}

.cv-list strong {
  color: #101d2d;
}

.cv-list p {
  margin: 4px 0 0;
  color: #4b5662;
}

.skill-cloud {
  margin-top: 0;
}

.award-list {
  display: grid;
  gap: 10px;
}

.award-list article {
  display: grid;
  grid-template-columns: 42px minmax(180px, 240px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 13px;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.award-list article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #b6c7dc;
}

.award-list strong {
  color: #101d2d;
  line-height: 1.35;
}

.award-list ol {
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.award-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  border-bottom: 1px solid var(--line);
  color: #465260;
  font-size: 13px;
  line-height: 1.45;
  padding: 7px 0;
}

.award-list li:last-child {
  border-bottom: 0;
}

.award-list li span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #c9d8ea;
  border-radius: 50%;
  background: #f4f8fd;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
}

.compact-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-meta dd span {
  display: block;
  color: var(--muted);
}

.skill-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.skill-groups section {
  padding: 15px 18px 16px 0;
  border-bottom: 1px solid var(--line);
}

.skill-groups section:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.skill-groups section:nth-child(even) {
  padding-left: 18px;
}

.skill-groups h3 {
  margin: 0;
  color: #2f3d50;
  font-size: 14px;
}

.skill-groups .tag-row {
  margin-top: 8px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #526070;
  font-size: 12px;
  padding: 2px 7px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  margin: 0;
  padding: 12px 0 12px 24px;
  border-left: 2px solid var(--line);
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  left: -5.5px;
  top: 20px;
  border-radius: 50%;
  background: var(--blue);
}

.page-title {
  margin: 0 0 20px;
  font-size: 38px;
  line-height: 1.12;
}

.lead {
  color: #465260;
  font-size: 18px;
  margin: 0 0 24px;
}

.footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
  background: #fff;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before {
    transition: none !important;
    scroll-behavior: auto !important;
    animation: none !important;
  }
}

@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sidebar {
    position: static;
  }

  .publications-page .sidebar,
  .cv-page .sidebar {
    display: none;
  }

  .home-page .profile-card {
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
    padding: 14px 16px;
  }

  .home-page .avatar {
    width: 80px;
    height: 80px;
  }

  .home-page .profile-focus {
    display: none;
  }

  .home-page .profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 8px;
  }

  .home-page .profile-links li {
    display: block;
  }

  .home-page .profile-links .profile-email {
    display: none;
  }

  .profile-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .avatar {
    width: 112px;
    height: 112px;
  }

  .name {
    margin-top: 0;
  }

  .project-entry {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .blog-index .blog-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .blog-index .blog-author {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    padding: 12px 16px;
  }

  .blog-index .blog-author .avatar {
    width: 72px;
    height: 72px;
  }

  .blog-index .blog-author .name {
    margin: 0 0 2px;
  }

  .blog-index .blog-author .bio {
    margin: 0;
  }

  .blog-post .sidebar {
    display: none;
  }

  .blog-post .blog-shell {
    grid-template-columns: minmax(0, 820px);
  }

  .mobile-toc {
    display: block;
    margin: 0 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
  }

  .mobile-toc summary {
    cursor: pointer;
    color: #344457;
    font-size: 13px;
    font-weight: 750;
    list-style: none;
    padding: 10px 12px;
  }

  .mobile-toc summary::-webkit-details-marker {
    display: none;
  }

  .mobile-toc summary::after {
    content: "+";
    float: right;
    color: var(--blue);
    font-size: 18px;
    line-height: 1;
  }

  .mobile-toc[open] summary::after {
    content: "−";
  }

  .mobile-toc summary span {
    margin-left: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
  }

  .mobile-toc nav {
    max-height: 52vh;
    overflow-y: auto;
    border-top: 1px solid var(--line);
    padding: 7px;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: 66px;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    padding: 8px 12px;
  }

  .brand {
    display: grid;
    gap: 0;
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.15;
  }

  .brand small {
    font-size: 11px;
  }

  .links {
    margin-left: auto;
    gap: 1px;
    flex-wrap: nowrap;
    font-size: 12px;
  }

  .links a {
    padding: 6px 5px;
  }

  .shell {
    padding: 24px 16px 52px;
  }

  .home-page .shell,
  .publications-page .shell,
  .projects-page .shell,
  .cv-page .shell {
    padding-top: 14px;
  }

  .home-page .shell {
    gap: 14px;
  }

  .home-page .profile-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 12px;
  }

  .home-page .avatar {
    width: 64px;
    height: 64px;
  }

  .home-page .name {
    margin: 0 0 1px;
    font-size: 18px;
  }

  .home-page .cn-name {
    font-size: 12px;
  }

  .home-page .bio {
    margin: 3px 0 0;
    font-size: 12px;
    line-height: 1.35;
  }

  .home-page .profile-links {
    gap: 8px;
    margin-top: 7px;
    font-size: 0;
  }

  .home-page .profile-links a {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
  }

  .home-page .profile-links a span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .home-page .profile-links .ui-icon {
    width: 15px;
    height: 15px;
  }

  .home-page .hero {
    padding-top: 0;
  }

  .home-page .hero-intro {
    font-size: 16px;
    line-height: 1.55;
  }

  .home-page .motto-quote {
    margin: 12px 0 14px;
  }

  .home-page .motto-quote p {
    font-size: 15px;
  }

  .interest-list {
    grid-template-columns: 1fr;
  }

  .blog-index .blog-shell,
  .blog-post .shell {
    padding-top: 14px;
  }

  .blog-index .blog-shell {
    gap: 14px;
  }

  .blog-index .blog-author {
    min-height: 64px;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 11px;
    padding: 7px 10px;
  }

  .blog-index .blog-author .avatar {
    width: 48px;
    height: 48px;
  }

  .blog-index .blog-author .name {
    font-size: 15px;
    line-height: 1.2;
  }

  .blog-index .blog-author .name span {
    font-size: 12px;
  }

  .blog-index .blog-author .bio {
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .blog-index .page-title {
    margin-bottom: 4px;
    font-size: 30px;
  }

  .blog-index .lead {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.45;
  }

  .blog-search {
    margin-bottom: 9px;
  }

  .blog-filter {
    margin: 0 -16px 8px;
    padding: 1px 16px 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .blog-filter::-webkit-scrollbar {
    display: none;
  }

  .blog-filter button {
    flex: 0 0 auto;
    padding: 7px 9px;
  }

  .blog-results-bar {
    min-height: 22px;
    margin-bottom: 6px;
  }

  .cta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button {
    width: 100%;
  }

  .profile-card,
  .paper {
    display: block;
  }

  .paper-with-thumb {
    display: block;
  }

  .paper-thumb {
    margin-bottom: 12px;
    height: 240px;
  }

  .publications-page .lead {
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.5;
  }

  .publication-tools {
    display: block;
    margin-bottom: 10px;
  }

  .publication-filter {
    margin: 0 -16px 6px;
    padding: 1px 16px 7px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .publication-filter::-webkit-scrollbar {
    display: none;
  }

  .publication-filter button {
    flex: 0 0 auto;
  }

  .publications-page .paper {
    padding: 15px;
  }

  .publications-page .meta,
  .publications-page .paper > div:last-child > p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
  }

  .publications-page .meta {
    -webkit-line-clamp: 2;
  }

  .publications-page .paper > div:last-child > p {
    -webkit-line-clamp: 2;
  }

  .publications-page .paper-symbol {
    display: none;
  }

  .publications-page .ccf-paper {
    padding-top: 24px;
  }

  .project-entry {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 18px;
  }

  .project-media {
    aspect-ratio: 16 / 10;
  }

  .project-copy h2 {
    font-size: 20px;
  }

  .project-facts {
    display: grid;
    gap: 5px;
  }

  .paper-status {
    max-width: calc(100% - 78px);
  }

  .paper-symbol {
    margin-bottom: 12px;
  }

  .grid,
  .project-grid,
  .note-grid,
  .research-brief {
    grid-template-columns: 1fr;
  }

  .blog-row {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: 184px;
    padding: 15px;
  }

  .blog-row::after {
    display: none;
  }

  .blog-row-meta {
    justify-content: flex-start;
    max-width: none;
  }

  .blog-row-main .blog-row-summary {
    -webkit-line-clamp: 3;
  }

  .blog-row-tag-2 {
    display: none !important;
  }

  .blog-post .page-title {
    margin-bottom: 10px;
    font-size: 29px;
    line-height: 1.16;
  }

  .blog-post .lead {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.45;
  }

  .blog-post .blog-breadcrumb {
    margin-bottom: 10px;
  }

  .post-subtitle {
    margin-top: -4px;
    font-size: 14px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .lightbox-stage img.complex-svg {
    width: auto;
    min-width: 720px;
    max-width: none;
    max-height: none;
  }

  .lightbox-stage img.document-preview {
    width: auto;
    min-width: 720px;
    max-width: none;
    max-height: none;
  }

  .article-sequence,
  .related-posts > div {
    grid-template-columns: 1fr;
  }

  .article-nav-empty {
    display: none;
  }

  .edu-card,
  .cv-list article {
    grid-template-columns: 1fr;
  }

  .award-list article {
    grid-template-columns: 1fr;
  }

  .award-list article > strong {
    margin-top: -4px;
  }

  .service-card,
  .service-meta {
    grid-template-columns: 1fr;
  }

  .service-logo {
    min-height: 104px;
  }

  .cv-list.compact {
    grid-template-columns: 1fr;
  }

  .skill-groups {
    grid-template-columns: 1fr;
  }

  .skill-groups section,
  .skill-groups section:nth-child(even) {
    padding: 13px 0;
    border-right: 0;
  }
}

/* Editorial inner pages -------------------------------------------------- */

:root {
  --editorial-black: #07080b;
  --editorial-black-soft: #0d0f14;
  --editorial-paper: #efeee8;
  --editorial-paper-soft: #f7f6f1;
  --editorial-ink: #171a17;
  --editorial-muted: #626a64;
  --editorial-line: #cbc9c0;
  --editorial-accent: #79cdb6;
  --editorial-accent-dark: #1d6b5d;
  --editorial-warm: #a64e3d;
}

body:not(.home-page) {
  background: var(--editorial-paper);
  color: var(--editorial-ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

body:not(.home-page) a {
  color: var(--editorial-accent-dark);
}

body:not(.home-page) a:hover {
  color: #104f44;
}

body:not(.home-page) a:focus-visible,
body:not(.home-page) button:focus-visible,
body:not(.home-page) input:focus-visible,
body:not(.home-page) summary:focus-visible,
body:not(.home-page) [tabindex]:focus-visible {
  outline-color: var(--editorial-accent);
}

body:not(.home-page) .masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 66px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 8, 11, 0.92);
  backdrop-filter: blur(18px);
}

body:not(.home-page) .nav {
  min-height: 66px;
  padding-top: 0;
  padding-bottom: 0;
}

body:not(.home-page) .brand {
  color: #fff;
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

body:not(.home-page) .brand small {
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
}

body:not(.home-page) .links {
  gap: 30px;
  font-size: 13px;
}

body:not(.home-page) .links a {
  position: relative;
  border: 0;
  border-radius: 0;
  padding: 22px 0 20px;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.66);
  transform: none;
}

body:not(.home-page) .links a::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 1px;
  background: var(--editorial-accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 150ms ease, transform 180ms ease;
}

body:not(.home-page) .links a:hover,
body:not(.home-page) .links a.active {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  transform: none;
}

body:not(.home-page) .links a:hover::after,
body:not(.home-page) .links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.publications-page .shell,
.projects-page .shell,
.blog-index .shell,
.cv-page .shell {
  display: block;
  width: 100%;
  max-width: none;
  padding: 0 28px 120px;
}

.publications-page .content,
.projects-page .content,
.blog-index .content,
.cv-page .content {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.publications-page .sidebar,
.cv-page .sidebar,
.blog-index .sidebar {
  display: none;
}

.inner-hero {
  position: relative;
  display: flex;
  min-height: 310px;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding: 72px max(28px, calc((100vw - 1040px) / 2)) 78px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background-color: var(--editorial-black);
  background-image: url("/images/home/research-orbit-poster.webp");
  background-position: center 46%;
  background-size: cover;
  background-blend-mode: soft-light;
  color: #fff;
}

.inner-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(121, 205, 182, 0.55);
  content: "";
}

.inner-kicker {
  margin: 0 0 12px;
  color: var(--editorial-accent);
  font-size: 12px;
  font-weight: 600;
}

body:not(.home-page) .inner-hero .page-title {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

body:not(.home-page) .inner-hero .lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

body:not(.home-page) .section {
  margin-top: 78px;
}

body:not(.home-page) .section-head {
  margin-bottom: 24px;
  border-top: 0;
  border-bottom: 1px solid var(--editorial-line);
  padding: 0 0 14px;
}

body:not(.home-page) .section-head h2 {
  color: var(--editorial-ink);
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
}

body:not(.home-page) .footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  background: var(--editorial-black);
  color: rgba(255, 255, 255, 0.5);
  padding-top: 34px;
  padding-bottom: 34px;
}

/* Publications */

.publications-page .publication-tools {
  margin: 52px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--editorial-line);
}

.publications-page .publication-filter {
  gap: 22px;
}

.publications-page .publication-filter button {
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #666d67;
  padding: 5px 0;
}

.publications-page .publication-filter button:hover,
.publications-page .publication-filter button.active {
  border-color: var(--editorial-accent-dark);
  background: transparent;
  color: var(--editorial-accent-dark);
}

.publications-page .cards {
  gap: 0;
}

.publications-page .paper,
.publications-page .paper-with-thumb {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
  border: 0;
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 34px 0;
  overflow: visible;
  transform: none;
}

.publications-page .paper::before {
  display: none;
}

.publications-page .paper:hover {
  border-color: #adafa8;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  transform: none;
}

.publications-page .paper-symbol {
  display: none;
}

.publications-page .paper-thumb {
  grid-column: 1;
  width: 150px;
  height: 194px;
  border-color: #d8d5cb;
  border-radius: 3px;
  box-shadow: 0 14px 30px rgba(23, 26, 23, 0.08);
}

.publications-page .paper > div:last-child {
  grid-column: 2;
}

.publications-page .paper-status {
  max-width: calc(100% - 96px);
  margin-bottom: 9px;
}

.publications-page .venue,
.publications-page .role-badge,
.publications-page .status-badge {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.publications-page .venue {
  margin: 0;
  color: var(--editorial-accent-dark);
  font-size: 11px;
}

.publications-page .venue.hot,
.publications-page .venue.green,
.publications-page .venue.violet,
.publications-page .venue.gray {
  border: 0;
  background: transparent;
  color: var(--editorial-accent-dark);
}

.publications-page .role-badge,
.publications-page .status-badge {
  color: #747a75;
  font-size: 11px;
}

.publications-page .paper h3 {
  max-width: 760px;
  margin-bottom: 9px;
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.16;
}

.publications-page .paper h3 a {
  color: var(--editorial-ink);
}

.publications-page .paper h3 a:hover {
  color: var(--editorial-accent-dark);
}

.publications-page .meta,
.publications-page .paper p {
  color: #626963;
  font-size: 12px;
  line-height: 1.6;
}

.publications-page .me {
  border-radius: 0;
  background: transparent;
  color: var(--editorial-accent-dark);
  padding: 0;
}

.publications-page .corner-badge {
  top: 34px;
  right: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--editorial-warm);
  padding: 0;
}

body:not(.home-page) .actions {
  gap: 10px 18px;
}

body:not(.home-page) .action {
  border: 0;
  border-bottom: 1px solid #9c9f99;
  border-radius: 0;
  background: transparent;
  color: #39413c;
  padding: 0 0 2px;
  font-size: 11px;
  font-weight: 600;
}

body:not(.home-page) .action:hover {
  border-color: var(--editorial-accent-dark);
  background: transparent;
  color: var(--editorial-accent-dark);
}

/* Projects */

.projects-page .project-showcase {
  gap: 0;
  margin-top: 22px;
}

.projects-page .project-entry {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  padding: 72px 0;
  border-top-color: var(--editorial-line);
}

.projects-page .project-entry:nth-child(even) .project-media {
  order: 2;
}

.projects-page .project-media {
  border-color: #d1cfc7;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(23, 26, 23, 0.08);
}

.projects-page .project-kicker {
  color: var(--editorial-accent-dark);
  font-size: 11px;
  text-transform: none;
}

.projects-page .project-copy h2 {
  margin: 8px 0 18px;
  color: var(--editorial-ink);
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
}

.projects-page .project-copy p {
  color: #555d57;
  font-size: 14px;
  line-height: 1.72;
}

.projects-page .project-copy strong,
.projects-page .project-facts dt {
  color: #222924;
}

.projects-page .project-facts {
  display: grid;
  gap: 4px;
  margin: 18px 0;
}

.projects-page .project-facts div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  padding-top: 7px;
  border-top: 1px solid #d9d7cf;
}

.projects-page .tag-row,
.cv-page .tag-row {
  gap: 6px 16px;
}

.projects-page .tag,
.cv-page .tag {
  border: 0;
  border-bottom: 1px solid #bfc2bb;
  border-radius: 0;
  background: transparent;
  color: #626963;
  padding: 2px 0;
  font-size: 11px;
}

/* CV */

.cv-page .section:first-of-type {
  margin-top: 64px;
}

.cv-page .section-icon {
  width: 20px;
  height: 20px;
  stroke: var(--editorial-accent-dark);
}

.cv-page .edu-grid {
  gap: 0;
  border-top: 1px solid var(--editorial-line);
}

.cv-page .edu-card {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 24px;
  border: 0;
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  padding: 26px 0;
  box-shadow: none;
  transform: none;
}

.cv-page .edu-card:hover {
  border-color: var(--editorial-line);
  box-shadow: none;
  transform: none;
}

.cv-page .edu-card h3 {
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
}

.cv-page .edu-card p {
  color: #5c645e;
  font-size: 13px;
}

.cv-page .tag.prestige {
  border-color: var(--editorial-warm);
  background: transparent;
  color: var(--editorial-warm);
}

.cv-page .cv-list {
  gap: 0;
  border-top: 1px solid var(--editorial-line);
}

.cv-page .cv-list article {
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 18px;
  border: 0;
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  padding: 22px 0;
  box-shadow: none;
  transform: none;
}

.cv-page .cv-list article:hover {
  border-color: var(--editorial-line);
  box-shadow: none;
  transform: none;
}

.cv-page .cv-icon {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  stroke: var(--editorial-accent-dark);
  padding: 4px;
}

.cv-page .cv-list strong,
.cv-page .cv-list strong a {
  color: var(--editorial-ink);
}

.cv-page .cv-list strong a:hover {
  color: var(--editorial-accent-dark);
}

.cv-page .cv-list p {
  color: #59615b;
  font-size: 13px;
  line-height: 1.65;
}

.cv-page .award-list {
  gap: 0;
  border-top: 1px solid var(--editorial-line);
}

.cv-page .award-list article {
  grid-template-columns: 34px minmax(190px, 250px) minmax(0, 1fr);
  gap: 18px;
  border: 0;
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  padding: 24px 0;
  box-shadow: none;
  transform: none;
}

.cv-page .award-list article:hover {
  border-color: var(--editorial-line);
  box-shadow: none;
  transform: none;
}

.cv-page .award-list li {
  border-bottom-color: #dad8d0;
  color: #555d57;
}

.cv-page .award-list li span {
  width: 20px;
  height: 20px;
  border-color: #b9beb8;
  background: transparent;
  color: var(--editorial-accent-dark);
}

.cv-page .service-card {
  border: 0;
  border-top: 1px solid var(--editorial-line);
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cv-page .service-card::before {
  display: none;
}

.cv-page .service-card:hover {
  border-color: var(--editorial-line);
  box-shadow: none;
  transform: none;
}

.cv-page .service-meta div {
  border-color: #d5d3cb;
  background: rgba(255, 255, 255, 0.24);
}

.cv-page .skill-groups {
  border-top-color: var(--editorial-line);
}

.cv-page .skill-groups section {
  border-color: var(--editorial-line);
  background: transparent;
}

.cv-page .skill-groups h3 {
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

/* Blog index */

.blog-index .blog-shell {
  display: block;
}

.blog-index .blog-search {
  margin: 52px 0 12px;
}

.blog-index .blog-search input {
  border: 0;
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.32);
  color: var(--editorial-ink);
}

.blog-index .blog-search input:focus {
  border-color: var(--editorial-accent-dark);
  box-shadow: 0 2px 0 rgba(29, 107, 93, 0.12);
}

.blog-index .blog-filter {
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  border-bottom: 1px solid var(--editorial-line);
  scrollbar-width: none;
}

.blog-index .blog-filter::-webkit-scrollbar {
  display: none;
}

.blog-index .blog-filter button {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #666d67;
  padding: 8px 0 11px;
  transform: none;
}

.blog-index .blog-filter button:hover,
.blog-index .blog-filter button.active {
  border-color: var(--editorial-accent-dark);
  background: transparent;
  color: var(--editorial-accent-dark);
  transform: none;
}

.blog-index .blog-list {
  gap: 0;
  border-top: 1px solid var(--editorial-line);
}

.blog-index .blog-row {
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto);
  gap: 30px;
  min-height: 142px;
  border: 0;
  border-bottom: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 24px 2px;
  transform: none;
}

.blog-index .blog-row::after {
  display: none;
}

.blog-index .blog-row:hover {
  border-color: #adafa8;
  background: rgba(255, 255, 255, 0.26);
  box-shadow: none;
  transform: none;
}

.blog-index .blog-row-main strong {
  color: var(--editorial-ink);
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", "Songti SC", Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
}

.blog-index .blog-row:hover .blog-row-main strong {
  color: var(--editorial-accent-dark);
}

.blog-index .blog-row-main .blog-row-summary,
.blog-index .blog-row-main .blog-row-subtitle {
  color: #626963;
  font-size: 12px;
}

.blog-index .blog-row-meta span,
.blog-index .blog-row-meta time {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #69706a;
  padding: 0;
  font-size: 11px;
}

.blog-index .blog-row-category {
  color: var(--editorial-accent-dark) !important;
}

/* Blog articles */

.blog-post .blog-shell {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1120px;
  padding-top: 0;
  padding-bottom: 120px;
}

.blog-post .blog-shell::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: var(--article-hero-height, 430px);
  background-color: var(--editorial-black);
  background-image: url("/images/home/research-orbit-poster.webp");
  background-position: center 46%;
  background-size: cover;
  background-blend-mode: soft-light;
  content: "";
  transform: translateX(-50%);
}

.blog-post .inner-hero {
  min-height: 430px;
  margin: 0;
  padding: 66px 0 72px;
  background: transparent;
}

.blog-post .inner-hero::after {
  display: none;
}

.blog-post .inner-hero .blog-breadcrumb {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.52);
}

.blog-post .inner-hero .blog-breadcrumb a {
  color: var(--editorial-accent);
}

.blog-post .inner-hero .page-title {
  max-width: 820px;
  font-size: 53px;
  line-height: 1.06;
}

.blog-post .inner-hero .post-subtitle {
  max-width: 760px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
}

.blog-post .inner-hero [data-post-meta] {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.blog-post .sidebar {
  top: 92px;
  padding-top: 64px;
}

.blog-post .article-toc {
  max-height: calc(100vh - 130px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 4px;
  background: rgba(13, 15, 20, 0.94);
  padding: 15px 12px;
}

.blog-post .article-toc > strong {
  color: rgba(255, 255, 255, 0.78);
}

.blog-post .toc-back {
  color: var(--editorial-accent);
}

.blog-post .toc-link {
  color: rgba(255, 255, 255, 0.52);
}

.blog-post .toc-link:hover,
.blog-post .toc-link.active {
  border-left-color: var(--editorial-accent);
  background: rgba(121, 205, 182, 0.1);
  color: var(--editorial-accent);
}

.blog-post .markdown-body {
  padding-top: 62px;
}

.blog-post .markdown-body h2,
.blog-post .markdown-body h3,
.blog-post .markdown-body h4,
.blog-post .related-posts h2 {
  color: var(--editorial-ink);
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", "Noto Serif SC", "Songti SC", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.blog-post .markdown-body h2 {
  margin-top: 54px;
  padding-top: 18px;
  border-top: 1px solid var(--editorial-line);
  font-size: 34px;
}

.blog-post .markdown-body h3 {
  font-size: 25px;
}

.blog-post .markdown-body p,
.blog-post .markdown-body li {
  color: #414843;
  line-height: 1.82;
}

.blog-post .markdown-body blockquote {
  border-left-color: var(--editorial-accent-dark);
  background: rgba(255, 255, 255, 0.35);
  color: #33423b;
}

.blog-post .markdown-body figure {
  border-color: var(--editorial-line);
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(23, 26, 23, 0.06);
}

.blog-post .markdown-body figcaption {
  border-color: var(--editorial-line);
  background: var(--editorial-paper-soft);
}

.blog-post .markdown-table-wrap {
  border-color: var(--editorial-line);
  border-radius: 4px;
}

.blog-post .markdown-body th {
  background: #e5e4dd;
  color: #29302b;
}

.blog-post .article-footer-nav {
  border-color: var(--editorial-line);
}

.blog-post .article-sequence > a,
.blog-post .related-posts a {
  border: 0;
  border-top: 1px solid var(--editorial-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 14px 2px;
  transform: none;
}

.blog-post .article-sequence > a:hover,
.blog-post .related-posts a:hover {
  border-color: var(--editorial-accent-dark);
  box-shadow: none;
  transform: none;
}

.blog-post .reading-progress span {
  background: var(--editorial-accent);
}

.blog-post .back-to-top {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(7, 8, 11, 0.92);
  color: var(--editorial-accent);
}

@media (max-width: 900px) {
  .blog-post .blog-shell {
    display: block;
    max-width: 860px;
  }

  .blog-post .sidebar {
    display: none;
  }

  .blog-post .mobile-toc {
    order: 3;
    margin: 20px 0 0;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(7, 8, 11, 0.58);
  }

  .blog-post .mobile-toc summary {
    color: rgba(255, 255, 255, 0.78);
  }

  .blog-post .mobile-toc summary::after {
    color: var(--editorial-accent);
  }

  .blog-post .mobile-toc nav {
    border-color: rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 680px) {
  body:not(.home-page) .masthead,
  body:not(.home-page) .nav {
    min-height: 64px;
  }

  body:not(.home-page) .nav {
    padding: 0 14px;
  }

  body:not(.home-page) .brand {
    display: block;
    font-size: 21px;
  }

  body:not(.home-page) .brand small {
    display: none;
  }

  body:not(.home-page) .links {
    gap: 12px;
    font-size: 11px;
  }

  body:not(.home-page) .links a {
    padding: 21px 0 19px;
  }

  body:not(.home-page) .links a::after {
    bottom: 12px;
  }

  .publications-page .shell,
  .projects-page .shell,
  .blog-index .shell,
  .cv-page .shell,
  .blog-post .blog-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .inner-hero {
    min-height: 270px;
    padding: 54px 18px 58px;
    background-position: 58% 42%;
  }

  body:not(.home-page) .inner-hero .page-title {
    font-size: 43px;
    line-height: 1;
  }

  body:not(.home-page) .inner-hero .lead {
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.55;
  }

  .publications-page .publication-tools,
  .blog-index .blog-search {
    margin-top: 34px;
  }

  .publications-page .publication-filter,
  .blog-index .blog-filter {
    margin-right: -18px;
    margin-left: -18px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .publications-page .paper,
  .publications-page .paper-with-thumb {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    padding: 26px 0;
  }

  .publications-page .paper-thumb {
    width: 92px;
    height: 126px;
    margin: 0;
  }

  .publications-page .paper h3 {
    font-size: 22px;
  }

  .publications-page .paper-status {
    max-width: none;
    padding-right: 62px;
  }

  .publications-page .corner-badge {
    top: 29px;
  }

  .publications-page .meta,
  .publications-page .paper p {
    -webkit-line-clamp: 3;
  }

  .projects-page .project-entry {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 48px 0;
  }

  .projects-page .project-entry:nth-child(even) .project-media {
    order: 0;
  }

  .projects-page .project-copy h2 {
    font-size: 34px;
  }

  .cv-page .section {
    margin-top: 60px;
  }

  body:not(.home-page) .section-head h2 {
    font-size: 31px;
  }

  .cv-page .edu-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }

  .cv-page .edu-card img {
    width: 64px;
    height: 64px;
  }

  .cv-page .award-list article {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .cv-page .award-list article > ol {
    grid-column: 2;
  }

  .blog-index .blog-row {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 22px 0;
  }

  .blog-index .blog-row-main strong {
    font-size: 23px;
  }

  .blog-index .blog-row-meta {
    justify-content: flex-start;
    max-width: none;
  }

  .blog-post .inner-hero {
    min-height: 470px;
    padding: 42px 0 46px;
    justify-content: center;
  }

  .blog-post .inner-hero .blog-breadcrumb {
    margin-bottom: 20px;
  }

  .blog-post .inner-hero .page-title {
    font-size: 36px;
    line-height: 1.1;
  }

  .blog-post .mobile-toc {
    max-width: 100%;
  }

  .blog-post .markdown-body {
    padding-top: 42px;
  }

  .blog-post .markdown-body h2 {
    font-size: 29px;
  }
}
