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

.subtitle-text {
  font-size: 0.9em;
  /* Adjust this value to make it smaller or larger */
}

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

/* Target only the carousel sections to reduce whitespace */
.carousel-section {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

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

.fa.fa-twitter {
  font-family: sans-serif;
}

.fa.fa-twitter::before {
  content: "𝕏";
  font-size: 1.2em;
}

.x-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4em;
  height: 1.4em;
  font-family: sans-serif;
  font-size: 1.2em;
  margin-right: -0.2em;
  vertical-align: middle;
}

/* Simulation Grid Layout */
.simulation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.simulation-grid.grid-2-cols {
  grid-template-columns: repeat(2, 1fr);
}

/* Desktop Grid - Show on desktop, hide on mobile */
.desktop-grid {
  display: grid;
}

/* Mobile Carousel - Hide on desktop, show on mobile */
.mobile-carousel {
  display: none;
}

/* Ensure carousel sections don't add extra padding on mobile */
.mobile-carousel.carousel-section {
  padding-top: 0.5rem;
  padding-bottom: 1rem;
}

.simulation-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  border-radius: 6px;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.simulation-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.simulation-item video {
  width: 100%;
  height: auto;
  border: none;
  border-radius: 6px 6px 0 0;
  margin-bottom: 0;
}

.simulation-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.3;
  padding: 0.75rem;
}

/* Responsive grid layout */
@media (max-width: 1200px) {
  .simulation-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  /* Hide desktop grid on mobile */
  .simulation-grid.desktop-grid {
    display: none !important;
  }
  
  .desktop-grid {
    display: none !important;
  }
  
  /* Show mobile carousel on mobile */
  .mobile-carousel {
    display: block !important;
  }
  
  .simulation-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .simulation-label {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  .simulation-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .simulation-label {
    font-size: 0.75rem;
    padding: 0.5rem;
  }
}