/* Local refinements to AcadHomepage */
:root { --navy:#254e71; --line:#dce3e8; --muted:#4f6170; }
body { color:#202e39; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
#main,.masthead__inner-wrap { max-width:1140px; }
#main { margin-top:2.5rem; }
#site-nav .visible-links { display:flex; flex-wrap:wrap; }
#site-nav .visible-links li { display:block; }
#site-nav a { margin:0 1.3rem 0 0; }
#site-nav [aria-current] { color:var(--navy); font-weight:700; }
.profile_box .author__name { font-size:1.45rem; font-weight:740; margin:.7rem 0 .15rem; }
.author__avatar img { width:144px; height:144px; object-fit:cover; }
.author__urls li:first-child { white-space:normal; font-weight:600; }
.author__urls .fa-fw { color:var(--navy); }
.page__content a,.credit a { color:var(--navy); }
.page__content { font-size:1rem; line-height:1.63; }
.page__content h1,.page__content h2 { letter-spacing:-.035em; line-height:1.24; }
.page__content h1 { font-size:1.62rem; margin:0 0 .8rem; }
.page__content h2 { border-bottom:1px solid var(--line); padding-bottom:.38rem; margin:1.7rem 0 .7rem; font-size:1.35rem; }
.page__content h3 { font-size:1.04rem; line-height:1.4; margin:.35rem 0; }
.page__content p { margin:0 0 .7rem; }
.page__content [id] { scroll-margin-top:5.5rem; }
.brief-news,.news-list,.publication-list,.education-list { list-style:none; padding:0; }
.timeline-frame { position:relative; border:1px solid var(--line); border-radius:12px; background:#fbfdff; overflow:hidden; margin:.65rem 0 1.4rem; }
.timeline-frame.is-scrollable::after { content:""; position:absolute; inset:0 0 auto; height:2px; pointer-events:none; background:#567e9f; transform:scaleX(var(--timeline-progress,0)); transform-origin:left; }
.timeline-viewport { position:relative; overflow-y:auto; scroll-behavior:smooth; scroll-padding-block:1.1rem; padding:1.1rem 1.25rem 1.25rem; scrollbar-width:thin; scrollbar-color:#b8c7d4 transparent; }
.timeline-frame.has-scroll-top .timeline-viewport { --timeline-fade-top:16px; }
.timeline-frame.has-scroll-bottom .timeline-viewport { --timeline-fade-bottom:16px; }
.timeline-viewport:not(:focus-within) { mask-image:linear-gradient(to bottom,transparent,#000 var(--timeline-fade-top,0px),#000 calc(100% - var(--timeline-fade-bottom,0px)),transparent); }
.timeline-viewport:focus-visible { outline:2px solid var(--navy); outline-offset:-2px; }
.page__content .timeline-viewport [id] { scroll-margin-top:0; }
.timeline-stack { display:none; appearance:none; width:100%; min-height:2.5rem; margin:0; padding:.35rem 1.25rem; border:0; border-radius:0; background:#f0f5f9; color:var(--navy); font:inherit; font-size:.78rem; font-weight:650; text-align:left; cursor:pointer; }
.timeline-frame.is-scrollable .timeline-stack { display:grid; grid-template-columns:1.55rem minmax(0,1fr) auto; gap:.65rem; align-items:center; }
.timeline-stack--above { border-bottom:1px solid var(--line); }
.timeline-stack--below { border-top:1px solid var(--line); }
.timeline-stack:not([aria-disabled="true"]):hover { background:#e7eff6; }
.timeline-stack:focus-visible { outline:2px solid var(--navy); outline-offset:-3px; }
.timeline-stack[aria-disabled="true"] { color:var(--muted); cursor:default; }
.timeline-stack[aria-disabled="true"] > :last-child { visibility:hidden; }
.timeline-stack-icon { position:relative; width:1.55rem; height:.5rem; border:1px solid #6f91ac; border-radius:3px; background:#f8fbff; }
.timeline-stack-icon::before,.timeline-stack-icon::after { content:""; position:absolute; inset:-1px 2px; border:1px solid #9bb2c4; border-radius:3px; opacity:0; transform:translateY(0); transition:transform .2s ease,opacity .2s ease; }
.timeline-stack--above { --stack-lift:-1; }
.timeline-stack--below { --stack-lift:1; }
.timeline-stack:is([data-layers="2"],[data-layers="3"]) .timeline-stack-icon::before { opacity:1; transform:translateY(calc(var(--stack-lift) * 3px)); }
.timeline-stack[data-layers="3"] .timeline-stack-icon::after { inset-inline:5px; opacity:1; transform:translateY(calc(var(--stack-lift) * 6px)); }
.timeline-stack[data-layers="0"] .timeline-stack-icon { opacity:.4; }
.timeline-viewport::-webkit-scrollbar { width:6px; }
.timeline-viewport::-webkit-scrollbar-track { background:transparent; }
.timeline-viewport::-webkit-scrollbar-thumb { background:#c5d2dc; border-radius:999px; }
.timeline-viewport::-webkit-scrollbar-thumb:hover { background:#93abc0; }
.timeline-frame--home .timeline-viewport { max-height:16.5rem; }
.timeline-frame--news .timeline-viewport { max-height:min(62vh,28rem); }
.timeline-frame--publications .timeline-viewport { height:min(68vh,38rem); }
.brief-news,.news-list { position:relative; margin:0; }
.brief-news::before,.news-list::before { content:""; position:absolute; left:6px; top:.55rem; bottom:.55rem; width:2px; background:var(--line); }
.brief-news li,.news-list li { position:relative; padding:0 0 1.05rem 1.85rem; margin:0; border:0; }
.brief-news li:last-child,.news-list li:last-child { padding-bottom:.25rem; }
.brief-news li::before,.news-list li::before { content:""; position:absolute; left:2px; top:.42rem; width:10px; height:10px; border-radius:50%; background:var(--navy); border:2px solid #fbfdff; box-shadow:0 0 0 2px #cddae4; box-sizing:border-box; }
.brief-news time,.news-list time { display:block; font-size:.82rem; font-weight:650; color:var(--navy); font-variant-numeric:tabular-nums; margin-bottom:.15rem; }
.brief-news .news-summary { margin:.25rem 0 0; font-size:.87rem; color:var(--muted); }
.news-list h3 { margin:.1rem 0 .25rem; }
.news-list p { margin:0; font-size:.9rem; color:var(--muted); }
.news-badge { display:inline-block; color:var(--navy); background:#edf3f7; padding:.14em .48em; font-size:.76rem; font-weight:650; border-radius:2px; margin-right:.35rem; vertical-align:baseline; }
.paper-box { padding:1.2rem 0; }
.paper-box figure { display:block; margin:0; width:100%; }
.paper-box .paper-box-image img { width:100%; box-shadow:none; }
.paper-box h3 a { text-decoration:none; }
.paper-box h3 a:hover { text-decoration:underline; }
.paper-box .authors,.paper-authors,.venue,.paper-doi,.paper-category,time,.paper-role,.credit,figcaption { font-size:.87rem; color:var(--muted); }
.venue-label { color:var(--navy); background:#edf3f7; padding:.18em .5em; font-size:.79rem; font-weight:650; }
.paper-box figcaption { margin-top:.25rem; }
.education-list li { padding:.8rem 0; border-bottom:1px solid var(--line); }
.publication-group { position:relative; }
.publication-group:first-child h2 { margin-top:.2rem; }
.publication-group h2 { position:relative; padding:0 0 .35rem 1.85rem; margin:1.6rem 0 .9rem; border-bottom:1px solid var(--line); }
.publication-group h2::before { content:""; position:absolute; left:0; top:.28rem; width:14px; height:14px; border-radius:50%; background:var(--navy); border:3px solid #edf3f7; box-sizing:border-box; }
.publication-list { position:relative; margin:0; }
.publication-list::before { content:""; position:absolute; left:6px; top:-.9rem; bottom:.4rem; width:2px; background:var(--line); }
.publication-list li { position:relative; padding:0 0 1.15rem 1.85rem; border:0; }
.timeline-viewport li:not(:focus-within) { transform:var(--timeline-transform,none); }
.publication-list li:last-child { padding-bottom:.25rem; }
.publication-list li::before { content:""; position:absolute; left:2px; top:.45rem; width:10px; height:10px; border-radius:50%; background:#fbfdff; border:2px solid #86a3ba; box-sizing:border-box; transition:transform .15s ease,border-color .15s ease; }
.publication-list li:has(.paper-role-primary)::before { background:var(--navy); border-color:var(--navy); box-shadow:0 0 0 2px #edf3f7; }
.publication-list li:hover::before { transform:scale(1.18); border-color:var(--navy); }
.publication-list h3 { margin:0 0 .25rem; }
.publication-list p,.education-list p { margin:0; }
.catalog-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.75rem; margin-bottom:.5rem; }
.publication-nav,.contact-links { display:flex; flex-wrap:wrap; gap:1rem; }
.paper-role-primary { font-weight:700; color:var(--navy); }
.page__content figure img { max-width:100%; height:auto; }
.paper-diagram { display:grid; gap:.6rem; padding:0; list-style:none; }
.diagram-node { padding:.75rem 1rem; border-left:3px solid #86a3ba; background:#f1f5f8; }
.diagram-node strong { display:block; }
.credit { max-width:1140px; margin:2rem auto 0; padding:1rem; border-top:1px solid var(--line); clear:both; }
.skip { position:absolute; left:-9999px; }.skip:focus { left:1rem; z-index:30; background:white; }
@media(max-width:925px) {
  .profile_box { display:block; }
  .sidebar .author__avatar,.sidebar .author__content,.sidebar .author__urls-wrapper { display:block; width:auto; padding:0; }
  .sidebar .author__avatar img { width:96px; height:96px; }
  .sidebar .author__urls { display:flex; flex-wrap:wrap; position:static; gap:.2rem .9rem; margin:.55rem 0 0; padding:0; background:none; border:0; box-shadow:none; }
  .sidebar .author__urls::before,.sidebar .author__urls::after { display:none; }
  .sidebar .author__urls li:first-child { width:100%; }
  .sidebar .author__urls li { margin:0; }
  .sidebar { margin-bottom:1.4rem; }
  .masthead__inner-wrap { padding:.65rem 1rem; }
  #site-nav a { font-size:.86rem; margin-right:.8rem; }
  #main { margin-top:1.25rem; }
}
@media(max-width:47.99em) {
  .paper-box .paper-box-image { order:0; justify-content:flex-start; }
  .paper-box figure { max-width:18rem; margin:0 0 .8rem; }
  .paper-box .paper-box-text { padding:0; }
}
@media(prefers-reduced-motion:reduce) {
  .timeline-viewport { scroll-behavior:auto; }
  .timeline-viewport li:not(:focus-within) { transform:none; }
  .timeline-stack-icon::before,.timeline-stack-icon::after { transition:none; }
  .publication-list li::before { transition:none; }
}
