/* 
 * Blog Pages Specific Styles
 * One Sphere Solutions
 * Used for blog.php, blog-detail.php, search.php
 */

/* Page header styles */
.blog-page-header h1 {
    margin-top: 30px !important;
    padding-top: 20px !important;
}

/* Blog post image styles */
.blog-post img.img-fluid {
    object-fit: cover;
    height: 100%;
}

/* Recent posts image styles */
.media img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Blog detail styles */
.blog-detail-header {
    padding-top: 80px;
}

.blog-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.blog-author-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* Related posts styles */
.related-post-image {
    height: 200px;
    object-fit: cover;
}

/* Search results styles */
.search-result-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Responsive styles */
@media (max-width: 768px) {
    .blog-detail-image {
        height: 300px;
    }
    
    .related-post-image {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .blog-page-header h1 {
        font-size: 28px;
    }
    
    .blog-detail-image {
        height: 200px;
    }
    
    .blog-author-image {
        width: 40px;
        height: 40px;
    }
}
