.related_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.related_grid .blog_card {
  margin: 0 0 40px;
  height: calc(100% - 40px);
}
.related_grid .blog_card > img {
  height: 220px;
  object-fit: cover;
}
.related_grid .blog_card .content h3 {
  font-size: 24px;
  line-height: 1.4;
  min-height: 0;
}
.related_grid .project_card {
  margin: 0;
}

@media (max-width: 991px) {
  .related_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .related_section.section-padding {
    padding: 24px 0 !important;
  }
  .related_section .section_title {
    margin-bottom: 18px !important;
  }
  .related_section .section_title h2 {
    font-size: 13px !important;
    margin-bottom: 4px !important;
  }
  .related_section .section_title h3 {
    font-size: 19px !important;
    line-height: 1.3 !important;
  }
  .related_grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .related_grid .blog_card {
    margin-bottom: 0 !important;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    background: #ffffff;
    height: auto;
  }
  .related_grid .blog_card > img {
    height: 150px;
    width: 100%;
  }
  .related_grid .blog_card .content {
    padding: 12px 14px;
  }
  .related_grid .blog_card .content h3 {
    font-size: 15px !important;
    line-height: 1.4em !important;
    margin-bottom: 6px !important;
  }
  .related_grid .blog_card .content ul li {
    font-size: 11.5px !important;
  }
}
