@font-face {
  font-family: "Academic Brands";
  src: url("../fonts/fa-brands-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
:root {
  color-scheme: light;
  --background: #fcfbf8;
  --text: #2e3942;
  --muted: #647586;
  --blue: #0875c1;
  --blue-hover: #005898;
  --bright-blue: #008de8;
  --yellow: #ffd329;
  --line: #e4edf4;
  --tint: #f0f8ff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  border-top: 0;
  background: var(--background);
  color: var(--text);
  font: 15px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--blue-hover); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
::selection { background: #ffeb95; color: #173955; }
.academic-page { max-width: 1040px; margin: 0 auto; padding: 64px 32px 32px; }
.profile {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 0;
  margin-bottom: 40px;
  background: none;
  border: 0;
  border-radius: 0;
}
.profile-photo {
  flex-shrink: 0;
  width: 148px;
  height: 148px;
  object-fit: cover;
  border-radius: 50%;
  border: 0;
  outline: none;
  box-shadow: none;
}
.profile-info { min-width: 0; }
h1, h2, .paper-box-text > p:first-child { font-family: Georgia, serif; font-weight: 400; }
h1 {
  display: inline;
  margin: 0;
  color: var(--blue);
  font-size: 39px;
  line-height: 1.35;
  letter-spacing: -1.5px;
  background: none;
}
.profile-heading { margin-bottom: 17px; }
.profile-role { margin: 0 0 2px; color: #49677e; font-size: 14px; }
.profile-email { color: var(--muted); font-size: 14px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 20px; font-size: 13px; }
.profile-links a { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; }
.profile-links i { font-size: 20px; }
.brand-icon { font-family: "Academic Brands"; font-weight: 400; font-style: normal; line-height: 1; }
.icon-github::before { content: "\f09b"; }
.icon-linkedin::before { content: "\f08c"; }
.icon-instagram::before { content: "\f16d"; }
.icon-wechat::before { content: "\f1d7"; }
.academic-content { padding: 0; }
h2 { color: #203b50; margin: 56px 0 24px; font-size: 32px; line-height: 1.3; letter-spacing: -.6px; }
h2::after { content: ""; display: block; width: 26px; height: 3px; background: var(--yellow); border-radius: 4px; margin-top: 9px; }
.academic-content > h2:first-child { margin-top: 0; }
.academic-content h3 { margin: 32px 0 26px; padding: 0; border: 0; color: var(--blue); font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -.2px; }
.academic-content h3[id] { scroll-margin-top: 24px; }
p { margin: 0 0 16px; }
ul { padding-left: 22px; margin: 14px 0 20px; }
li { margin-bottom: 10px; }
li::marker { color: var(--blue); }
strong { font-weight: 600; }
.publication-note { color: var(--muted); font-size: 13px; margin-top: -6px; margin-bottom: 28px; }
.paper-box { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; padding: 0 0 26px; margin: 0 0 26px; border-bottom: 1px solid var(--line); }
.paper-box-image { min-width: 0; }
.paper-box-image > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.paper-box-image img { display: block; width: 100%; height: 200px; object-fit: contain; background: transparent; border: 0; border-radius: 0; order: -1; }
.paper-box-image .badge { display: none; }
.badge { color: #135d91; background: var(--tint); border-left: 3px solid var(--yellow); padding: 2px 9px; border-radius: 3px; font-size: 11px; line-height: 1.8; font-weight: 600; }
.paper-box-text { font-size: 14px; line-height: 1.75; color: var(--muted); }
.paper-box-text p { margin-bottom: 12px; }
.paper-box-text > p:first-child { font-size: 22px; line-height: 1.4; letter-spacing: normal; margin-bottom: 12px; }
.paper-box-text > p:first-child a { color: #183e5b; }
.paper-box-text > p:first-child a:hover { color: var(--blue); }
.paper-box-text strong { color: var(--text); }
.paper-box-text u { text-decoration: none; }
.paper-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: 13px; font-weight: 500; }
.education-list { list-style: none; padding: 0; }
.education-list li { display: flex; align-items: center; gap: 24px; padding: 20px 0; margin: 0; border-bottom: 1px solid var(--line); }
.education-list li:last-child { border-bottom: 0; }
.school-logo { width: 100px; height: 64px; object-fit: contain; flex-shrink: 0; }
.education-list strong { display: block; font-size: 15px; }
.education-list .degree { color: var(--muted); font-size: 14px; }
.academic-footer { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; text-align: center; color: var(--muted); font-size: 12px; }
.skip-link { position: absolute; left: 16px; top: -60px; padding: 8px 14px; background: var(--background); z-index: 1; }
.skip-link:focus { top: 8px; }
@media (max-width: 700px) {
  .academic-page { padding: 32px 22px; }
  .paper-box { grid-template-columns: 240px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 520px) {
  .profile { flex-direction: column; align-items: flex-start; text-align: left; gap: 22px; }
  .profile-links { justify-content: flex-start; }
  h1 { font-size: 36px; }
  .paper-box { grid-template-columns: 1fr; gap: 20px; }
  .paper-box-image { width: 100%; }
  .paper-box-image img { height: 250px; }
  .school-logo { width: 70px; height: 58px; }
  .education-list li { align-items: flex-start; gap: 16px; }
  .education-list strong { line-height: 1.6; }
  .education-list .degree { font-size: 13px; }
}
@media print {
  body { border-top: 0; }
  .skip-link { display: none; }
  .academic-page { max-width: none; padding: 0; }
  .profile { background: white; }
  .paper-box, .education-list li { break-inside: avoid; }
}
