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

/* Results section responsive layout */
.results-header {
  display: flex;
  align-items: flex-end;
  margin-bottom: 8px;
}

.results-label {
  font-weight: bold;
  text-align: center;
  display: inline-block;
}

.results-label:first-child {
  width: 150px;
  margin-right: 16px;
}

.results-label:not(:first-child) {
  width: 220px;
}

.results-row {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.style-image {
  width: 150px;
  height: 150px;
  margin-right: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.result-video {
  width: 100%;
  max-width: 640px;
  height: auto;
}

/* Desktop: hide mobile-only elements */
.mobile-header-labels,
.mobile-style-images {
  display: none;
}

/* Desktop: show only first style image, hide mobile elements */
.style-images-row {
  display: flex;
}

.style-images-row .style-image:not(:first-child) {
  display: none;
}

.mobile-method-labels {
  display: none;
}

/* Mobile responsive styles */
@media screen and (max-width: 768px) {
  .results-header {
    display: none;
  }

  .results-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
  }

  .style-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-right: 0;
    margin-bottom: 12px;
  }

  .result-video {
    width: 100%;
    max-width: 100%;
  }

  /* Fix pipeline image overlaps on mobile */
  .publication-video {
    margin-bottom: 0px !important;
  }

  .publication-video img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0;
  }

  .title.is-3 {
    margin-bottom: 10px !important;
  }

  .content.has-text-justified {
    margin-top: -15px !important;
  }

  .abstract-title+.content.has-text-justified {
    margin-top: 15px !important;
  }

  /* IPRF section - first pipeline image */
  .iprf-pipeline+.content.has-text-justified {
    margin-top: -50px !important;
  }

  /* TSI section - using specific class for reliable targeting */
  .tsi-pipeline+.content.has-text-justified {
    margin-top: -100px !important;
  }

  /* Results section mobile layout */
  /* Hide desktop header on mobile */
  .results-desktop-header {
    display: none !important;
  }

  /* Show and style mobile header labels */
  .mobile-header-labels {
    display: block !important;
    margin-bottom: 16px;
  }

  .mobile-header-row1 {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
  }

  .mobile-header-row2 {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 12px;
  }

  /* Show and style mobile style images row */
  .mobile-style-images {
    display: flex !important;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 16px;
  }

  .mobile-style-images img {
    width: calc(33.333% - 6px);
    height: auto;
    object-fit: cover;
  }

  /* Result items - hide images, show only videos stacked */
  .result-item {
    flex-direction: column !important;
    align-items: stretch !important;
    margin-bottom: 16px !important;
  }

  .result-item img {
    display: none !important;
  }

  .result-item video {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
}