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

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

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

.publication-venue {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  color: #4a4a4a;
}

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

.author-affiliation {
  display: inline-block;
  margin-right: 0.6rem;
}

.author-affiliation .number {
  font-size: 0.85em;
  vertical-align: super;
  margin-right: 0.15em;
}

.publication-banner {
  max-height: parent;
}

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

.publication-header .hero-body {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

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

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

.publication-banner img {
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

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

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

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

.publication-banner img {
  width: 100%;
}

.publication-authors {
  text-align: center;
}

.publication-authors strong {
  color: hsl(0, 0%, 21%);
}

.publication-affiliations {
  text-align: center;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #4a4a4a;
}

.publication-links {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.publication-links .button {
  margin: 0.25rem;
}

.results-table {
  margin: 1.5rem 0;
}

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

.results-table td.method-name {
  text-align: left;
  font-weight: 500;
}

.results-table tr.our-method {
  background-color: #e6f3ff;
  font-weight: bold;
}

.bibtex-block {
  background-color: #f5f5f5;
  border-radius: 6px;
  padding: 1.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  white-space: pre;
  overflow-x: auto;
}

.bibtex-notice {
  background: #fff8e1;
  border-left: 4px solid #f1b602;
  padding: 0.75rem 1rem;
  margin: 0.6rem 0 1rem;
  font-size: 0.92rem;
  color: #5a4a14;
  border-radius: 0 4px 4px 0;
}

.bibtex-notice .fas {
  color: #d39800;
  margin-right: 0.4rem;
}

.bibtex-notice strong {
  color: #4a3c10;
}

.bibtex-section {
  position: relative;
}

.copy-button {
  position: absolute;
  top: 1.5rem;
  right: 1rem;
}

.method-figure {
  text-align: center;
  margin: 2rem auto;
}

.method-figure img {
  max-width: 100%;
  height: auto;
}

.section-title {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-weight: 700;
}

.hero.is-light.publication-header {
  background: #fafafa;
}

.subtitle.has-text-centered.is-size-5 {
  font-family: 'Castoro', serif;
  font-style: italic;
  color: #4a4a4a;
}

footer.footer {
  padding: 2rem 1.5rem;
  background-color: #fafafa;
}

.footer .content {
  text-align: center;
  font-size: 0.9rem;
  color: #7a7a7a;
}

.footer .content a {
  color: hsl(204, 86%, 53%);
}

sup.eq-contrib {
  color: hsl(204, 86%, 53%);
}

/* ===== Phase 2: Promotional enhancements ===== */

.tagline {
  font-family: 'Castoro', serif;
  font-style: italic;
  color: hsl(204, 60%, 35%);
  font-size: 1.2rem;
  text-align: center;
  margin-top: -0.3rem;
  margin-bottom: 1.2rem;
}

/* Teaser section: representative figure + framing prose right after hero */
.teaser-section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.teaser-prose {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #333;
  text-align: justify;
  margin-top: 0.8rem;
}

.teaser-prose strong {
  color: hsl(204, 70%, 35%);
}

/* Stat tiles */
.stat-tiles-section {
  background: #f7f9fc;
}

.stat-tile {
  text-align: center;
  padding: 1.6rem 0.8rem;
  border-radius: 10px;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #e8eef5;
  height: 100%;
  transition: transform 0.18s ease;
}

.stat-tile:hover {
  transform: translateY(-3px);
}

.stat-tile .stat-number {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: hsl(204, 86%, 45%);
  line-height: 1.1;
  display: block;
}

.stat-tile .stat-label {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.4rem;
  color: hsl(0, 0%, 22%);
}

.stat-tile .stat-caption {
  font-size: 0.85rem;
  color: #6a6a6a;
  margin-top: 0.4rem;
  line-height: 1.4;
}

.stat-tile.compact {
  padding: 1.1rem 0.6rem;
}

.stat-tile.compact .stat-number {
  font-size: 2.05rem;
}

.stat-tile.compact .stat-label {
  font-size: 0.92rem;
}

.stat-tile.compact .stat-caption {
  font-size: 0.78rem;
}

.tile-group-label {
  text-align: center;
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: hsl(204, 30%, 35%);
  letter-spacing: 0.02em;
  margin-bottom: 0.7rem;
}

/* Theorem box */
.theorem-box {
  border-left: 4px solid hsl(204, 86%, 53%);
  background: hsl(204, 80%, 97%);
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
}

.theorem-box .theorem-label {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
  font-weight: 700;
  color: hsl(204, 86%, 38%);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.theorem-box .theorem-statement {
  font-style: italic;
  color: #2c2c2c;
  margin-bottom: 0;
}

/* Figure with download */
.figure-block {
  text-align: center;
  margin: 2rem auto;
}

.figure-block img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

.figure-block .figure-caption {
  font-size: 0.92rem;
  color: #555;
  margin-top: 0.85rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.figure-block .download-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: hsl(204, 86%, 45%);
}

.figure-block .download-link:hover {
  text-decoration: underline;
}

/* Theorem 1 animated illustration (PowerPoint-exported MP4) */
.thm1-animation {
  width: 100%;
  max-width: 820px;
  margin: 1rem auto 0.5rem;
  display: block;
}

.thm1-animation video {
  width: 100%;
  height: auto;
  display: block;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

/* Acknowledgements */
.ack-section {
  background: #fafafa;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.ack-section .content {
  font-size: 0.95rem;
  color: #4a4a4a;
}
