.related h2 {
  font-size: 2rem;
  text-align: center;
}

.related-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

.related-content {
  padding: 20px;
}

.related-card h3 {
  font-size: 1.3rem;
  margin: 0 0 10px;
  line-height: 1.3;
}

.related-card p {
  font-size: 1.1rem;
  color: #555;
  margin: 0;
}

.related-card:hover {
  transform: translateY(-4px);
}

@media (max-width: 768px) {
	.related-posts {
        grid-template-columns: unset;
        grid-template-rows: unset;
    }
}