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


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

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

.publication-links {
    margin-bottom: 0;
}

/* Reduce spacing between buttons and Abstract */
.section:first-of-type + .section {
    padding-top: -555.5rem;
}

/* Reduce hero section bottom padding */
.hero-body {
    padding-bottom: 1rem !important;
}

.publication-links .button.is-dark {
    background-color: #ff6b35;
    border-color: #ff6b35;
}

.publication-links .button.is-dark:hover {
    background-color: #ff8c5a;
    border-color: #ff8c5a;
}

.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;
    color: #333;
    font-weight: 700;
}

.publication-title:not(.gradient-text) {
    color: #333;
}

.gradient-text {
    background: linear-gradient(to right, #ff6b35, #f7931e, #4ecdc4, #44a08d, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Author names - light blue, no underline */
.publication-authors:first-of-type .author-block {
    color: #4a90e2;
    text-decoration: none;
}

.publication-authors:first-of-type .author-block sup {
    color: #4a90e2;
    text-decoration: none;
}

/* Affiliation numbers - gray, no underline */
.publication-authors:not(:first-of-type) .author-block {
    color: #666;
    text-decoration: none;
}

.publication-authors:not(:first-of-type) .author-block sup {
    color: #666;
}

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

.comparison-toggle-group {
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.comparison-item__caption {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.comparison-panel {
  display: none;
  min-height: 0; /* Ensure consistent height */
}

.comparison-panel.is-active {
  display: block;
}

.comparison-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background: #000;
}

.comparison-card video {
  width: 100%;
  display: block;
}

.comparison-card__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* 轮播图样式 - 优化边距 */
.video-carousel {
  position: relative;
  width: 100%;
  margin: 0;
}

/* 标题间距优化 */
.title.is-4.has-text-left {
  margin-bottom: 0.2rem;
}
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

/* EIG轮播容器 - 高度400px */
.carousel-container.eig-carousel {
  height: 400px;
}

/* Method轮播容器 - 高度400px */
.carousel-container.method-carousel {
  height: 400px;
}

.carousel-slide {
  position: absolute;
  top: 50%;
  width: 85%;
  height: auto;
  transition: all 0.5s ease-in-out;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: visible; /* Allow shadow */
}

.carousel-slide video {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
  padding: 0;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* States for slides */
.carousel-slide.active {
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  z-index: 10;
  cursor: default;
}

.carousel-slide.prev {
  left: 10%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0.4;
  z-index: 5;
  cursor: pointer;
  filter: blur(1px);
}

.carousel-slide.next {
  left: 90%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0.4;
  z-index: 5;
  cursor: pointer;
  filter: blur(1px);
}

/* Hide other slides */
.carousel-slide:not(.active):not(.prev):not(.next) {
  left: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
}

.video-caption {
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  opacity: 0; /* Hide caption on side slides by default */
  transition: opacity 0.3s;
}

.carousel-slide.active .video-caption {
  opacity: 1;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.2rem;
  position: relative;
  z-index: 20;
}

.carousel-play {
  padding: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(50, 50, 50, 0.9);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-play:hover {
  background: #3273dc; /* Bulma link color */
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(50, 115, 220, 0.4);
}

.carousel-play:active {
  transform: scale(0.95);
}

/* Remove old nav buttons styles if they are not used elsewhere */
.carousel-prev,
.carousel-next {
  display: none;
}

/* Modern Carousel Styles */
.modern-carousel {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
}

.modern-carousel .carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.modern-carousel .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modern-carousel .carousel-slide.active {
  opacity: 1;
}

.modern-carousel .video-wrapper {
  position: relative;
  width: 80%;
  max-width: 800px;
  height: 300px;
  margin: 0 auto;
}

.modern-carousel .video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.modern-carousel .video-title {
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
}

.modern-carousel .video-indicator {
  position: absolute;
  top: 10px;
  right: 20px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.modern-carousel .carousel-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.modern-carousel .carousel-btn {
  background: rgba(0,0,0,0.8);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.modern-carousel .carousel-btn:hover {
  background: rgba(0,0,0,0.9);
  transform: scale(1.05);
}

.modern-carousel .carousel-btn:active {
  transform: scale(0.95);
}

.modern-carousel .carousel-btn i {
  font-size: 1.2rem;
}