.facts {
  margin-bottom: $margin-quadruple;

  @supports not (display: grid) {
    @extend %flexbox-row;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: stretch;
  }

  @supports (display: grid) {
    display: grid;
    grid-gap: $margin-double;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  > li {
    @extend %flexbox-column;
    justify-content: space-between;
    @supports not (display: grid) {
      flex-grow: 1;
      flex-basis: 0;
      max-width: calc(#{percentage(1 / 2)} - #{$margin-double});
      margin: 0 $margin-double $margin-double 0;
    }

    &:last-of-type {
      margin-right: 0;
    }

    .fact {
      @extend %flexbox-column;
      justify-content: space-between;
      align-items: stretch;
      flex-grow: 1;
    }

    h3 {
      @include font-size(18);
      text-transform: uppercase;
      margin: 0;
      padding: $margin-double;
      text-align: center;
      background: $color-beige-300;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      border-radius: 2px 2px 0 0;
      min-width: 0;
    }
  }

  .description {
    @include font-size(34);
    @extend %flexbox-row;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    flex-grow: 1;
    margin: 0;
    padding: $margin-double;
    background: $color-beige-200;
    border-radius: 0 0 2px 2px;
    white-space: nowrap;

    :last-child {
      margin-bottom: 0;
    }

    &:nth-of-type(1):nth-last-of-type(2) {
      padding-bottom: 0;
    }

    &:nth-of-type(2):nth-last-of-type(1) {
      padding-top: 0;
    }
  }

  .small-text {
    @include font-size(18);
    font-weight: normal;
    white-space: normal;
  }
}
