/* Blog Styles */

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.blog-image {
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.blog-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-content h3 {
    color: #0d6efd;
    font-weight: 600;
    margin-top: 2rem;
}

.blog-content h4 {
    color: #495057;
    font-weight: 600;
    margin-top: 1.5rem;
}

.blog-content p {
    margin-bottom: 1.2rem;
}

.blog-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content ul li {
    margin-bottom: 0.5rem;
}

.blog-content .alert {
    border-left: 4px solid;
    font-size: 1rem;
}

.blog-content .alert-info {
    border-left-color: #0dcaf0;
}

.blog-content .alert-warning {
    border-left-color: #ffc107;
}

.blog-content .alert-success {
    border-left-color: #198754;
}

.blog-content .alert-primary {
    border-left-color: #0d6efd;
}

/* Blog post image */
#blogPostImage img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

/* Related posts */
#relatedPosts .card {
    transition: transform 0.3s ease;
}

#relatedPosts .card:hover {
    transform: translateY(-3px);
}

/* Share buttons */
.btn-outline-primary:hover,
.btn-outline-info:hover,
.btn-outline-success:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-content {
        font-size: 1rem;
    }

    .blog-image {
        height: 200px;
    }

    #blogPostImage img {
        max-height: 300px;
    }
}