.sidebar-wrapper {
  padding: 0 10px !important;


  .widget {
    &.flatsome_recent_posts {
      ul {
        padding: 10px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        border-radius: 8px;
        overflow: hidden;
      }
    }
  }

  .flatsome_recent_posts {
    border-radius: 5px;
    border: 1px solid #eee;
    display: block;
    margin-bottom: 20px;

    &:last-child {
      border-bottom: none;
    }
  }

  .widget-title {
    font-size: 18px;
    text-transform: capitalize;
    font-weight: bold;
    margin-bottom: 0;
    padding: 15px 0 15px 10px;
    background: var(--fs-color-primary);
    color: #fff;
    line-height: 1;
    border-radius: 5px 5px 0 0;
    display: flex;
  }

  .is-divider {
    display: none;
  }
}

.row-divided {
  >.col+.col:not(.large-12) {
    border-left: 0;
  }
}

.flatsome_recent_posts {
  ul {
    li {
      &:last-child {
        .recent-blog-posts {
          padding-bottom: 0 !important;
        }
      }
    }
  }
}

.recent-blog-posts-li {
  padding-top: 12px;

  &:first-child {
    padding-top: 0;
  }


  .recent-blog-posts {
    align-items: center !important;
    padding-top: 0 !important;

    a {
      margin-bottom: 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-decoration: none;
    }
  }

  .badge {
    width: 100px;

    .badge-inner {
      padding-bottom: 63.5%;
    }
  }

  .post_comments {
    display: none;
  }
}


/* Sidebar Blog Single */
.post-sidebar {
  padding: 0 10px !important;

  .widget {
    &.flatsome_recent_posts {
      ul {
        padding: 10px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        border-radius: 8px;
        overflow: hidden;
      }
    }
  }

  #secondary {
    .flatsome_recent_posts {
      border-radius: 5px;
      border: 1px solid #eee;
      display: block;
      margin-bottom: 20px;

      &:last-child {
        border-bottom: none;
      }
    }

    .widget-title {
      font-size: 18px;
      text-transform: uppercase;
      font-weight: bold;
      margin-bottom: 0;
      padding: 15px 0 15px 10px;
      background: var(--fs-color-primary);
      color: #fff;
      line-height: 1;
      border-radius: 5px 5px 0 0;
      display: flex;
    }
  }

  .is-divider {
    display: none;
  }
}

.row-divided {
  >.col+.col:not(.large-12) {
    border-left: 0;
  }
}

.flatsome_recent_posts {
  ul {
    li {
      &:last-child {
        .recent-blog-posts {
          padding-bottom: 0 !important;
        }
      }
    }
  }
}

.recent-blog-posts-li {
  .recent-blog-posts {
    align-items: center !important;
    padding-top: 0 !important;

    a {
      margin-bottom: 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-decoration: none;
    }
  }

  .badge {
    width: 100px;

    .badge-inner {
      padding-bottom: 63.5%;
    }
  }

  .post_comments {
    display: none;
  }
}