/* ===== Blog Details Page Container ===== */
.blog-details-page {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

/* ===== Breadcrumb ===== */
.blog-breadcrumb {
  margin-bottom: 1.5rem;
}

.blog-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.blog-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.85rem;
}

.blog-breadcrumb .breadcrumb-item a:hover {
  color: #8ab4f8;
}

.blog-breadcrumb .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.blog-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.2);
}

/* ===== Article Header ===== */
.blog-details-header {
  margin-bottom: 1.5rem;
}

.article-category-tag {
  display: inline-block;
  background: rgba(138, 180, 248, 0.12);
  color: #8ab4f8;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.article-title {
  font-weight: 800;
  font-size: 2.2rem;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}

.article-excerpt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.author-avatar-lg {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name-lg {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.author-role-lg {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.article-meta-details {
  display: flex;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  margin-left: auto;
}

.article-meta-details i {
  margin-right: 0.2rem;
}

/* ===== Featured Image ===== */
.article-featured-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.article-featured-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* ===== Article Body ===== */
.article-body {
  margin-bottom: 2rem;
}

.article-body p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.article-body h3 {
  font-weight: 700;
  font-size: 1.4rem;
  color: #ffffff;
  margin: 1.8rem 0 1rem;
}

.article-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.article-body ul li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.article-body ul li strong {
  color: #ffffff;
}

.article-body blockquote {
  background: rgba(138, 180, 248, 0.04);
  border-left: 3px solid #8ab4f8;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border-radius: 0 12px 12px 0;
}

.article-body blockquote i {
  color: #8ab4f8;
  font-size: 1.5rem;
}

.article-body blockquote p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  font-style: italic;
  margin: 0.3rem 0 0.5rem;
}

.article-body blockquote cite {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  font-style: normal;
}

/* ===== Article Image Grid ===== */
.article-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.article-image-grid .grid-image {
  border-radius: 12px;
  overflow: hidden;
}

.article-image-grid .grid-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ===== Article Tags ===== */
.article-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 1.5rem;
}

.article-tags .tag-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  font-weight: 500;
}

.article-tags .tag {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.article-tags .tag:hover {
  background: rgba(138, 180, 248, 0.1);
  color: #8ab4f8;
}

/* ===== Article Share ===== */
.article-share {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.article-share .share-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.article-share .share-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s;
  text-decoration: none;
}

.article-share .share-link:hover {
  transform: translateY(-2px);
}

.article-share .share-link.linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #ffffff;
}

.article-share .share-link.twitter:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.article-share .share-link.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
  color: #ffffff;
}

.article-share .share-link.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
}

.article-share .share-link.copy:hover {
  background: #8ab4f8;
  border-color: #8ab4f8;
  color: #ffffff;
}

/* ===== Author Bio ===== */
.author-bio {
  padding: 1.5rem !important;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio-content h5 {
  font-weight: 700;
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 0.1rem;
}

.author-bio-role {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.author-bio-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.author-bio-social {
  display: flex;
  gap: 0.5rem;
}

.author-bio-social a {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
  transition: all 0.2s;
}

.author-bio-social a:hover {
  color: #8ab4f8;
}

/* ===== Comments Section ===== */
.comments-section {
  padding: 1.5rem !important;
}

.comments-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.comments-title i {
  color: #8ab4f8;
  margin-right: 0.5rem;
}

.comment-list {
  margin-bottom: 1.5rem;
}

.comment-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-item.comment-reply {
  padding-left: 3.5rem;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.2rem;
}

.comment-author {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
}

.comment-date {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
}

.comment-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.3rem;
}

.btn-reply {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}

.btn-reply:hover {
  color: #8ab4f8;
}

/* ===== Comment Form ===== */
.comment-form-wrapper h6 {
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.comment-form .form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: #ffffff;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.comment-form .form-control:focus {
  border-color: rgba(138, 180, 248, 0.3);
  box-shadow: 0 0 0 3px rgba(83, 100, 247, 0.08);
}

.comment-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.btn-submit-comment {
  background: linear-gradient(135deg, #5364f7, #8ab4f8);
  border: none;
  border-radius: 30px;
  padding: 0.6rem 2rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 0.3s;
}

.btn-submit-comment:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(83, 100, 247, 0.3);
  color: #ffffff;
}

/* ========================================
   SIDEBAR - SAME AS BLOG PAGE
   ======================================== */

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  padding: 1.2rem !important;
}

.sidebar-widget-title {
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-widget-title i {
  color: #8ab4f8;
}

/* Sidebar Search */
.sidebar-search {
  display: flex;
  gap: 0.5rem;
}

.sidebar-search .form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  flex: 1;
}

.sidebar-search .form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.sidebar-search .form-control:focus {
  box-shadow: none;
  border-color: rgba(138, 180, 248, 0.2);
}

.btn-sidebar-search {
  background: linear-gradient(135deg, #5364f7, #8ab4f8);
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1rem;
  color: #ffffff;
  transition: all 0.3s;
}

.btn-sidebar-search:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(83, 100, 247, 0.3);
}

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

.recent-posts li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.recent-posts li:last-child {
  border-bottom: none;
}

.recent-posts a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.recent-posts .post-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.recent-posts .post-title:hover {
  color: #8ab4f8;
}

.recent-posts .post-date {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.7rem;
}

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

.category-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.category-list a:hover {
  color: #8ab4f8;
  padding-left: 4px;
}

.category-list a .count {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.65rem;
  padding: 0.1rem 0.5rem;
  border-radius: 20px;
}

/* Tags Cloud */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tags-cloud .tag {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.tags-cloud .tag:hover {
  background: rgba(138, 180, 248, 0.1);
  color: #8ab4f8;
}

/* Newsletter */
.newsletter-widget p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 30px;
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  flex: 1;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  border-color: rgba(138, 180, 248, 0.2);
}

.btn-subscribe {
  background: linear-gradient(135deg, #5364f7, #8ab4f8);
  border: none;
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
  font-weight: 500;
  font-size: 0.8rem;
  color: #ffffff;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-subscribe:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(83, 100, 247, 0.3);
  color: #ffffff;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
  .article-title {
    font-size: 1.8rem;
  }
  
  .article-featured-image img {
    height: 280px;
  }
  
  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .author-bio-social {
    justify-content: center;
  }
  
  .comment-item.comment-reply {
    padding-left: 2rem;
  }
}

@media (max-width: 768px) {
  .article-title {
    font-size: 1.5rem;
  }
  
  .article-excerpt {
    font-size: 0.95rem;
  }
  
  .article-author-info {
    flex-wrap: wrap;
  }
  
  .article-meta-details {
    margin-left: 0;
    width: 100%;
  }
  
  .article-featured-image img {
    height: 200px;
  }
  
  .article-body h3 {
    font-size: 1.2rem;
  }
  
  .article-body blockquote {
    padding: 1rem 1.2rem;
  }
  
  .article-image-grid {
    grid-template-columns: 1fr;
  }
  
  .article-image-grid .grid-image img {
    height: 180px;
  }
  
  .author-bio {
    padding: 1rem !important;
  }
  
  .author-bio-avatar {
    width: 60px;
    height: 60px;
  }
  
  .comment-item.comment-reply {
    padding-left: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .btn-subscribe {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .article-title {
    font-size: 1.3rem;
  }
  
  .article-excerpt {
    font-size: 0.85rem;
  }
  
  .article-featured-image img {
    height: 160px;
  }
  
  .article-body p {
    font-size: 0.9rem;
  }
  
  .article-body h3 {
    font-size: 1.05rem;
  }
  
  .article-body blockquote p {
    font-size: 0.95rem;
  }
  
  .comment-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .comment-item.comment-reply {
    padding-left: 0.5rem;
  }
  
  .sidebar-search {
    flex-direction: column;
  }
  
  .btn-sidebar-search {
    width: 100%;
    justify-content: center;
  }
}