/*-----------------------
    Blog Grid Item
-----------------------*/

.blog-standard-item-01 {
  position: relative;

  + .blog-standard-item-01 {
    padding-top: 30px;
    border-top: 1px dashed #CBCBCB;
  }

  &.sticky {
    &:after {
      position: absolute;
      right: 0;
      top: 0;
      font-family: 'Font Awesome 5 Free';
      content: "\f08d";
      font-weight: 700;
      font-size: 20px;
      color: var(--main-color-one);
    }
  }

  .thumbnail {
    position: relative;
    z-index: 0;
    overflow: hidden;
    margin-bottom: 0;
    img {
      transition: all 300ms ease-in-out;
      &:hover {
        transform: scale(1.2);
      }
    }
  }

  .content {
    .cats {
      a {
        display: inline-block;
        color: #fff;
        letter-spacing: 3px;
        padding: 4px 15px;
        font-weight: 400;
        font-size: 14px;
        margin-right: 10px;
        margin-bottom: 10px;
        background-color: var(--main-color-one);
      }
    }

    .post-meta-wrap {
      display: flex;
      justify-content: space-between;
      margin-bottom: 15px;
      flex-wrap: wrap;
      align-items: center;

      .social-icon {
        li {
          padding-left: 0;
          margin-top: 0;
        }
      }
    }

    .post-meta {
      margin: 0;
      padding: 0;
      list-style: none;
      line-height: 0;

      li {
        display: inline-block;
        font-size: 14px;
        line-height: 14px;
        font-weight: 400;
        margin-right: 25px;
        padding-left: 0;
        margin-top: 0;
        font-family: var(--body-font);
        color: #8E8E8E;
        text-transform: capitalize;
        &:last-child {
          &:after {
            display: none;
          }
        }

        i {
          color: var(--main-color-one);
        }

        &:before {
          display: none;
        }


        &:hover {
          a {
            color: var(--main-color-one);
          }
        }

        a {
          transition: all 300ms;
          color: #8E8E8E;
        }
      }
    }

    .title {
      font-size: 22px;
      line-height: 42px;
      font-weight: 600;
      margin-top: 10px;
      transition: all 300ms;
      -ms-word-wrap: break-word;
      word-wrap: break-word;
      font-family: var(--heading-font);
      margin-bottom: 10px;

      &:hover {
        color: var(--main-color-one);
      }
    }

    p {
      font-size: 16px;
      margin-bottom: 25px;
    }

    .blog-bottom {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
      margin-top: 30px;

      .btn-wrap {
        .read-btn {
          position: relative;
          &::after{
            position: absolute;
            right: -41%;
            top: 50%;
            height: 1px;
            width: 30px;
            content: "";
            background-color: var(--main-color-one);
            z-index: 99;
            transform: translateY(-50%);
          }
          i {
            color: var(--main-color-one);
          }

          &:hover {
            i {
              color: $white;
            }
          }
        }
      }
    }

    .post-author {
      display: flex;
      align-items: center;

      .author-image {
        border-radius: 50%;
        width: 40px;
        height: 40px;
        margin-right: 15px;
      }

      a {
        color: #001b61;
        font-size: 16px;
        font-weight: 700;
      }
    }
  }

  &.is-sticky {
    position: relative;
    z-index: 0;

    &:after {
      position: absolute;
      right: 0;
      top: 0;
      content: "\f08d";
      font-family: "fontawesome";
      font-size: 30px;
      line-height: 30px;
      color: var(--main-color-one);
    }
  }

  &.format-video {
    .thumbnail {
      position: relative;
      z-index: 0;

      .hover {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }
    }
  }

  &.format-quote {
    .thumbnail {
      position: relative;
    }

    .quote-post-type {
      border-radius: 2px;
      z-index: 0;
      position: absolute;
      left: 30px;
      top: 50%;
      transform: translateY(-50%);

      &.style-01 {
        position: initial;
        transform: initial;
        background-color: #FFF8ED;
        padding: 40px;

        &:after {
          color: var(--main-color-one);
          opacity: .8;
        }

        .title {
          color: var(--heading-color);
        }

        .post-meta {
          li {
            color: var(--heading-color);
          }
        }
      }

      &:after {
        position: absolute;
        left: 40px;
        top: 15px;
        content: "\f10d";
        font-family: 'Font Awesome 5 Free';
        font-weight: 700;
        font-size: 80px;
        color: var(--main-color-one);
      }

      .title {
        padding-left: 100px;
        padding-right: 40px;
        color: #fff;
        font-size: 33px;
        font-weight: 600;
        line-height: 44px;
        margin-bottom: 10px;
      }

      .post-meta {
        margin: 0;
        padding: 0;
        list-style: none;
        margin-bottom: 20px;
        padding-left: 100px;

        li {
          display: inline-block;
          font-size: 14px;
          line-height: 24px;
          font-weight: 400;
          margin-right: 20px;
          color: #fff;

          i {
            color: var(--main-color-one);
          }

          &:before {
            display: none;
          }

          &:hover {
            a {
              color: var(--main-color-one);
            }
          }

          a {
            transition: all 300ms;
          }
        }
      }
    }
  }
}

.content-area,
.blog-page-content-area,
.blog-content-page {
  background-color: #fff;
}


.blog-single-content-wrap {
  margin-bottom: 40px;
  .wp-block-columns {
    padding-top: 20px;
    margin-bottom: 41px;
  }
  .blog-details-image {
    margin-top: 35px;
    margin-bottom: 33px;
  }

  p {
    &:not(.has-large-font-size,.wp-block-cover-text) {
      font-size: 16px;

    }

  }

  .thumbnail {
    margin-bottom: 0;
    position: relative;
    z-index: 0;
    border-radius: 10px;

    img {
      border-radius: 0;
    }

    .hover {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }

  .cats {
    a {
      display: inline-block;
      text-transform: uppercase;
      font-weight: 500;
      font-size: 14px;
      margin-right: 10px;
      margin-bottom: 10px;
      transition: all 300ms;
      background: var(--main-color-one);
      border: 1px solid var(--main-color-one);
      padding: 3px 10px;
      border-radius: 2px;
      color: var(--heading-color);

      &:hover {
        background-color: transparent;


      }
    }
  }

  .title {
    font-size: 30px;
    line-height: 40px;
    font-weight: 600;
    margin-bottom: 10px;
    word-wrap: break-word;
  }

  .subtitle {
    font-size: 28px;
    line-height: 38px;
    font-weight: 600;
    margin-bottom: 20px;
  }

  .blog-list {
    padding: 0;
    margin-left: 0;
    list-style: none;
    padding-top: 20px;
    padding-bottom: 15px;

    li {
      padding-left: 40px;
      padding-bottom: 10px;
      position: relative;

      + li {
        margin-top: 20px;
      }

      &:before {
        display: none;
      }

      &:after {
        content: '\f00c';
        position: absolute;
        color: var(--main-color-one);
        left: 0;
        top: 0;
        width: 30px;
        font-weight: 700;
        font-family: "fontawesome";
        transition: all 0.3s ease-in;
        height: 30px;
        background: #FFE1E1;
        border-radius: 50%;
        line-height: 30px;
        text-align: center;
        font-size: 12px;
      }
    }
  }
  .wp-block-quote.has-text-align-right.extraclass {
    text-align: right;
  }

  .post-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-bottom: 10px;

    li {
      display: inline-block;
      font-size: 14px;
      line-height: 24px;
      font-weight: 400;
      margin-right: 25px;
      padding-left: 0;
      color: #8E8E8E;
      font-family: var(--body-font);

      i {
        color: var(--main-color-one);
        margin-right: 5px;
      }

      &:before {
        display: none;
      }

      &:after {
        position: absolute;
        right: -16px;
        top: 0;
        color: #8E8E8E;
        font-weight: 400;
        content: "|";
      }

      &:last-child {
        &:after {
          display: none;
        }
      }

      a {
        transition: all 300ms;

        i {
          color: var(--main-color-one);
          margin-right: 5px;
        }
      }
    }
  }

  .post-author {
    padding: 30px;
    background: #f3f5f7;
    display: flex;
    align-items: center;
    margin-top: 30px;

    .author-image {
      width: 180px;

      img {
        width: 100%;
        height: 100%;
      }
    }

    .author-content {
      margin-left: 30px;
      flex: 1;

      .title {
        margin-bottom: 15px;
      }
    }
  }
}

.blog-details-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px dashed #CECECE;
  padding-top: 25px;
  padding-bottom: 25px;

  .title {
    font-size: 16px;
    font-weight: 600;
    font-family: var(--body-font);
    color: var(--heading-color);
    padding-right: 10px;
    margin-bottom: 0;
  }

  .left {
    display: flex;
    align-items: center;

    .tags {
      margin: 0;
      padding: 0;
      list-style: none;

      li {
        padding-left: 0;
        font-family: var(--heading-font);

        &:before {
          display: none;
        }

        i {
          padding-right: 5px;
          color: var(--secondary-color);
        }

        a {
          display: inline-block;
          padding: 5px 15px;
          border: 1px solid #F3F3F3;
          margin: 5px 5px 5px 0;
          color: inherit;
          transition: all 0.3s ease-in;
          font-family: var(--body-font);
          border-radius: 2px;
          font-size: 14px !important;
          background-color: #F3F3F3;

          &:hover {
            color: $white;
            background-color: var(--main-color-one);
          }
        }
      }
    }
  }

  .right {
    display: flex;

    .social-share {
      margin: 0;
      padding: 0;
      list-style: none;

      li {
        color: var(--heading-color);
        font-size: 18px;
        display: inline-block;
        @include transition($transition);
        padding-left: 0;

        &:before {
          display: none;
        }

        + li {
          margin-left: 10px;
        }

        &:hover {
          color: var(--main-color-one);
        }
      }
    }
  }
}

.product-related-wrap {
  margin-left: -15px;
  margin-right: -15px;
}

.sm-outer-wrap {
  padding: 0 15px;
}

.product-related-posts {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  border-top: 1px solid #eaeaea;
  padding-top: 40px;

  .service-single-item-04 {
    margin-top: 0;

  }

  .sm-outer-wrap {
    &:before {
      display: none;
    }

    + li {
      margin-top: 0;
    }
  }

  &.colum-2 {
    .sm-outer-wrap {
      width: calc(100% / 2);
    }
  }

  &.colum-3 {
    .sm-outer-wrap {
      width: calc(100% / 3);
    }
  }

  &.colum-4 {
    .sm-outer-wrap {
      width: calc(100% / 4);
    }
  }
}
.search-page-content-area {
  .blog-standard-item-01 .thumbnail img:hover {
    transform: scale(1);
  }
}
.wp-block-columns .thumb img {
  margin-bottom: 30px;
}