/* Single Post Page Styles */
.single-post-section {
  padding: 40px 0 40px;
  background: #fff;
}

/* Breadcrumb */
.single-post-breadcrumb {
  margin-bottom: 20px;
}

.single-post-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.single-post-breadcrumb .breadcrumb-item {
  font-size: 14px;
  color: #666;
}

.single-post-breadcrumb .breadcrumb-item a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.single-post-breadcrumb .breadcrumb-item a:hover {
  color: #ea7a2b;
}

.single-post-breadcrumb .breadcrumb-item.active {
  color: #333;
  font-weight: 500;
}

.single-post-breadcrumb .breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: #999;
}

/* Remove Bootstrap's default breadcrumb separator if exists */
.single-post-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  display: none !important;
  content: none !important;
  padding: 0 !important;
}

/* Post Title */
.single-post-title {
  font-size: 32px;
  font-weight: 700;
  color: #0f2264;
  margin: 0 0 25px 0;
  line-height: 1.3;
}

/* Post Meta Info */
.single-post-meta-info {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9e7e7;
  flex-wrap: wrap;
}

.single-post-meta-info .meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.single-post-meta-info .meta-item i {
  color: #ea7a2b;
  font-size: 16px;
}

.single-post-meta-info .meta-label {
  font-weight: 500;
}

.single-post-meta-info .meta-value {
  color: #333;
}

/* Post Content */
.single-post-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 0;
}

.single-post-content p {
  margin-bottom: 20px;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  color: #0f2264;
  margin-top: 30px;
  margin-bottom: 15px;
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  display: block;
}

/* Table Styles */
.single-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px auto;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 100%;
}

.single-post-content table thead {
  background: #0f2264;
  color: #fff;
}

.single-post-content table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid #0a1a4f;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.single-post-content table th:last-child {
  border-right: none;
}

.single-post-content table tbody tr {
  border-bottom: 1px solid #e9e7e7;
  transition: background 0.3s ease;
}

.single-post-content table tbody tr:hover {
  background: #f8f9fa;
}

.single-post-content table tbody tr:last-child {
  border-bottom: none;
}

.single-post-content table td {
  padding: 12px 15px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  border-right: 1px solid #e9e7e7;
}

.single-post-content table td:last-child {
  border-right: none;
}

.single-post-content table tbody tr:nth-child(even) {
  background: #fafafa;
}

.single-post-content table tbody tr:nth-child(even):hover {
  background: #f0f0f0;
}

/* Post Tags */
.single-post-tags {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9e7e7;
  flex-wrap: wrap;
}

.single-post-tags .tags-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.single-post-tags .tags-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.single-post-tags .tag-item {
  display: inline-block;
  padding: 6px 15px;
  background: #f8f9fa;
  color: #666;
  text-decoration: none;
  border-radius: 20px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.single-post-tags .tag-item:hover {
  background: #ea7a2b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(234, 122, 43, 0.3);
}

/* Related Posts Section */
.related-posts-section {
  padding: 0 0 60px;
  background: #fff;
}

.related-posts-title {
  font-size: 28px;
  font-weight: 700;
  color: #0f2264;
  margin: 0 0 30px 0;
  line-height: 1.3;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
  border-bottom: 2px solid #e9e7e7;
}

.related-posts-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  background: #ea7a2b;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Post Card Styles (reuse from category-archive.css) */
.related-posts-section .post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-posts-section .post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.related-posts-section .post-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.related-posts-section .post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.related-posts-section .post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.related-posts-section .post-card-content {
  padding: 20px;
}

.related-posts-section .post-card-date {
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.related-posts-section .post-card-date i {
  color: #ea7a2b;
  font-size: 14px;
}

.related-posts-section .post-card-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.related-posts-section .post-card-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-posts-section .post-card-title a:hover {
  color: #ea7a2b;
}

.related-posts-section .post-card-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

.related-posts-section .post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #ea7a2b;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.related-posts-section .post-card-link:hover {
  gap: 10px;
  color: #d66a1f;
}

/* Responsive */
@media (max-width: 991px) {
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .single-post-title {
    font-size: 24px;
  }

  .single-post-meta-info {
    gap: 20px;
  }

  .single-post-meta-info .meta-item {
    font-size: 13px;
  }

  .related-posts-title {
    font-size: 24px;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

