/* Homepage-only theme; publication details retain their own stylesheet. */
:root { color-scheme: light; --ink: #24354b; --muted: #65758a; --blue: #175b91; --line: #e3eaf1; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { width: min(1080px, calc(100% - 48px)); margin: 104px auto 48px; background: #f3f6fa; color: var(--ink); font-size: 15px; line-height: 1.8; }
body, body * { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: var(--blue); transition: color .18s, background .18s; overflow-wrap: anywhere; }
a:hover { color: #078080; }
a:focus-visible, button:focus-visible { outline: 3px solid #6bb7dd; outline-offset: 4px; }
strong, h2, h3, alert { font-family: inherit; font-size: inherit; }
font[color="blue"] { color: var(--blue); }
.navbar { height: 64px; padding: 0 max(24px, calc((100vw - 1080px) / 2)); background: #123c60; box-shadow: 0 4px 20px #123c6018; }
.navbar-logo { height: auto; margin-right: 24px; flex-shrink: 0; }
.navbar-logo a { display: flex; align-items: center; }
.navbar-logo img { width: 155px; height: auto; }
.navbar-links { gap: 2px; }
.navbar-links a { font-size: 13px; font-weight: 600; padding: 0 12px; }
.navbar-links a:hover, .navbar-links a[aria-current="location"] { background: #ffffff18; color: #fff; }
.profile-card { padding: 38px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 32px #24354b06; margin-bottom: 36px; border-top: 4px solid var(--blue); }
.profile-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 36px; }
.profile-sidebar { text-align: center; }
.profile-sidebar > img { width: 160px !important; height: 180px !important; object-fit: cover; border-radius: 12px; }
.profile-eyebrow { font-size: 11px; letter-spacing: .16em; color: var(--blue); font-weight: 700; margin-bottom: 8px; }
.profile-bio h1 { font-size: clamp(25px, 3vw, 34px); line-height: 1.3; font-weight: 750; letter-spacing: -.035em; margin-bottom: 8px; }
.profile-bio h1 span { font-size: .68em; font-weight: 500; color: var(--muted); white-space: nowrap; }
.profile-role { color: var(--blue); font-weight: 600; margin-bottom: 14px; }
.profile-bio > span { color: var(--muted); font-size: 13px; }
.profile-links { gap: 6px; margin: 16px 0 12px; }
.profile-links a { display: flex; align-items: center; justify-content: center; min-width: 30px; height: 32px; border-radius: 6px; }
.profile-links a:hover { background: #eef5fb; }
.institution-homepage-link { width: 168px; height: 38px; border-color: var(--line); border-radius: 8px; }
.institution-homepage-link img { width: 150px; max-height: 29px; }
div.section { background: transparent; margin-bottom: 32px; }
h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; color: #193e61; }
h2[id] { scroll-margin-top: 86px; }
div.paper { padding: 25px 28px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 3px 14px #24354b03; overflow-wrap: anywhere; }
li { margin-left: 1.3em; padding-bottom: 10px; }
alert { color: #a34e29; font-weight: 600; font-size: 13px; }
.publications-list { list-style: none; }
.publications-list > h3 { font-size: 22px; color: var(--blue); padding: 18px 0 8px; margin-top: 8px; border-bottom: 2px solid #edf2f7; }
.publications-list > li { margin: 0; padding: 20px 0; border-bottom: 1px solid #edf2f7; font-size: 13px; color: var(--muted); line-height: 1.9; }
.publication-title { display: inline; font-size: 16px; line-height: 1.65; font-weight: 650; color: var(--ink); }
.publications-list > li > strong { display: inline-block; font-size: 12px; border-radius: 5px; padding: 0 7px; background: #edf5fc; color: var(--blue); }
.publications-list > li > strong:has(font) { padding: 0; background: none; font-size: inherit; }
.news-list { list-style: none; }
.news-list li, .news-list li.more-news { margin-left: 0; padding: 12px 0 12px 17px !important; text-indent: 0 !important; border-left: 2px solid #dce8f3; border-bottom: 1px solid #f0f3f7; }
.more-button { padding: 7px 13px; border: 1px solid #d4e2ef; border-radius: 7px; background: #f3f8fc; color: var(--blue); font: inherit; font-size: 12px; margin-top: 10px; }
img.paper { object-fit: contain; max-width: 100%; }
@media (max-width: 700px) {
    body { width: calc(100% - 28px); margin-top: 84px; font-size: 14px; }
    .navbar { height: 58px; padding: 0 12px; }
    .navbar-logo { display: none; }
    .navbar-links a { padding: 0 11px; flex-shrink: 0; font-size: 12px; }
    .profile-card { padding: 25px 20px; border-radius: 14px; }
    .profile-layout { grid-template-columns: 1fr; gap: 26px; }
    .profile-sidebar > img { height: 160px !important; width: 145px !important; }
    .institution-homepage-links { flex-direction: row; justify-content: center; flex-wrap: wrap; }
    .institution-homepage-link { margin: 0; width: 145px; }
    .institution-homepage-link img { width: 132px; }
    .profile-bio h1 { font-size: 28px; }
    div.paper { padding: 18px; }
    div.paper div { padding-left: 0; }
    img.paper { float: none; display: block; margin: 0 auto 20px; height: auto; max-height: 250px; }
    h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
