/* Additional layer of styling on top of theme.scss */

.callout-note,
.callout-tip,
.callout-warning,
.callout-important {
  font-family: 'Newsreader', Georgia, serif;
}

.headline-stat {
  display: inline-block;
  background: #f6f3ec;
  border-left: 3px solid #0e7c7b;
  padding: 0.4rem 0.8rem;
  margin: 0.2rem 0.4rem 0.2rem 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.92rem;
}

figure.quarto-float-fig img {
  max-width: 100%;
  height: auto;
}

figure figcaption {
  font-style: italic;
  color: #5a5a5a;
  font-size: 0.9rem;
}

/* KPI grid for the landing page */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.kpi {
  background: #fff;
  border: 1px solid #e6e3dc;
  border-radius: 6px;
  padding: 1rem 1.2rem;
}
.kpi.highlight {
  border-left: 3px solid #fbbf24;
}
.kpi .lbl {
  font-family: 'IBM Plex Mono', monospace;
  color: #888;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}
.kpi .val {
  font-family: 'Newsreader', serif;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.1;
  color: #1a1a1a;
}
.kpi.highlight .val {
  color: #b7410e;
}
.kpi .sub {
  color: #5a5a5a;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

@media (max-width: 600px) {
  .cesium-embed {
    height: 60vh;
  }
}
