body {
  font-family: 'Noto Sans', sans-serif;
  background-color: #fff;
  color: #000;
}


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

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

.dnerf {
  font-variant: small-caps;
}
.responsive-img {
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (min-width: 769px) {
  .responsive-img {
    width: 80%;
  }
}



.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-header .hero-body {
}

.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;
  padding: 20px;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}

.slider-pagination .slider-page {
  background: #000000;
}

.eql-cntrb {
  font-size: smaller;
}

/* Responsive layout for the demo section */
#demo-section {
  overflow: hidden;
}

#demo-section canvas {
  width: 100%;
}

@media (max-width: 1023px) {
  #demo-section canvas {
    height: 360px;
  }
}

@media (min-width: 1024px) {
  #demo-section {
    height: 840px;
  }
  #demo-section canvas {
    height: 840px;
  }
}

/* Ensure chat bubbles wrap lines and scroll vertically */
.chat-bubble {
  white-space: pre-line;
  max-width: 100%;
}

.collapse {
  background-color: #e5e7eb;
}

@media (max-width: 640px) {
  #content-mrg, #content-en, #content-zh {
    font-size: 0.875rem;
  }
}

.logo-img {
    height: auto;       /* 保持宽高比 */
    max-height: 120px;  /* 调整logo高度，适配标题 */
    object-fit: contain;/* 避免裁切，必要时可用 cover */
    flex-shrink: 0;     /* 防止logo被压缩 */
}

/* 标题和logo同行显示的容器样式 */
.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;  /* 强制在同一行 */
}

/* 确保标题也能正确对齐 */
.publication-title {
    font-family: 'Google Sans', sans-serif;
    margin: 0;
    flex: 1;           /* 让标题占据剩余空间 */
    text-align: left;   /* 标题左对齐 */
}

/* 移动设备上的响应式调整 */
@media (max-width: 768px) {
    .title-container {
        flex-direction: column; /* 小屏幕上垂直排列 */
        text-align: center;
    }
    
    .publication-title {
        text-align: center; /* 小屏幕上标题居中 */
    }
    
    .logo-img {
        max-height: 80px;   /* 小屏幕上缩小logo */
    }
}

/* Custom tab styles to align tabs to the left instead of uniform distribution */
.tabs {
  justify-content: flex-start !important;
}

.tabs .tab {
  flex: none !important;
  width: auto !important;
  margin-right: 0.5rem;
}