.bp-element-categories {
  &.vblog-layout-sidebar {
    .wrap-element {
      .title-categories {
        font-family: Playfair Display;
        font-weight: 400;
        font-style: italic;
        font-size: 18px;
        line-height: 1.666666;
        color: #1f1f1f;
        text-align: center;
        word-break: break-word;
        border: 1px dashed #cfcfcf;
        padding: 10px 15px;
        position: relative;
        margin-bottom: 35px;

        &::before {
          content: '';
          display: block;
          width: 8px;
          height: 8px;
          background-color: #fff;
          border-left: 1px dashed #cfcfcf;
          border-bottom: 1px dashed #cfcfcf;
          transform: rotate(-45deg);
          position: absolute;
          bottom: -5px;
          left: calc(50% - 5px);
        }
      }

      .list-categories {
        .item-category {
          display: block;
          position: relative;
          overflow: hidden;
          margin-bottom: 13px;

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

          img {
            width: 100%;
            transition: all .5s ease-out;
          }

          .content {
            position: absolute;
            width: calc(100% - 20px);
            height: calc(100% - 20px);
            top: 10px;
            left: 10px;
            border: 1px solid #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 15px;

            .title {
              font-family: Playfair Display;
              font-weight: 700;
              font-size: 16px;
              line-height: 1.3;
              color: #1f1f1f;
              text-align: center;
              background-color: #fff;
              word-break: break-word;
              padding: 11px 30px;
              transition: all .5s ease-out;
            }
          }

          &:hover {
            img {
              transform: scale(1.1, 1.1);
            }

            .content {
              .title {
                background-color: rgba(255, 255, 255, .8);
              }
            }
          }
        }
      }
    }
  }
  &.layout-list-1 {
    .wrap-element {
      .title {
        font-weight: 600;
        font-size: 18px;
        line-height: 1.5;
        text-transform: uppercase;
        word-break: break-word;
        margin-top: -5px;
        margin-bottom: 28px;
      }
      .list-categories {
        .cat-item {
          font-weight: 300;
          font-size: 16px;
          line-height: 1.5;
          color: #fff;
          word-break: break-word;
          padding-right: 40px;
          position: relative;
          margin-bottom: 9px;

          a {
            color: #7c7c7c;
            transition: all .2s;

            &:hover {
              color: #e40914;
            }
          }

          .count {
            position: absolute;
            right: 0;
            top: 0;
          }
        }
      }
    }
  }
}