.heading {
  font-size: 28px;
  margin-bottom: 25px !important;
  color: #333;
}
.post-container {
  list-style: none;
  padding-left: 15px !important;
  padding: 0;

  &.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
    gap: 20px;

    @media (max-width: 767px) {
      & {
        grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
      }
    }
    .post {
      padding: 15px 10px 10px 10px;
      margin-bottom: 0 !important;
      flex-direction: column;
      background-color: #fff !important;
      .img-container {
        min-height: 170px;
        max-height: 170px;
        margin: 0 auto;
        img {
          width: 100%;
          height: 100%;
        }
      }
      .text {
        text-align: center;
        position: relative;
        width: 100%;
        a {
          font-size: 16px;
          line-height: 1.6;
          p {
            font-size: 14px;
            margin-top: 0;
          }
        }
        .separator {
          display: block;
          margin: 6px auto;
          width: 30px;
          height: 3px;
          border-radius: 10px;
          background-color: rgb(184, 184, 184);
        }
      }
    }
  }

  .post {
    display: flex;
    align-items: flex-start;
    justify-content: start;
    gap: 15px;
    padding: 10px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.089) 0px 3px 8px;
    background-color: #fff !important;
    &:not(:last-of-type) {
      margin-bottom: 20px;
    }
    .img-container {
      flex-basis: 16%;
      display: flex;
      align-items: center;
      img {
        width: 100% !important;
        // min-width: 100% !important;
        // max-width: 100% !important;
        // height: 200px;
        padding: 6px;
        border: 4px solid rgba(151, 151, 151, 0.377);
        border-radius: 4px;
      }
    }
    .text {
      flex-basis: 80%;
      font-family: sans-serif;
      width: 100%;
      flex-grow: 1;
      a {
        text-decoration: none !important;
        color: #555;
        transition: 0.2s;
        &:hover {
          color: #0073aa;
          p {
            color: #0073aa;
          }
        }
        p {
          margin-top: 10px;
          font-size: 16px;
          font-weight: normal;
          color: #999;
          transition: 0.2s;
          margin-bottom: 0;
        }
      }
    }
  }
}
.alert {
  width: 100%;
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
  padding: 15px;
  font-size: 14px;
  border: 1px solid #bd7e7d;
  border-radius: 4px;
}
