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

/*

estilos para carrusel
*/
.carousel-wrapper {
  position: relative;
}

.video-carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
}

.video-item {
  flex: 0 0 calc(33.33% - 16px); /* 3 videos por vista en pantallas grandes */
  box-sizing: border-box;
}

.video-item video {
  width: 100%;
  border-radius: 8px;
}

/* En tablets: 2 videos por vista */
@media (max-width: 1024px) {
  .video-item {
    flex: 0 0 calc(50% - 16px);
  }
}

/* En móviles: 1 video por vista */
@media (max-width: 600px) {
  .video-item {
    flex: 0 0 100%;
  }
}

.carousel-btn {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 40px;      /* ancho fijo */
  height: 40px;     /* alto fijo */
  display: flex;    /* centra el icono */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;  /* círculo perfecto */
  z-index: 10;
}

.carousel-btn.left {
  left: 10px;  /* lo acercamos un poco */
}

.carousel-btn.right {
  right: 10px;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.bibtex-block pre {
  padding-left: 2rem;  /* mueve todo un poco a la derecha */
}
