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

/* MMSearch-Plus specific styles */
.mathvista {
  font-weight: bold;
  color: #3273dc;
}

.best-score-text {
  color: #ff3860;
  font-weight: bold;
}

/* Improved leaderboard styling */
#results table {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

#results th, #results td {
  text-align: center;
  vertical-align: middle;
  padding: 8px 4px;
  font-size: 0.9em;
}

#results th {
  background-color: #f5f5f5;
  font-weight: bold;
}

/* Width constraints for better readability */
.content.has-text-justified {
  max-width: 1000px;
  margin: 0 auto;
}

.results-carousel {
  text-align: center;
}

.results-carousel .carousel-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.results-carousel .box {
  max-width: 900px;
  margin: 0 auto;
  display: inline-block;
  text-align: center;
}

.results-carousel img {
  max-width: 100%;
  height: 400px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Responsive improvements */
@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 1.8rem !important;
  }
  
  .publication-authors {
    font-size: 0.9rem;
  }
  
  #results table {
    font-size: 0.8em;
  }
  
  #results th, #results td {
    padding: 4px 2px;
  }
  
  .results-carousel .box {
    max-width: 100%;
    margin: 0.5rem auto;
  }
  
  .results-carousel .carousel-item {
    justify-content: center;
  }
}
