.single-post {
  margin: 0 auto;
}

.post-wrapper {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
  overflow: hidden;
}

.post-content {
  max-width: 80rem;
  margin-top: 5rem;
}

.post-thumb {
  height: 350px;
  background-size: cover;
  background-position: center;
}

.post-content {
  padding: 2rem;
}

.post-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.post-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 2rem;
}

.post-category {
  display: inline-block;
  margin-left: 5px;
  padding: 3px 8px;
  border-radius: 12px;
  background: #f0f0f0;
  font-size: 0.85rem;
}

.post-body {
  line-height: 1.6;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.post-back a {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.9rem;
}

.post-back a:hover {
  background: #555;
}

.related-posts {
  margin-top: 4rem;
}

.related-posts h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.related-posts {
  margin-bottom: 2rem;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}


@media only screen and (max-width: 600px) {
  .post-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    text-align: left;
    text-wrap: wrap;
  }

  .post-content {
    padding: .5rem;
  }
}