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

.gradient-text {
  color: #CB297B;
  background-image: linear-gradient(90deg, #CB297B, #650E47);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.gradient-text b,
.gradient-text strong {
  color: inherit;
  background-image: inherit;
  background-size: inherit;
  background-repeat: inherit;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gradient-text {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .gradient-text b,
  .gradient-text strong {
    color: inherit;
    -webkit-background-clip: inherit;
    background-clip: inherit;
    -webkit-text-fill-color: inherit;
  }
}

.publication-title.gradient-text {
  display: inline-block;
}

.hero-teaser {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.25rem;
  margin: 1.5rem auto 0;
  text-align: center;
  width: fit-content;
}

.hero-inline-inputs {
  gap: 0.35rem;
}

.hero-inline-inputs .editing-input {
  width: 15%;
}

.hero-inline-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #262626;
  font-size: 0.8rem;
  width: 83%;
  align-self: stretch;
  text-align: center;
}

.hero-inline-prompt .prompt-text {
  color: #262626;
}

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

.reconstruction-section {
  background-color: #fafafa;
}

.reconstruction-grid,
.editing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.reconstruction-item,
.editing-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.reconstruction-video-wrapper,
.editing-video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  user-select: none;
  -webkit-user-select: none;
}

.reconstruction-video-wrapper video,
.editing-video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.reconstruction-input {
  position: absolute;
  bottom: 0.15rem;
  left: 0.15rem;
  width: 25%;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #f4f4f4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.editing-inputs {
  position: absolute;
  bottom: 0.15rem;
  left: 0.15rem;
  display: flex;
  align-items: flex-end;
  gap: 0.15rem;
}

.editing-input {
  width: 22.5%;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background: #f4f4f4;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.editing-prompt {
  margin-top: 0.05rem;
  margin-bottom: 0.25rem;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #262626;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.prompt-label {
  font-weight: 600;
  margin-right: 0.25rem;
  color: #111;
}

.video-generation-section {
  background-color: #fafafa;
}

.video-generation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.video-generation-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.video-generation-video-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-generation-video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.video-generation-caption {
  font-size: 0.95rem;
  font-weight: 600;
  color: #262626;
}

.interactive-ui-section {
  background-color: #fafafa;
}

.interactive-ui-section .interactive-video-container {
  margin: 1.5rem auto 1rem;
  max-width: 100%;
}

.interactive-ui-section .interactive-video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: #000;
}

.interactive-video-note {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.interactive-video-button {
  margin-top: 0.5rem;
}

@media (max-width: 1024px) {
  .reconstruction-grid,
  .editing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-generation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .reconstruction-grid,
  .editing-grid {
    grid-template-columns: 1fr;
  }

  .reconstruction-input {
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .editing-inputs {
    bottom: 0.75rem;
    left: 0.75rem;
    gap: 0.4rem;
  }

  .video-generation-grid {
    grid-template-columns: 1fr;
  }
}
