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-banner {
  max-height: parent;

}

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


.publication-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 2.55rem !important;
  line-height: 1.18;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 1.85rem !important;
  }
}

.publication-hero .hero-body {
  padding-bottom: 1rem;
}

.teaser-section {
  padding-top: 0.75rem;
}

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

.publication-affiliation {
  margin-top: 0.65rem;
}

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

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


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

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

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



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

.content img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
  margin: 2rem auto;
}

.content img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}


.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-panel .slider {
  margin: 0 !important;
}

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

#interpolation-image-wrapper {
  width: 100%;
}

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

.scene-selection-buttons .button {
  margin: 0.25rem;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.scene-selection-buttons .button.is-active {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.qualitative-scene-buttons {
  margin-bottom: 0.75rem;
}

.qualitative-scene-buttons .qualitative-button-row {
  margin-bottom: 0.35rem;
  justify-content: center;
}

.image-container {
  position: relative;
  min-height: 300px;
  /* Prevent layout shift */
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
}

.fullscreen-image-trigger {
  cursor: zoom-in;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem 1.5rem;
  background: rgba(0, 0, 0, 0.86);
}

.image-lightbox.is-active {
  display: flex;
}

.image-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-out;
}

.image-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.comparison-row {
  margin-top: 1rem;
  margin-bottom: 1.75rem !important;
}

.comparison-row .column {
  display: flex;
  justify-content: center;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.comparison-slider {
  --position: 50%;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.content .comparison-slider img,
.comparison-slider img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
  border-radius: 0;
  box-shadow: none;
  transform: none !important;
  transition: none;
}

.comparison-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--position));
}

.comparison-image-after {
  width: 100%;
  height: auto;
}

.comparison-label {
  position: absolute;
  top: 0.75rem;
  z-index: 3;
  box-sizing: border-box;
  overflow: hidden;
  height: 1.2rem;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.comparison-label-before {
  left: var(--before-label-left, 0.75rem);
  width: var(--before-label-width, max-content);
}

.comparison-label-after {
  left: var(--after-label-left, auto);
  width: var(--after-label-width, max-content);
}

.comparison-label-text {
  position: absolute;
  top: 0;
  box-sizing: border-box;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
}

.comparison-label-before .comparison-label-text {
  right: 0;
}

.comparison-label-after .comparison-label-text {
  left: 0;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 3;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-divider::before,
.comparison-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.comparison-divider::before {
  right: 5px;
  transform: translateY(-50%) rotate(135deg);
}

.comparison-divider::after {
  left: 5px;
  transform: translateY(-50%) rotate(-45deg);
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: ew-resize;
  opacity: 0;
}

#indirect-image {
  background: #fff;
  box-sizing: border-box;
  padding-right: 32px;
  padding-bottom: 32px;
}

#qualitative-image {
  background: #fff;
  box-sizing: border-box;
  padding-right: 32px;
  padding-bottom: 32px;
}

@media screen and (max-width: 768px) {
  #qualitative-image {
    padding-right: 20px;
    padding-bottom: 20px;
  }

  #indirect-image {
    padding-right: 20px;
    padding-bottom: 20px;
  }
}

.relighting-gif {
  width: 100%;
  aspect-ratio: 514 / 347;
  object-fit: cover;
  margin: 0 auto !important;
}

.relighting-row {
  margin-top: 1rem;
  margin-bottom: 0.1rem !important;
}

.relighting-row .column {
  display: flex;
  justify-content: center;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.relighting-row:last-of-type {
  margin-bottom: 0 !important;
}

.normal-comparison-row {
  margin-top: 1rem;
  margin-bottom: 1.5rem !important;
}

.normal-comparison-column {
  padding: 0.45rem;
}

.normal-comparison-column-third {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

.normal-comparison-column-half {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

.normal-comparison-column img {
  width: 100%;
  margin: 0 auto 0.65rem !important;
}

.normal-comparison-column figcaption {
  font-weight: 600;
  font-style: normal;
}

@media screen and (max-width: 768px) {
  .normal-comparison-column {
    flex-basis: 100%;
    max-width: 100%;
  }
}
