/* Publication typography and cards follow SkiLD's website branch:
   https://github.com/wangzizhao/SkiLD/blob/website/static/css/index.css */
:root { color-scheme: light; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans', sans-serif; }
a:focus-visible { outline: 3px solid #209cee; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
figure { margin: 24px 0; }
figure a { display: block; }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 10; padding: 10px 16px; background: #fff; }
.skip-link:focus { top: 8px; }
.publication-title,
.publication-authors { font-family: 'Google Sans', sans-serif; }
.publication-authors a { color: hsl(204, 86%, 53%) !important; }
.publication-authors a:hover { text-decoration: underline; }
.author-block { display: inline-block; }
.publication-venue { color: #555; font-weight: bold; }
.publication-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.publication-links a { margin: 5px 0; font-weight: 700; }
.publication-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.project-summary { font-weight: 600; }
.overview-figure { width: 90%; margin: 28px auto 0; }
.card-wide { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 8px rgba(0, 0, 0, .2); }
.rollout { padding: 20px; margin: 28px 0; }
.rollout:last-child { margin-bottom: 0; }
.rollout figcaption { padding-top: 16px; text-align: center; font-weight: 700; }
.visualization-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.visualization-layout figure,
.visualization-layout .content { margin: 0; }
.footer p { font-size: 14px; }

@media (max-width: 700px) {
  .hero-body,
  .section { padding: 36px 20px; }
  .publication-title.title { font-size: 32px; line-height: 1.2; }
  .publication-authors.is-size-5 { font-size: 18px !important; }
  .author-break { display: none; }
  .title.is-2 { font-size: 32px; }
  .title.is-3 { font-size: 28px; }
  .title.is-4 { font-size: 22px; }
  .content.has-text-justified { text-align: left !important; }
  .overview-figure { width: 100%; }
  .rollout { padding: 12px; }
  .visualization-layout { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
