.posts__grid {
  margin-bottom: 30px;
  .posts__grid-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    .post__grid-item {
      flex-basis: calc(33.33% - 6.66px);
      .featured__image {
        height: 214px;
        width: 100%;
        img {
          height: 100%;
          width: 100%;
          object-fit: cover;
        }
      }
      .posts__grid-item-content {
        background-color: #111111;
        padding: 20px 20px 30px 20px;
        .posts__grid-title {
          flex-grow: 1;
          a {
            h2 {
              font-family: "Roboto";
              font-size: 18px;
              font-weight: bold;
              line-height: normal;
              letter-spacing: 0.19px;
              color: #fff;
              margin: 0;
              &:hover,
              &.hovered {
                color: #ff6200 !important;
              }
            }
          }
          .feature__post-date {
            color: #a1a1a1;
            font-family: "Roboto Slab";
            font-size: 14px;
            font-weight: normal;
            line-height: normal;
            letter-spacing: 0.15px;
            margin-bottom: 20px;
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            align-items: center;
            .feature__divider {
              height: 15px;
              border-right: 1px solid #a1a1a1;
              margin: 0px 2px;
            }
            a {
              font-family: "Roboto";
              color: #a1a1a1;
              border: solid 1px #444444;
              padding: 0px 12px;
              border-radius: 500px;
              &:hover {
                text-decoration: underline;
              }
            }
          }
        }
        .featured__post-author {
          font-family: "Roboto";
          font-size: 14px;
          font-weight: 500;
          line-height: normal;
          letter-spacing: 0.15px;
          color: #ffffff;
          a {
            color: #00c8dc;
            text-decoration: underline;
            &:hover {
              text-decoration-thickness: 2px;
            }
          }
        }
      }
    }
  }
}

@media screen and (min-width: 991px) {
  .posts__grid {
    .posts__grid-items {
      .post__grid-item {
        &:nth-child(4) {
          display: none;
        }
      }
    }
  }
}

@media screen and (min-width: 700px) and (max-width: 991px) {
  .posts__grid {
    .posts__grid-items {
      .post__grid-item {
        flex-basis: calc(50% - 5.5px);
        margin-bottom: 20px;
        img {
          width: 100%;
          height: auto;
        }
      }
    }
  }
}
@media screen and (max-width: 700px) {
  .posts__grid {
    .posts__grid-items {
      .post__grid-item {
        flex-basis: 100%;
        margin-bottom: 20px;
        img {
          width: 100%;
          height: auto;
        }
      }
    }
  }
}

@media screen and (min-width: 701px) {
  .posts__grid {
    .posts__grid-items {
      .post__grid-item {
        .posts__grid-item-content {
          display: flex;
          flex-direction: column;
          height: 100%;
          max-height: 180px;
          .posts__grid-title {
            flex-grow: 1;
            a {
              height: auto;
            }
          }
        }
      }
    }
  }
}
