.coaching-stats {
  position: relative;
  isolation: isolate;
  padding: 40px 40px;
}

.coaching-stats::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #e3ece0;
  z-index: -1;
}

.coaching-stats::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 100%;
  opacity: 0.3;
  background: repeating-linear-gradient(
    to bottom,
    var(--color-forest-green) 0 12px,
    transparent 12px 24px
  );
}

.coaching-stats__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.coaching-stats__title {
  margin: 0;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: 0%;

  color: var(--color-black);
}

.coaching-stats__source {
  font-weight: 500;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: 0%;

  color: var(--color-neutral-700);
}

.coaching-stats__items > .field__items {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.coaching-stat {
  display: flex;
  align-items: stretch;
  gap: 16px;

  min-height: 54px;
  padding: 4px;

  background: var(--color-white-main);
  border: 1px solid var(--color-neutral-200);
  border-radius: 6px;
}



.coaching-stat__bar {
  position: static;
  flex: 0 1 calc((100% - 8px) * var(--progress) / 100);
  /* flex: 0 0 calc((100% - 8px) * var(--progress) / 100); */  /* real progress */
  width: auto;
  min-width: max-content;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  padding: 6px 16px;

  background: var(--color-forest-green);
  border-radius: 4px;
}

.coaching-stat__description {
  flex: 1 0 auto;
  min-width: max-content;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  padding-right: 32px;
  white-space: nowrap;
  text-align: right;

  text-transform: lowercase;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  color: var(--color-neutral-700);
}

.coaching-stat__value {
  font-weight: 600;
  font-size: 28px;
  line-height: 120%;
  letter-spacing: 0%;
  color: var(--color-white-main);
}


/* WHY COACHMILA PAGE */
.coaching-stats_why-coachmila::before{
  background: var(--colour-lightgreen, #E3ECE0);
}

.coaching-stats__items_why-coachmila {
  .coaching-stat__bar {
    background: var(--color-success);
  }
}

.coaching-stats_why-coachmila .coaching-stats__header {
  margin-bottom: 22px;
}

@media (max-width: 767.98px) {
  .coaching-stats {
    padding-inline: 1rem;
  }

  .coaching-stats__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .coaching-stat {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    padding: 4px 0 0;
    background: transparent;
    border: none;
  }

  .coaching-stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 54px;

    background: var(--color-white-main);
    border: 1px solid var(--color-neutral-200);
    border-radius: 6px;
  }

  .coaching-stat__bar {
    position: relative;
    z-index: 1;

    flex: none;
    width: calc((100% - 8px) * var(--progress) / 100);
    /* min-width: 0; */
    min-width: fit-content;
    min-height: 46px;
    margin-left: 4px;
  }

  .coaching-stat__value {
    font-size: 16px;
  }

  .coaching-stat__description {
    flex: none;
    width: 100%;
    min-width: 0;
    padding: 0;

    justify-content: flex-start;
    text-align: left;
    white-space: normal;
  }
}