/* UniPose9D project page — Nerfies-style overrides on top of Bulma. */

body {
  font-family: 'Noto Sans', sans-serif;
  background: #ffffff;
}

.title,
.subtitle,
.publication-title,
.button,
.footer {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
}

.publication-title {
  font-weight: 600;
}

.publication-authors {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  margin-top: 0.75rem;
}

.publication-authors a {
  color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

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

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

.publication-links .link-block {
  display: inline-block;
  margin: 0.15rem 0.1rem;
}

.external-link.button {
  background: #363636;
}

.external-link.button:hover {
  background: #1a1a1a;
  color: #fff;
}

.external-link.button .icon {
  font-size: 1rem;
}

/* Teaser */
.hero.teaser {
  background: #fff;
}

.hero.teaser .hero-body {
  padding-top: 0;
}

.hero.teaser img {
  width: 100%;
  border-radius: 10px;
}

.teaser-caption {
  font-size: 1rem;
  color: #4a4a4a;
  margin-top: 1.25rem;
}

/* Paper figures */
.paper-figure {
  margin: 2rem auto 0;
  text-align: center;
}

.paper-figure img {
  max-width: 100%;
  border-radius: 8px;
}

.paper-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #4a4a4a;
  text-align: justify;
}

/* Hugging Face demo embed */
.demo-note {
  margin-bottom: 1.25rem;
  color: #4a4a4a;
}

.demo-frame {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: #fafafa;
}

.demo-frame iframe {
  display: block;
  width: 100%;
  height: 860px;
  border: 0;
}

@media (max-width: 768px) {
  .demo-frame iframe {
    height: 640px;
  }
}

/* BibTeX */
#BibTeX pre {
  background: #f5f5f5;
  border-radius: 8px;
  overflow-x: auto;
}

/* Footer */
.footer {
  background: #fafafa;
  font-size: 0.9rem;
}

.footer a {
  color: hsl(204, 86%, 53%);
}
