/* Blog Styles */
.blog-hero {
    margin-top: -1rem;
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
}

/* Blog Cards */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.blog-card img {
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Article Page */
.blog-post img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.blog-post p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-post h2, .blog-post h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post blockquote {
    border-left: 4px solid #4e73df;
    padding-left: 1rem;
    font-style: italic;
    margin: 1.5rem 0;
    background-color: #f8f9fc;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

/* Category Badges */
.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}

/* Sidebar */
.card-header {
    background-color: #f8f9fc;
    font-weight: 600;
}

/* Post Meta */
.post-meta {
    font-size: 0.9rem;
}

/* Breadcrumb */
.breadcrumb {
    padding: 0.5rem 0;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #4e73df;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .blog-card .row {
        flex-direction: column;
    }
    
    .blog-card .col-md-4 {
        height: 200px;
    }
}

/* Pagination */
.pagination .page-link {
    color: #4e73df;
}

.pagination .page-item.active .page-link {
    background-color: #4e73df;
    border-color: #4e73df;
}

/* Related Posts */
.related-posts img {
    height: 150px;
    object-fit: cover;
}

/* Table styles for blog posts */
.blog-post table {
    width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.blog-post table th, 
.blog-post table td {
    padding: 0.75rem;
    vertical-align: top;
    border: 1px solid #dee2e6;
}

.blog-post table thead th {
    vertical-align: bottom;
    background-color: #f8f9fc;
    border-bottom: 2px solid #dee2e6;
}

/* Image thumbnails */
.img-thumbnail {
    padding: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 100%;
    height: auto;
}

/* Author info */
.author-info {
    background-color: #f8f9fc;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
}

.author-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.author-info .author-bio {
    font-size: 0.95rem;
}

/* Social sharing */
.social-share {
    margin: 2rem 0;
}

.social-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fc;
    color: #4e73df;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-share a:hover {
    background-color: #4e73df;
    color: white;
} 