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

.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.hero-landing-btn.is-static {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 3rem;
  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;
}

/* System Identification Intuition section spacing */
.section-intuition .intuition-intro {
  margin-bottom: 2.5rem;
}

.section-intuition .intuition-intro p {
  max-width: 42em;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.section-intuition .intuition-carousel-block {
  margin-top: 3rem;
}

.section-intuition .intuition-carousel-block:first-of-type {
  margin-top: 0;
}

.section-intuition .intuition-carousel-block h3 {
  margin-bottom: 1rem;
}

.section-intuition .intuition-carousel-block .hero-body {
  padding-top: 0;
  padding-bottom: 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;
}

/* Landing hero with video background - exactly one viewport */
.hero-landing {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-landing-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-landing-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  /* Slightly above center so video sits higher and fits viewport on entry */
  /* object-position: center 25%; */
  filter: contrast(1.1);
}

.hero-landing-video-wrap .video-speed-label {
  bottom: 1rem;
  right: 1rem;
  left: auto;
  z-index: 2;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 0 4px rgba(0, 0, 0, 1), 0 1px 4px rgba(0, 0, 0, 1), 0 2px 8px rgba(0, 0, 0, 0.9);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.hero-landing-body {
  position: relative;
  z-index: 1;
}

.hero-landing-title,
.hero-landing-authors {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-landing-authors a {
  color: #fff !important;
  text-decoration: none;
}

.hero-landing-authors a:hover {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: underline;
}

.hero-landing-btn {
  background: transparent !important;
  border: 1px solid #fff !important;
  color: #fff !important;
}

.hero-landing-btn .icon,
.hero-landing-btn .ai {
  color: #fff !important;
}

.hero-landing-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* White speed label overlay on videos */
.video-with-label {
  position: relative;
  display: block;
  width: 100%;
  font-size: 0;
}

.video-with-label video {
  display: block;
  width: 100%;
  height: auto;
}

.video-speed-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  z-index: 1;
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: none;
}

.results-carousel .video-with-label {
  width: 100%;
  height: 100%;
}

.results-carousel .video-with-label video {
  height: 100%;
  object-fit: cover;
}

/* One-video Task Completion slider */
.task-completion-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.task-slides {
  width: min(900px, 100%);
  position: relative;
  overflow: hidden;
}

.task-slide {
  display: none;
}

.task-slide.is-active {
  display: block;
}

.task-slide .video-with-label {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.task-slide.slide-in-next {
  animation: taskSlideInNext 0.35s ease;
}

.task-slide.slide-in-prev {
  animation: taskSlideInPrev 0.35s ease;
}

@keyframes taskSlideInNext {
  from {
    opacity: 0;
    transform: translateX(8%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes taskSlideInPrev {
  from {
    opacity: 0;
    transform: translateX(-8%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.task-slider-btn {
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 9999px;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.task-slider-btn:hover {
  background: #f5f5f5;
}

