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

/* ── Hero / Title ─────────────────────────────────────────── */
.publication-title {
  font-family: 'Google Sans', sans-serif;
  font-size: 2.2rem;
  line-height: 1.25;
}

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

.publication-authors a {
  color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
  text-decoration: underline;
}

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

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

/* ── Affiliation logos ───────────────────────────────────── */
.affil-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  margin: 18px auto 0;
  max-width: 360px;
}

.affil-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1 1 0;
  min-width: 120px;
}

.affil-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.affil-label {
  font-size: 0.78rem;
  color: #555;
  font-weight: 500;
}

/* ── Link buttons ────────────────────────────────────────── */
.link-block a {
  margin: 4px;
}

/* ── Teaser ──────────────────────────────────────────────── */
.teaser-figure {
  text-align: center;
  padding: 0 1rem;
}

.teaser-figure img {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  max-width: 100%;
}

.teaser-caption {
  margin-top: 14px;
  font-size: 0.92rem;
  color: #4a4a4a;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Section titles ──────────────────────────────────────── */
.section-title {
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ── Stats bar ───────────────────────────────────────────── */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 1.5rem 0;
}

.stat-card {
  background: #f0f6ff;
  border: 1px solid #c8deff;
  border-radius: 10px;
  padding: 14px 22px;
  text-align: center;
  min-width: 150px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2a67c8;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: #555;
  margin-top: 4px;
}

/* ── Method figure ───────────────────────────────────────── */
.method-figure {
  text-align: center;
}

.method-figure img {
  max-width: 100%;
  border-radius: 6px;
}

.figure-caption {
  margin-top: 10px;
  font-size: 0.88rem;
  color: #555;
  text-align: center;
}

/* ── Video grid ──────────────────────────────────────────── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 1rem;
}

.video-item {
  background: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.video-wrapper {
  position: relative;
}

.video-item video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 6;
  background: #111;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.video-overlay:hover {
  background: rgba(20, 20, 20, 0.72);
}

.play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #2a67c8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: transform 0.15s;
}

.video-overlay:hover .play-btn {
  transform: scale(1.1);
}

.video-label {
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #363636;
  text-align: center;
  background: #fff;
}

/* ── BibTeX ──────────────────────────────────────────────── */
.bibtex-block {
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px 24px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
  text-align: left;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer .icon-link {
  font-size: 22px;
  color: #000;
}

/* ── Alternating section backgrounds ─────────────────────── */
.section-alt {
  background: #fafafa;
}

/* ── Responsive tweaks ───────────────────────────────────── */
@media (max-width: 768px) {
  .publication-title {
    font-size: 1.55rem;
  }
  .video-grid {
    grid-template-columns: 1fr;
  }
}
