/*------------- #W-POST-CATEGORY --------------*/


.category-post-item {
  color: $font-color;
  margin-bottom: 15px;

  .post-count {
    font-size: 14px;
    margin-right: 30px;
    transition: all .3s ease;
    width: 20px;
    display: inline-block;
    float: left;
    clear: both;
    position: relative;
    top: 2px;
  }

  a {
    color: $font-color;
    position: relative;
    display: block;
    overflow: hidden;

    i {
      margin-left: 5px;
      opacity: 0;
      transition: all .3s ease;
      position: relative;
      font-size: 12px;
      color: var(--primary-accent-color);
    }
  }

  &:hover {
    .post-count {
      color: $heading-color;
    }

    a {
      color: var(--primary-accent-color);

      i {
        opacity: 1;
      }
    }
  }
}