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-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

/* Hero main title: prefer single-line; JS can further shrink if still overflowing. */
.hero .publication-title[data-fit-text] {
  white-space: nowrap;
  max-width: 100%;
  line-height: 1.02;
}

/* Default responsive size (acts as the "max" size before JS shrinks further). */
.hero .publication-title.hero-main-title {
  font-size: clamp(2.6rem, 10vw, 12rem);
}

/* Hero subtitle: keep desktop layout (with <br>), but allow mobile to stay on one line via JS shrink. */
.hero .publication-title.hero-subtitle {
  font-size: clamp(1.6rem, 3.5vw, 4rem);
  line-height: 1.1;
}

@media (max-width: 768px) {
  .hero .publication-title.hero-subtitle[data-fit-text-mobile] {
    white-space: nowrap;
    max-width: 100%;
  }
}

.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 a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

/* .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%;
}

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

.phase-demo {
  margin-top: 1.25rem;
}

#phase-demo-canvas {
  width: 100%;
  height: min(360px, 55vh);
  display: block;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.phase-demo-controls {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.phase-demo-controls label {
  font-weight: 600;
}

.phase-demo-controls input[type="range"] {
  flex: 1;
  min-width: 220px;
}

.phase-demo-val {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  min-width: 4ch;
  text-align: right;
  color: #111827;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}


.has-bg-img { 
  background: url('/static/images/toss.jpeg')center center;
   background-size:cover; }



.overlay {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.4); /* 40% opacity black */
z-index: 1; /* Make sure it's behind the text */
transition: opacity 1.0s;
}
  
.hero-body,
.hero-head,
.hero-foot {
  z-index: 2; /* Ensure text is above the overlay */
  transition: opacity 1.0s;
}

/* Center-crop the hero background videos (override Bulma defaults if needed). */
.hero.video .hero-video {
  position: absolute;
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero.video .hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}