/* Responsive adjustments to Jon Barron's classic academic template. */
* { box-sizing: border-box; }
html { font-size: 15px; color-scheme: light; }
body { margin: 0; background: #fff; color: #171717; }
body, td, th, tr, p, a, strong { font-size: 1rem; }
body { line-height: 1.5; }
a { color: #1772d0; }
a:hover { color: #c46b0c; }
a:focus-visible { outline: 2px solid #1772d0; outline-offset: 4px; border-radius: 2px; }
.nowrap { white-space: nowrap; }
main { width: 100%; max-width: 840px; margin: 28px auto 0; padding: 0 16px; }
.intro { width: 100%; border: 0; border-spacing: 0; }
.bio { width: 65%; padding: 20px 18px; vertical-align: middle; }
.name { font-size: 2rem; font-weight: 400; text-align: center; padding: 0; margin: 0 0 20px; }
p { margin: 14px 0; }
.contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 10px; margin-top: 19px; }
.portrait-cell { width: 35%; padding: 20px 16px 20px 20px; vertical-align: middle; }
.portrait { display: block; width: 90%; max-width: 220px; margin: auto; }
.portrait img { display: block; width: 100%; max-width: 100%; height: auto; }
.section-intro { padding: 22px 18px 8px; }
h2 { font-size: 1.45rem; font-weight: 400; line-height: 1.3; }
.paper { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 24px; align-items: center; padding: 20px 18px; }
.paper-image { display: block; width: 100%; }
.paper-image img { display: block; width: 100%; height: auto; max-height: 170px; object-fit: contain; }
h3 { font-size: 1rem; line-height: 1.4; margin: 0 0 3px; font-weight: 700; }
.authors, .venue, .paper-links { line-height: 1.5; }
.paper p { margin: 8px 0 0; }
.distinction { color: #b52128; }
.contribution-note { font-size: .875rem; color: #666; margin: 4px 18px 0; }
.text-section { padding: 28px 18px 0; }
.education { margin-top: 18px; }
.education > div { display: flex; justify-content: space-between; gap: 10px; }
.education p { margin: 2px 0 0; }
.dates { color: #555; white-space: nowrap; font-size: .875rem; align-self: center; }
footer { text-align: right; color: #777; padding: 45px 18px 25px; font-size: .875rem; }
footer a { font-size: inherit; }
sup { font-size: .7em; }
@media (max-width: 620px) {
  main { margin-top: 14px; padding: 0 8px; }
  .intro, .intro tbody, .intro tr, .intro td { display: block; width: 100%; }
  .intro tr { display: flex; flex-direction: column-reverse; }
  .portrait-cell { padding: 12px 0 8px; }
  .portrait { width: 180px; margin: auto; }
  .bio { padding: 14px 16px; }
  .name { margin-bottom: 16px; }
  .section-intro { padding: 24px 16px 4px; }
  .paper { grid-template-columns: 125px minmax(0,1fr); gap: 16px; padding: 18px 16px; }
  .paper-image img { max-height: 150px; }
  .education > div { display: block; }
  .dates { display: block; margin-top: 2px; }
}
@media (max-width: 440px) {
  .paper { grid-template-columns: minmax(0,1fr); gap: 13px; }
  .paper-image { width: 220px; max-width: 100%; }
}
