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;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.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;
  margin: 0 0.35rem;
}

.publication-affiliations {
  color: #555;
}

.publication-notes {
  color: #666;
  margin-top: 0.25rem;
}

.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;
}

.comparison-video-frame {
  width: min(100%, 70vw, 52rem);
  margin-right: auto;
  margin-left: auto;
}

.detection-figure-frame {
  width: min(100%, 86vw, 72rem);
  margin-right: auto;
  margin-left: auto;
}

.detection-figure-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.detection-analysis {
  max-width: 960px;
  margin: 1.5rem auto 0;
}

.detection-comparison {
  max-width: 1180px;
  margin: 0 auto;
}

.detection-comparison__tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.detection-comparison__tab {
  padding: 0.55rem 1rem;
  color: #363636;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.detection-comparison__tab.is-active {
  color: #fff;
  background: #3273dc;
  border-color: #3273dc;
}

.detection-comparison__set {
  display: none;
}

.detection-comparison__set.is-active {
  display: block;
}

.detection-case-viewer {
  position: relative;
  width: min(100%, 62rem);
  margin-right: auto;
  margin-left: auto;
}

.detection-case-viewer > .item {
  display: none;
  margin: 5px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  font-size: 0;
}

.detection-case-viewer > .item.is-active {
  display: block;
}

.detection-case-nav {
  position: absolute;
  top: 50%;
  z-index: 12;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transform: translateY(-50%);
}

.detection-case-nav--previous {
  left: 0.75rem;
}

.detection-case-nav--next {
  right: 0.75rem;
}

.detection-case-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.72rem;
  height: 0.72rem;
  border-top: 3px solid #363636;
  border-left: 3px solid #363636;
}

.detection-case-nav--previous::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.detection-case-nav--next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.detection-case-thumbs {
  max-width: min(100%, 62rem);
  margin-top: 0.9rem;
}

.detection-case__title {
  margin-bottom: 0.75rem;
  color: #363636;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.detection-slider {
  --left-cut: 33.333%;
  --right-cut: 66.667%;
  position: relative;
  width: min(100%, 62rem);
  margin: 0 auto;
  aspect-ratio: 1100 / 621;
  overflow: hidden;
  background: #111;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.detection-slider__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.detection-slider__image--left {
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--left-cut)) 0 0);
}

.detection-slider__image--middle {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--right-cut)) 0 var(--left-cut));
}

.detection-slider__image--right {
  z-index: 3;
  clip-path: inset(0 0 0 var(--right-cut));
}

.detection-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 3px;
  padding: 0;
  background: #fff;
  border: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.24), 0 0 18px rgba(0, 0, 0, 0.35);
  cursor: ew-resize;
}

.detection-slider__handle--left {
  left: var(--left-cut);
  transform: translateX(-50%);
}

.detection-slider__handle--right {
  left: var(--right-cut);
  transform: translateX(-50%);
}

.detection-slider__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.68);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.detection-slider__label {
  position: absolute;
  bottom: 1rem;
  z-index: 6;
  max-width: 30%;
  padding: 0.35rem 0.55rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.detection-slider__label--left {
  left: calc(var(--left-cut) / 2);
}

.detection-slider__label--middle {
  left: calc((var(--left-cut) + var(--right-cut)) / 2);
}

.detection-slider__label--right {
  left: calc((100% + var(--right-cut)) / 2);
}

@media (max-width: 768px) {
  .comparison-video-frame,
  .detection-figure-frame {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .detection-comparison__tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .detection-slider__label {
    bottom: 0.6rem;
    max-width: 36%;
    font-size: 0.72rem;
  }

  .detection-slider__handle::after {
    width: 26px;
    height: 26px;
  }
}

.video-compare {
  --compare-position: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 854 / 484;
  overflow: hidden;
  background: #111;
  border-radius: 8px;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.video-compare__video {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  pointer-events: none;
}

.video-compare__after {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.video-compare__before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
}

.video-compare__before {
  width: 100%;
  max-width: none;
}

.video-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  z-index: 3;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 18px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
  pointer-events: none;
}

.video-compare__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.68);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.video-compare__range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  pointer-events: none;
}

.video-compare__labels {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  pointer-events: none;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.video-compare__labels span {
  max-width: 45%;
}

.video-carousel-thumbs {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  max-width: min(100%, 70vw, 52rem);
  margin: 0.8rem auto 0;
  padding: 0.15rem 0.1rem 0.35rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.video-carousel-thumb {
  flex: 0 0 7.2rem;
  aspect-ratio: 854 / 484;
  padding: 0;
  overflow: hidden;
  background: #111;
  border: 2px solid transparent;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  opacity: 0.72;
  transition: border-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.video-carousel-thumb:hover,
.video-carousel-thumb:focus-visible {
  opacity: 1;
  outline: none;
  transform: translateY(-1px);
}

.video-carousel-thumb.is-active {
  border-color: #3273dc;
  opacity: 1;
}

.video-carousel-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .video-compare__divider::after {
    width: 28px;
    height: 28px;
  }

  .video-compare__labels {
    font-size: 0.72rem;
  }

  .video-carousel-thumbs {
    justify-content: flex-start;
    max-width: 100%;
  }

  .video-carousel-thumb {
    flex-basis: 5.8rem;
  }
}


.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;
}
