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-logo {
  width: 1em;
  vertical-align: middle;
}

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

.hero-gradient {
  background: radial-gradient(circle at 20% 20%, rgba(78, 135, 255, 0.25), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(255, 112, 173, 0.25), transparent 30%),
              linear-gradient(120deg, #0f172a 0%, #1e293b 55%, #0b1324 100%);
  color: #fff;
  position: relative;
}

.hero-gradient .hero-body {
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.hero-top.hero .hero-body,
.hero.hero-top .hero-body {
  padding-top: 1.2rem !important;
  padding-bottom: 0.8rem !important;
}

.hero-top {
  margin-bottom: 0;
}

.hero.teaser {
  padding-top: 0.4rem;
  padding-bottom: 1rem;
  margin-top: 0.25rem;
}

.hero.teaser .container {
  padding-top: 0.4rem;
}

.hero.teaser img {
  display: block;
  margin: 0 auto 0.8rem;
}

.text-white {
  color: #f9fafb !important;
}

.text-white-80 {
  color: rgba(249, 250, 251, 0.8) !important;
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.stat-card {
  background: radial-gradient(circle at 20% 20%, rgba(78, 135, 255, 0.12), transparent 45%),
              radial-gradient(circle at 80% 0%, rgba(255, 112, 173, 0.12), transparent 35%),
              linear-gradient(140deg, #f8fafc 0%, #eef2ff 60%, #e0f2fe 100%);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  border: 1px solid rgba(99, 102, 241, 0.18);
  box-shadow: 0 14px 40px rgba(79, 114, 205, 0.18), 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(79, 114, 205, 0.24), 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: rgba(99, 102, 241, 0.35);
}

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 6px;
}

.stat-label {
  color: #334155;
  font-size: 14px;
  line-height: 1.35;
}

.authors-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 10px 0 4px;
}

.highlight-card {
  position: relative;
  border: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: 16px;
  padding: 18px 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7ff 55%, #eff6ff 100%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  opacity: 0.9;
}

.highlight-card::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 70%);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  border-color: rgba(59, 130, 246, 0.32);
}

.highlight-title {
  font-weight: 800;
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 6px;
}

.highlight-text {
  color: #334155;
  margin: 0;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.pill {
  padding: 8px 14px;
  background: #eef2ff;
  color: #4338ca;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid #e0e7ff;
}

.hero.is-light .title {
  color: #0f172a;
}

.human_expert {
  background-color: rgba(255, 208, 80, 0.15);
}

.open_source {
  background-color: rgba(249, 242, 248, 1);
}

.proprietary {
  background-color: rgba(117, 209, 215, 0.1);
}

.random_frequent {
  background-color: #f4f9fe;
  color: #808080;
}

.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;
}

.news-item {
  font-weight: 600;
  color: #0f172a;
}

.news-date {
  font-weight: 800;
  color: #1d4ed8;
}

.news-item .highlight {
  color: #c53030;
  font-weight: 800;
}

.intro-strong {
  font-weight: 800;
}

.pill-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #2c3e50 0%, #4b5563 50%, #111827 100%);
  color: #f8fafc;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  opacity: 0.95;
}

.pill-btn i {
  font-size: 16px;
}

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

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: contain;
}

.publication-header .hero-body {
}

.publication-title,
.publication-authors {
  font-family: 'Google Sans', sans-serif;
  color: #0f172a;
}

.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;
}

.authors-blue {
  color: #1e88e5;
}

.author-block {
  display: inline-block;
}

.core-author {
  color: hsl(204, 86%, 53%);
  font-weight: 800;
}

.publication-banner img {
}

.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;
}

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

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

.org-banner {
  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;
}

@media (min-width: 600px) {
  .chart-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@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);
}

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

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.leaderboard-container {
  display: flex;
  flex-direction: column;
  overflow-x: auto;
}

.table-row {
  display: flex;
  width: 100%;
}

.sortable:hover {
  cursor: pointer;
}

.asc::after {
  content: ' ↑';
}

.desc::after {
  content: ' ↓';
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 5px;
  border: 1px solid #ddd;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 8px;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

th {
  background-color: #f2f2f2;
  border-bottom: 2px solid #ddd;
}

td:hover {
  background-color: #ffffff;
}

.main-header {
  background-color: #e6e6e6;
  font-weight: bold;
  text-align: center;
}

.sub-header {
  background-color: #f2f2f2;
}

.clickable {
  cursor: pointer;
}

.clickable:hover {
  background-color: #d9d9d9;
}

.hidden {
  display: none;
}

.leaderboard-label {
  padding: 5px 10px;
  margin-right: 10px;
  border-radius: 5px;
}

.table-wrapper {
  overflow-x: auto;
  width: 100%;
}

@media screen and (max-width: 768px) {
  th, td {
    min-width: 100px;
  }
}

#mmr-table {
  table-layout: auto;
  width: 100%;
}

#mmr-table th:not(:first-child),
#mmr-table td:not(:first-child) {
  width: auto;
}

#mmr-table tbody td:first-child {
  text-align: left !important;
}

#toggleButton {
  background-color: #ffffff;
  border: 1px solid #dddddd;
  color: #555555;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 25px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition-duration: 0.4s;
}

#toggleButton:hover {
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}
