/* ---------------------------------------------------------------------------- */
/*  Reech Theme Blocks Functions
/* 
/*  Uses Bootstrap functions that are needed to compile block styles, i.e. breakpoints.
/*  This saves compiling all BS files into each individual block CSS file.
/*
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Hex Code Background with Opacity - Use @include rgba-background(#000000, 0.5);
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Link Hover Transition
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Heading Style (uppercase and letter spacing)
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Letter Spacing
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Flex Controller
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Grid Controller
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* Text Column Flex
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Ratio Flex Basis
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Font Awesome Styles
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Primary Animation Controllers
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Aspect Ratio Controller
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Border Bottom's
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Line Clamp
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Clamp min/max bounds
  /* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Theme section base
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Theme image defaults
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Theme full height area
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* Full height browser/window dependant
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Theme transitions
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/* Spacing top inset
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Grid Columns
/* ---------------------------------------------------------------------------- */
/* ---------------------------------------------------------------------------- */
/*  Ratio Flex Basis
/* ---------------------------------------------------------------------------- */
.text-impact-score {
  background-color: var(--bg);
  color: var(--text);
  --highlight: var(--color-primary-subtle);
  --btn-text: var(--text);
  --btn-highlight: var(--text);
  --btn-accent: var(--color-primary);
}
.text-impact-score__content, .text-impact-score__score {
  display: flex;
  flex-flow: column;
}
.text-impact-score__content {
  gap: var(--space-48);
}
.text-impact-score__quote .acf-innerblocks-container {
  display: flex;
  flex-flow: column;
  gap: var(--space-32);
}
.text-impact-score__quote p,
.text-impact-score__quote h1,
.text-impact-score__quote h2,
.text-impact-score__quote h3,
.text-impact-score__quote h4,
.text-impact-score__quote h5,
.text-impact-score__quote h6,
.text-impact-score__quote li {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-medium);
  line-height: 1.3;
  letter-spacing: 0em;
  margin: 0;
}
.text-impact-score__label, .text-impact-score__number, .text-impact-score__meta {
  margin: 0;
}
.text-impact-score__number {
  font-size: 160px;
}
@media (max-width: 1199.98px) {
  .text-impact-score__number {
    font-size: var(--font-size-display);
  }
}
.text-impact-score__value {
  display: flex;
  align-items: flex-end;
  gap: var(--space-12);
  margin-top: var(--space-8);
}
.text-impact-score__meta {
  padding-bottom: var(--space-12);
  color: var(--color-light-grey);
}
.text-impact-score__bars {
  display: flex;
  gap: var(--space-12);
  height: 80px;
  margin-top: var(--space-48);
  overflow: hidden;
}
.text-impact-score__bar {
  flex: none;
  width: 5px;
  align-self: stretch;
  background-color: currentColor;
  opacity: 0.25;
  transform-origin: bottom;
}
.text-impact-score__bar--active {
  opacity: 1;
}
.text-impact-score__bars--animate:not(.is-in-view) .text-impact-score__bar--active {
  opacity: 0.25;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active {
  animation: text-impact-score-bar-fill 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(1) {
  animation-delay: 0s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(2) {
  animation-delay: 0.06s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(3) {
  animation-delay: 0.12s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(4) {
  animation-delay: 0.18s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(5) {
  animation-delay: 0.24s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(6) {
  animation-delay: 0.3s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(7) {
  animation-delay: 0.36s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(8) {
  animation-delay: 0.42s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(9) {
  animation-delay: 0.48s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(10) {
  animation-delay: 0.54s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(11) {
  animation-delay: 0.6s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(12) {
  animation-delay: 0.66s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(13) {
  animation-delay: 0.72s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(14) {
  animation-delay: 0.78s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(15) {
  animation-delay: 0.84s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(16) {
  animation-delay: 0.9s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(17) {
  animation-delay: 0.96s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(18) {
  animation-delay: 1.02s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(19) {
  animation-delay: 1.08s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(20) {
  animation-delay: 1.14s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(21) {
  animation-delay: 1.2s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(22) {
  animation-delay: 1.26s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(23) {
  animation-delay: 1.32s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(24) {
  animation-delay: 1.38s;
}
.text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active:nth-child(25) {
  animation-delay: 1.44s;
}
@keyframes text-impact-score-bar-fill {
  0% {
    opacity: 0.25;
    transform: scaleY(0.4);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .text-impact-score__bars--animate:not(.is-in-view) .text-impact-score__bar--active {
    opacity: 1;
  }
  .text-impact-score__bars--animate.is-in-view .text-impact-score__bar--active {
    animation: none;
  }
}
.text-impact-score__bcorp {
  display: flex;
  align-self: flex-end;
  margin-top: auto;
  padding-top: var(--space-64);
}
.text-impact-score__bcorp svg {
  width: clamp(63px, 5.25vw, 84px);
  height: auto;
  display: block;
}
@media (max-width: 767.98px) {
  .text-impact-score__score {
    margin-top: var(--space-64);
  }
  .text-impact-score__bcorp {
    align-self: flex-start;
    padding-top: var(--space-48);
  }
}