/* Shared screen typography. Loaded after the theme and component styles. */
:root {
  --site-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --site-font-serif: "Source Serif 4", Georgia, serif;
  --site-ink: #1e293b;
  --site-heading: #0f172a;
  --site-muted: #475569;
  --site-accent: #0f766e;
  --site-canvas: #fbfcfd;
}
html { font-size: 16px; scroll-padding-top: 72px; }
body {
  margin: 0;
  padding: 0;
  background-color: var(--site-canvas);
  color: var(--site-ink);
  font-family: var(--site-font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.68;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font-family: var(--site-font-sans); }
h1, h2, h3, h4, h5, h6 { font-family: var(--site-font-sans); }
.wrapper > .site-content {
  font-family: var(--site-font-sans);
  font-size: 16px;
  line-height: 1.68;
}
.site-content > h2,
.site-content > h3,
.home-intro .home-intro-heading,
.home-section-heading h2,
.publication-catalog > h2,
.publication-catalog .catalog-year-heading {
  font-family: var(--site-font-serif);
  font-weight: 600;
  letter-spacing: -.015em;
}
.site-content > h2 { font-size: 26px; }
.site-content > h3 { font-size: 22px; }
.site-content > p,
.site-content > ul,
.site-content > ol { font-size: 16px; line-height: 1.68; }
.site-content strong { font-weight: 600; }
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 24px;
  box-sizing: border-box;
  min-height: 52px;
  /* Keep the initial link position while giving the pinned row breathing room. */
  margin: -8px 0 20px;
  padding: 8px 0;
  background-color: var(--site-canvas);
  font-family: var(--site-font-sans);
  font-size: 14.5px;
  line-height: 1.5;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  box-sizing: border-box;
  padding: 3px 0;
  border-bottom: 2px solid transparent;
  color: var(--site-muted);
  text-decoration: none;
}
.site-nav a:hover { color: var(--site-accent); }
.site-nav a[aria-current="page"] { color: var(--site-heading); border-bottom-color: var(--site-accent); font-weight: 600; }
.site-nav a:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 4px; }
.wrapper .site-content > footer.site-footer { color: var(--site-muted); font: 13px/1.6 var(--site-font-sans); }
@media (min-width: 1101px) {
  .wrapper > .site-content { width: calc(100% - 310px); padding-top: 48px; }
}
@media (max-width: 1100px) {
  .wrapper { max-width: 810px; width: calc(100% - 44px); margin: 0 auto; }
  .wrapper > .site-content { float: none; width: auto; padding-top: 20px; }
}
@media (max-width: 600px) {
  .wrapper { width: calc(100% - 36px); }
  .site-nav { gap: 8px 22px; margin-bottom: 16px; }
  .wrapper .site-content > footer.site-footer { font-size: 12.5px; }
}
@media (prefers-color-scheme: dark) {
  :root { --site-ink: #e2e8f0; --site-heading: #f1f5f9; --site-muted: #b9c6d3; --site-accent: #7ed0c5; --site-canvas: #141e29; }
}
@media print {
  .site-nav { display: none; }
  body { background-color: #fff; color: #1e293b; }
}
