/* Shared navigation, readability, and accessibility. */
.scholar-icon { width: 24px; height: 24px; flex: 0 0 auto; margin-right: 7px; }
section, article[id] { scroll-margin-top: 120px; }
a:focus-visible, button:focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.skip-link { position: absolute; left: 12px; top: -100px; background: white; padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 8px; }
.research-heading { font-size: 1.3rem; font-weight: 650; margin-bottom: 18px; }
.research-summary { margin-top: 12px; color: var(--muted); }
.hero { padding: 56px 0 36px; }
section { padding: 36px 0; }
.card, .publication { border-radius: 14px; box-shadow: none; }
.publication:hover { transform: none; box-shadow: none; }
.publication-details[hidden] { display: none; }
.publication.open .publication-details { max-height: none; }
.publication-content, .hero > div { min-width: 0; }
.publication-title, .bibtex-box { overflow-wrap: anywhere; }
.details-toggle, button { cursor: pointer; }
@media (max-width: 850px) {
  nav { flex-wrap: wrap; gap: 10px; padding: 12px 0; }
  .nav-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 0.9rem; }
  .nav-links a { padding: 4px 0; }
  .hero { gap: 24px; }
  .publication-details { min-width: 0; }
  .detail-panel { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
