body {
  font-family: 'Noto Sans', sans-serif;
  padding-top: 64px;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 80px;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  min-height: 64px;
  border-bottom: 1px solid #d5d5d5;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
}

.top-nav-inner {
  display: flex;
  max-width: 1152px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 0.25rem;
}

.top-nav-link {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border: 0;
  border-radius: 9px;
  color: #222;
  background: transparent;
  font-family: 'Google Sans', sans-serif;
  font-size: 1rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.top-nav-link:hover,
.top-nav-link:focus-visible,
.research-menu:hover .research-menu-trigger,
.research-menu:focus-within .research-menu-trigger {
  color: #111;
  background: #f1f1f1;
}

.research-menu {
  position: relative;
}

.research-menu-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  display: none;
  min-width: 180px;
  padding: 0.55rem;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.research-menu:hover .research-menu-dropdown,
.research-menu:focus-within .research-menu-dropdown {
  display: block;
}

.research-menu-dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: #222;
  font-family: 'Google Sans', sans-serif;
  text-align: center;
  white-space: nowrap;
}

.research-menu-dropdown a:hover,
.research-menu-dropdown a:focus-visible {
  color: #111;
  background: #f3f3f3;
}

.section-divider {
  position: relative;
  border-top: 0;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(100% - 3rem);
  max-width: 960px;
  border-top: 1px solid #c8c8c8;
  transform: translateX(-50%);
}

.publication-figure {
  margin: 1.5rem auto;
}

.publication-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.teaser-main {
  width: calc(100% + 2.5rem);
  margin-left: -1.25rem;
  margin-top: 2rem;
  margin-bottom: 0;
}

.teaser-image-row {
  margin-bottom: 0;
}

.teaser-image-row .column {
  padding-top: 0;
  padding-bottom: 0;
}

.retarget-figure {
  max-width: 760px;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.teaser + .section {
  padding-top: 1.5rem;
}

#abstract {
  margin-top: 4rem;
  padding-top: 3rem;
}

#method,
#simulation-results,
#real-world-teleoperation,
#bibtex {
  padding-top: 3rem;
}

.media-pair {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  gap: 0;
}

.media-pair .column {
  flex: none;
  padding-right: 0.25rem;
  padding-left: 0.25rem;
}

.media-pair .column:first-child {
  width: 185px;
}

.media-pair .column:last-child {
  width: 575px;
}

.media-pair .publication-figure {
  margin: 0 auto;
}

.media-pair .publication-figure img {
  width: auto;
  max-width: 100%;
  height: 135px;
  object-fit: contain;
}

.real-world-section h3 {
  margin-top: 3rem;
  margin-bottom: 1.25rem;
}

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

.video-grid video {
  display: block;
  width: 100%;
  border-radius: 10px;
  background: #111;
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 108px;
  }

  [id] {
    scroll-margin-top: 120px;
  }

  .top-nav-inner {
    min-height: 108px;
    align-content: center;
    flex-wrap: wrap;
    padding: 0.35rem 0.5rem;
    gap: 0;
  }

  .top-nav-link {
    min-height: 36px;
    padding: 0.35rem 0.48rem;
    font-size: 0.78rem;
  }

  .media-pair .column:first-child,
  .media-pair .column:last-child {
    width: 100%;
  }

  .research-menu-dropdown {
    right: 0;
    min-width: 150px;
  }

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

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

  .teaser-main {
    width: 100%;
    margin-left: 0;
  }

}


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

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

.publication-header-links {
  margin-top: 0.75rem;
}

.publication-header-links [aria-disabled="true"] {
  pointer-events: none;
}

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


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

.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 {
  padding-top: 1rem;
  padding-bottom: 0.25rem;
}

.publication-header .container {
  width: calc(100% - 3rem);
  max-width: 1200px !important;
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
    margin-bottom: 1rem !important;
}

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

table {
  border-collapse: collapse;
  border: 1px solid black;
}

th, td {
  border: 1px solid black;
}

th {
  border-left: none;
  border-right: none;
}

td {
  border-left: none;
  border-right: none;
  border-bottom: none;
}

th:first-child, td:first-child {
  border-left: 1px solid black;
}

th:last-child, td:last-child {
  border-right: 1px solid black;
}
