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


/* --- Qualitative Grid --- */
.qualitative-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* Space between scene rows */
  margin-top: 20px;
}

.grid-row {
  display: grid;
  /* 1st column is 120px (Scene Name), next 8 columns are equal fractions (Methods) */
  grid-template-columns: 120px repeat(10, 1fr);
  gap: 8px;
  /* Space between columns */
  align-items: center;
}

/* Method Names (Top Row) */
.method-label {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.2;
}

/* Scene Names (Left Column) */
.scene-label {
  font-weight: 600;
  font-size: 0.95rem;
  text-align: right;
  padding-right: 15px;
  line-height: 1.2;
}

/* Image Containers */
/* Image Containers */
.image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  background-color: #f5f5f5;
  transition: all 0.2s ease;
  /* Changed to animate all properties smoothly */
}

.image-container:hover {
  opacity: 0.85;
  /* Adds a 3px blue border-like outline inside the container */
  outline: 3px solid #3273dc;
  outline-offset: -3px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Lightbox Modal --- */
.lightbox-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 9999;
  /* Sits on top of everything */
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  /* Dark semi-transparent background */
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  /* Indicates clicking anywhere closes it */
}

.lightbox-modal img {
  max-width: 80vw;
  /* Takes up to 80% of screen width */
  max-height: 90vh;
  /* Limits height to prevent vertical overflow */
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* TABLE */

.academic-table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  white-space: nowrap;
  font-size: 14px;
}

.academic-table th,
.academic-table td {
  padding: 8px 12px;
}

.academic-table .method {
  text-align: left;
}

/* Academic Booktabs Borders */
.top-border {
  border-top: 2px solid currentColor;
}

.bottom-border {
  border-bottom: 2px solid currentColor;
}

.mid-border {
  border-bottom: 1px solid currentColor;
}

.group-border {
  border-bottom: 1px solid #d1d5db;
}

/* Thin separators between method groups */

/* Heatmap Highlight Colors */
.hl-dark {
  background-color: #bdbeff;
}

.hl-med {
  background-color: #d3d4ff;
}

.hl-light {
  background-color: #f0f0ff;
}

.carousel-container {
    position: relative;
    width: 100%; 
    height: 300px; /* Adjust this height to match whatever looks best on your page */
    background-image: url('../images/tiny_dataset.jpg'); 
    background-repeat: repeat-x;
    background-position: 0px 0px;
    background-size: auto 100%;
    margin: 0 auto; 
    
    cursor: pointer; 
    transition: outline 0.2s ease, box-shadow 0.2s ease; 
}

.carousel-container.is-active {
    outline: 4px solid #3273dc; 
    box-shadow: 0 0 15px rgba(50, 115, 220, 0.4);
}

.multi-carousel-container.is-active {
  outline: 4px solid #3273dc; 
  box-shadow: 0 0 15px rgba(50, 115, 220, 0.4);
}

.multi-carousel-container {
    position: relative; 
    width: 100%; 
    
    /* 1. Set this to whatever size you want the image to appear on your page */
    height: 300px; 
    
    margin: 0 auto;
    overflow: hidden; 
    cursor: pointer;
    transition: outline 0.2s ease, box-shadow 0.2s ease;
}

.multi-carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    
    /* Keeps the track exactly as tall as the container */
    height: 100%;
    
    white-space: nowrap; 
    font-size: 0; 
    will-change: transform; 
}

.multi-carousel-track img {
    /* 2. THE FIX: Make the image scale perfectly to the container's vertical height */
    height: 100%; 
    
    /* 3. The width calculates automatically, pushing the excess image off the right edge */
    width: auto;
    
    /* Continues to prevent Bulma from squishing the image */
    max-width: none !important; 
    
    display: inline-block; 
    pointer-events: none; 
    padding-right: 2px; 
}

.pred-dot{
  width:14px;
  height:14px;
  border-radius:50%;
  background:#bbb;
  transition:all 0.2s ease;
}

.pred-dot.active{
  background:#222;
  transform:scale(1.3);
}

#pred-input-img{
  max-width:620px;
}
