body {
  font-family: 'Noto 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: 1.5rem;
  padding-bottom: 4.5rem;
}

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

.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: 0;
  padding: 0;
  font-size: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.results-carousel .item img {
  width: 100%;
  height: auto;
  display: block;
}

.results-carousel .item .subtitle {
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 400;
  padding: 0.85rem 1.1rem 1.1rem;
  margin: 0;
  text-align: justify;
}

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

.shadow-style {
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  /* border-radius: 4px; */
}

.captioned_video {
  background-size: cover;
  vertical-align: center;
}

.prompt_gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /*grid-template-rows: repeat(4, 1fr);*/
  /*grid-auto-flow: dense;*/
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  /*align-items: stretch;*/
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  background-color: #fdfcff;
}

.varying_img {
  max-height: 300px;
  object-fit: cover;
  /*border: 1px solid black;*/
}

/* Application subsection headings */
.app-block-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 1.75rem;
  max-width: 1000px;
}

.app-block-header::before,
.app-block-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d0d0d0);
  max-width: 180px;
}

.app-block-header::after {
  background: linear-gradient(90deg, #d0d0d0, transparent);
}

.app-block-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.02em;
  margin: 0;
  white-space: nowrap;
}

#results .hero.is-small .hero-body {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.publication-title {
  line-height: 1.22;
}

.section-intro {
  max-width: 920px;
  margin: 0 auto 2.25rem;
}

.caption {
  font-size: 1.05rem;
  line-height: 1.55;
  font-weight: 400;
  margin: 1.75rem auto 0;
  max-width: 920px;
  text-align: justify;
  color: #363636;
}

.method-figure {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

.wide {
  width: min(1000px, calc(100% - 4rem));
  margin: 0 auto;
}

.teaser-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 36px;
}

.teaser-grid video,
.video-grid video,
.compare-stack video {
  display: block;
  width: 100%;
  height: auto;
  background: #f4f4f4;
  border: 1px solid #e6e6e6;
}

.compare-stack {
  display: grid;
  gap: 48px;
}

.compare-stack video {
  max-width: 960px;
  margin: 0 auto;
}

.video-kicker,
.teaser-kicker {
  margin: 0 0 0.4rem;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.92rem;
  color: #666;
}

.teaser-kicker {
  margin-top: 0.45rem;
  margin-bottom: 0;
  text-align: center;
}

.subhead {
  margin: 3.25rem 0 1.35rem;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #555;
  text-align: center;
}

.subhead:first-of-type {
  margin-top: 0.2rem;
}

.is-soon {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

.section-intro.caption {
  margin-bottom: 2.4rem;
}

.teaser-grid video,
.video-grid video {
  aspect-ratio: 656 / 240;
  object-fit: contain;
}

.compare-stack video {
  aspect-ratio: 960 / 632;
  object-fit: contain;
}

.score-block + .score-block {
  margin-top: 3.25rem;
}

.score-block h3 {
  margin-bottom: 0.35rem;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  text-align: center;
}

.score-wrap {
  overflow-x: auto;
}

.score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.score-table th,
.score-table td {
  padding: 0.48rem 0.6rem;
  border-bottom: 1px solid #ececec;
  text-align: center;
  white-space: nowrap;
}

.score-table th {
  font-weight: 600;
  color: #444;
  background: #fafafa;
}

.score-table td:first-child,
.score-table th:first-child {
  text-align: left;
}

.score-table tr.ours td {
  background: #f3f7fc;
}

.score-table tr.ours td:first-child {
  font-weight: 600;
}

.score-table td.best {
  font-weight: 700;
}

.score-table .group-row td {
  padding-top: 0.95rem;
  background: #fff;
  color: #888;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}

.bibtex {
  text-align: left;
  font-size: 0.82rem;
  overflow-x: auto;
  background: #fafafa;
  border-radius: 6px;
}

.hero-body,
.section {
  padding-left: 3.5rem;
  padding-right: 3.5rem;
}

.hero.is-small .hero-body {
  padding: 4rem 3.5rem;
}

#method .hero-body {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

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

  .hero-body,
  .section,
  .hero.is-small .hero-body {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero.is-small .hero-body,
  #method .hero-body,
  #results .hero.is-small .hero-body {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .wide {
    width: min(100%, calc(100% - 0.5rem));
  }

  .teaser-grid,
  .video-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .app-block-title {
    white-space: normal;
    font-size: 1.12rem;
  }
}
