.jn-related-posts {
  margin-top: 32px;
  clear: both;
}

.jn-related-posts-label {
  display: block;
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #111111;
}

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

.related-post-item {
  min-width: 0;
}

.related-post-thumb-link {
  display: block;
  text-decoration: none;
  margin-bottom: 10px;
}

.related-post-thumb,
.related-post-no-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  background: #f1f1f1;
}

.related-post-title {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  color: #111111;
  text-decoration: none;
  word-break: break-word;
}

.related-post-title:hover,
.related-post-title:focus {
  color: #0a3ec6;
}

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

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