.hero {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 160px 0 0;
}

.posts-container {
  flex: none;
  width: 1500px;
}

.blog-posts-parent {
  margin-top: 20px;
  width: 100%;
  display: flex;
  gap: 18px !important;
  /* justify-content: space-between; */
  flex-wrap: wrap;
}

.blog-posts {
  flex-basis: 24%;
  margin-bottom: 20px;
  padding: 20px;
  background-color: #eee;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 350px;
  color: #fff;
}

.background-image-blogs {
  background-position: center;
  background-size: cover;
}

.image-1 {
  background-image: linear-gradient(35deg, #0000004d, #000000cc),
    url(../images/img-2.jpg);
}

.image-2 {
  background-image: linear-gradient(35deg, #0000004d, #000000cc),
    url(../images/img-4.jpg);
}

.image-3 {
  background-image: linear-gradient(35deg, #0000004d, #000000cc),
    url(../images/img-3.jpg);
}

.image-4 {
  background-image: linear-gradient(35deg, #0000004d, #000000cc),
    url(../images/img-5.jpg);
}

.blog-title {
  font-size: 22px;
  letter-spacing: .5px;
  font-weight: 600;
  line-height: 1.8;
  color: #fff !important;
  text-decoration: none !important;
}

.posted-by-info {
  display: flex;
  align-items: center;
}

.posted-by-profile-img {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
}

.posted-by-profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.posted-by-profile-info {
  margin-left: 12px;
}

.profile-name {
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
  color: #000 !important;
}

.thread-title {

  display: block;
  color: #000000e0 !important;
  font-weight: 700;
  text-decoration: none;
  /* border-bottom: 1px solid #00000099; */
  font-size: 13px !important;
  display: inline-block !important;
  margin-bottom: 5px;
}

.color-light {

  color: #fff !important;
}

.model-mini-text {
  font-size: 12px;
  color: #000000d6;
  font-weight: 600;
}

.popular-featured-parent {
  width: 100%;
  display: flex;
  margin-bottom: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.featured-posts-parent {
  flex-basis: 60%;
  display: flex;
  flex-direction: column;
}

.popular-post-parent {
  flex-basis: 36%;
  display: flex;
  flex-direction: column;
}

.post-subject-data {
  margin-top: 10px;
}

.popular-featured-posts {
  margin-top: 20px;
  padding: 15px;
  background-color: #cad4de26;
  /* background-color: #eee; */
  /* border: 1px solid #000; */
  border-radius: 10px;
}

.post-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-bagg {
  color: #fff;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-left: 5px;
  border-radius: 5px;
  padding: 4px 5px;
}

.dark-bagg {
  background-color: #000;
}

.danger-bagg {
  background-color: #f44336;
}

.blue-bagg {
  background-color: #607d8b;
}

/* --------popular post design  */
.popular-post-design {
  background-color: #fff;
  padding: 15px 0;
}

/* response css design for different devices */

/* for 1600px or less than 1600px width  */
@media only screen and (max-width:1600px) {

  /* post container  */
  .posts-container {
    flex: none;
    width: 1200px;
  }

  .blog-posts {

    flex-basis: 49% !important;
  }
}

/* for 1400px or less than or 1400px  */
@media only screen and (max-width:1400px) {

  /* post container  */
  .posts-container {
    flex: none;
    width: 1100px;
  }
}

/* for 1200px or less than or 1200px  */
@media only screen and (max-width:1200px) {

  /* post container  */
  .posts-container {
    flex: none;
    width: 800px;
  }

  /* blog posts  */
  .blog-posts {
    flex-basis: 100% !important;
  }

  /* featured disscussion parent  */
  .featured-posts-parent {
    flex-basis: 100%;
  }

  /* popular descussion parent  */
  .popular-post-parent {
    flex-basis: 100%;
  }

  /* popular-post-parent */
  .popular-post-parent {
    margin-top: 30px;
  }

}

/* for 920px or less than or 920px  */
@media only screen and (max-width: 920px) {

  /* post container  */
  .posts-container {
    flex: none;
    margin-top: 40px;
    width: 700px;
  }
}

/* for 820px or less than or 820px  */
@media only screen and (max-width:820px) {

  /* posts container  */
  .posts-container {
    flex: none;
    width: 600px;
  }
}

/* for 720px or less than or 720px  */
@media only screen and (max-width:720px) {

  /* post container  */
  .posts-container {
    flex: none;
    width: 550px;
  }
}

/* for 620px or less than or 620px  */
@media only screen and (max-width:620px) {

  /* post container  */
  .posts-container {
    flex: none;
    width: 95%;
  }

  /* blog posts  */
  .blog-posts {
    flex-basis: 100%;
  }

  /* popular-post-design  */
  .popular-post-design {
    padding: 15px;
  }
}

/* for 470px or less than or 470px  */
@media only screen and (max-width:470px) {
  .post-header {
    flex-direction: column;
  }

  /* posted-by-info */
  .posted-by-info {
    width: 100%;
  }

  /* posted-time-info */
  .posted-time-info {
    width: 100%;
    text-align: right;
  }
}

/* for 440px or less than or 440px  */
@media only screen and (max-width:440px) {

  /* post container  */
  .posts-container {
    width: 100%;
  }
}