:root {
  --max-content-width: 1080px;
}

.container {
  max-width: var(--max-content-width);
}

.hero {
  border-bottom: 1px solid #eee;
}

/* Authors & Affiliations */
.authors {
  margin-top: 0.75rem;
}

.authors .author-block {
  display: inline-block;
  margin: 0 0.45rem;
  font-size: 1.05rem;
}

.authors .author-block a {
  text-decoration: none;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.25);
}

.affiliations {
  margin-top: 0.4rem;
  color: #555;
}

.affiliations sup {
  margin-right: 2px;
}

/* Video & Images */
.video-container {
  position: relative;
  width: 100%;
}

.teaser-video {
  width: 100%;
  border-radius: 6px;
}

.image img {
  border-radius: 6px;
}

.figure-box {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.figure-caption {
  margin-top: 0.75rem;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Section spacing */
.section {
  padding: 2.5rem 1.5rem;
}

.section + .section {
  border-top: 1px solid #f2f2f2;
}

/* Graph Switcher */
.graph-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.graph-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.graph-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.graph-counter {
  font-size: 0.875rem;
  color: #555;
  min-width: 2.5rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.graph-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 6px;
  min-height: 320px;
}

.graph-stage img {
  max-height: 460px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  transition: opacity 0.18s ease-in-out;
}

.graph-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.graph-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: #d0d7de;
  cursor: pointer;
  padding: 0;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.graph-dot.is-active {
  width: 24px;
  background: #3273dc;
}

/* Quantitative Table */
.results-table th,
.results-table td {
  vertical-align: middle;
  text-align: center;
}

.results-table th:first-child,
.results-table td:first-child {
  text-align: left;
}

.results-table tr.is-ours {
  background-color: #f0f6ff;
  font-weight: 600;
}

/* BibTeX */
.bibtex-wrapper {
  position: relative;
}

.copy-bibtex-btn {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
}

/* Figure captions */
.is-size-7 {
  color: #555;
}
