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


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

.title-with-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 1.5rem;
}

.title-with-lines:before,
.title-with-lines:after {
  content: "";
  height: 1px;
  background-color: #cccccc;
  flex-grow: 1;
  margin: 0 20px;
}

.video-container {
  margin-bottom: 1.5rem;
  padding: 10px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.video-container video {
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.video-container p {
  margin-top: 10px;
  color: rgb(0, 100, 200);
  font-size: 1.1rem;
}

.container.is-max-widescreen {
  max-width: 1152px !important; /* 从1344px减小到1152px */
  width: 80% !important; /* 从90%减小到80% */
  margin: 0 auto;
}

/* 增加行间距 */
p, .subtitle, .content {
  line-height: 1.4 !important;
}

.subtitle strong {
  line-height: 1.7 !important;
}

/* 特别为标题设置行间距，确保在GitHub Pages上正确显示 */
.subtitle.is-1.publication-title {
  line-height: 1.2 !important;
}

h1.subtitle.is-1.publication-title {
  line-height: 1.2 !important;
}

/* 为移动设备设置行间距 */
@media screen and (max-width: 768px) {
  .subtitle.is-1.publication-title {
    line-height: 1.3 !important;
  }
}

/* 增加段落间距 */
p {
  margin-bottom: 1.5rem !important;
}

.content p:not(:last-child) {
  margin-bottom: 1.8rem !important;
}

/* 增加内容区块的间距 */
.section {
  padding: 3rem 1.5rem !important;
}

.section + .section {
  padding-top: 2rem !important;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
  .container.is-max-widescreen {
    width: 95% !important;
  }
}

/* 展开按钮样式 */
#show-more-demos {
  transition: all 0.3s ease;
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#show-more-demos:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#additional-demos {
  transition: all 0.5s ease;
}