body {
  font-family: 'Castoro', Georgia, 'Times New Roman', serif;
}


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

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

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

.quantiphy {
  font-family: 'Castoro', Georgia, 'Times New Roman', serif;
  font-weight: bold !important;
  font-style: italic;
}


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

.teaser {
  font-family: 'Castoro', Georgia, 'Times New Roman', 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: 'Castoro', Georgia, 'Times New Roman', serif;
}

.publication-authors {
    font-family: 'Castoro', Georgia, 'Times New Roman', 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 Q&A Section Styles */
.video-qa-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px;
}

.video-container {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  margin-bottom: 270px;
}

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

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

.preview-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
  margin-bottom: 10px;
  clear: both;
}

.video-qa {
  margin-top: 20px;
  padding-top: 20px;
}

.preview {
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  opacity: 0.5;
  height: 50px;
  width: auto;
  margin-right: 10px;
  margin-left: 10px;
}

div .preview-video-active,
.preview:hover {
  opacity: 1.0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.video-label {
  display: none;
}

.speed-reminder {
  display: none;
}

.click-hint {
  display: block;
  margin: auto;
  width: 60%;
  font-size: 15px;
  color: white;
  background-color: rgb(224, 179, 110);
  border: 2px solid rgb(224, 179, 110);
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(224, 179, 110, 0.3);
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
}

.click-hint strong {
  color: white;
}

.l-body {
  max-width: 1080px;
  margin: 0 auto;
  padding-bottom: 0;
}

@media screen and (max-width: 768px) {
  .video-container {
    margin-bottom: 20px;
    overflow-y: scroll;
    max-height: 90vh;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
  }

  .video-container::-webkit-scrollbar {
    width: 6px;
  }

  .video-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
  }

  .video-container::-webkit-scrollbar-track {
    background: #f1f1f1;
  }
}
