/* Frontend Blog Styles */
/* Blog Content Styles */
.blog-content {
    line-height: 1.8;
    color: #333;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content h2,
.blog-content h3,
.blog-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.blog-content h2 {
    font-size: 1.75rem;
}

.blog-content h3 {
    font-size: 1.5rem;
}

.blog-content h4 {
    font-size: 1.25rem;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content blockquote {
    border-left: 4px solid #dc3545;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
}

.blog-content a {
    color: #dc3545;
    text-decoration: none;
}

.blog-content a:hover {
    text-decoration: underline;
}

/* Blog Card Styles */
.blog-card {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.blog-card-body {
    padding: 1.5rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-card-text {
    color: #666;
    margin-bottom: 1rem;
}

/* Blog Category Badge */
.blog-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.25rem;
}

/* Blog Meta Info */
.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #666;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 20px;
}

.blog-sidebar .card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}

.blog-sidebar .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.blog-sidebar .list-unstyled {
    padding: 0;
    margin: 0;
}

.blog-sidebar .list-unstyled li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.blog-sidebar .list-unstyled li:last-child {
    border-bottom: none;
}

.blog-sidebar .list-unstyled a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-sidebar .list-unstyled a:hover {
    color: #dc3545;
}

/* Related Blogs */
.related-blog-card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-blog-card:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.related-blog-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

/* Share Buttons */
.blog-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
    margin-top: 2rem;
}

.blog-share a {
    color: #666;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.blog-share a:hover {
    color: #dc3545;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-card-img {
        height: 200px;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .blog-content {
        font-size: 0.95rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.25rem;
    }
}

