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


/* .pill {
  cursor: pointer;
  padding: 2px;
  margin: 2px;
  border: 1px solid #ddd;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s;
}
.pill-row {
        display: flex;
        justify-content: center;
        flex-wrap: wrap; /* Allows pills to wrap to the next line on small screens */
        /* gap: 10px; */
    /* } */
.active-pill {
  /* background-color: #b4b4b4; */
  /* Adjust the color as needed */
  font-weight: bold;
}

.nav-pills {
  cursor: pointer;
}

.center-pills {
  display: flex;
  justify-content: center;
}

.scene-pill {
  transition: transform 0.3s;
  width: 80px;
  border-radius: 5px;
}

.scene-pill:hover {
  transition: transform 0.3s;
  
  border-radius: 5px;
  scale: 1.0;
  transition: scale 0.1s;
}

.scene-pill.active {
  background: #1772d0;
}


.scene-pill-large {
  transition: transform 0.3s;
  width: 110px;
  border-radius: 5px;
}

.scene-pill-large:hover {
  transition: transform 0.3s;
  border-radius: 5px;
  scale: 1.1;
  transition: scale 0.1s;
}

.scene-pill-largepill.active {
  background: #1772d0;
}


.pill-main-display-img {
      width: 100%;
      /* This fixed height creates a stable viewing box. Adjust if needed. */
      height: 250px; 
      /* 'contain' fits the entire image within the box without stretching.
          This is the best option for preventing layout jumps. */
      object-fit: contain; 
      vertical-align: middle; /* Aligns image vertically in the table cell */
  }

/* 2. Fix for Pill Row Centering and Whitespace */
 .pill-row {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
    }

.pill {
    width: 120px;
    height: 80px;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f0f0f0;
    box-sizing: border-box; 
    
   
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pill:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transform: scale(1.05); /* Zooms the element without pushing others */
        z-index: 10; /* Ensures the hovered pill is on top of its neighbors */
    }

/* UPDATED ACTIVE STATE: Also scaled up to remain prominent */
.pill.active {
    border-color: var(--color-octo-blue);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.6);
    transform: scale(1.07); /* A little larger than hover to stand out */
    z-index: 5;
}


/* Force the image inside the pill to cover the entire area */
.pill .card-img {
    width: 100%;
    height: 100%;
    /* 'cover' makes the image fill the box, cropping excess.
        This ELIMINATES whitespace and creates a uniform grid. */
    object-fit: cover;
}
.prompt-display {
        text-align: center;
        font-size: 1.1em;
        font-style: italic;
        color: #555;
        margin: 15px 0;
        min-height: 1.2em; /* Prevents layout shift if prompt is empty */
    }