/* Posts-specific styles */

/* Post listing styles */
.post-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.post-preview-image {
  height: 240px;
  object-fit: cover;
}

.post-meta {
  font-size: 0.9rem;
  color: #6c757d;
}

.post-description {
  color: #495057;
  line-height: 1.6;
}

/* Single post styles */
.post-content {
  line-height: 1.8;
  font-size: 1.1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.post-content blockquote {
  border-left: 4px solid #6c757d;
  padding-left: 1rem;
  font-style: italic;
  color: #6c757d;
}

.post-author {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.post-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.post-author-bio {
  color: #6c757d;
  margin-top: 0.5rem;
}

/* Dashboard post management */
.post-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

.post-status.published {
  background-color: #28a745;
}

.post-status.draft {
  background-color: #6c757d;
}

.post-actions {
  white-space: nowrap;
}

/* Post editor */
.content-editor {
  min-height: 300px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  padding: 1rem;
}

/* Post display in game show page */
.game-posts-preview {
  background-color: #f8f9fa;
  padding: 2rem 0;
  margin-top: 3rem;
  border-radius: 0.5rem;
}

.game-posts-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.post-card-small {
  height: 100%;
}

.post-card-small .card-img-top {
  height: 140px;
  object-fit: cover;
} 