/*
 * .outcomes — block acf/outcomes: icon + title + text in two columns,
 * then big metrics (blocks/outcomes/render.php).
 * Figma: Story D 337:12525 (list 337:12528, metrics 337:12605) / M 337:12081.
 *
 * The icon tile is .icon-tile--green (icon-tile.css).
 * Figma trims text boxes to the cap height, so its 10 / 30 px gaps
 * (title–text, desktop rows) are 3 / 20 px here: the glyphs land where
 * the mockup has them.
 */

.outcomes {
  display: flex;
  flex-direction: column;
  gap: var(--nv-flow-gap);
}

/* .outcomes__list — one column 30 px apart (the tile sets the row height); two columns from 768 px */
.outcomes__list {
  display: grid;
  gap: 1.875rem;

  /* @media (width >= 48em) .outcomes__list */
  @media (width >= 48em) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* .outcomes__item — tile | text; 10 → 20 px apart, centred from 768 px */
.outcomes__item {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.625rem, 0.4028rem + 0.9479vw, 1.25rem);

  /* @media (width >= 48em) .outcomes__item */
  @media (width >= 48em) {
    align-items: center;
  }
}

/* .outcomes__icon — 28 px icon on the 60 px tile */
.outcomes__icon {
  & img {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
  }
}

/* .outcomes__body — title above text */
.outcomes__body {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem;
  min-width: 0;
}

/* .outcomes__title — 20 → 32 px */
.outcomes__title {
  color: var(--nv-navy);
  font-weight: 500;
  font-size: clamp(1.25rem, 0.9834rem + 1.1375vw, 2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

/* .outcomes__text — 16 → 18 px */
.outcomes__text {
  color: var(--nv-navy);
  font-size: clamp(1rem, 0.9556rem + 0.1896vw, 1.125rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;

  & p + p {
    margin-top: 0.625rem;
  }

  & a {
    color: var(--nv-blue-light);
    text-decoration: underline;
  }

  /* @media (width >= 48em) .outcomes__text */
  @media (width >= 48em) {
    letter-spacing: -0.02em;
  }
}

/* .outcomes__metrics — stacked 10 px apart; from 768 px two per row (20 px), an odd last one full width */
.outcomes__metrics {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;

  /* @media (width >= 48em) .outcomes__metrics */
  @media (width >= 48em) {
    flex-flow: row wrap;
    gap: 1.25rem;
  }
}

/* .outcomes__metric — light green box, padding 20/10 → 40 */
.outcomes__metric {
  flex: 1 1 calc(50% - 0.625rem);
  min-width: 0;
  border-radius: var(--nv-radius-s);
  padding: clamp(1.25rem, 0.8056rem + 1.8957vw, 2.5rem) clamp(0.625rem, -0.0414rem + 2.8436vw, 2.5rem);
  text-align: center;
  background-color: rgba(168, 217, 95, 0.1);
}

/* .outcomes__value — 48 → 75 px green; pulled up by the space above the caps (Figma trims it) */
.outcomes__value {
  margin-top: -0.12em;
  margin-bottom: -0.14em;
  color: var(--nv-green);
  font-size: clamp(3rem, 2.4002rem + 2.5592vw, 4.6875rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

/* .outcomes__label — 18 → 23 px */
.outcomes__label {
  margin-top: calc(1.25rem - 0.14em);
  margin-bottom: -0.14em;
  color: var(--nv-navy);
  font-weight: 500;
  font-size: clamp(1.125rem, 1.0139rem + 0.4740vw, 1.4375rem);
  line-height: 1;
  letter-spacing: -0.03em;
}
