/* Academic article layout, informed by friedrichyuan.github.io and al-folio.
   Scoped implementation for this site's existing Jekyll pages. */
:root{--text:#111;--muted:#666;--link:#0066cc;--rule:rgba(0,0,0,.1);--max-content-width:930px}
*{box-sizing:border-box}
html{scroll-padding-top:80px}
body{margin:0;padding-top:57px;background:#fff;color:var(--text);font-family:Roboto,Arial,sans-serif;font-size:17px;font-weight:400;line-height:1.5}
.container{width:100%;max-width:var(--max-content-width);margin-inline:auto;padding-inline:15px}
a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}a:focus-visible{outline:2px solid var(--link);outline-offset:4px}
strong{font-weight:700}p,ul{margin:0 0 16px}ul{padding-left:32px}li{margin-bottom:5px}
h1,h2,h3{font-family:inherit;font-weight:400;line-height:1.2;margin:0 0 12px}
h1{font-size:40px}h2{font-size:30px}h3{font-size:22px}
.site-header{position:fixed;inset:0 0 auto;z-index:10;background:rgba(255,255,255,.97);border-bottom:1px solid var(--rule)}
.nav{min-height:57px;display:flex;justify-content:flex-end;align-items:center;gap:20px;flex-wrap:wrap;padding-block:12px;font-weight:400;font-size:14px}.nav a{color:var(--text)}.nav a:hover{color:var(--link);text-decoration:none}
main{margin-top:48px;margin-bottom:48px}.post-header{margin-bottom:20px}.post-title strong{font-weight:700}

.contact{font-size:15px;margin-top:18px;margin-bottom:22px}.contact a{display:inline-flex;align-items:center;gap:5px;margin-inline:4px;vertical-align:middle}.contact svg{width:14px;height:14px;flex-shrink:0}.contact a:first-child{margin-left:0}
.section{margin-top:28px}.section-head{margin-bottom:12px}.section-head h2{margin-bottom:0}
#research h2{font-size:26px}#research{margin-top:24px;display:flow-root}.research-interests strong{font-weight:700}.research-interests li{margin-bottom:8px}
#education{clear:both;padding-top:4px}
.education-list{display:grid;gap:24px;margin-top:18px}
.education-entry{display:grid;grid-template-columns:170px minmax(0,1fr);gap:22px;align-items:start}
.date{font-size:15px;font-weight:400;padding-top:2px}.expected-date{display:block;color:var(--muted);font-size:13px;margin-top:3px}
.education-body{display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px;align-items:start}
.education-logo{width:64px;height:64px;object-fit:contain}
.education-logo--polyu{object-fit:cover;transform:scale(1.09)}
.education-details h3{font-size:17px;font-weight:700;margin-bottom:3px;line-height:1.5}
.education-details p{margin:0;font-size:17px}.education-advisors{padding-top:3px}
#services{margin-top:30px}.teaching-list{font-size:17px}.teaching-list li{margin-bottom:10px}#services h3{font-size:20px;font-weight:400;margin-top:20px;margin-bottom:12px}
/* Background treatment inspired by w-r-s/academic-homepage-template. */
.site-footer{position:relative;isolation:isolate;min-height:420px;display:flex;align-items:flex-end;padding:40px 0;background:#fff;color:#fff;font-size:12px;text-align:center;overflow:hidden}
.footer-landscape{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center 58%;-webkit-mask-image:linear-gradient(to bottom,transparent 0%,transparent 14%,rgba(0,0,0,.015) 23%,rgba(0,0,0,.065) 32%,rgba(0,0,0,.16) 42%,rgba(0,0,0,.32) 53%,rgba(0,0,0,.53) 65%,rgba(0,0,0,.74) 77%,rgba(0,0,0,.91) 89%,#000 100%);mask-image:linear-gradient(to bottom,transparent 0%,transparent 14%,rgba(0,0,0,.015) 23%,rgba(0,0,0,.065) 32%,rgba(0,0,0,.16) 42%,rgba(0,0,0,.32) 53%,rgba(0,0,0,.53) 65%,rgba(0,0,0,.74) 77%,rgba(0,0,0,.91) 89%,#000 100%)}
.site-footer .container{text-shadow:0 1px 4px #000}.site-footer a{color:inherit;text-decoration:underline;text-underline-offset:2px}
@media(max-width:640px){.site-footer{min-height:300px;padding-bottom:28px}.footer-landscape{object-position:55% center}}
.skip{position:fixed;top:-100px;left:16px;background:#fff;padding:8px;z-index:20}.skip:focus{top:10px}
@media(max-width:640px){body{padding-top:77px}.container{padding-inline:20px}.nav{gap:9px 17px;min-height:77px;justify-content:flex-start;font-size:14px}main{margin-top:28px;margin-bottom:32px}h1{font-size:34px}.post-header{margin-bottom:18px}h2{font-size:27px}#research h2{font-size:24px}.education-entry{grid-template-columns:1fr;gap:10px}.education-body{grid-template-columns:52px minmax(0,1fr);gap:14px}.education-logo{width:52px;height:52px}.expected-date{display:inline;margin-left:10px}.education-list{gap:24px}.section{margin-top:25px}.date{color:var(--muted)}ul{padding-left:23px}}
@media(max-width:380px){.nav{font-size:13px;gap:9px 14px}}
@media print{body{padding:0}.site-header,.site-footer,.skip{display:none}main{margin:0}.container{max-width:none}.section{break-inside:avoid}a{color:inherit}}

.post-title{display:flex;align-items:center;gap:10px}.site-logo{display:block;width:1em;height:1em;flex-shrink:0}.icon-credit{display:inline-block}
