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

/* ===== LightLab-style overlay toggle ===== */

.results-carousel .item {
  position: relative;
}

/* carousel 裡若改成圖片，確保圖片正常撐滿 */
.results-carousel .item img {
  display: block;
  width: 100%;
  height: auto;
}

/* 第二張疊圖容器 */
.carousel-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: none;
  pointer-events: none;
  z-index: 2;
}

/* 疊圖本身 */
.carousel-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 顯示 overlay 時 */
.carousel-overlay.active {
  opacity: 1;
}

/* 原圖被蓋掉時 */
.results-carousel .item img.inactive {
  opacity: 0;
}

/* 可選：讓切換更滑順 */
.results-carousel .item > img {
  transition: none;
}

/* ===== LightLab-style controls ===== */

#intensityCarousel .content,
#colorCarousel .content {
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.inner-div {
  float: left;
  left: 50%;
  position: relative;
}

.centered-div {
  position: relative;
  float: left;
  left: -50%;
  width: auto;
}

.demo_img {
  display: block;
  max-width: 100%;
  max-height: 60vh;
  height: auto;
}

.slider_group {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.demo_slider_container {
  min-width: 75px;
  width: 10%;
  display: none;
  position: absolute;
  text-align: center;
}

.demo_slider {
  --SliderColor: white;
  -webkit-appearance: none;
  width: 16px;
  height: 4px;
  outline: none;
  opacity: 1;
  transition: height, width .5s ease;
  border-radius: 999px;
  background: var(--SliderColor);
}

.demo_slider_container > input {
  width: 0px;
  border: 0px;
  transition: all .5s ease;
  accent-color: var(--SliderColor);
}

.demo_slider_container:hover > input {
  width: 100%;
  opacity: 1;
  transition: all .5s ease;
  accent-color: var(--SliderColor);
}

.demo_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--SliderColor);
  cursor: pointer;
  transition: all .5s ease;
}

.demo_slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--SliderColor);
  cursor: pointer;
}

.demo_slider_container:hover .demo_slider::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.demo_slider_container:hover .demo_slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

#intensityCarousel .my_carousel-control,
#colorCarousel .my_carousel-control {
  width: 60px;
  height: 30%;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.white_carousel-control {
  filter: invert(0) brightness(100%);
}

.centered-text {
  text-align: center;
}

/* 讓 Intensity / Color 兩段說明等高，下面的圖才會對齊起始位置 */
.demo-desc {
  min-height: 4.5em;
}

/* intensity slider: like LightLab */
.intensity-slider {
  --progress: 0%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    white 0%,
    white var(--progress),
    rgba(255,255,255,0.3) var(--progress),
    rgba(255,255,255,0.3) 100%
  );
}

.intensity-slider::-webkit-slider-runnable-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.intensity-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
  border: 0;
  cursor: pointer;
  margin-top: -4.5px;
}

.intensity-slider::-moz-range-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.intensity-slider::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: white;
  border: 0;
  cursor: pointer;
}