:root {
  --text: #494e52;
  --link: #224b8d;
  --muted: #7a8288;
  --line: #f2f3f3;
  --notice: #d9edf7;
  --max-width: 1280px;
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; font-size: 16px; background: #fff; }
body { min-width: 320px; margin: 0; color: var(--text); font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; line-height: 1.5; }
a { color: var(--link); }
a:hover, a:active { outline: 0; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
p { margin: 0 0 .5em; }
strong { font-weight: 700; }
em { font-style: italic; }
ul { margin-block-start: .5em; padding-inline-start: 2em; }
ul li, ol li { margin-bottom: .5em; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -80px; left: 10px; padding: 10px 14px; color: #fff; background: #000; text-decoration: none; }
.skip-link:focus { top: 8px; }

.masthead { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.masthead-inner { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: .5em; }
.greedy-nav { position: relative; display: flex; align-items: center; min-width: 250px; min-height: 42px; background: #fff; }
.greedy-nav a { display: block; margin: 0 1rem; padding: .5rem 0; color: var(--muted); text-decoration: none; white-space: nowrap; }
.greedy-nav a:hover { color: #5c6266; }
.greedy-nav .site-title { margin-left: 0; padding-right: 2em; color: var(--muted); font-weight: 700; }
.visible-links { display: table; margin: 0; padding: 0; list-style: none; }
.visible-links li { display: table-cell; margin: 0; vertical-align: middle; }
.visible-links a { position: relative; }
.visible-links a::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: #bdc1c4; transform: scaleX(0); transition: transform .2s ease-in-out; }
.visible-links a:hover::before, .visible-links a.active::before { transform: scaleX(1); }
.nav-toggle { display: none; width: 42px; height: 42px; margin-left: auto; padding: 8px; border: 0; background: #7a8288; cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; width: 25px; height: 3px; margin: 4px auto; background: #fff; transition: transform .2s, opacity .2s; }

.main-layout { width: 100%; max-width: var(--max-width); margin: 1.7em auto 0; padding: 0 1em 4em; display: grid; grid-template-columns: 15.2542372881% minmax(0, 1fr); column-gap: 1.6949152542%; }
.sidebar { grid-column: 1; min-width: 0; margin-bottom: 1em; }
.author-avatar { display: block; width: auto; height: auto; }
.author-avatar img { width: 100%; max-width: 175px; min-width: 75px; padding: 5px; border: 1px solid var(--line); border-radius: 50%; }
.author-content { width: 100%; padding: 0; }
.author-name { margin: 10px 0; color: var(--text); font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; font-size: 1.4em; line-height: 1.2; font-weight: 700; }
.author-bio { margin: 10px 0 20px; font-size: 1em; line-height: 1.5; }
.author-urls { position: relative; display: block; margin: 0; padding: 0; border: 0; background: transparent; list-style: none; }
.author-urls li { display: list-item; margin-bottom: 5px; font-size: 15px; line-height: 1.5; white-space: nowrap; }
.author-urls li:first-child { margin-bottom: 1em; }
.author-urls a { display: block; padding: 0; color: inherit; text-decoration: none; }
.author-urls a:hover { text-decoration: underline; }
.author-urls i { width: 1.28571429em; color: #494e52; font-size: 15px; line-height: 15px; text-align: center; }
.author-urls > li:nth-child(2) i { color: #000; }

.page-content { grid-column: 2; min-width: 0; padding-left: 4.2372881356%; }
.page-content section { scroll-margin-top: 70px; }
.page-content h1, .page-content h2 { font-family: "Trebuchet MS", Helvetica, Arial, sans-serif; font-weight: 700; line-height: 1.2; }
.page-content h1 { margin: 1em 0 .5em; padding-bottom: .5em; border-bottom: 1px solid var(--line); font-size: 1.4em; }
.page-content section:first-child h1 { margin-top: 0; }
.page-content h2 { margin: 1em 0 .5em; font-size: 1.2em; }
.page-content p, .page-content li { font-size: 1em; }
.page-content a { text-decoration: underline; }
.notice-info { margin: .6em 0 1em; padding: .75em 1em; background: var(--notice); border-radius: 4px; box-shadow: 0 1px 1px rgba(49,112,143,.2); }
.page-content ol { margin-top: .5em; padding-inline-start: 2em; }
.page-content ol li { margin-bottom: .75em; }
.paper-title { color: var(--link); text-decoration: none !important; }
.paper-title:hover, .paper-title:focus { text-decoration: underline !important; }
.paper-rank { white-space: nowrap; }
.visitor-map-link { margin-top: 2.25em; text-align: center; }
.visitor-map-link a { font-size: .9em; }
.page-footer { margin-top: 3em; padding: 1em 0; color: #9ba1a6; border-top: 1px solid var(--line); font-size: .8em; }

@media (max-width: 767px) {
  html { scroll-padding-top: 64px; }
  .masthead-inner { padding: .35em .75em; }
  .greedy-nav { min-height: 44px; }
  .greedy-nav .site-title { padding-right: 0; }
  .nav-toggle { display: block; }
  .visible-links { position: absolute; top: calc(100% + 6px); right: 0; width: min(260px, calc(100vw - 24px)); padding: 5px; border: 1px solid var(--line); border-radius: 4px; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,.25); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease; }
  .visible-links::before { content: ""; position: absolute; top: -10px; right: 11px; border-style: solid; border-width: 0 10px 10px; border-color: var(--line) transparent; }
  .visible-links li { display: block; border-bottom: 1px solid var(--line); }
  .visible-links li:last-child { border-bottom: 0; }
  .visible-links a { margin: 0; padding: 10px 20px; }
  .visible-links a::before { display: none; }
  .masthead.menu-open .visible-links { opacity: 1; visibility: visible; transform: translateY(0); }
  .masthead.menu-open .nav-toggle > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .masthead.menu-open .nav-toggle > span:nth-child(2) { opacity: 0; }
  .masthead.menu-open .nav-toggle > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-layout { display: block; margin-top: 1em; padding: 0 1em 3em; }
  .sidebar { width: 100%; }
  .author-profile { display: grid; grid-template-columns: 90px minmax(0,1fr); column-gap: 15px; align-items: start; }
  .author-avatar img { width: 90px; }
  .author-name { margin: 0 0 6px; font-size: 1.2em; }
  .author-bio { margin: 0; }
  .author-urls { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2px 14px; margin-top: 12px; }
  .author-urls li { white-space: normal; }
  .page-content { width: 100%; padding-left: 0; }
  .page-content section:first-child h1 { margin-top: 1em; }
}

@media (max-width: 420px) {
  .author-urls { grid-template-columns: 1fr; }
  .page-content ul, .page-content ol { padding-inline-start: 1.55em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
