/* Fix cover images overlapping sidebar */
#blog-post img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

/* Ensure cover images stay within their container */
#post-content img,
.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

/* Blog list page styling */
.blog-post-summary {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.featured-image-container {
    margin-bottom: 1rem;
}

.featured-image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

.post-summary-content {
    padding-left: 0;
}

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

.post-title a:hover {
    color: #5cb85c;
    text-decoration: none;
}

.post-divider {
    margin: 2rem 0;
    border-color: #eee;
}

/* Fix for responsive images in blog posts */
@media (max-width: 768px) {
    #blog-post {
        margin-bottom: 2rem;
    }
    
    #blog-post img {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .featured-image-container {
        margin-bottom: 1rem;
    }
    
    .post-summary-content {
        padding-left: 0;
        margin-top: 1rem;
    }
}

/* Placeholder styling for missing images */
.image-placeholder {
    border: 2px dashed #ccc;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    text-align: center;
}

/* Pagination styling */
.pagination {
    margin-top: 2rem;
}

.pagination .page-link {
    color: #5cb85c;
}

.pagination .page-item.active .page-link {
    background-color: #5cb85c;
    border-color: #5cb85c;
}