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

.navbar-home-logo {
  align-items: center;
  padding: 0.15rem 0.85rem;
}

.navbar-home-logo img {
  display: block;
  height: 3.25rem;
  max-height: none;
  width: auto;
}

/* Use more horizontal space on wide screens. */
.hero .container.is-max-desktop,
#abstract .container.is-max-desktop,
#methodology .container.is-max-desktop,
#results .container.is-max-desktop,
#acknowledgments .container.is-max-desktop,
#BibTeX .container.is-max-desktop {
  max-width: min(60vw, 980px) !important;
}

#abstract .column.is-four-fifths,
#acknowledgments .column.is-four-fifths {
  flex: 0 0 100%;
  width: 100%;
}


.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.link-block > .button {
  margin-bottom: 5px;
  margin-top: 5px;
}

.publication-links .button {
  justify-content: center;
  width: 6.25rem;
}

.site-ending {
  padding: 1.25rem 1.5rem 2rem;
  text-align: center;
}

.site-ending hr {
  background-color: #e6e9ef;
  height: 1px;
  margin: 0 auto 0.9rem;
}

.site-ending p {
  color: #9aa3ad;
  font-size: 0.9rem;
}

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

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


.publication-title {
}

/* Slightly reduce paper title/section heading sizes for better balance. */
.publication-title {
  font-size: 2.4rem !important;
  line-height: 1.25;
}

.section .title.is-3 {
  font-size: 1.7rem !important;
}

.section .title.is-4 {
  font-size: 1.4rem !important;
}

.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-hero .hero-body {
  padding-bottom: 2.25rem;
}

.publication-conference {
  margin-bottom: 0.35rem;
}

.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: #1f4e79 !important;
}

.publication-authors a:hover {
    color: #163a5c !important;
    text-decoration: underline;
}

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

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

.tongji-logo-link {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 0.6rem auto 0;
  padding: 0.35rem;
  width: fit-content;
}

.tongji-logo-link:hover,
.tongji-logo-link:focus {
  opacity: 0.82;
}

.tongji-logo-link img {
  display: block;
  height: auto;
  width: 15rem;
}

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

/* 1×2 qualitative comparison carousel: GT vs Ours */
.comparison-carousel {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  overflow-x: visible;
}

.comparison-nav-btn {
  border: 1px solid #dbdbdb;
  background: #fff;
  color: #363636;
  border-radius: 999px;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 1;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.28;
  position: absolute;
  top: calc(50% + 0.65rem);
  z-index: 5;
  transform: translateY(-50%);
  transition: opacity 0.18s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.comparison-nav-prev {
  left: 0.55rem;
}

.comparison-nav-next {
  right: 0.55rem;
}

.comparison-nav-btn:hover,
.comparison-nav-btn:focus {
  background: #f5f5f5;
  border-color: #b5b5b5;
  opacity: 0.96;
}

.comparison-pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
}

.comparison-pair-cell {
  display: flex;
  flex-direction: column;
}

.comparison-pair-label {
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  color: #363636;
  margin-bottom: 0.35rem;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
}

.comparison-pair-cell img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 6px;
  border: none;
  background: transparent;
  display: block;
  transition: opacity 0.38s ease, transform 0.38s ease;
  opacity: 1;
}

.comparison-pair-grid.is-switching img {
  opacity: 0;
  transform: translateY(8px);
}

@media (max-width: 900px) {
  .hero .container.is-max-desktop,
  #abstract .container.is-max-desktop,
  #methodology .container.is-max-desktop,
  #results .container.is-max-desktop,
  #acknowledgments .container.is-max-desktop,
  #BibTeX .container.is-max-desktop {
    max-width: min(90vw, calc(100vw - 1.25rem)) !important;
  }

  .publication-title {
    font-size: 1.95rem !important;
  }

  .section .title.is-3 {
    font-size: 1.45rem !important;
  }

  .section .title.is-4 {
    font-size: 1.2rem !important;
  }

  #methodology .paper-framework-fig,
  #results .paper-qual-fig {
    max-width: 96%;
    width: 96%;
  }

}

.result-block {
  margin-bottom: 2.5rem;
}

#results .paper-visual-block {
  margin-bottom: 0;
}

#results .paper-visual-block + .paper-visual-block {
  margin-top: 3rem;
}

.result-block .table-container {
  overflow-x: auto;
}

.result-block table.table {
  font-size: 0.95rem;
}

.paper-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

table.table.is-paper {
  font-size: 0.72rem;
  white-space: nowrap;
}

table.table.is-paper th,
table.table.is-paper td {
  vertical-align: middle;
  padding: 0.35em 0.5em;
}

table.table.is-paper caption {
  caption-side: bottom;
  font-size: 0.85rem;
  white-space: normal;
  text-align: left;
  padding-top: 0.75rem;
  color: #4a4a4a;
}

.paper-table-title,
.paper-figure-caption {
  font-family: 'Noto Sans', sans-serif;
  color: #4a4a4a;
  font-size: 0.75rem;
}

.paper-table-title {
  font-weight: 700;
}

.paper-figure-caption {
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  max-width: 52rem;
  margin: 0.75rem auto 0;
}

.paper-figure-caption strong {
  font-style: normal;
  font-weight: 700;
}

.section .paper-table-title.title.is-4 {
  font-size: 0.75rem !important;
  margin-bottom: 0.75rem;
}

#methodology .paper-framework-fig {
  max-width: 86%;
  height: auto;
  border-radius: 8px;
  border: none;
  display: block;
  margin: 0 auto;
}

#results .paper-qual-fig {
  max-width: 86%;
  width: auto;
  height: auto;
  border-radius: 8px;
  border: none;
  display: block;
  margin: 0 auto;
}
