body {
  color: #202124;
  font-family: "Noto Sans", sans-serif;
}

a {
  color: #0f766e;
}

a:hover {
  color: #0b5f59;
}

.navbar {
  border-bottom: 1px solid #e5e7eb;
}

.brand-mark {
  color: #202124;
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
}

.publication-header .hero-body {
  padding-bottom: 1.5rem;
}

.publication-kicker {
  color: #be123c;
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.publication-title {
  font-family: "Google Sans", sans-serif;
  line-height: 1.08;
}

.publication-authors {
  font-family: "Google Sans", sans-serif;
  margin-bottom: 1rem;
}

.publication-authors sup,
.publication-affiliations sup,
.publication-notes sup {
  font-size: 0.72em;
}

.publication-affiliations {
  color: #374151;
  font-family: "Google Sans", sans-serif;
  line-height: 1.55;
  margin-bottom: 0.35rem;
}

.affiliation-block {
  display: inline-block;
  margin: 0 0.45rem;
}

.publication-notes {
  color: #6b7280;
  font-family: "Google Sans", sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.publication-notes span {
  display: inline-block;
  margin: 0 0.45rem;
}

.publication-email {
  font-family: "Google Sans", sans-serif;
  font-size: 0.98rem;
  margin-bottom: 0.75rem;
}

.publication-venue {
  color: #4b5563;
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.author-block {
  display: inline-block;
}

.publication-links {
  margin-top: 0.75rem;
}

.link-block a {
  margin: 0.25rem;
}

.hero-summary {
  color: #4b5563;
  font-size: 1.14rem;
  line-height: 1.65;
  margin: 1.1rem auto 0;
  max-width: 760px;
}

.teaser .hero-body {
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.figure-panel {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin: 0;
  overflow: hidden;
  padding: 1rem;
}

.figure-panel img {
  display: block;
  height: auto;
  width: 100%;
}

.method-section {
  background: #f8fafc;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.1rem;
}

.feature-card .title {
  margin-bottom: 0.55rem;
}

.feature-card p {
  color: #4b5563;
  line-height: 1.55;
}

.feature-icon {
  align-items: center;
  background: #e0f2f1;
  border-radius: 8px;
  color: #0f766e;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  margin-bottom: 0.9rem;
  width: 2.5rem;
}

.feature-icon.accent-amber {
  background: #fef3c7;
  color: #b45309;
}

.feature-icon.accent-rose {
  background: #ffe4e6;
  color: #be123c;
}

.timeline {
  border-left: 2px solid #d1d5db;
  margin: 1.5rem auto 0;
  max-width: 820px;
  padding-left: 1.25rem;
}

.timeline-step {
  display: grid;
  gap: 1rem;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  margin-bottom: 1.1rem;
  position: relative;
}

.timeline-step::before {
  background: #0f766e;
  border: 3px solid #ffffff;
  border-radius: 999px;
  content: "";
  height: 0.9rem;
  left: -1.77rem;
  position: absolute;
  top: 0.45rem;
  width: 0.9rem;
}

.step-index {
  align-items: center;
  background: #111827;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-family: "Google Sans", sans-serif;
  font-weight: 700;
  height: 2.2rem;
  justify-content: center;
  width: 3.1rem;
}

.timeline-step .title {
  margin-bottom: 0.35rem;
}

.timeline-step p {
  color: #4b5563;
}

pre {
  border-radius: 8px;
  font-size: 0.92rem;
  max-width: 100%;
  overflow-x: auto;
}

code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

pre code {
  display: block;
  white-space: pre-wrap;
}

.section-heading-row {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.section-heading-row .title {
  margin-bottom: 0;
}

.copy-bibtex-button.is-success {
  background-color: #0f766e;
  border-color: #0f766e;
}

.scroll-top-button {
  align-items: center;
  background: #111827;
  border: 0;
  border-radius: 999px;
  bottom: 1.25rem;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.18);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  height: 2.9rem;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 1.25rem;
  transform: translateY(0.5rem);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease;
  width: 2.9rem;
  z-index: 30;
}

.scroll-top-button:hover {
  background: #0f766e;
}

.scroll-top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.footer .icon-link {
  color: #202124;
  font-size: 1.55rem;
  margin: 0 0.45rem;
}

@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 2.1rem !important;
  }

  .hero-summary {
    font-size: 1rem;
  }

  .affiliation-block,
  .publication-notes span {
    display: block;
    margin: 0.15rem 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    margin-left: 0.3rem;
  }

  .timeline-step {
    grid-template-columns: 2.7rem minmax(0, 1fr);
  }

  .step-index {
    height: 2rem;
    width: 2.45rem;
  }

  .section-heading-row {
    align-items: flex-start;
  }

  .scroll-top-button {
    bottom: 1rem;
    right: 1rem;
  }
}
