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

.results-carousel .item-2 {
  position: relative;
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 4px;
  padding: 0;
  font-size: 0;
}

.results-carousel .item-2 .prompt-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  font-size: 14px;
  line-height: 1.5;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.results-carousel .item-2:hover .prompt-text {
  opacity: 1;
  visibility: visible;
}

.prompt-text {
  font-style: italic;
  text-align: left;
  margin-top: 10px;
  font-size: 18px;
  color: #333;
  position: relative;
  z-index: 2; /* Ensure text is above other elements */
  padding-bottom: 20px; /* Adds space below the text to avoid overlap */
}

.sienna {
  color: #A0522D
}

.blue {
  color: #4169E1
}

.green {
  color: #2E8B58
}