/* Blog Frontend Styles */
.blog-container {
    padding: 40px 0;
}

.blog-post-card {
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
}

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

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

.blog-post-body {
    padding: 20px;
}

.blog-post-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.blog-post-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.blog-post-title a {
    text-decoration: none;
    color: #333;
}

.blog-post-excerpt {
    color: #555;
    line-height: 1.6;
}

.blog-sidebar {
    padding-left: 20px;
}

.sidebar-widget {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    display: inline-block;
}

.tag-cloud a {
    display: inline-block;
    background: #e9ecef;
    padding: 5px 10px;
    margin: 0 5px 5px 0;
    border-radius: 20px;
    text-decoration: none;
    color: #495057;
    font-size: 0.9rem;
}

.tag-cloud a:hover {
    background: #007bff;
    color: #fff;
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 40px;
}

/* Single Post */
.single-post-header {
    margin-bottom: 30px;
}

.single-post-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}

.single-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.single-post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-box {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}
