:root {
  --ink: #20252a;
  --muted: #5c6670;
  --soft-background: #f4f6f7;
  --rule: #d9dee2;
  --link: #1769aa;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: 'Noto Sans', sans-serif;
  line-height: 1.65;
}

a {
  color: var(--link);
}

.publication-header .hero-body {
  padding-bottom: 2rem;
  padding-top: 3.5rem;
}

.publication-title {
  font-family: 'Google Sans', sans-serif;
  letter-spacing: 0;
  line-height: 1.12;
  margin-left: auto;
  margin-right: auto;
  max-width: 1040px;
}

.publication-authors,
.publication-affiliations {
  font-family: 'Google Sans', sans-serif;
}

.publication-authors {
  line-height: 1.8;
  margin: 1.4rem auto 0.6rem;
  max-width: 980px;
}

.publication-affiliations {
  color: var(--muted);
  line-height: 1.7;
}

.author-block {
  display: inline-block;
  margin: 0 0.18rem;
}

.corresponding-note {
  display: block;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

.publication-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.link-block a {
  margin: 0;
}

.teaser-section {
  padding-top: 1rem;
}

.section-soft {
  background: var(--soft-background);
}

.publication-copy > .title {
  font-family: 'Google Sans', sans-serif;
  letter-spacing: 0;
  margin-bottom: 1.25rem;
}

.publication-copy > p {
  text-align: justify;
}

.publication-figure {
  margin: 0 auto;
  text-align: center;
}

.publication-figure img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}

.publication-figure figcaption,
.reconstruction-grid figcaption {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0.9rem auto 0;
  max-width: 940px;
  text-align: left;
}

.result-figure + .result-figure {
  border-top: 1px solid var(--rule);
  margin-top: 2.75rem;
  padding-top: 2.75rem;
}

.reconstruction-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.reconstruction-grid figure {
  margin: 0;
}

.reconstruction-grid img {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.reconstruction-grid figcaption {
  margin-top: 0.45rem;
  text-align: center;
}

pre {
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow-x: auto;
}

pre code {
  white-space: pre;
}

.footer {
  border-top: 1px solid var(--rule);
  color: var(--muted);
  padding-bottom: 2.5rem;
  padding-top: 2.5rem;
}

@media screen and (max-width: 768px) {
  .publication-header .hero-body {
    padding-top: 2.25rem;
  }

  .publication-title.title.is-1 {
    font-size: 2.05rem;
    line-height: 1.18;
  }

  .publication-authors,
  .publication-affiliations {
    font-size: 1rem !important;
  }

  .section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .publication-copy > p,
  .publication-figure figcaption {
    text-align: left;
  }
}
