.navbar.logo {
  margin-top: 0;
  margin-bottom: 0;
}

body {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 500;
}

.navbar-brand.logo {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  width: 100%;
}

.navbar-item.logo {
  position: static;
  transform: none;
  padding: 0px;
}

.navbar-item.logo img {
  max-height: 60px;
}

.navbar-item.logo.logo-small img {
  max-height: 50px;
}

.navbar-item.logo.logo-large img {
  max-height: 100px;
}

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

.publication-authors {
  font-weight: 500;
}

.author-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.publication-institute {
  font-weight: 400;
}

.section-title {
  font-size: 1.7rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.results-blocks {
  margin-top: 1.5rem;
}

.results-blocks .section {
  padding-top: 0;
}

.results-subtitle {
  font-size: 1.3rem;
}

.results-subsection + .results-subsection {
  margin-top: 1.5rem;
}

.publication-authors sup,
.publication-institute sup {
  font-size: 0.65em;
}

.venue-text {
  font-size: 1.75rem;
  margin-top: 1rem;
}

.header-gap {
  margin-top: 1rem;
}

.affiliation-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 10px !important;
}

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

.publication-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
}

.publication-keywords {
  color: #14274e;
}

.author-blocks {
  color: #50549b;
}

.author-blocks:hover {
  color: #9bb4c2;
}

.method-carousel,
.results-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.carousel-viewport {
  flex: 1;
  max-width: 1040px;
}


.carousel-slide {
  display: none;
  text-align: left;
}

.carousel-slide.is-active {
  display: block;
}

.carousel-slide img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0.75rem;
}

.results-carousel .carousel-viewport,
.results-carousel .carousel-slide,
.results-carousel .carousel-slide > div {
  width: 100%;
}

.teaser-carousel .carousel-viewport,
.teaser-carousel .carousel-slide {
  width: 100%;
}

.teaser-carousel video,
.teaser-carousel img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

.results-overview-image {
  width: 90%;
  display: block;
  margin: 0 auto;
}

.results-note {
  margin-top: 1rem;
}

.video-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.video-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.video-label {
  min-width: 84px;
  font-weight: 700;
  line-height: 1.25;
}

.two-line-label {
  text-align: center;
  min-width: 92px;
}

.two-line-label span {
  display: block;
}

.result-video {
  flex: 1;
  min-width: 0;
  width: 100%;
  display: block;
  border-radius: 10px;
}

.rl-grid {
  display: flex;
  justify-content: space-around;
  gap: 3rem;
  margin-top: 2rem;
}

.rl-column {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.rl-heading {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.rl-pairs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.rl-pairs > div {
  flex: 1 1 0;
  min-width: 0;
}

.rl-label {
  font-weight: 700;
}

.rl-image {
  width: 100%;
  display: block;
  margin: 0 auto;
}

.carousel-arrow {
  background: #14274e;
  border: none;
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: #50549b;
}


.link-blocks {
  margin-top: 0;
}

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

.hero-teaser .hero-body {
  padding-top: 1.5rem;
}

.link-button {
  color: #f5f5f5;
  background-color: #143163;
  border-color: #143163;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
  margin-bottom: 0.5rem;
}

.link-button:hover {
  color: #f5f5f5;
  background-color: #143163;
  border-color: #143163;
}

.bibtex-box {
  background-color: #f5f5f5;
  font-family: "Roboto Mono", monospace;
}

@media screen and (max-width: 768px) {
  .venue-text {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .results-subtitle {
    font-size: 1.15rem;
  }

  .navbar-brand.logo {
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .navbar-item.logo img {
    max-height: 40px;
  }

  .navbar-item.logo.logo-small img {
    max-height: 36px;
  }

  .navbar-item.logo.logo-large img {
    max-height: 52px;
  }

  .method-carousel,
  .results-carousel {
    gap: 0.5rem;
  }

  .carousel-arrow {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .video-row {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .video-label {
    min-width: 72px;
    text-align: left;
  }

  .rl-pairs {
    gap: 1rem;
  }

  .rl-image {
    width: 100%;
    max-width: none;
  }

}
