/* css styles */

.wide-comparison-table {
  font-size: 0.9em;
  width: 100%;
}

/* Optional: ensure the table doesn't get cut off on small screens */
.wide-comparison-table table {
  width: 100%;
  margin-bottom: 1rem;
  vertical-align: top;
}

/* --- Figure Captions --- */
figure figcaption {
  text-align: center;
  font-size: 0.85em;
  color: #6c757d;
  margin-top: 0.5rem;
  font-style: italic;
}

figure + p > em:only-child {
  display: block;
  text-align: center;
  font-size: 0.85em;
  color: #6c757d;
}

/* --- Homepage Hero --- */
.hero-section {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #dee2e6;
}

.hero-section h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.hero-section p {
  font-size: 1.05em;
  color: #6c757d;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Table Styling --- */
table th {
  background-color: #2780e3;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 0.75rem;
  border: 1px solid #dee2e6;
}

table td {
  padding: 0.6rem 0.75rem;
  border: 1px solid #dee2e6;
  vertical-align: top;
}

table tbody tr:nth-child(odd) {
  background-color: #f8f9fa;
}

table tbody tr:hover {
  background-color: #e9ecef;
}

/* --- References --- */
.references-list {
  font-size: 0.88em;
  color: #6c757d;
}

.references-list ol {
  padding-left: 2.5rem;
}

.references-list li {
  padding-left: 0.5rem;
  text-indent: -0.5rem;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

/* --- Math Block Spacing --- */
.math.display {
  margin: 1.5rem 0;
}
