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

.affiliation-list {
  display: flex;
  padding: 0;
  text-align: center;
  list-style: inside;
  justify-content: center;
  align-items: center;
}

.affiliation {
  display: flex;
  align-items: center;
  margin-right: 20px;
  /* Adjust the margin as needed */
}

.logo {
  width: auto;
  /* Adjust the width as needed */
  height: 40px;
  margin-right: 10px;
}

.affiliation-text {
  font-size: 16px;
  font-weight: bold;
}

.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 78%;
  overflow: hidden;
  border-radius: 10px !important;
}

.publication-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* This will ensure the video maintains its aspect ratio */
}

.publication-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.publication-body img {}

.carousel {
  width: 100%;
  margin: 0 auto;
  /* Center the carousel container */
}

.carousel-item {
  width: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  /* Remove any padding that might affect centering */
}

.carousel-item video {
  width: 100%;
  max-width: 1200px;
  /* Add a max-width to prevent too wide videos */
  height: auto;
  margin: 0 auto;
  /* Center the video */
  display: block;
  /* Remove any inline spacing */
}

/* Update the results carousel class to ensure proper centering */
.results-carousel {
  overflow: hidden;
  margin: 0 auto;
}

.results-carousel .item {
  margin: 0;
  overflow: hidden;
  padding: 0;
  font-size: 0;
  display: flex;
  justify-content: center;
}

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

.main-video-wrapper {
  width: 100%;
  position: relative;
  transition: all 0.3s ease;
}

.main-video {
  width: 100%;
  /* border-radius: 8px; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mini-video-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 240px;
  height: 240px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  transform: translateY(100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: #000;
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.mini-video-wrapper.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mini-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.mini-player-close {
  position: absolute;
  top: -70px;
  left: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: 2px solid white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  z-index: 2;
  transition: all 0.2s ease;
}

.mini-player-close:hover {
  background: rgba(0, 0, 0, 1);
  transform: scale(1.1);
}

.mini-video-wrapper:hover .mini-player-close {
  opacity: 1;
}

.mini-player-text {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  padding-left: 16px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  text-align: center;
  pointer-events: none;
  white-space: normal;
  max-width: 280px;
  margin: 0 auto;
}

.mini-video-wrapper.visible .mini-player-text {
  opacity: 1;
  transform: translateY(0);
}

.has-ribbon {
  position: relative;
}

.publication-title-wrapper {
  display: inline-block;
}

.icml-ribbon {
  position: absolute;
  right: -200px;
  top: -5px;
  transform: rotate(30deg);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

@media (max-width: 480px) {
  .icml-ribbon {
    right: 0;
    top: -12px;
    transform: rotate(30deg);
  }
}

/* Floating TOC */
html {
  scroll-behavior: smooth;
}

.toc {
  position: fixed;
  top: 100px;
  left: 20px;
  width: 240px;
  max-height: calc(100vh - 140px);
  overflow: auto;
  padding: 12px 12px 12px 8px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

.toc h4 {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 14px;
  color: #363636;
}

.toc ul {
  list-style: none;
  padding-left: 10px;
  margin: 0;
}

.toc li {
  margin: 6px 0;
}

.toc a {
  color: #3273dc;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.25;
}

.toc a:hover {
  text-decoration: underline;
}

.toc a.active {
  font-weight: 700;
  color: #363636;
}

.toc a.toc-h3 {
  padding-left: 12px;
  font-size: 13px;
  color: #4a4a4a;
}

@media (max-width: 1023px) {
  .toc {
    display: none;
  }
}