/* Academic project page - custom look on top of Bulma 0.9.1.
   Exact typography of the Nerfies / FlowDAgger academic project-page template.
   Bulma supplies the .title / .is-size-* sizes; this file only overrides the
   font families, the dark rounded-pill link buttons, and the section chrome.
   Template: CC BY-SA 4.0, borrowed from Nerfies (https://nerfies.github.io). */

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

/* ---- hero: title, authors, affiliations -------------------------------- */
.publication-title {
  font-family: 'Google Sans', sans-serif;
}
.publication-authors,
.publication-venue {
  font-family: 'Google Sans', sans-serif;
}
.publication-authors {
  margin-top: 0.5rem;
}
.publication-authors a {
  color: hsl(204, 86%, 53%) !important;
}
.publication-authors a:hover {
  text-decoration: underline;
}
.author-block {
  display: inline-block;
}
.publication-venue {
  margin-top: 0.75rem;
  color: #6b6b6b;
}

/* ---- link buttons: dark rounded pills ---------------------------------- */
.publication-links {
  margin-top: 1.25rem;
}
.publication-links .link-block {
  display: inline-block;
  margin: 0.25rem;
}
.publication-links .button {
  background-color: #363636;
  color: #fff;
  border: none;
  border-radius: 9999px;
  font-family: 'Google Sans', sans-serif;
}
.publication-links .button:hover {
  background-color: #4a4a4a;
  color: #fff;
}
.publication-links .button.is-coming {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

/* ---- teaser ------------------------------------------------------------ */
.hero.teaser {
  padding-top: 0;
}
.hero.teaser .container {
  max-width: 1000px;
  margin: 0 auto;
}
.teaser-media img,
.teaser-media video {
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  max-width: 100%;
}
.hero.teaser .subtitle {
  margin-top: 1rem;
  color: #6b6b6b;
  font-size: 0.95rem;
}

/* ---- section body ------------------------------------------------------ */
.section-figure img {
  display: block;
  margin: 1.5rem auto;
  max-width: 100%;
}
.section-caption {
  color: #555;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.5rem;
}

/* ---- results carousel -------------------------------------------------- */
.results-carousel {
  overflow: hidden;
}
.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 0;
}
.results-carousel .item img,
.results-carousel .item video {
  display: block;
  width: 100%;
  border-radius: 10px;
}
.results-carousel .item .caption {
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  color: #555;
  text-align: center;
}

/* ---- embedded video (responsive 16:9 iframe) --------------------------- */
.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 10px;
}
.publication-video iframe,
.publication-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- BibTeX ------------------------------------------------------------ */
.bibtex-section pre {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
}
.bibtex-section pre code {
  background: none;
  color: #363636;
  padding: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.copy-bib {
  float: right;
  margin-top: -2.75rem;
  margin-right: 0.5rem;
}

/* ---- footer ------------------------------------------------------------ */
.footer {
  background-color: #fafafa;
}
.footer a {
  color: hsl(204, 86%, 43%);
}
