.vista-hero {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}
.publication-title {
  letter-spacing: -0.03em;
}
.publication-subtitle {
  margin-top: -0.5rem;
  color: #405066;
}
.publication-links {
  margin-top: 1.5rem;
}
.link-block {
  margin: 0.25rem;
  display: inline-block;
}
.tagline {
  border-radius: 18px;
  border: 1px solid #e6edf5;
  background: #ffffff;
}
.teaser-image, .paper-figure {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.10);
}
.metric-card {
  height: 100%;
  padding: 1.25rem;
  border-radius: 18px;
  background: white;
  border: 1px solid #e9eef5;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  text-align: center;
}
.metric-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1f4e79;
}
.metric-label {
  font-size: 0.95rem;
  color: #4b5563;
}
.stats-section, .results-section {
  background: #fbfdff;
}
.grove-section {
  background: #f7f9fc;
}
.formula-box {
  background: white;
  border: 1px solid #e7edf4;
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  font-size: 1.08rem;
  overflow-x: auto;
}
.formula-box mjx-container {
  margin: 0.35rem 0 !important;
}
pre {
  border-radius: 14px;
  white-space: pre-wrap;
}


/* Robust equation rendering without MathJax dependency */
.formula-box {
  background: #f7f9fc;
  border: 1px solid #e1e7ef;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem auto 0;
  text-align: center;
  overflow-x: auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.9;
  color: #1f2937;
}
.formula-line {
  white-space: nowrap;
}
.formula-main {
  margin-top: 0.25rem;
}
.math-var {
  font-style: italic;
}
.fraction {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 1;
  margin: 0 0.15rem;
}
.fraction span:first-child {
  border-bottom: 1px solid currentColor;
  padding: 0 0.25rem 0.08rem;
}
.fraction span:last-child {
  padding-top: 0.08rem;
}
.sum-symbol {
  font-size: 1.65rem;
  vertical-align: middle;
  display: inline-block;
  margin: 0 0.05rem;
}


/* Robust GROVE equation rendering without MathJax */
.formula-box {
  background: #f7f8fb;
  border: 1px solid #e5e7ef;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem auto 0;
  text-align: center;
  overflow-x: auto;
  font-family: "Times New Roman", Times, serif;
  font-size: 1.18rem;
  line-height: 1.9;
}

.formula-line {
  white-space: nowrap;
  margin: 0.25rem 0;
}

.math-var {
  font-style: italic;
}

.fraction {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
  margin: 0 0.15rem;
}

.fraction .numerator {
  border-bottom: 1.5px solid currentColor;
  padding: 0 0.18rem 0.08rem;
}

.fraction .denominator {
  padding-top: 0.08rem;
}

.sum-symbol {
  font-size: 1.55em;
  vertical-align: middle;
  display: inline-block;
  margin: 0 0.08rem;
}

.sqrt-wrap {
  display: inline-flex;
  align-items: stretch;
  vertical-align: middle;
  margin-left: 0.12rem;
}

.sqrt-symbol {
  font-size: 1.7em;
  line-height: 0.9;
  transform: scaleX(0.95);
  margin-right: -0.02rem;
}

.radicand {
  display: inline-block;
  border-top: 1.6px solid currentColor;
  padding: 0.08rem 0.18rem 0;
  line-height: 1.2;
}

/* Helps small screens keep the equation readable */
@media (max-width: 600px) {
  .formula-box {
    font-size: 1rem;
    padding: 1rem;
  }
}
