/* ===== 全局基础样式 ===== */
body {
  font-family: 'Noto Sans', sans-serif;
  margin: 0;
  padding: 0;
}

.footer .icon-link {
  font-size: 25px;
  color: #000;
}

.link-block a {
  margin-top: 5px;
  margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}

/* ===== Teaser / Publication ===== */
.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser, .publication-title, .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 a {
  color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.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%;
}

/* ===== 轮播图 ===== */
.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;
}

/* ===== Tabulator 表格基础样式 ===== */
.tabulator {
  width: 100%;
  box-sizing: border-box;
  font-size: 0.9rem;
}

.tabulator-header .tabulator-col-content {
  font-size: 0.9rem;
}

.tabulator-cell {
  font-size: 0.9rem;
  padding: 4px 8px;
  white-space: nowrap; /* 防止文字换行破坏列宽 */
}

.tabulator-tableHolder {
  overflow-x: auto; /* 横向滚动由内容自动决定 */
}

/* Tabulator 表格字体设置 */
#mirrorbench-detailed-table .tabulator {
    font-size: 11px;                      /* 桌面端字体大小 */
}

#mirrorbench-detailed-table .tabulator-header .tabulator-col-content {
    font-size: 13px;                      /* 列头字体 */
}

/* ===== 响应式优化 ===== */
@media (max-width: 768px) {
  .tabulator, 
  .tabulator-header .tabulator-col-content, 
  .tabulator-cell {
    font-size: 0.8rem !important;
  }

  .nav-tabs {
    flex-wrap: wrap;
  }

  .nav-link {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem;
  }

  /* 移动端表格宽度自适应屏幕 */
  #mirrorbench-detailed-table .tabulator-table {
    width: 100% !important;
    min-width: unset !important;
  }
}

/* ===== 高亮单元格样式（配合JS） ===== */
.tabulator-cell.highlight-max {
  background-color: #ffebee !important;
  font-weight: bold !important;
  color: #c62828 !important;
}

.tabulator-cell.highlight-second {
  background-color: #fff8e1 !important;
  font-weight: bold !important;
}
