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


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

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


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

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


.publication-title {
}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {
}

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

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

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

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

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

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.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-body img {
}

.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 video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}

.task-card {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.video-rounded {
  border-radius: 6px;
  width: 100%;
}

.comparison-col-baseline {
  background: #d6d6d6;
  border-radius: 8px;
  padding: 0.75rem;
  height: 100%;
}

.comparison-col-ours {
  background: #c0cef5;
  border-radius: 6px;
  padding: 0.75rem;
  height: 100%;
}

.comparison-columns {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Sidebar nav */
.sidebar-nav {
  position: fixed;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-nav a {
  display: block;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  background: transparent;
  border-left: 3px solid #d0d0d0;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sidebar-nav a:hover,
.sidebar-nav a.is-active {
  background: #c0cef5;
  color: #1a1a2e;
  border-left: 3px solid #7a9be8;
}

/* Hide on smaller screens where it would overlap content */
@media (max-width: 1300px) {
  .sidebar-nav {
    display: none;
  }
}

/* Two-line title: each line is ~27x the font size wide, so size it to fit the container */
.title.publication-title.is-two-line {
  font-size: 2rem;
}

@media screen and (min-width: 1024px) {
  .title.publication-title.is-two-line {
    font-size: 2.125rem; /* 960px container */
  }
}

@media screen and (min-width: 1216px) {
  .title.publication-title.is-two-line {
    font-size: 2.5rem; /* 1152px container */
  }
}

/* Video switcher: one player with arrows to step through several clips */
.video-switcher {
  max-width: 640px;
  margin: 0 auto;
}

/* Fixed 16:9 frame so the page doesn't jump while a clip loads */
.switcher-stage {
  position: relative;
  aspect-ratio: 16 / 9;
}

.switcher-stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* The player loading the next clip sits hidden behind the visible one */
.switcher-stage video.is-buffer {
  visibility: hidden;
}

.switcher-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.switcher-arrow:hover,
.switcher-arrow:focus-visible {
  background: rgba(0, 0, 0, 0.7);
}

.switcher-arrow.is-prev {
  left: 0.75rem;
}

.switcher-arrow.is-next {
  right: 0.75rem;
}

.switcher-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.switcher-dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c4c4c4;
  cursor: pointer;
  transition: background 0.2s ease;
}

.switcher-dot:hover {
  background: #999;
}

.switcher-dot.is-active {
  background: #363636;
}
