body {
  font-family: 'Noto Sans', sans-serif;
}


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.mmmu {
  font-variant: small-caps;
  font-weight: bold;
}


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

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


.publication-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center; 
}


.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;
    margin: 0 auto;
    text-align: center;
    font-weight: bolder;
    font-size: 1.2rem;
}

.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: 20px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 5px;
  font-size: 0;
} */

.stats-image {
  max-height: 250px;
}

#org-banners {
  display:flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.org-banner {
  /* margin: 5px; */
  max-width: 100%;
  height: 6em;
  margin: 10px;
  padding: 10px;
}

.chart-grid {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.chart-item {
  text-align: center;
}

.chart-label {
  margin-top: 5px;
}

/* 媒体查询，只有当浏览器窗口宽度大于600px时才会应用 */
@media (min-width: 600px) {
  .chart-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* 当浏览器窗口宽度大于900px时 */
@media (min-width: 900px) {
  .chart-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

.bottom-text {
  margin-top: 30px; 
}


.model-labels-container {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 8px; 
}

.model-label {
  display: inline-block;
  padding: 4px 10px;
  margin: 5px;
  border-radius: 3px;
  color: rgb(255, 255, 255);
}

.leaderboard-label {
  display: inline-block;
  padding: 4px 10px;
  margin: 5px;
  border-radius: 3px;
  color: rgb(48, 48, 48);
}

.box {
  display: flex;
  align-items: center; 
  justify-content: center; 
  height: 100%;
  margin: 5px; 
}

.results-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.results-table {
  width: 100%;
  min-width: 1200px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
  white-space: nowrap;
  border: none !important;
}

.results-table thead th {
  background: #f3f4f6;
  color: #1f2937;
  font-weight: 700;
  text-align: center;
  padding: 10px 12px;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #d1d5db;
}

.results-table thead tr:first-child th {
  background: #eef2f7;
}

.results-table td {
  padding: 9px 12px;
  text-align: center;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #eef2f7;
  color: #374151;
}

.results-table tbody tr:nth-child(even):not(.results-group-row) td {
  background: #fafafa;
}

.results-table tbody tr:hover:not(.results-group-row) td {
  background: #f6faff;
}

.results-table .model-col {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  font-weight: 600;
  background: #ffffff;
}

.results-table tbody tr:nth-child(even):not(.results-group-row) .model-col {
  background: #fafafa;
}

.results-table tbody tr:hover:not(.results-group-row) .model-col {
  background: #f6faff;
}

.results-table .results-group-row td {
  text-align: center;
  font-weight: 700;
  color: #111827;
  background: #edf4ff;
  border-top: 1px solid #dbe7ff;
  border-bottom: 1px solid #dbe7ff;
  padding: 10px 12px;
}

.ranking-visual-wrap {
  margin-top: 1.5rem;
  padding: 1.1rem 1.1rem 1.35rem;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ranking-visual-header {
  text-align: left;
  margin-bottom: 0.75rem;
}

.ranking-visual-header p {
  color: #4b5563;
  margin-bottom: 0;
}

.ranking-summary-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 1rem;
}

.ranking-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  text-align: left;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
}

.ranking-card-label {
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.ranking-card-value {
  font-size: 1.12rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.ranking-card-subtext {
  font-size: 0.87rem;
  color: #4b5563;
}

.ranking-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.9rem;
}

.metric-controls {
  margin-bottom: 0.65rem;
}

.stat-controls {
  margin-top: -0.15rem;
  margin-bottom: 0.8rem;
}

.ranking-btn {
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  border-radius: 999px;
  padding: 0.38rem 0.8rem;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ranking-btn:hover {
  background: #f3f4f6;
}

.ranking-btn.is-active {
  background: #1f4aa8;
  border-color: #1f4aa8;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(31, 74, 168, 0.18);
}

.ranking-summary {
  text-align: left;
  color: #374151;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.ranking-canvas-wrap {
  position: relative;
  width: 100%;
  min-height: 520px;
}

@media (max-width: 768px) {
  .ranking-summary-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-canvas-wrap {
    min-height: 680px;
  }
}

@media (max-width: 560px) {
  .ranking-summary-cards {
    grid-template-columns: 1fr;
  }
}

.case-study-panel {
  margin-top: 0.75rem;
}

.case-study-image {
  width: 82%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 1rem;
  text-align: left;
}

.case-study-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1rem 1.05rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.case-study-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  color: #111827;
}

.case-study-card p,
.case-study-card li {
  color: #374151;
  line-height: 1.65;
}

.case-study-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.case-study-card-wide {
  grid-column: 1 / -1;
}

.case-study-quote {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid #93c5fd;
  background: #f8fbff;
  color: #1f2937;
  border-radius: 8px;
  font-size: 0.96rem;
}

.hl-chem {
  color: #2563eb;
  font-weight: 600;
}

.hl-hazard {
  color: #dc2626;
  font-weight: 600;
}

@media (max-width: 900px) {
  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .case-study-image {
    width: 100%;
  }
}
