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


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

.link-block a,
.link-block .button {
    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;
  margin-right: 1.65rem;
}

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

.bal-container-small {
  position: relative;
  width: 100%;
  height: 400px;
  cursor: grab;
  overflow: hidden;
  border-radius: 10px;
  margin: 5px;
}

.bal-container-big {
  position: relative;
  width: 100%;
  height: 400px;
  cursor: grab;
  overflow: hidden;
}

.bal-after {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bal-before {
  display: block;
  position: absolute;
  top: 0;
  /* right: 0; */
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  overflow: hidden;
}

.bal-before-inset {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.bal-after img,
.bal-before img {
  object-fit: cover;
  position: absolute;
  width: 100%;
  height: 100%;
  object-position: 50% 50%;
  top: 0;
  bottom: 0;
  left: 0;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.bal-beforePosition {
  background: #121212;
  color: #fff;
  left: 0;
  pointer-events: none;
  border-radius: 0.2rem;
  padding: 2px 10px;
}

.bal-afterPosition {
  background: #121212;
  color: #fff;
  right: 0;
  pointer-events: none;
  border-radius: 0.2rem;
  padding: 2px 10px;
}

.beforeLabel {
  position: absolute;
  bottom: 0;
  margin: 1rem;
  font-size: 1em;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.afterLabel {
  position: absolute;
  bottom: 0;
  margin: 1rem;
  font-size: 1em;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.bal-handle {
  height: 41px;
  width: 41px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -20px;
  margin-top: -21px;
  border: 2px solid #fff;
  border-radius: 1000px;
  z-index: 20;
  pointer-events: none;
  box-shadow: 0 0 10px rgb(12, 12, 12);
}

.handle-left-arrow,
.handle-right-arrow {
  width: 0;
  height: 0;
  border: 6px inset transparent;
  position: absolute;
  top: 50%;
  margin-top: -6px;
}

.handle-left-arrow {
  border-right: 6px solid #fff;
  left: 50%;
  margin-left: -17px;
}

.handle-right-arrow {
  border-left: 6px solid #fff;
  right: 50%;
  margin-right: -17px;
}

.bal-handle::before {
  bottom: 50%;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgb(12, 12, 12);
}

.bal-handle::after {
  top: 50%;
  margin-top: 20.5px;
  box-shadow: 0 0 5px rgb(12, 12, 12);
}

.qualitative-comparison-section {
  padding-top: 3rem;
}

.comparison-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.comparison-pair {
  min-width: 0;
}

.comparison-buttons-container {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
  width: 100%;
}

.method-buttons-group {
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.25rem;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  background: #f7f7f7;
}

.method-button {
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #363636;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.65rem 0.45rem;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.method-button:hover,
.method-button:focus-visible {
  background: #ededed;
  outline: none;
}

.method-button.active {
  background: #1f2937;
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(31, 41, 55, 0.2);
}

.method-button:disabled,
.method-button.is-disabled {
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.55;
}

.method-button:disabled:hover,
.method-button.is-disabled:hover {
  background: transparent;
}

.image-wrapper-comparison {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #f5f5f5;
  aspect-ratio: 16 / 9;
}

.image-wrapper-comparison img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rgb-frame-animation {
  position: relative;
  width: 100%;
  height: 100%;
}

.rgb-frame-animation img {
  position: absolute;
  inset: 0;
  animation: rgbFrameSwap 1.4s steps(1, end) infinite;
}

.rgb-frame-animation img:first-child {
  animation-delay: 0s;
}

.rgb-frame-animation img:last-child {
  animation-delay: -0.7s;
  opacity: 0;
}

@keyframes rgbFrameSwap {
  0%,
  49.999% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.rgb-comparison-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.rgb-frame-pair {
  min-width: 0;
}

.rgb-frame-label {
  color: #4a4a4a;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  text-align: center;
}

.selection-panel {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 1rem;
}

.selectable-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  padding: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.selectable-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selectable-image:hover,
.selectable-image:focus-visible {
  border-color: #9ca3af;
  outline: none;
}

.selectable-image.selected {
  border-color: #1f2937;
  box-shadow: 0 2px 10px rgba(31, 41, 55, 0.22);
}

@media (max-width: 768px) {
  .comparison-container,
  .rgb-comparison-container {
    grid-template-columns: 1fr;
  }

  .selection-panel {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .method-button {
    font-size: 0.72rem;
    padding: 0.55rem 0.2rem;
  }

  .selection-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.bal-handle::before,
.bal-handle::after {
  content: " ";
  display: block;
  width: 2px;
  background: #fff;
  height: 9999px;
  position: absolute;
  left: 50%;
  margin-left: -1.5px;
}

.section {
  width: 100%;
}


.title.is-3{
  color: #4a4a4a;
}
