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-family: 'Castoro', serif;
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

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




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

.publication-venue {
  color: #555;
  width: 100%;
  font-weight: bold;
}

.publication-description {
  flex: 1;
}

.publication-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;

  overflow: hidden;
}

.publication-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



.publication-banner {
  max-height: 100%;

}

.publication-banner video {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}



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

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

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

.bibtex-author {
  font-weight: bold;
}

.bibtex-title {
  font-weight: bold;
  color: #006699;
}

.bibtex-url {
  text-decoration: underline;
}

.center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  border: none !important;
  outline: none !important;
}

/* Table Styles */
.table-container {
  overflow-x: auto;
  padding: 4px;
  margin: 0;
}

/* 表格阴影立体感效果 */
.table,
.table.is-striped,
.table.is-hoverable,
.table.is-fullwidth {
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  background-color: #ffffff !important;
  margin: 0 !important;
  border: none !important;
}

.table th,
.table td {
  vertical-align: middle !important;
  text-align: center;
}

.table thead tr:first-child th[rowspan="2"] {
  vertical-align: middle;
}

.table thead tr:last-child th {
  border-bottom: none !important;
}

.table tbody tr:first-child td[rowspan="3"] {
  vertical-align: middle;
}

/* 模型组交替颜色 */
.table tbody tr.model-group-1 {
  background-color: #ffffff;
}

.table tbody tr.model-group-2 {
  background-color: #f9f9f9;
}

/* Base行（前三行）为白色，Context行（后三行）为灰色 */
.table tbody tr.base-row {
  background-color: #ffffff !important;
}

.table tbody tr.context-row,
.table.is-striped tbody tr.context-row {
  background-color: #f5f5f5 !important;
}

/* 确保表格有边框 */
.table thead {
  border-bottom: 1px solid #e0e0e0;
}

.table thead tr:first-child th {
  border-bottom: 1px solid #e0e0e0 !important;
}

.table thead th.task-group-header {
  position: relative;
}

.table thead th.task-group-header::before,
.table thead th.task-group-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  width: 12px;
  height: 2px;
  background-color: #ffffff;
}

.table thead th.task-group-header::before {
  left: 0;
}

.table thead th.task-group-header::after {
  right: 0;
}

.table thead th.task-group-header:first-of-type::before,
.table thead th.task-group-header:last-of-type::after {
  width: 0;
}

/* 移除表格数据行的条纹颜色，Base行是白色，Context行是灰色 */
.table.is-striped tbody tr:not(.is-selected-row):not(.context-row) {
  background-color: #ffffff !important;
}

.is-selected-row {
  background-color: #f5f5f5 !important;
  font-weight: bold;
}

/* Carousel Styles */
.results-carousel {
  overflow: hidden;
}

.results-carousel .box {
  margin: 10px;
  box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02);
  border-radius: 6px;
  background-color: white;
  height: 1200px !important;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.results-carousel .box .content:first-of-type {
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.results-carousel .box .content:last-of-type {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.results-carousel .box .content:last-of-type::-webkit-scrollbar {
  width: 6px;
}

.results-carousel .box .content:last-of-type::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.results-carousel .box .content:last-of-type::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.results-carousel .box .content:last-of-type::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.results-carousel .item {
  margin: 0;
  padding-bottom: 20px;
  display: flex;
  align-items: stretch;
  height: 1200px !important;
}

.results-carousel .item .box {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 1200px !important;
}

/* Carousel Navigation */
.slider-pagination .slider-page {
  background: #ccc;
}

.slider-pagination .slider-page:hover {
  background: #888;
}

.slider-pagination .slider-page.is-active {
  background: #3273dc;
}

.slider-navigation-previous,
.slider-navigation-next {
  background: rgba(0, 0, 0, 0.1) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  color: #3273dc !important;
}

.slider-navigation-previous:hover,
.slider-navigation-next:hover {
  background: rgba(0, 0, 0, 0.2) !important;
}

/* 图注样式：整体水平居中，内部文本两端对齐 */
.figure-caption {
  text-align: center;
  width: 100%;
  display: block;
}

.figure-caption p {
  text-align: justify !important;
  text-align-last: left !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  line-height: 1.6;
  display: block;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  white-space: normal;
}