﻿body {
  font-family: 'Noto Sans', sans-serif;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f0f0f0 100%);
  background-attachment: fixed;
  min-height: 100vh;
}


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

.results-carousel video {
  margin: 0;
}

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

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

/* 交替背景色设置 */
.section.hero {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section.hero.is-light {
  background: rgba(245, 245, 245, 0.9);
  backdrop-filter: blur(10px);
}

.section.hero.is-small {
  background: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(10px);
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.image-container img {
  border: none;
  max-width: 100%;
  height: auto;
}

.subtitle b {
  font-weight: 600;
}

.first-sentence {
  font-weight: 500;
}

.first-sentence b {
  font-weight: 700;
}

/* 确保标题对齐 */
.video-container .subtitle {
  margin-top: 10px;
  margin-bottom: 0;
  width: 100%;
  text-align: center;
}

/* 专门为Out-of-domain Images部分的间距设置 */
.out-domain-container {
  gap: 60px !important;
}

.out-domain-container > div {
  margin: 30px !important;
}

/* GIF动画循环播放样式 */
.video-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

/* 统一GIF图片大小和播放控制 */
.video-container img[src*=".gif"] {
  width: 100% !important;
  height: auto !important;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  animation-iteration-count: infinite !important;
  animation-timing-function: linear !important;
  animation-play-state: running !important;
  will-change: transform;
  image-rendering: auto;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

/* 确保容器对齐 */
.video-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  background: rgba(255, 255, 255, 0.6);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.video-container > div {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 控制GIF播放速度 - 减慢播放 */
.video-container img[src*=".gif"] {
  animation-duration: 5s !important;
  animation-timing-function: linear !important;
}