/* ==================== BLOG SINGLE POST ==================== */

/* Blog Hero Section */
.blog-single-hero {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 70vh;
  margin-top: 0;
  padding-top: 155px;
  overflow: hidden;
}

.blog-single-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.blog-single-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: white;
  padding: 60px 20px;
}

.blog-single-breadcrumb {
  font-size: 0.95rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.blog-single-breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.blog-single-breadcrumb a:hover {
  opacity: 0.7;
}

.blog-single-breadcrumb span {
  margin: 0 10px;
  opacity: 0.7;
}

.blog-single-title {
 color: var(--primary-color);
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-h1);
    line-height: calc(var(--line-height-h1) / var(--font-size-h1));
    letter-spacing: var(--letter-spacing-h1);
    text-transform: uppercase;
    margin-bottom: 36px !important;
    text-align: center;
}

.blog-single-meta {
  display: flex;
  justify-content: start;
  gap: 30px;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.blog-single-date,
.blog-single-author,
.blog-single-category {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-single-category {
  background: var(--primary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* Blog Content Section */
.blog-single-content {
  background: white;
  padding: 80px 0;
}

.blog-article {
  max-width: 700px;
}

.blog-entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.blog-entry-content h2,
.blog-entry-content h3,
.blog-entry-content h4 {
  color: #1a1a1a;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-entry-content h2 {
  font-size: 1.8rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.blog-entry-content h3 {
  font-size: 1.4rem;
}

.blog-entry-content p {
  margin-bottom: 15px;
}

.blog-entry-content p:last-child {
  margin-bottom: 0;
}

.blog-entry-content a {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.blog-entry-content a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.blog-entry-content img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 4px;
}

.blog-entry-content ul,
.blog-entry-content ol {
  margin: 20px 0 20px 20px;
  line-height: 1.8;
}

.blog-entry-content li {
  margin-bottom: 10px;
}

.blog-entry-content blockquote {
  margin: 30px 0;
  padding-left: 20px;
  border-left: 4px solid var(--primary-color);
  font-style: italic;
  color: #666;
}

.blog-entry-footer {
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.tags-list {
  font-size: 0.95rem;
}

.tag-label {
  font-weight: 600;
  margin-right: 10px;
}

.blog-entry-footer a {
  display: inline-block;
  background: #f0f0f0;
  color: #1a1a1a;
  padding: 6px 12px;
  margin-right: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0;
}

.blog-entry-footer a:hover {
  background: var(--primary-color);
  color: white;
}

/* Author Bio */
.author-bio {
  border-top: 1px solid #eee;
}

.author-bio-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.author-bio-content {
  color: #666;
  line-height: 1.6;
}

.author-bio-content p {
  margin-bottom: 10px;
}

/* Blog Sidebar */
.blog-sidebar-widget {
  background: #f9f9f9;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 0;
  border: 1px solid #eee;
}

.blog-sidebar-widget .widget-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

/* Recent Posts List */
.recent-posts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recent-posts-list li {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.recent-posts-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-posts-list a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  flex: 1;
  line-height: 1.4;
}

.recent-posts-list a:hover {
  color: var(--primary-color);
}

.post-date {
  color: #999;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Categories List */
.categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.categories-list li {
  margin-bottom: 10px;
}

.categories-list a {
  color: #666;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.categories-list a:before {
  content: "→";
  transition: transform 0.3s ease;
}

.categories-list a:hover {
  color: var(--primary-color);
}

.categories-list a:hover:before {
  transform: translateX(4px);
}

.categories-list .cat-item-count {
  color: #999;
  font-size: 0.85rem;
  margin-left: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .blog-single-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .blog-single-hero {
    min-height: 300px;
  }

  .blog-single-title {
    font-size: 2rem;
  }

  .blog-single-meta {
    gap: 15px;
    font-size: 0.85rem;
  }

  .blog-single-content {
    padding: 60px 0;
  }

  .blog-entry-content {
    font-size: 1rem;
  }

  .blog-entry-content h2 {
    font-size: 1.5rem;
  }

  .blog-entry-content h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 680px) {
  aside {
    margin-top: 40px !important;
  }
  .blog-single-hero {
    min-height: 250px;
    padding-top: 100px;
    margin-top: -100px;
  }

  .blog-single-hero-content {
    padding: 40px 15px;
  }

  .blog-single-title {
    font-size: 1.5rem;
  }

  .blog-single-breadcrumb {
    font-size: 0.85rem;
  }

  .blog-single-meta {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8rem;
  }

  .blog-single-content {
    padding: 40px 0;
  }

  .blog-entry-content {
    font-size: 0.95rem;
  }

  .blog-entry-content h2 {
    font-size: 1.3rem;
  }

  .blog-sidebar-widget {
    padding: 20px;
  }

  .widget-title {
    font-size: 1.1rem;
  }
}
