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

/* ── Video comparison canvas ── */
.teaser-tabs {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}

.teaser-tab {
  padding: 0.7rem 3rem;
  border: 2px solid #d0d7e2;
  border-radius: 32px;
  background: #fff;
  color: #999;
  font-size: 1.15rem;
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  min-width: 160px;
}

.teaser-tab:hover {
  border-color: #4a90d9;
  color: #4a90d9;
  box-shadow: 0 4px 12px rgba(74,144,217,0.15);
}

.teaser-tab.is-active {
  background: linear-gradient(135deg, #4a90d9, #2c6fbe);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(74,144,217,0.4);
}

/* ── Video pause/play overlay button ── */
.video-overlay-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.50);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  z-index: 20;
}

.video-overlay-btn:hover {
  background: rgba(0, 0, 0, 0.78);
  transform: scale(1.12);
}

#comp-video, #vad-video {
  cursor: pointer;
}

/* ── Comparison tabs (smaller, single-row) ── */
#results .teaser-tab {
  padding: 0.45rem 1.1rem;
  font-size: 0.92rem;
  min-width: 0;
  letter-spacing: 0.03em;
}

/* ── VAD video wrapper — locked to STG's 2058:614 aspect ratio ── */
.vad-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 29.83%; /* 614/2058 */
  height: 0;
  overflow: hidden;
}

.vad-video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── VAD scene labels ── */
.vad-label {
  text-align: center;
  margin-top: 0.8rem;
  font-size: 1.05rem;
  font-family: 'Google Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #555;
}

.teaser-canvas-wrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}

/* ── BibTeX horizontal scroll on small screens ── */
pre {
  overflow-x: auto;
}

/* ── Mobile fixes (≤ 768px) ── */
@media screen and (max-width: 768px) {
  .teaser-tabs {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .teaser-tab {
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
    min-width: 0;
  }

  #results .teaser-tab {
    padding: 0.45rem 0.9rem;
    font-size: 0.88rem;
  }
}
