{% set primary = theme.global_colors.primary.color %}
{% set ash_blue = theme.global_colors.ash_blue.color %}
{% set space_cadet = theme.global_colors.space_cadet.color %}
{% set white = theme.global_colors.white.color %}

.stats-section {
  --stats-heading: ;
  --stats-text: ;
}

.stats-section--dark {
  --stats-heading: ;
  --stats-text: ;
}

.stats-section .section-heading {
  margin-bottom: 3rem;
}

.stats-section .section-heading__body,
.stats-section .section-heading__body p {
  font-size: 16px;
  line-height: 1.8em;
}

.stats-section .section-heading__title,
.stats-section .section-heading__line {
  color: var(--stats-heading);
}

.stats-section .section-heading__body,
.stats-section .section-heading__body p {
  color: var(--stats-text);
}

.stats-section .section-heading__line--2,
.stats-section .eyebrow {
  color:  !important;
}

.stats-section__grid {
  display: grid;
  gap: 2.5rem 2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-section__item {
  min-width: 0;
}

.stats-section__value {
  align-items: baseline;
  color: var(--stats-heading);
  display: flex;
  flex-wrap: wrap;
  font-size: 42px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

.stats-section__number {
  color: var(--stats-heading);
}

.stats-section__prefix,
.stats-section__suffix {
  color:  !important;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
}

.stats-section__label {
  color: var(--stats-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  margin: 0 0 0.4rem;
  opacity: 0.8;
  text-transform: uppercase;
}

.stats-section__desc {
  opacity: 0.8;
}

.stats-section__desc,
.stats-section__desc p {
  color: var(--stats-text);
  font-size: 14px;
  line-height: 1.6em;
}

.stats-section__desc p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1200px) {
  .stats-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .stats-section__grid {
    grid-template-columns: 1fr;
  }
}
