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

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

.title, .subtitle {
  font-family: 'Google Sans', sans-serif !important;
}

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

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

.hero.teaser {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.hero.teaser img {
  max-height: 520px;
  width: auto;
  margin: 0 auto;
  display: block;
}

.case-study-card {
  background: #f7f9fc;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
  padding: 1.25rem;
}

.case-study-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 900px) {
  .case-study-wrapper {
    grid-template-columns: 1fr;
  }
}

#case-svg {
  width: 100%;
  height: 480px;
  background: #ffffff;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  display: block;
}

.case-controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.case-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-info-box {
  background: #ffffff;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  min-height: 180px;
}

.case-eis-box {
  background: #ffffff;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
}

.case-eis-box table {
  font-size: 0.82rem;
}

.legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #444;
  margin-top: 0.5rem;
}

.legend-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-card {
  background: #ffffff;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  font-size: 1.8rem;
  color: #5b8def;
  margin-bottom: 0.5rem;
}

.metric-card {
  text-align: center;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
}

.metric-number {
  font-family: 'Google Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2a9d8f;
  line-height: 1;
}

.metric-label {
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.25rem;
}

.metric-delta {
  font-size: 0.85rem;
  color: #5b8def;
  font-weight: 600;
  margin-top: 0.25rem;
}

.chart-container {
  position: relative;
  background: #ffffff;
  border: 1px solid #e4e9f2;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.bibtex-box {
  background: #1e1e1e;
  color: #f8f8f2;
  padding: 1rem;
  border-radius: 8px;
  font-family: 'SF Mono', 'Menlo', monospace;
  font-size: 0.85rem;
  overflow-x: auto;
}

.section-divider {
  max-width: 160px;
  margin: 2rem auto;
  border: none;
  border-top: 2px solid #e4e9f2;
}

.pipeline-arrow {
  font-size: 2rem;
  color: #5b8def;
  text-align: center;
}

.highlight-box {
  border-left: 4px solid #5b8def;
  background: #f0f6ff;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
}

code {
  background: #f0f4fa;
  color: #1e3d6e;
  padding: 0.1em 0.35em;
  border-radius: 3px;
  font-size: 0.92em;
}
