.related-articles {
  padding: 60px 0;
  background: #f9f9f9;
  margin-top: 60px;
}

.related-articles .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.related-articles-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #333;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.related-article-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.related-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.related-article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.related-article-content {
  padding: 20px;
}

.related-article-title {
  font-size: 20px;
  margin: 0 0 10px 0;
  color: #333;
  line-height: 1.4;
}

.related-article-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 15px 0;
}

.related-article-link {
  display: inline-block;
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.related-article-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .related-articles-grid {
    grid-template-columns: 1fr;
  }

  .related-articles-title {
    font-size: 24px;
  }
}
