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

.results-carousel video {
  margin: 0;
}

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

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


/* my */
.container.is-max-desktop {
  max-width: 97% !important; 
  width: 97% !important;
}

/* 统一 GIF 容器样式 */
.gif-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 90%;
  margin: auto;
  overflow: hidden;
  margin-bottom: 30px; 
}

/* 让所有 GIF 在一行 */
.gif-items {
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

/* GIF 样式 */
.gif-item {
  flex: 1;
  max-width: 200px;
  position: relative;
}

/* 让 GIF 适应容器 */
.gif-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* 任务名称 - 默认隐藏 */
.gif-item::after {
  content: attr(data-task);
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* 鼠标悬停时显示任务名称 */
.gif-item:hover::after {
  opacity: 1;
}

/* 让标题风格与 DMControl 一致 */
.category-title {
  font-size: 22px;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
  color: #333;
  padding: 5px;
}




/* GIF 滚动容器 */
.gif-row-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.gif-suite {
  width: 48%;
  text-align: center;
}

.gif-scroll-container {
  width: 90%;
  max-width: 800px;
  margin: auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  overflow-x: auto; /* 启用水平滚动 */
  overflow-y: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

/* GIF 容器 */
.gif-wrapper {
  display: flex;
  gap: 10px;
  scroll-behavior: smooth; /* 让滚动更平滑 */
}

/* GIF 样式 */
.gif-item {
  flex: 0 0 auto;
  position: relative;
  cursor: pointer;
}

/* 让 GIF 具有固定大小 */
.gif-item img {
  width: 150px;
  height: auto;
  border-radius: 8px;
}

/* 悬停时显示 Task 名称 */
.gif-item::after {
  content: attr(data-task); /* 读取 HTML 中的 data-task 内容 */
  position: absolute;
  bottom: -10px; /* 让文本显示在 GIF 下方 */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85); /* 让背景更深，不影响可读性 */
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 14px;
  white-space: normal; /* 允许换行 */
  max-width: 100%; /* 让文本自动适应 GIF 宽度 */
  width: 150px; /* 确保与 GIF 宽度一致 */
  text-align: center;
  word-wrap: break-word; /* 确保长单词换行 */
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 100; /* 确保文本浮动在最上方 */
}

/* 鼠标悬停时显示任务名称 */
.gif-item:hover::after {
  opacity: 1;
}

/* LIBERO-suite 标题样式 */
.gif-title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-top: 15px; /* 增加间距，让标题不贴近 GIF */
  margin-bottom: 15px; /* 增加间距，让标题不贴近 GIF */
}


/* 视频样式 */
.task {
  margin-bottom: 40px;
}

.task-title {
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  margin-bottom: 10px;
}

.video-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.video-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-label {
  font-weight: bold;
  margin-top: 6px;
  text-align: center;
}

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

/* 新增：Execution examples 横排缩略视频样式 */
.exec-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 16px;
  align-items: flex-start;
  overflow-x: auto;
  padding: 8px 6px;
  -webkit-overflow-scrolling: touch;
}

.exec-item {
  flex: 0 0 160px;
  width: 160px;
  min-width: 160px;
  text-align: center;
}

.exec-thumb {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  background: #000;
}

/* 额外覆盖所有 video 元素（防止有 inline width/height）*/
.exec-item video {
  width: 100% !important;
  height: auto !important;
  max-width: 100%;
  display: block;
}

/* 说明文字 */
.exec-caption {
  margin-top: 8px;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.3;
  min-height: 3.0em;
}

/* 小屏时适配：变窄但仍保持并排可滚动 */
@media (max-width: 760px) {
  .exec-item { flex: 0 0 200px; width: 200px; min-width: 200px; }
}

/* 强制并排小视频卡片（追加到文件末尾） */
.exec-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;      /* 不换行，超出显示横向滚动 */
  gap: 12px !important;
  align-items: flex-start !important;
  justify-content: flex-start !important; /* 左对齐，避免把项目居中造成的滚动范围缩短 */
  overflow-x: auto !important;
  padding: 8px !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch !important;
}

.exec-item {
  flex: 0 0 160px !important;        /* 列宽：按需调整为 140/160/200 */
  width: 160px !important;
  min-width: 160px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
}

/* 视频缩略图和 exec-thumb 保持一致 */
.exec-item video,
.exec-item .exec-thumb {
  width: 100% !important;
  height: 110px !important;
  object-fit: cover !important;
  display: block !important;
}

/* 确保 caption 不撑高卡片 */
.exec-caption {
  margin-top: 8px !important;
  font-size: 0.85rem !important;
  color: #444 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  max-height: 3.6em !important;
  overflow: hidden !important;
}

/* 小屏适配：卡片变宽以便触控滑动更舒适 */
@media (max-width: 760px) {
  .exec-item { flex: 0 0 220px !important; width: 220px !important; min-width: 220px !important; }
  .exec-item video, .exec-item .exec-thumb { height: 140px !important; }
}

/* 替换/追加：让 exec-grid 成为可滚动的横向行并扩大滚动范围 */
.exec-grid {
  display: inline-flex !important;      /* inline-flex：在有外部 overflow-x:auto 的容器内自然横向扩展宽度 */
  flex-direction: row !important;
  flex-wrap: nowrap !important;         /* 不换行，超出部分可横向滚动 */
  gap: 12px !important;
  align-items: flex-start !important;
  justify-content: flex-start !important; /* 左对齐，避免把项目居中造成的滚动范围缩短 */
  padding: 8px !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch !important;
  /* 不在这里设置 overflow-x，如果 exec-grid 放在一个有 overflow-x:auto 的外层容器（推荐），
     exec-grid 将根据内容宽度自然扩展，从而得到完整滚动范围。 */
}

/* 外层滚动容器（如果存在），确保它允许滚动并占满可用宽度 */
.exec-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
}

/* 保持卡片尺寸，但你可以增大 min-width 来延长总宽度（例如 180px -> 更多滚动） */
.exec-item {
  flex: 0 0 160px !important;
  width: 160px !important;
  min-width: 160px !important;
  box-sizing: border-box !important;
}

/* 缩略视频：保持覆盖并裁切显示 */
.exec-item video,
.exec-item .exec-thumb {
  width: 100% !important;
  height: 110px !important;
  object-fit: cover !important;
  display: block !important;
}

/* 说明：如果你希望滚动由 exec-grid 本身控制（而非外层 wrapper），
   把 .exec-grid 的 overflow-x: auto; 并确保外层没有 overflow-x 限制。 */

.figure-row {
  display: flex;
  gap: 32px;
  align-items: flex-start; /* 保持左侧文字顶部对齐图片顶部 */
  margin-bottom: 1.5rem;
}

/* 左侧文字列 */
.figure-text {
  flex: 1 1 55%;
  text-align: justify;
  line-height: 1.5;
  color: #222;
}

/* 右侧图片列（含图注）*/
.figure-image {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.figure-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
}

/* 图注样式 */
.figure-image figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

/* 响应式：窄屏时改为上下布局 */
@media (max-width: 768px) {
  .figure-row {
    flex-direction: column;
  }
  .figure-text,
  .figure-image {
    flex: 1 1 100%;
  }
  .figure-image {
    width: 100%;
  }
}


