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

/* In-the-wild Results Section */
#wild-results-wrapper, #efl-results-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto;
  width: 80%;
}

.wild-video-wrapper h3 {
  margin: 10px 0;
  font-size: 1rem;
  text-align: center;
  font-weight: 600;
  color: #333;
}

.wild-video-container {
  border: 3px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wild-video-container video {
  width: 100%;
  border-radius: 5px;
  display: block;
}

.wild-video-wrapper.view-1 .wild-video-container {
  border-color: #3498DB;
}

.wild-video-wrapper.view-2 .wild-video-container {
  border-color: #2ECC71;
}

.wild-video-wrapper.view-3 .wild-video-container {
  border-color: #F39C12;
}

.wild-instructions {
  text-align: center;
  margin: 20px auto;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 8px;
  width: 80%;
}

.wild-instructions h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #555;
  font-weight: 500;
}

.wild-instructions h6 {
  margin: 0;
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
}

/* Comparison Section Styles (from supp.html) */
.nav-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.nav-links .nav-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.nav-links a {
  background: #fff;
  color: #333;
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
}

.nav-links a:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.nav-links a.active {
  background: #2563eb;
  color: white;
}

.selectors {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.scene-selector, .method-selector {
  text-align: center;
}

.scene-selector h3, .method-selector h3 {
  margin-bottom: 0.5rem;
  color: #1f2937;
  font-size: 1.25rem;
}

.nav-pills {
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.nav-pills li {
  margin: 2px;
}

.nav-pills a {
  display: block;
  padding: 8px 16px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.nav-pills li.active a {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.nav-pills a:hover {
  background-color: #ddd;
}

.nav-pills li.active a:hover {
  background-color: #0056b3;
}

.instructions {
  text-align: center;
  margin: 1rem auto;
  max-width: 800px;
  padding: 0.5rem 1rem;
  font-family: system-ui, sans-serif;
  color: #1f2937;
}

.instructions h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #374151;
}

#wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin: 0 auto 3rem auto;
  width: 80%;
  padding: 0 1rem;
}

.video-container {
  text-align: center;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-width: 3px;
  border-style: solid;
  border-color: #ccc;
}

.video-container h3 {
  margin-bottom: 1rem;
  color: #1f2937;
  font-size: 1.25rem;
}

.video-container video {
  width: auto;
  height: 300px;
  max-width: 100%;
  border-radius: 0.5rem;
  background: transparent;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.timeline-container {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  border-width: 3px;
  border-style: solid;
  border-color: #ccc;
}

.timeline-container h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: center;
}

.timeline-container video {
  width: 50%;
  height: auto;
  margin: 0 auto;
  display: block;
}

@media (max-width: 1500px) {
  #wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .video-container video {
    height: 250px;
  }
}

@media (max-width: 1000px) {
  #wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .video-container video {
    height: 200px;
  }
  
  .nav-links .nav-row {
    flex-wrap: wrap;
  }
}

/* Carousel Navigation Styles */
.slider .slider-navigation-previous,
.slider .slider-navigation-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  transition: background 0.3s;
  border: 2px solid white;
}

.slider .slider-navigation-previous:hover,
.slider .slider-navigation-next:hover {
  background: rgba(0, 0, 0, 0.9);
}

.slider .slider-navigation-previous {
  left: 20px;
}

.slider .slider-navigation-next {
  right: 20px;
}

.slider .slider-navigation-previous svg,
.slider .slider-navigation-next svg {
  width: 20px;
  height: 30px;
}

/* Carousel Pagination */
.slider .slider-pagination {
  display: flex !important;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
  padding: 10px;
}

.slider .slider-pagination .slider-page {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid #ddd;
}

.slider .slider-pagination .slider-page.is-active {
  background: #667eea;
  border-color: #667eea;
  transform: scale(1.2);
}
