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

.teaser-card-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.teaser-card-grid.one-wide .teaser-card {
  width: 220px;
}

.teaser-card-grid.two-wide .teaser-card {
  width: 220px;
}

.teaser-card-grid.three-wide .teaser-card {
  width: 210px;
}

.teaser-layout {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.teaser-card.original-card {
  width: 250px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
}

.teaser-tabs-panel {
  flex: 1;
  min-width: 360px;
}

.teaser-card.large-card {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
}

.teaser-card.large-card.two-section .teaser-card-section {
  flex: 1;
}

.teaser-card-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
}

.teaser-card-section {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 100%;
}

.teaser-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 14px;
  padding: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  overflow: hidden;
}

.teaser-card-section .input-views-carousel {
  max-width: 220px;
  margin: 0 auto;
  border-radius: 12px;
  padding: 0.5rem;
  background: #ffffff;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.05);
}

.teaser-card-section .input-views-carousel img {
  width: 100%;
  border-radius: 10px;
}

.video-wrapper.small-video,
.video-wrapper.medium-video {
  width: 220px;
  height: 220px;
  margin: 0 auto;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.05);
  padding: 0.4rem;
}

.image-comparison.compact {
  max-width: 230px;
  margin: 0 auto;
}

.teaser-card .video-wrapper,
.teaser-card .image-comparison {
  flex: 1 1 auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.teaser-card.original-card .video-wrapper {
  width: 100%;
  max-width: 200px;
}

.teaser-card .video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.teaser-card.large-card h4 {
  margin-bottom: 0.2rem;
}

.teaser-tabs {
  margin-bottom: 1.5rem;
  background: transparent;
}

.teaser-tabs-panel .tab-content {
  animation: fadeIn 0.25s ease;
}

.teaser-tabs li a {
  background: #fff;
}

.teaser-tabs li.is-active a {
  background: #fff;
  border-bottom-color: #fff;
}

.teaser-card .image-comparison .images-container {
  height: 100%;
}

.teaser-card h4 {
  margin-bottom: 0.1rem;
  font-size: 0.85rem;
}

.teaser-caption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
}


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

.example-block {
  margin-bottom: 3rem;
}
.example-title {
  margin-bottom: 0.75rem;
}
.example-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.25rem;
}

.example-block .tabs {
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.example-block .tabs a {
  padding: 0.75em 1.5em;
}

.tab-content {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.gs-thumb {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.gs-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.input-views-carousel {
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.input-views-carousel {
  overflow: hidden;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.input-slider {
  overflow: hidden;
}

.input-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.4s ease;
}

.input-slider-item {
  flex: 0 0 100%;
}

.input-slider-item img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.input-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  z-index: 5;
}

.input-slider-nav:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.input-slider-nav.prev {
  left: 12px;
}

.input-slider-nav.next {
  right: 12px;
}

.input-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.input-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0;
}

.input-slider-dot.is-active {
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.comparison-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.comparison-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.comparison-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
}
.comparison-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.comparison-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comparison-slider {
  width: 100%;
  margin-top: 0.75rem;
}
.comparison-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #777;
  margin-top: 0.25rem;
}

.video-wrapper {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.video-wrapper video {
  width: 100%;
  display: block;
}

@media (max-width: 1024px) {
  .comparison-container {
    max-width: 100%;
  }
}
/* --- Before/After scrubber --- */

.image-comparison {
  max-width: 700px;
  margin: 20px auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.image-comparison img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

.image-comparison .images-container {
  position: relative;
  display: flex;
}

/* Standalone images container (not part of comparison) */
.column .images-container:not(.image-comparison .images-container) {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.image-comparison .images-container .before-image {
  position: absolute;
  top: 0;
  width: 50%;
}

.image-comparison .slider {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.image-comparison .slider-line {
  position: absolute;
  height: 100%;
  width: 4px;
  background: #fff;
  left: 50%;
  transform: translateX(-50%);
}

.image-comparison .slider-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  color: #fff;
  transform: translate(-50%, -50%) rotateZ(90deg);
}

.image-comparison .comparison-label {
  position: absolute;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  pointer-events: none;
  z-index: 10;
}

.image-comparison .label-before {
  left: 12px;
}

.image-comparison .label-after {
  right: 12px;
}