/* Key Figures component */
:root{

  --c-kf-background: #fff;
  --c-kf-color: #000;
  --c-kf-icon-size: 100px;

}
.c-key-figures {

  --icon-color: var( --c-kf-color);
  --text-color: var( --c-kf-color);
  --text-color: var(--headings-color);

  display: grid;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md, 1rem);
  padding: var(--spacing-lg, 1rem) var(--spacing-md, 1rem);;
  text-align: center;
  border-radius: var(--radius-auto-lg, 1rem);
  background: var( --c-kf-background);
  justify-content: center;
  /*max-width: 250px;*/
  margin-inline: auto;
  /*margin-block-end: var(--spacing-md, 1rem);*/
}

.c-key-figures__header {
  display: grid;
  grid-template-columns: 1fr;
  place-content: center;


}

/* Icon */
.c-key-figures__icon {
  grid-area: 1 / 1 / 2 / 2;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--c-kf-icon-size,50px);
  height:  var(--c-kf-icon-size,50px);

  &.align-left{ justify-self: start;}
  &.align-right{ justify-self: end;}
  &.align-center{ justify-self: center;}
}

.c-key-figures__icon svg {
  width: 100%;
  height: 100%;
}

/* Number row */
.c-key-figures__number {

  grid-area: 1 / 1 / 2 / 2;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25em;
  line-height: 1;
}

.c-key-figures__figure {
  font-size: var(--font-size-xxxl, 3rem);
  font-weight: 600;
  color: var(--color-primary, #0055a5);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.c-key-figures__prefix ,
.c-key-figures__suffix {
  font-size: var(--font-size-h1, 2rem);
  font-weight: 600;
  color: var(--color-primary, #0055a5);
  line-height: 1;
}

/* Label */
.c-key-figures__label {
  margin: 0;
  font-size: 120%;
  color: var(--color-text, #333);
  font-weight: 500;
  max-width: 16ch;
  text-wrap: balance;
  word-break: break-word;
}
/** text **/
.c-key-figures__text {
  margin: 0;
  color: var(--color-text, #333);
  font-weight: 400;
  max-width: 16ch;
  text-wrap: balance;
  word-break: break-word;
}

/* Variant: highlighted */
.c-key-figures--highlighted {
  /*background-color: var(--color-secondary, #0055a5);*/
  /*--icon-color: contrast-color();*/

}

.paragraph--type--key-figure > .c-key-figures{
  height: 100%;
}
