// HOME: CATEGORIES
/********************/
.category-list {
  list-style: none;
  margin: 0 0 -10px 0;
  padding: 0;

  &__item {
    min-height: 150px;
    position: relative;
    padding-right: 5px;
    padding-left: 5px;
    margin-bottom: 10px;

    &-wrapper {
      display: table;
      table-layout: fixed; // for increased font
      width: 100%;
      height: 100%;
      min-height: inherit;
      text-align: center;
      border: 1px solid $color-grey-light-6;
      background-color: $color-white;

      &:hover,
      &:focus {
        color: $color-blue-light;
        border-color: $color-blue-light;
        background-color: $color-hover;
        text-decoration: none;

        .category-list__item-heading,
        .category-list__item-info {
          color: inherit;
        }
      }
    }

    &-content {
      display: table-cell;
      vertical-align: middle;
      padding: 5px;
    }

    &-content-flag {
      position: absolute;
      top: 5px;
      right: 15px;
    }

    &-heading {
      // for increased font
      word-wrap: break-word;
      overflow-wrap: break-word;
      display: block;
      line-height: 1.2;

      &--dark {
        color: $color-heading;
      }
    }

    &-info {
      font-size: 0.825rem;
      margin: 0;
      color: $color-text;
    }

    // < MD
    @include media-breakpoint-down(md) {
      min-height: 100px;

      &-wrapper {
        text-align: left;
      }
    }
  }
}
