/*
 * Adapted from Yaoyao Liu's Minimal Light static template (CC0 1.0).
 * https://github.com/yaoyao-liu/minimal-light/tree/main/html_source_file
 * Its light stylesheet sets the column widths, heading hierarchy and navy;
 * its bibliography stylesheet supplies the venue labels and resource links.
 */
:root {
  color-scheme: light;
  --heading: #043361;
  --link: #216b96;
  --body: #484848;
  --venue: #002d72;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body {
  margin: 0;
  background: #fff;
  color: var(--body);
  font: 16px/1.5 "Crimson Pro", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  -webkit-font-smoothing: antialiased;
}
.wrapper {
  display: grid;
  grid-template-columns: 232px minmax(0, 650px);
  justify-content: space-between;
  column-gap: 40px;
  width: min(960px, calc(100% - 64px));
  margin: 0 auto;
  padding: 4em 0 50px;
}
h1, h2, h3 { line-height: 1.1; }
h1, h2 { color: var(--heading); font-weight: 500; }
h1 { margin: 0 0 15px; font-size: 28px; }
h2 { margin: 2px 0 12px; font-size: 157%; }
p, ul, ol { margin: 0 0 20px; }
a, .footer-actions button { color: var(--link); text-decoration: none; }
a:hover, .footer-actions button:hover { color: #064e79; text-decoration: underline; }
:focus-visible { outline: 2px solid #20678f; outline-offset: 3px; }
button, summary { font: inherit; cursor: pointer; }
[hidden], .print-url { display: none !important; }
.skip { position: absolute; top: -80px; left: 1rem; background: white; padding: 6px 12px; z-index: 1; }
.skip:focus { top: 8px; }

.identity {
  position: sticky;
  top: 4em;
  align-self: start;
  text-align: center;
}
.affiliation { margin-bottom: 7px; }
.email { font: 13px/1.5 "Ubuntu Mono", ui-monospace, Menlo, Consolas, monospace; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 6px; margin-top: 15px; font-size: 14px; }
.social-links span { color: #909090; }
main { min-width: 0; }
main > section + section { margin-top: 30px; }
.publications-heading { margin-bottom: 20px; }
.publications ol.bibliography { list-style: none; padding: 0; }
.bibliography li + li { margin-top: 26px; }
.pub-row {
  display: grid;
  grid-template-columns: minmax(122px, 26%) minmax(0, 1fr);
  grid-template-areas: "figure title" "figure info";
  grid-template-rows: max-content auto;
  align-items: start;
  column-gap: 18px;
}
.pub-row .title { grid-area: title; }
.paper-info { grid-area: info; min-width: 0; }
.paper-figure { grid-area: figure; margin: 0; }
.figure-zoom { display: block; padding: 4px; border: 1px solid #d9dfe3; background: white; cursor: zoom-in; }
.figure-zoom:hover { border-color: var(--link); }
.figure-zoom img { display: block; width: 100%; height: auto; }
.paper-figure figcaption { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 13px; }
.badge {
  display: inline-block;
  min-width: 48px;
  padding: .27em .4em;
  border-radius: .125rem;
  background: var(--venue);
  color: #fff;
  text-align: center;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
}
.pub-row .title { font-size: 17px; line-height: 1.25; font-weight: 700; margin: 0 0 2px; }
.author, .periodical, .description { margin: 0; font-size: 15px; line-height: 1.4; }
.author strong { color: #222; }
.description { margin-top: 4px; color: #565656; }
.links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin-top: 6px; }
.btn {
  display: inline-block;
  border: 1px solid #616161;
  border-radius: 2px;
  padding: .08rem .45rem;
  background: white;
  color: #282828;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.4;
}
.btn:hover { color: var(--venue); border-color: var(--venue); text-decoration: none; }
.citation { min-width: 0; }
.citation[open] { flex-basis: 100%; }
.citation summary { list-style: none; }
.citation summary::-webkit-details-marker { display: none; }
.citation-box { margin-top: 8px; }
.citation-box pre {
  padding: 9px 12px;
  margin: 0 0 5px;
  border: 1px solid #dfdfdf;
  border-radius: 3px;
  background: #f8f8f8;
  color: #333;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 12px/1.45 ui-monospace, Menlo, Consolas, monospace;
}
.copy-citation, .footer-actions button { padding: 0; border: none; background: transparent; }
.copy-citation { color: var(--link); font-size: 13px; }
.copy-citation:hover { text-decoration: underline; }
.project-list { padding-left: 19px; }
.project-list li + li { margin-top: 5px; }
footer { margin-top: 36px; border-top: 1px solid #e5e5e5; padding-top: 12px; font-size: 12px; color: #686868; }
footer p { margin-bottom: 5px; }
.footer-actions { display: flex; gap: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 860px) {
  .wrapper { grid-template-columns: 185px minmax(0,1fr); column-gap: 30px; width: calc(100% - 44px); padding-top: 40px; }
  .identity { top: 40px; }
}
@media (max-width: 680px) {
  .wrapper { display: block; width: min(100% - 36px, 600px); padding: 24px 0 32px; }
  .identity { position: static; padding-bottom: 22px; border-bottom: 1px solid #e5e5e5; margin-bottom: 22px; }
  h1 { margin-bottom: 6px; }
  .social-links { margin-top: 8px; }
  .publications-heading { margin-bottom: 15px; }
  .pub-row { grid-template-columns: minmax(120px, 28%) minmax(0,1fr); column-gap: 14px; }
  .badge { min-width: 43px; }
}
@media (max-width: 480px) {
  .pub-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "figure" "info"; row-gap: 8px; }
  .paper-figure { width: min(100%, 270px); }
  .paper-figure figcaption { margin-top: 3px; }
}
@page { size: A4; margin: 15mm; }
@media print {
  body { color: #222; font-size: 10pt; }
  .wrapper { display: block; width: 100%; margin: 0; padding: 0; }
  .identity { position: static; margin: 0 0 12pt; padding: 0 0 8pt; border-bottom: 1px solid #aaa; text-align: left; }
  h1 { margin: 0 0 4pt; font-size: 22pt; }
  h2 { margin: 0 0 7pt; font-size: 15pt; }
  .affiliation { margin-bottom: 1pt; }
  .email { font-size: 9pt; }
  .social-links, .footer-actions, .skip, .links { display: none; }
  a { color: #222; }
  section p { margin-bottom: 8pt; }
  main > section + section { margin-top: 12pt; }
  .publications-heading { margin-bottom: 8pt; }
  .bibliography li { break-inside: avoid; }
  .bibliography li + li { margin-top: 7pt; }
  .pub-row { display: block; }
  .paper-figure { display: none; }
  .pub-row .title { font-size: 11pt; }
  .author, .periodical, .description { font-size: 9pt; margin-bottom: 0; }
  .print-url { display: block !important; font-size: 8pt; margin: 2pt 0 0; }
  footer { margin-top: 12pt; font-size: 8pt; }
}
