.post-detail-container {
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 20px;
}

.post-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 1024px) {
  .post-detail-grid {
    flex-direction: row;
  }
}

.post-detail-main {
  flex: 3;
}

.breadcrumb {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #1E3A8A;
  text-decoration: none;
}

.breadcrumb span {
  margin: 0 5px;
}

.post-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 10px;
}

.badge-category {
  background: #ffffff;
  color: #0A0A0A;
  font-size: 12px;
  border-radius: 9999px;
  border: 1px solid #E5E5E5;
  padding: 4px 12px;
  font-weight: 600;
}

.post-detail-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0F172A;
  line-height: 1.4;
}

.post-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #6B7280;
  margin-bottom: 24px;
}

.post-detail-author {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-detail-share {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #0A0A0A;
  cursor: pointer;
  border: 1px solid #E5E5E5;
  border-radius: 6px;
  padding-top: 7.5px;
  padding-bottom: 8.5px;
  padding-left: 13px;
  padding-right: 13px;
}

.post-detail-thumbnail {
  margin-bottom: 24px;
}

.post-detail-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px !important;
}

.post-detail-content {
  line-height: 1.7;
  font-size: 16px;
  color: #1E293B;
}

.post-detail-content h2,
.post-detail-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #0F172A;
}

.post-detail-content p {
  margin-bottom: 1em;
}

.post-tags-wrapper {
  margin-top: 40px;
}

.post-tags-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
}

.post-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-tag-item {
  background: #F3F4F6;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #171717;
  text-decoration: none;
}


/* Sidebar */

.post-detail-sidebar {
  flex: 1;
  background: #ffffff;
  padding: 20px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  height: fit-content;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #0F172A;
}

.related-posts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.related-post-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 12px;
  transition: background 0.2s ease;
}

.related-post-item:hover {
  background: #F9FAFB;
}

.related-thumbnail img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px !important;
  flex-shrink: 0;
}

.related-info {
  flex: 1;
}

.related-cat {
    font-size: 12px;
    color: #0A0A0A;
    font-weight: 600;
    border: 1px solid #E5E5E5;
    border-radius: 9999px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 11px;
    padding-right: 11px;
}

.related-title {
  font-size: 14px;
  color: #0F172A;
  font-weight: 600;
  margin: 6px 0;
}

.related-date {
  font-size: 12px;
  color: #6B7280;
}
.post-divider {
  margin: 40px 0;
  border: none;
  border-top: 1px solid #E5E7EB;
}

