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

.dnerf {
  font-variant: small-caps;
}

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

.publication-title {
  font-family: 'Google Sans', sans-serif !important;
}

.publication-banner {
  width: 95%;
}

.publication-banner video {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
}

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

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

.publication-banner img {
  max-height: 500px;
}

.publication-body img {
  max-height: 500px;
}

.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.publication-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel .item .subtitle {
  font-size: 0.8rem;
  padding: 0 0.5rem;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: #4a4a4a;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.scroll-to-top:hover {
  background: #363636;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}


/* BibTeX */
pre {
  background: #f5f5f5 !important;
  border: 1px solid #dbdbdb !important;
  border-radius: 4px !important;
  padding: 1rem !important;
  font-size: 0.875rem !important;
  overflow-x: auto;
}

code {
  background: transparent !important;
  color: #363636 !important;
  font-family: 'Courier New', Courier, monospace !important;
}

.bibtex-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.copy-bibtex-btn {
  background: #3273dc;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.copy-bibtex-btn:hover {
  background: #2366d1;
}

.copy-bibtex-btn.copied {
  background: #48c78e;
}

.eql-cntrb small {
  color: #7a7a7a;
}

/* Footer */
.footer {
  padding: 2rem 1.5rem;
}

