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

/* ── Title ──────────────────────────────────────────────────────────────── */
.publication-title {
  font-family: "Castoro", serif;
  font-size: 2rem;
  line-height: 1.3;
}

.publication-authors {
  font-size: 1.1rem;
  margin-top: 0.75rem;
}

.publication-venue {
  color: #666;
}

/* ── Model color labels ──────────────────────────────────────────────────── */
.tag-zero-shot {
  color: #c0392b;
  font-weight: 600;
}

.tag-finetuned {
  color: #1a6b2b;
  font-weight: 600;
}

/* ── Results table ───────────────────────────────────────────────────────── */
.results-table th {
  background: #f5f5f5;
}

.result-pass {
  color: #1a6b2b;
  font-weight: 700;
}

.result-fail {
  color: #c0392b;
  font-weight: 700;
}

.result-mid {
  color: #d68910;
  font-weight: 700;
}

.result-pending {
  color: #aaa;
}

/* ── Dataset card ────────────────────────────────────────────────────────── */
.dataset-card {
  background: #f5f8ff;
  border: 1px solid #d0ddf5;
  border-radius: 10px;
  padding: 2rem 1.5rem;
}

.dataset-icon {
  color: #3273dc;
  margin-bottom: 0.75rem;
}

.dataset-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dataset-sub {
  color: #666;
  font-size: 0.9rem;
}

/* ── Task blocks ─────────────────────────────────────────────────────────── */
.task-block {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e8e8e8;
}

.task-block:last-child {
  border-bottom: none;
}

.task-meta {
  margin-bottom: 1rem;
  color: #555;
}

.vid-label {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  text-align: center;
}

/* ── Videos ──────────────────────────────────────────────────────────────── */
video {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: #000;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #eee;
  border-radius: 6px;
  border: 1px dashed #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
}

/* ── Task grid (suite video layout) ─────────────────────────────────────── */
.task-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  align-items: end;
}

.task-grid-item {
  display: flex;
  flex-direction: column;
}

.task-grid-item .vid-label {
  min-height: 2.8em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  text-align: center;
}

.task-grid-item video {
  width: 100%;
}

/* ── Hero teaser ─────────────────────────────────────────────────────────── */
.hero.teaser {
  background: #f0f4f8;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.publication-links .button {
  margin: 0 0.3rem;
}
