.blog-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.blog-card-img-placeholder {
  height: 200px;
}

.blog-related-img {
  height: 150px;
  object-fit: cover;
  width: 100%;
}

.blog-related-img-placeholder {
  height: 150px;
}

.blog-card {
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-excerpt {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.blog-header {
  padding-bottom: 20px;
  border-bottom: 2px solid #e9ecef;
}

.blog-title {
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-meta {
  font-size: 0.95rem;
}
.blog-meta span {
  display: inline-block;
}
.blog-meta i {
  margin-right: 5px;
}

.blog-cover-image {
  text-align: center;
}
.blog-cover-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.blog-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}
.blog-content p {
  margin-bottom: 1.5em;
}
.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
  margin-top: 2em;
  margin-bottom: 1em;
  font-weight: 600;
  line-height: 1.3;
}
.blog-content h1 {
  font-size: 2em;
}
.blog-content h2 {
  font-size: 1.75em;
}
.blog-content h3 {
  font-size: 1.5em;
}
.blog-content h4 {
  font-size: 1.25em;
}
.blog-content h5 {
  font-size: 1.1em;
}
.blog-content h6 {
  font-size: 1em;
}
.blog-content ul, .blog-content ol {
  padding-left: 2em;
  margin-bottom: 1.5em;
}
.blog-content li {
  margin-bottom: 0.5em;
}
.blog-content blockquote {
  border-left: 4px solid #007bff;
  padding-left: 1.5em;
  margin: 2em 0;
  color: #6c757d;
  font-style: italic;
  font-size: 1.05em;
}
.blog-content a {
  color: #007bff;
  text-decoration: underline;
  transition: color 0.2s;
}
.blog-content a:hover {
  color: #0056b3;
  text-decoration: none;
}
.blog-content img {
  max-width: 100%;
  height: auto;
  margin: 2em 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.blog-content code {
  background-color: #f8f9fa;
  color: #e83e8c;
  padding: 2px 6px;
  font-family: "Courier New", "Consolas", "Monaco", monospace;
  font-size: 0.9em;
}
.blog-content pre {
  background-color: #282c34;
  color: #abb2bf;
  padding: 1.5em;
  overflow-x: auto;
  margin: 2em 0;
}
.blog-content pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
  font-size: 0.9em;
}
.blog-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 2em 0;
  border: 1px solid #dee2e6;
}
.blog-content td, .blog-content th {
  border: 1px solid #dee2e6;
  padding: 12px 15px;
  text-align: left;
}
.blog-content th {
  background-color: #f8f9fa;
  font-weight: 600;
}
.blog-content hr {
  border: 0;
  border-top: 2px solid #dee2e6;
  margin: 3em 0;
}

.blog-images h5 {
  font-weight: 600;
  color: #495057;
}
.blog-images img {
  transition: transform 0.2s;
}
.blog-images img:hover {
  transform: scale(1.05);
}

.blog-footer {
  font-size: 0.9rem;
}

.related-blogs h4 {
  font-weight: 600;
  color: #333;
}

@media (max-width: 768px) {
  .blog-title {
    font-size: 1.5rem;
  }

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

  .blog-meta span {
    display: block;
    margin-bottom: 0.5rem;
  }
}
