/* Standalone counter panel */

.content-figures--counters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3rem;
  padding: 1rem;
  border-radius: 1.5rem;
  background: #0f0faa;
}

.content-figures--counter {
  min-width: 0;
  padding: 1.25rem 1rem;
}

.content-figures--counter:nth-child(even) {
  border-left: 1px solid #00B596;
}

.content-figures--counter:nth-child(n + 3) {
  border-top: 1px solid #00B596;
}

.content-figures--counter-value.figure--figure {
  position: relative;
  margin: 0 0 0.25rem;
  color: #00B596;
  font-family: "CalvertMT", "sans serif";
  font-size: 2.75rem;
  line-height: 3.25rem;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}

.content-figures--counter-value.figure--figure::after {
  display: none;
}

.content-figures--counter-label.figure--label {
  color: #fff;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  text-align: left;
}

@media (max-width: 43.115em) {
  .content-figures--counter {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .content-figures--counter-value.figure--figure {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 2.5rem;
    text-align: center;
  }

  .content-figures--counter-label.figure--label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: clamp(0.75rem, 3vw, 0.9375rem);
    line-height: 1.25rem;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
  }
}

@media (min-width: 43.125em) {
  .content-figures--counters {
    margin-top: 4rem;
    padding: 1.5rem;
    border-radius: 2rem;
  }
  
  .content-figures--counter {
    padding: 1.5rem;
  }
  
  .content-figures--counter-value.figure--figure {
    font-size: 4rem;
    line-height: 4.5rem;
  }
  
  .content-figures--counter-label.figure--label {
    font-size: 1.125rem;
    line-height: 1.625rem;
  }
}

@media (min-width: 64.0625em) {
  .content-figures--counters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 5rem;
  }
  
  .content-figures--counter,
  .content-figures--counter:nth-child(even),
  .content-figures--counter:nth-child(n + 3) {
    border-top: 0;
    border-left: 1px solid #00B596;
  }
  
  .content-figures--counter:nth-child(4n + 1) {
    border-left: 0;
  }
  
  .content-figures--counter:nth-child(n + 5) {
    border-top: 1px solid #00B596;
  }
}

@media (min-width: 80.0625em) {
  .content-figures--counter {
    padding: 1.5rem 2rem;
  }
}

.fold--counter-panel {
  width: 100%;
}

.counter-panel--counters.content-figures--counters {
  margin-top: 0;
}
