.related-posts-generated {
  grid-column: 1 / -1;
  width: 100%;
}

.related-posts-generated > h2 {
  color: #3b77ab;
  font-family: Arial, sans-serif;
  font-size: 24px;
  margin: 0 0 18px;
}

.related-posts-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-post-card {
  background: #fff;
  border: 1px solid #e1e5e8;
  border-left: 4px solid #3b77ab;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 18px 20px;
}

.related-post-card h3 {
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.3;
  margin: 5px 0 10px;
}

.related-post-card h3 a {
  color: #3b77ab;
  text-decoration: none;
}

.related-post-card h3 a:hover,
.related-post-card h3 a:focus {
  text-decoration: underline;
}

.related-post-reason {
  color: #61717f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.related-post-excerpt {
  color: #54595f;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 767px) {
  .related-posts-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
