/* Academic homepage: layout overrides for jekyll-theme-minimal. */
:root { --ink: #1e293b; --muted: #596579; --accent: #235b83; --line: #e3e8ee; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.7; }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { color: #153e5d; font-weight: inherit; text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.wrapper { display: grid; grid-template-columns: 320px minmax(0, 1fr); column-gap: 48px; align-items: start; width: auto; max-width: 1130px; margin: 0 auto; padding: 64px 32px 28px; }
header.profile { position: static; float: none; width: auto; height: auto; max-height: none; overflow: visible; align-self: start; padding: 0; }
.profile h1 { margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: 31px; font-weight: 400; line-height: 1.2; letter-spacing: -0.7px; }
.profile h1 a { color: var(--ink); }
.profile-photo { display: block; width: 280px; height: auto; aspect-ratio: 1; max-width: 100%; object-fit: cover; object-position: center 20%; border-radius: 8px; margin-bottom: 24px; }
.profile p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.profile .job-market-note { padding-left: 13px; border-left: 3px solid var(--accent); color: var(--ink); }
.job-market-note strong { font-weight: 600; }
.profile .view { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 23px; }
.profile .view a { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
main { min-width: 0; }
main section { float: none; width: auto; margin: 0 0 36px; padding: 0; border: 0; }
main section + section { padding-top: 28px; border-top: 2px solid #cbd5df; }
main h2 { margin: 0 0 20px; color: var(--ink); font-size: 21px; font-weight: 650; line-height: 1.3; letter-spacing: -0.4px; }
main article { margin: 0; padding: 0 0 26px; }
main article + article { padding-top: 26px; border-top: 1px solid var(--line); }
main article:last-child { padding-bottom: 0; }
main h3 { margin: 0 0 11px; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 400; line-height: 1.35; letter-spacing: -0.25px; overflow-wrap: break-word; }
main article > p { margin: 0 0 13px; color: var(--muted); font-size: 14px; }
main article em { color: var(--ink); }
main section.featured-paper { margin-bottom: 36px; }
.featured-paper h2 { margin-bottom: 20px; }
main .paper-links { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 15px 0 12px; }
.paper-links a { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.paper-abstract { margin: 8px 0 0; }
.paper-abstract summary { width: fit-content; color: var(--accent); cursor: pointer; font-size: 13px; font-weight: 500; }
.paper-abstract summary:hover { text-decoration: underline; }
.paper-abstract p { margin: 13px 0 0; color: #435064; font-size: 14px; line-height: 1.8; }
footer { position: static; float: none; width: auto; grid-column: 2; margin: 5px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
footer p { margin: 0; }
footer small { font-size: inherit; }
.skip-link { position: absolute; left: 16px; top: -80px; padding: 8px 14px; background: #fff; z-index: 10; }
.skip-link:focus { top: 12px; }
@media (max-width: 900px) {
  .wrapper { grid-template-columns: 220px minmax(0, 1fr); column-gap: 36px; padding: 40px 24px 24px; }
  .profile h1 { font-size: 28px; }
}
@media (max-width: 680px) {
  .wrapper { display: block; padding: 30px 22px 22px; }
  header.profile { margin: 0 0 34px; padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); }
  .profile h1 { font-size: 32px; margin-bottom: 20px; }
  .profile-photo { width: 240px; height: auto; }
  .profile p { max-width: 540px; font-size: 15px; }
  main h3 { font-size: 21px; }
  main section { margin-bottom: 38px; }
  main section + section { padding-top: 32px; }
  main h2 { font-size: 20px; }
  footer { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .wrapper { display: block; padding: 0; }
  header.profile { margin-bottom: 24px; }
  .profile-photo { width: 120px; height: 120px; }
  main section.featured-paper { background: #fff; }
}

.job-market-phrase { white-space: nowrap; }
