
/***  Counter Block / Laskurilohko  ***/
#primary .counter-block {
  margin: 0;
}
.counter-header {
  color: #ffffff;
  text-align: center;
}
.counter-header * {
  margin-top: 0;
}
.counter-container {
  justify-content: center;
}
.counter-value-container {
  align-items: center;
  column-gap: 1rem;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.counter-value-container,
.counter-value-container div {
  line-height: 1.3;
}

.counter-block-title {
  margin-bottom: 4rem;
}

.counter-item-prepend,
.counter-item-append {
  font-size: 6.25rem;
  font-weight: 700;
  color: #ffffff;
}
.counter-item-value {
  font-size: 6.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0;
}
.counter-item-text {
  display: flex;
  flex-flow: column;
  margin: 0 auto;
  max-width: 15rem;
}
.counter-item-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.counter-item-label {
  font-size: 1.125rem;
  color: #ffffff;
}



/***************   Mobile    ***************/

@media (max-width: 1439px) {
  .counter-container {
    row-gap: 1.5rem;
  }
  .counter-value-container {
    column-gap: .5rem;
  }
  .counter-item-prepend,
  .counter-item-append {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  .counter-item-value {
    font-size: clamp(3rem, 5vw, 4rem);
  }
  .counter-item-title {
    font-size: 1.25rem;
  }
}

@media (min-width: 824px) and (max-width: 1439px) {
  .counter-block .counter-wrapper {
    margin: 0 auto;
    max-width: 50rem;
  }
}

@media (max-width: 639px) {
  .counter-block .counter-wrapper {
      padding: 4rem 0;
  }
  .counter-value-container {
      margin-bottom: 0;
  }
  .counter-item {
      margin-top: 2rem;
  }
}
