body {
  font-family: "Noto Sans", Arial, sans-serif;
}

.publication-title {
  font-family: "Google Sans", Arial, sans-serif;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.gradient-title {
  animation: title-gradient-shift 6s ease infinite;
  background: linear-gradient(90deg, #4aa3df, #7b6ff0, #4fc0a3, #4aa3df);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

@keyframes title-gradient-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.publication-authors {
  color: #4a4a4a;
  margin-bottom: 0.35rem;
}

.publication-authors a {
  color: #5b86e5;
}

.publication-authors a:hover {
  color: #2f6ed3;
}

.publication-venue {
  color: #363636;
  font-weight: 700;
  margin-top: 0.55rem;
}

.author-block {
  display: inline-block;
  margin-right: 0.25rem;
}

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

.link-block {
  display: inline-block;
  margin: 0.25rem;
}

.hero-video-section {
  clear: both;
  display: block;
  margin-bottom: 3.5rem;
  padding-bottom: 0;
  position: relative;
  z-index: 1;
}

.hero-video-body {
  display: block;
  margin: 0 auto;
  padding: 0;
  position: relative;
}

video {
  background: #f5f5f5;
  border-radius: 6px;
  display: block;
  height: auto;
  width: 100%;
}

.hero-video {
  height: auto !important;
  margin: 0 auto;
  max-height: none;
  object-fit: contain;
  position: relative;
}

.hero-caption {
  color: #4a4a4a;
  font-size: 1.2rem;
  line-height: 1.55;
  margin: 1.25rem auto 0;
  max-width: 900px;
}

.section.abstract-section {
  background: #fff;
  clear: both;
  margin-top: 0;
  padding-top: 2.5rem;
  position: relative;
  z-index: 2;
}

.section {
  padding-bottom: 2.5rem;
  padding-top: 2.5rem;
}

.content p,
.content li,
.caption,
.comparison-label {
  font-size: 1.05rem;
  line-height: 1.65;
}

.method-section {
  background: #fafafa;
}

.method-placeholder {
  left: 50%;
  margin: 1.5rem 0 1.75rem;
  position: relative;
  transform: translateX(-50%);
  width: 115%;
}

.method-placeholder img {
  border-radius: 6px;
  display: block;
  margin: 0 auto;
  width: 100%;
}

.method-placeholder figcaption {
  color: #666;
  font-size: 0.95rem;
  margin-top: 0.7rem;
  text-align: center;
}

.method-list ul {
  margin-left: 1.2rem;
}

.results-group {
  margin-top: 3rem;
}

.results-group:first-of-type {
  margin-top: 1.5rem;
}

.result-subtitle {
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
  margin-top: -0.5rem;
}

.video-card {
  margin: 1.4rem 0;
}

.heavy-payload-results .video-card {
  margin: 4.5rem auto;
}

.video-card .title {
  margin-bottom: 0.25rem;
}

.comparison-label {
  color: #555;
  margin-bottom: 0.7rem;
}

.caption {
  color: #555;
  margin-top: 0.65rem;
}

.stacked-video {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.height-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.bibtex-section pre {
  background: #f5f5f5;
  border-radius: 0;
  color: #363636;
  font-size: 0.95rem;
  overflow-x: auto;
  padding: 1.5rem;
  white-space: pre;
}

.footer {
  background: #fafafa;
  padding: 2rem 1.5rem;
}

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

  .hero-body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

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

  .method-placeholder {
    left: auto;
    transform: none;
    width: 100%;
  }

  .content p,
  .content li,
  .caption,
  .comparison-label {
    font-size: 1rem;
  }
}
