/* KPIS styles */
.thumbex-kpi {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
  min-height: 260px;
  container-type: inline-size;
  container-name: kpi;
  gap: 1em;
}

.thumbex-kpi .kpi-source {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  display: none;
  padding: 2.5em;
  text-align: center;
  color: #fff;
  font-size: 1.5em;
  transition: all 0.5s ease;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  -o-transition: all .5s ease-in-out;
}

.thumbex-kpi:hover .kpi-source {
  display: flex;
  justify-content: center;
}

.thumbex-kpi a {
  text-decoration: none;
}

.thumbex-kpi-img {
  min-height: 160px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumbex-kpi-title {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.kpi-value {
  color: var(--main-color);
  color: color-mix(in srgb, var(--main-color) 60%, black);
  font-weight: bold;
  font-size: 2em;
  text-align: center;
}

@container kpi (max-width: 210px) {
  .kpi-value {
    font-size: 1.5em;
  }
}

.kpi-label {
  color: var(--main-color);
  color: color-mix(in srgb, var(--main-color) 60%, black);
  font-weight: lighter;
  text-align: center;
}

@container kpi (max-width: 210px) {
  .kpi-label {
    font-size: 0.9em;
  }
}