.blog-widget {
  @include glass-card;
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
  > img {
    border-radius: 12px;
    width: 100%;
  }
  .blog-content {
    padding: 25px 30px;
    border-radius: 0 0 12px 12px;
    background: transparent;
    a {
      h5 {
        transition: 0.3s;
        margin-bottom: 15px;
      }
      &:hover h5 {
        color: $brand_color;
      }
    }
    .title {
      color: #17161a;
      font-weight: 600;
      margin-bottom: 25px;
      display: block;
      h4 {
        transition: all 0.3s ease-in-out;
      }
      &:hover h4 {
        text-decoration: none;
        color: $brand_color;
      }
    }
    .blog-text {
      color: #5c5b5e;
      font-size: 14px;
      line-height: 22px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-bottom: 13px;

      i {
        margin-right: 3px;
        font-size: 12px;
      }
    }

    .blog-sub-text {
      font-weight: 400;
      font-size: 14px;
      line-height: 22px;
      color: #747376;
      img {
        display: inline;
      }

      a {
        color: #747376;
        margin-left: 5px;
        margin-right: 18px;

        &:hover {
          color: $brand_color;
        }
      }
    }
  }

  .video-player-widget {
    padding: 0;
    box-shadow: none;
    background-color: transparent;
  }
}

/*----------------------------------------*/
/* Blog Extent grid Area
/*----------------------------------------*/

.blog_top_post {
  @include glass-card;
  border-radius: 30px;
  margin: 0;
  .p_top_img {
    position: relative;
    padding-right: 0;
    .p_img {
      position: absolute;
      padding-right: 0;
      height: 100%;
      top: 0;
      right: 0;
      width: 100%;
      background-size: cover;
      border-radius: 0 30px 30px 0;
    }
  }

  .b_top_post_content {
    padding: 50px 30px 50px 50px;
    background-color: #fff;
    border-radius: 30px 0 0 30px;
    .post_tag {
      padding-bottom: 10px;
    }
    a {
      &:hover h3 {
        color: $brand_color;
      }
    }

    h3 {
      font-size: 26px;
      line-height: 36px;
      margin-bottom: 17px;
      transition: color 0.2s linear;
    }
    a {
      color: #464547;
      font-size: 14px;
    }
    .post_author {
      padding-top: 40px;
      align-items: center;
    }
  }

  .post_tag {
    a {
      font-size: 14px;
      color: #8a898d;
      display: inline-block;
      margin-top: 10px;
      &.cat-Docy {
        color: #fd8d2a;
      }
      &.cat-megento {
        color: #f26322;
      }
      &.cat-woocommerce {
        color: #96588a;
      }
      &.c_blue {
        color: #5c5b5e;
      }
      &.cat-laravel {
        color: #ff2d20;
      }
      & + a {
        padding-left: 10px;
        &:before {
          content: "";
          width: 1px;
          height: 13px;
          background: #c9c9e2;
          display: inline-block;
          margin-right: 13px;
        }
      }

      &.author {
        margin-top: 4px;
        margin-right: 5px;
        .avatar {
          margin-right: 5px;
        }
      }
    }
  }
  .post_author {
    .round_img {
      border-radius: 50%;
      overflow: hidden;
      margin-right: 15px;
      img {
        height: 40px;
        width: auto;
      }
    }
    .author_text {
      margin-top: 5px;
      h4 {
        font-size: 14px;
        font-weight: 500;
        margin-bottom: 0;
      }
      .date {
        font-size: 13px;
        font-weight: 400;
        color: #8a898d;
      }
    }
  }
}

/*=========== Start blog_grid_area css ==========*/
.blog_grid_inner {
  border-top: 1px solid var(--black_50);
  background: #f9f9f9;
}
.blog_tab {
  .nav-item {
    margin-bottom: 0;
    .nav-link {
      padding: 17px 21px;
      border: 0;
      border-radius: 0;
      font-weight: 500;
      color: #858997;
      font-size: 14px;
      position: relative;
      background: transparent;
      transition: all 0.2s ease-in;
      &:before {
        content: "";
        width: 100%;
        position: absolute;
        top: 0;
        height: 2px;
        left: 0;
        background: $brand_color;
        transform: scale(0);
        transform-origin: 50% 50%;
        transition: all 0.3s ease-in;
      }
      &.active,
      &:hover {
        background: #ff71791c;
        color: $brand_color;
        &:before {
          transform: scale(1);
        }
      }
    }
    &.cat-laravel {
      .nav-link {
        &:hover {
          background: rgba(255, 45, 32, 0.2);
          color: rgba(255, 45, 32, 1);
        }
        &:before {
          background: rgba(255, 45, 32, 1);
        }
      }
    }
    &.cat-Docy {
      .nav-link {
        &:hover {
          background: rgba(253, 141, 42, 0.2);
          color: rgba(253, 141, 42, 1);
        }
        &:before {
          background: rgba(253, 141, 42, 1);
        }
      }
    }
    &.cat-megento {
      .nav-link {
        &:hover {
          background: rgba(242, 99, 34, 0.2);
          color: rgba(242, 99, 34, 1);
        }
        &:before {
          background: rgba(242, 99, 34, 1);
        }
      }
    }
    &.cat-woocommerce {
      .nav-link {
        &:hover {
          background: rgba(150, 88, 138, 0.2);
          color: rgba(150, 88, 138, 1);
        }
        &:before {
          background: rgba(150, 88, 138, 1);
        }
      }
    }
  }
}
.blog_grid_tab {
  padding-top: 60px;
  margin-bottom: -40px;
}

.blog_link_post {
  background: #fff;
  border-left: 4px solid $brand_color;
  padding: 50px 40px;
  line-height: 34px;
  position: relative;
  overflow: hidden;
  margin: 30px 0;
  &:before,
  &:after {
    content: "";
    position: absolute;
  }
  &:before {
    background: url("../img/blog/blog-list/icon_01.png") no-repeat;
    top: 5px;
    left: 40px;
    width: 42px;
    height: 41px;
  }
  &:after {
    background: url("../img/blog/blog-list/icon_02.png") no-repeat;
    bottom: -35px;
    right: 30px;
    width: 100px;
    height: 100px;
  }
  &:hover {
    text-decoration: none !important;
  }
  a {
    &:hover {
      text-decoration: none;
    }
  }
  p {
    font-size: 24px;
    color: #464547;
    margin-bottom: 0;
    transition: color 0.2s linear;
    line-height: 1.6;
  }
}
