body {
  font-family: 'Noto Sans', sans-serif;
}


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

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

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


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

.teaser {
  font-family: 'Google Sans', sans-serif;
}

.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 a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

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

.main-media-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  padding: 10px;
  box-sizing: border-box;
  min-height: 300px;
  max-height: 70vh;
}
#mainImage {
  width: 60%;
  max-height: 60vh;
  height: auto;
  object-fit: contain;
  display: block;
}
#mainVideo {
  width: 40%;
  max-height: 60vh;
  object-fit: contain;
  height: auto;
  display: block;
}
#imageTitle {
    text-align: center;
}
.thumbnail-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.thumbnail-container {
  display: inline-flex;
  gap: 10px; 
  padding: 10px;
  background-color: #f5f5f5;
  border-radius: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  max-width: 90%;
  scroll-behavior: smooth;
  flex-wrap: nowrap;
}
.thumbnail-container img {
  transition: all 0.3s ease;
  border: 6px solid transparent;
  cursor: pointer;
  height: 100px;
  width: auto;
  object-fit: cover;
  flex: 0 0 auto;
}
.thumbnail-container img:hover {
  border-color: #cccccc;
}
.thumbnail-selected {
  transform: scale(1.1);
  transform-origin: center;
  border: 4px solid #79b4f2 !important; 
  box-shadow: 0 0 5px rgba(121, 180, 242, 0.5);
  z-index: 10;
  position: relative;
}
.thumbnail-container::-webkit-scrollbar {
  height: 8px;
}
.thumbnail-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.thumbnail-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}
.thumbnail-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.thumbnail-container::-webkit-scrollbar-vertical {
  display: none;
}
@media (max-width: 768px) {
  .main-media-container {
    flex-direction: column;
    width: 95%;
    max-height: none;
     align-items: center;
  }
  #mainImage, #mainVideo {
    width: 90%;
    max-width: 400px;
    max-height: 50vh;
  }
  #pipeline #qualitativeResults {
    width: 100%;
  }
  .thumbnail-container {
    max-width: 95%;
  }
  .thumbnail-container img {
    height: 80px;
  }
}
