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

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

.overview-section,
.simulation-section,
.demo-section {
  padding-top: 2.25rem;
}

.overview-figure {
  margin: 0 auto 1.35rem;
  max-width: 900px;
}

.overview-figure img {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.05);
  display: block;
  width: 100%;
}

.overview-figure figcaption {
  color: #4a4a4a;
  font-size: 0.98rem;
  line-height: 1.62;
  margin: 0.85rem auto 0;
  max-width: 860px;
  text-align: justify;
}

.overview-transition {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 auto 1rem;
  max-width: 960px;
  text-align: center;
}

.overview-compare {
  align-items: stretch;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(250px, 0.82fr) minmax(235px, 0.6fr) minmax(250px, 0.82fr);
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

.simulation-caption {
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto 1.2rem;
  max-width: 860px;
  text-align: left;
}

.simulation-figure {
  margin: 0 auto;
  max-width: 900px;
}

.simulation-figure img {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.05);
  display: block;
  width: 100%;
}

.overview-card {
  background: #fff;
  border: 2px solid #d9dde3;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.05);
  padding: 1.25rem 1.35rem;
}

.baseline-overview {
  border-color: #d06a6a;
}

.block-overview {
  border-color: #4fa37f;
}

.overview-title {
  color: #222;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 1rem;
  text-align: center;
}

.overview-title span {
  color: #555;
  font-size: 1.05rem;
  font-weight: 600;
}

.overview-list,
.demo-metric-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.overview-list li,
.demo-metric-list li {
  align-items: center;
  color: #2b2b2b;
  display: flex;
  font-family: 'Google Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  gap: 0.6rem;
  line-height: 1.35;
  margin-top: 0.7rem;
  text-align: left;
}

.overview-list li span:last-child {
  white-space: nowrap;
}

.status-icon {
  align-items: center;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 1.35rem;
  font-size: 0.9rem;
  font-weight: 800;
  height: 1.35rem;
  justify-content: center;
  line-height: 1;
  width: 1.35rem;
}

.status-ok {
  background: #2f9b6d;
}

.status-no {
  background: #c94b4b;
}

.overview-arrow {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.overview-arrow-text {
  background: #f7f8fa;
  border: 1px solid #d9dde3;
  border-radius: 8px;
  color: #2f3b52;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.85rem;
  padding: 0.8rem 0.95rem;
  text-align: left;
  width: 100%;
}

.overview-arrow-text span {
  display: block;
}

.overview-intro {
  color: #222;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  text-align: center;
}

.overview-arrow-line {
  background: #6b7a90;
  height: 3px;
  position: relative;
  width: 88%;
}

.overview-arrow-line::after {
  border-bottom: 10px solid transparent;
  border-left: 15px solid #6b7a90;
  border-top: 10px solid transparent;
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
}

.demo-subtitle,
.demo-intro {
  color: #4a4a4a;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 auto 0.8rem;
  max-width: 860px;
}

.demo-intro {
  text-align: left;
}

.demo-intro p {
  margin-bottom: 0.55rem;
}

.demo-intro ul {
  list-style: disc;
  margin: 0 0 0.65rem 1.35rem;
  padding: 0;
}

.demo-intro li {
  margin-bottom: 0.25rem;
}

.demo-subtitle:last-child,
.demo-intro {
  margin-bottom: 1.75rem;
}

.demo-compare {
  align-items: stretch;
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
}

.demo-column-heading {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-top: 3px solid #dbdbdb;
  border-radius: 8px;
  padding: 1rem 1.15rem;
}

.demo-method {
  color: #222;
  display: block;
  font-family: 'Google Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.baseline-heading {
  border-top-color: #c94b4b;
}

.block-heading {
  border-top-color: #2f8f6b;
}

.demo-metric-list li {
  font-size: 0.95rem;
  margin-top: 0.45rem;
}

.demo-video-card {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.06);
  overflow: hidden;
  position: relative;
}

.demo-video-card video {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.demo-task,
.demo-speed,
.demo-method-badge,
.demo-finished {
  border-radius: 4px;
  font-family: 'Google Sans', sans-serif;
  position: absolute;
  z-index: 2;
}

.demo-task {
  background: rgba(255, 255, 255, 0.95);
  color: #222;
  font-size: 0.7rem;
  font-weight: 700;
  left: 0.65rem;
  line-height: 1.25;
  max-width: calc(100% - 6.4rem);
  padding: 0.28rem 0.45rem;
  top: 0.65rem;
}

.demo-speed {
  background: rgba(47, 59, 82, 0.88);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.28rem 0.45rem;
  right: 0.65rem;
  top: 0.65rem;
}

.demo-method-badge {
  background: rgba(201, 75, 75, 0.94);
  bottom: 0.65rem;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  left: 0.65rem;
  line-height: 1.2;
  padding: 0.32rem 0.5rem;
}

.block-card .demo-method-badge {
  background: rgba(47, 143, 107, 0.94);
}

.demo-finished {
  background: rgba(32, 32, 32, 0.78);
  color: #fff;
  display: none;
  font-size: 1.05rem;
  font-weight: 800;
  left: 50%;
  letter-spacing: 0;
  padding: 0.45rem 0.75rem;
  top: 50%;
  transform: translate(-50%, -50%);
}

.demo-video-card.is-finished .demo-finished {
  display: block;
}

.results-stats {
  margin: 2.5rem auto 0;
  max-width: 900px;
}

.stats-caption {
  color: #4a4a4a;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 auto 1.2rem;
  max-width: 860px;
  text-align: left;
}

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

.stats-card {
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.05);
  padding: 1rem;
}

.stats-card h4 {
  color: #222;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.9rem;
  min-height: 1.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-group {
  display: grid;
  gap: 0.48rem;
}

.bar-row {
  align-items: center;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 8.1rem minmax(0, 1fr) 2.35rem;
}

.stats-divider {
  border-top: 1px dashed #c5c9d0;
  margin: 0.35rem 0;
}

.bar-label,
.bar-value {
  color: #333;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.2;
}

.bar-label {
  display: inline-flex;
  gap: 0.45rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-value {
  text-align: right;
}

.bar-track {
  background: #f0f1f3;
  border-radius: 999px;
  display: block;
  height: 0.72rem;
  overflow: hidden;
}

.bar-track span {
  border-radius: 999px;
  display: block;
  height: 100%;
}

.baseline-bar .bar-track span {
  background: #c94b4b;
}

.ours-bar .bar-track span {
  background: #2f8f6b;
}

.inference-time {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1rem;
}

.inference-time > span:first-child,
.time-badge {
  transform: translateY(0.68rem);
}

.time-badge {
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.55rem 0.75rem;
}

.baseline-time {
  background: #c94b4b;
}

.ours-time {
  background: #2f8f6b;
}

.speedup-arrow {
  color: #c94b4b;
  display: inline-block;
  font-family: 'Google Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.1;
  min-width: 9rem;
  padding-bottom: 0.95rem;
  position: relative;
  text-align: center;
  white-space: nowrap;
}

.speedup-arrow::before {
  background: #6b7a90;
  bottom: 0.3rem;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: calc(100% - 0.45rem);
}

.speedup-arrow::after {
  border-bottom: 6px solid transparent;
  border-left: 10px solid #6b7a90;
  border-top: 6px solid transparent;
  bottom: calc(0.3rem - 5px);
  content: "";
  position: absolute;
  right: 0;
}

@media screen and (max-width: 900px) {
  .overview-compare,
  .demo-compare,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-card h4 {
    min-height: 0;
  }

  .overview-arrow {
    min-height: auto;
    padding: 0.25rem 0;
  }

  .overview-arrow-line {
    height: 42px;
    width: 3px;
  }

  .overview-arrow-line::after {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid #6b7a90;
    bottom: -1px;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
  }
}
