/* Forumdan alınan post kartı ve ilgili stiller */
.post-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.2rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 0;
  width: 100%;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid #eee;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  font-size: 10px;
}

.author-avatar-placeholder,
.author-avatar-placeholder-light {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
}

.author-avatar-placeholder-light {
  background: linear-gradient(135deg, #e0e7ff 0%, #f3f4f6 100%);
  color: #6b7280;
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.85rem;
}

.post-date {
  font-size: 0.7rem;
  color: #718096;
}

.post-content {
  padding: 1.2rem 1.2rem 1rem 1.2rem;
}

.post-title {
  margin: -0.5rem 0 0.7rem 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: #2d3748;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  position: relative;
  top: -7px;
}

.post-excerpt {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  font-size: 0.85rem;
}

.tag {
  font-size: 0.62rem;
  padding: 0.13rem 0.38rem;
  vertical-align: middle;
  position: relative;
  top: -9px;
  border-radius: 999px;
}

.tag-blue {
  background: #e3f0ff;
  color: #2563eb;
}
.tag-green {
  background: #e6ffed;
  color: #059669;
}
.tag-orange {
  background: #fff7e6;
  color: #f59e42;
}
.tag-purple {
  background: #f3e8ff;
  color: #8b5cf6;
}
.tag-red {
  background: #ffe4e6;
  color: #e11d48;
}
.tag-pink {
  background: #ffe3f3;
  color: #d72660;
}
.tag-yellow {
  background: #fffbe3;
  color: #eab308;
}
.tag-cyan {
  background: #e0fcff;
  color: #06b6d4;
}
.tag-brown {
  background: #f5e9e1;
  color: #a16207;
}
.tag-gray {
  background: #f3f4f6;
  color: #6b7280;
}
.tag-new {
  background: #e0e7ff;
  color: #3730a3;
  border: 1px dashed #3730a3;
}

/* Yorumlar için forum ile aynı stiller */
.comment-card {
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}
.comment-card:last-child {
  border-bottom: none;
}
.comment-author-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.comment-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  font-size: 15px;
}
.comment-author-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e7ff 0%, #f3f4f6 100%);
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.comment-author-details {
  display: flex;
  flex-direction: column;
}
.comment-author-name {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.85rem;
}
.comment-date {
  font-size: 0.7rem;
  color: #718096;
}
.comment-content {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  font-size: 0.85rem;
}
