/*
Theme Name: Mui Chiropractic
Description: Custom theme matching the main muichiropractic.com site design, for the /blog subdirectory.
Author: Sosa Virtual
Version: 1.0
*/

/* Blog-specific layout styles.
   Site-wide styles (bootstrap, style.css, responsive.css) are loaded
   from the main site's /css/ folder via functions.php - not duplicated here. */

/* Nav and footer spacing (for the extra "Blog" item) now live in the
   main site's css/style.css, since Blog is a permanent nav/footer item
   across the whole site - not duplicated here. */

.blog-content-wrp {
    padding: 60px 0;
}

.blog-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .blog-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-list {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
}

.blog-card figure {
    margin: 0;
}

.blog-card figure img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

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

.blog-card-body .blog-date {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    display: block;
}

.blog-card-body h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-card-body p {
    font-size: 15px;
    color: #555;
}

.blog-single {
    max-width: 800px;
    margin: 0 auto;
}

.blog-single .blog-date {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    display: block;
}

.blog-single figure img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.blog-single .entry-content {
    font-size: 16px;
    line-height: 1.7;
}

.blog-single .entry-content img {
    max-width: 100%;
    height: auto;
}

.pagination-wrp {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination-wrp a,
.pagination-wrp span {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
}
