/* Main Container Styles */
.blog-detail-wrapper {
  padding: 4rem 0;
}

.blog-detail-container {
  display: flex;
  gap: 3rem;
}

.blog-detail-main {
  flex: 1;
}

.blog-detail-sidebar {
  width: 360px;
  flex-shrink: 0;
}

/* Back Button */
.blog-detail-back {
  font-family: "VistolSans-Regular", sans-serif;
  font-weight: 400;
  margin-bottom: 2rem;
}

.blog-detail-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 30px;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.blog-detail-back-btn:hover {
  transform: translateX(-5px);
  border-color: #7c439a;
  color: #7c439a;
}

/* Main Content Area */
.blog-detail-header {
  margin-bottom: 2rem;
}

.blog-detail-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(124, 67, 154, 0.1);
  color: #7c439a;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.blog-detail-title {
  font-family: "VistolSans-Bold", sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.blog-detail-meta {
  font-family: "VistolSans-Light", sans-serif;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #666;
  margin-bottom: 2rem;
}

.meta-item {
  font-family: "VistolSans-Light", sans-serif;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.meta-item i {
  color: #7c439a;
}

/* Featured Image */
.blog-detail-image {
  width: 100%;
  border-radius: 24px;
  margin-bottom: 3rem;
  max-height: 600px;
  object-fit: cover;
}
strong {
  font-family: "VistolSans-Bold", sans-serif;
  font-weight: 800;
}
/* Content Styles */
.blog-detail-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

.blog-detail-content p {
  font-family: "VistolSans-Regular", sans-serif;
  font-weight: 400;
  margin-bottom: 1rem;
}

.blog-detail-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 3rem 0 1.5rem;
}

.blog-detail-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 2.5rem 0 1.2rem;
}

/* Blockquote Style */
.blog-detail-quote {
  margin: 1rem 0;
  padding: 3rem;
  background: #f8f9fa;
  border-radius: 24px;
  position: relative;
}

.blog-detail-quote::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 5rem;
  color: #7c439a;
  opacity: 0.2;
  font-family: serif;
}

.blog-detail-quote p {
  font-size: 1.05rem;
  font-style: italic;
  color: #1a1a1a;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.quote-author {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
}

/* Video Section */
.blog-detail-video {
  margin: 3rem 0;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.blog-detail-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Image Gallery */
.blog-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Tags Section */
.blog-detail-tags {
  display: flex;
  gap: 1rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.blog-tag {
  font-family: "VistolSans-Light", sans-serif;
  font-weight: 300;
  padding: 0.6rem 1.2rem;
  background: #f8f9fa;
  border-radius: 30px;
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.blog-tag:hover {
  background: #7c439a;
  color: #fff;
  transform: translateY(-2px);
}

/* Author Section */
.blog-detail-author {
  margin: 3rem 0;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 24px;
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

.author-info h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.author-info p {
  color: #666;
  line-height: 1.6;
}

/* Share Buttons */
.blog-detail-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
}

.share-label {
  font-family: "VistolSans-Regular", sans-serif;
  font-weight: 400;
  color: #1a1a1a;
}

.share-buttons {
  display: flex;
  gap: 0.8rem;
}

.share-button {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.share-button.twitter {
  background: #1da1f2;
}
.share-button.facebook {
  background: #4267b2;
}
.share-button.linkedin {
  background: #0077b5;
}
.share-button.instagram {
  background: #e1306c;
}

.share-button:hover {
  transform: translateY(-3px) rotate(8deg);
  opacity: 0.9;
}

/* Related Posts */
.blog-detail-related {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #eee;
}

.related-title {
  font-family: "VistolSans-Bold", sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #1a1a1a;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
/* Related Card Styles */
.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-category {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(124, 67, 154, 0.1);
  color: #7c439a;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: "VistolSans-Medium", sans-serif;
  font-weight: 500;
  margin-bottom: 1rem;
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.blog-card-title a {
  font-family: "VistolSans-Bold", sans-serif;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: #7c439a;
}

.blog-card-date {
  font-family: "VistolSans-Light", sans-serif;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.blog-card-date i {
  color: #7c439a;
  font-size: 0.85rem;
}

/* Sidebar Widgets */
.sidebar-widget {
  font-family: "VistolSans-Regular", sans-serif;
  font-weight: 400;
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.widget-title {
  color: #1a1a1a;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-family: "VistolSans-Bold", sans-serif;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
}

.widget-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #7c439a;
  border-radius: 3px;
}

/* Popular Posts Widget */
.popular-post-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #eef0f2;
}

.popular-post-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.popular-post-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.post-info h5 {
  font-family: "VistolSans-Medium", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 5px;
  line-height: 1.4;
}

.post-info h5 a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-info h5 a:hover {
  color: #7c439a;
}

.post-info .date {
  font-family: "VistolSans-Light", sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: #666;
}

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

.tag {
  font-family: "VistolSans-Light", sans-serif;
  font-weight: 300;
  padding: 6px 14px;
  background: #f8f9fa;
  border-radius: 8px;
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag::before {
  content: "#";
  color: #7c439a;
  font-weight: 600;
}

.tag:hover {
  background: #7c439a;
  color: #fff;
  border-color: #7c439a;
  transform: translateY(-2px);
}

.tag:hover::before {
  color: #fff;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 50%;
  color: #1a1a1a;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  background: #7c439a;
  color: #fff;
  transform: translateY(-3px) rotate(8deg);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .blog-detail-container {
    gap: 2rem;
  }

  .blog-detail-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 992px) {
  .blog-detail-container {
    flex-direction: column;
  }

  .blog-detail-sidebar {
    width: 100%;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-card-image {
    height: 200px;
  }
  .blog-detail-quote::before {
    top: -10px;
    left: -5px;
  }
}

@media (max-width: 768px) {
  .blog-detail-wrapper {
    padding: 2rem 0;
  }

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

  .blog-detail-quote {
    padding: 2rem;
  }

  .blog-detail-author {
    flex-direction: column;
    text-align: center;
  }

  .blog-detail-gallery {
    grid-template-columns: 1fr;
  }

  .share-buttons {
    flex-wrap: wrap;
  }

  .sidebar-widget {
    padding: 1.5rem;
  }
  .blog-detail-related {
    margin-top: 3rem;
    padding-top: 2rem;
  }

  .related-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .blog-card-content {
    padding: 1.2rem;
  }
}
.blog-detail-slider {
    margin-bottom: 2rem;
}

.blog-detail-slider .slick-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.blog-detail-slider .slick-dots {
    bottom: -30px;
}

.blog-detail-slider .slick-dots li button:before {
    font-size: 12px;
    color: #7c439a;
}

.blog-detail-slider .slick-dots li.slick-active button:before {
    color: #662d82;
}blockquote {
    position: relative;
    padding: 20px 25px;
    margin: 20px 0;
    background-color: #f5f5f5;
    border-left: 5px solid #ddd;
}

blockquote::before {
    content: '"';
    font-size: 60px;
    line-height: 1;
    color: #ccc;
    position: absolute;
    left: 10px;
    top: 10px;
    font-family: Georgia, serif;
}

blockquote p {
    margin: 0;
    padding-left: 30px;
}

blockquote + p {
    font-style: italic;
    text-align: right;
    color: #666;
    margin-top: -10px;
}