/* Blog Detail Styles */
.blog_h1i1 {
  position: relative;
  overflow: hidden;
}

.blog_h1i1i {
  position: relative;
}

.blog_h1i1i img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
  border-radius: 8px;
  object-fit: cover;
}

.blog_h1i1i1 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0 0 0 1rem;
}

.blog_h1i1i1 h3 {
  margin-bottom: 0;
  display: inline-block;
  background: #fff;
  padding: 0.5rem 1rem;
  text-align: center;
}

.blog_h1i2 {
  padding: 1rem;
  background: #f8f9fa;
  padding-bottom: 0;
}

.blog_h1i2 h6 {
  display: inline-block;
  text-align: center;
  padding: 0.25rem 0.5rem;
  margin-bottom: 1rem;
}

.blog_h1i2 h3 {
  margin-top: 1rem;
}

.meta-info {
  margin-top: 1rem;
  color: #333;
  font-size: 14px;
}

.meta-info span {
  display: inline-block;
}

.meta-info i {
  color: #ff7617;
  margin-right: 0.5rem;
}

.blog_dt1 {
  background: #f8f9fa;
  padding: 2rem;
}

.blog_dt1i {
  background: #fff;
  padding: 2rem;
}

.blog_dt2 {
  background: #f8f9fa;
  padding: 2rem;
  padding-top: 0.5rem;
}

.blog_dt2 h3 {
  margin-bottom: 1.5rem;
}

.blog_dt1i1 {
  margin-top: 2rem;
  background: #f8f9fa;
  padding: 2rem;
}

.blog_dt1i1l h5,
.blog_dt1i1r h5 {
  margin-bottom: 1rem;
}

.tags li {
  display: inline-block;
  margin-right: 0.5rem;
}

.tags li a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tags li a:hover {
  color: #ff7617;
}

/* Blog Detail Content Styles */
.blog_detail_content {
  line-height: 1.8;
  color: #333;
}

.blog_detail_content .blog_excerpt {
  font-size: 1.1em;
  color: #666;
  border-left: 3px solid #ff7617;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.blog_detail_content .blog_content {
  font-size: 1em;
}

.blog_detail_content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 8px;
  object-fit: cover;
}

.blog_detail_content h1,
.blog_detail_content h2,
.blog_detail_content h3,
.blog_detail_content h4,
.blog_detail_content h5,
.blog_detail_content h6 {
  margin: 1.5rem 0 1rem;
  color: #333;
}

.blog_detail_content p {
  margin-bottom: 1rem;
}

.blog_detail_content ul,
.blog_detail_content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.blog_detail_content blockquote {
  border-left: 4px solid #ff7617;
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: #666;
}

.blog_detail_content pre,
.blog_detail_content code {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
}

/* Blog Meta Information */
.blog_detail_meta {
  color: #666;
  font-size: 0.9em;
}

.blog_detail_meta i {
  color: #ff7617;
}

.blog_detail_title {
  font-size: 2em;
  color: #333;
  margin-bottom: 1rem;
}

/* Related Posts */
.related_posts {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
}

.related_posts h3 {
  color: #333;
  border-bottom: 2px solid #ff7617;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.related_posts .card {
  transition: transform 0.3s ease;
}

.related_posts .card:hover {
  transform: translateY(-5px);
}

.related_posts .card-title a {
  color: #333;
  text-decoration: none;
}

.related_posts .card-title a:hover {
  color: #ff7617;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .blog_h1i1i1 h3 {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
  }

  .blog_h1i2 h3 {
    font-size: 1.5rem;
  }

  .meta-info {
    font-size: 12px;
  }

  .blog_dt1,
  .blog_dt2,
  .blog_dt1i1 {
    padding: 1rem;
  }

  .blog_dt1i {
    padding: 1rem;
  }

  .blog_detail_content img {
    margin: 0.5rem 0;
  }
}
