#el-title-hero::before {
    content: "";
    display: block;

    /* keep it centered inside the full-width hero */
    width: min(100vw, 1500px);  /* or min(100%, 1500px) if you prefer */
    height: 100%;
    margin-inline: auto;

    background-image: url("https://edmondsonlawpc.com/wp-content/uploads/2025/12/cactus-on-hill.jpg");
    background-size: cover;      /* object-fit: cover equivalent */
    background-position: center;
    background-repeat: no-repeat;
}

/* Blog Home */
main.md-blog,
main.md-single {
    padding-top: 14rem;
}
/* Blog grid */
.md-blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Card */
.md-post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    max-width: 100vw;
}

/* Thumbnail */
.md-post-card .post-image {
    display: block;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background-size: cover;
    background-position: center;
}

/* Content */
.post-description {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
}

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

.post-meta {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    opacity: 0.75;
}

.post-excerpt {
    flex-grow: 1;
    margin-bottom: 1rem;
}

/* Read more */
.md-read-more {
    margin-top: auto;
}

/* No thumbnail cards */
.md-post-card.no-thumb {
    border-top: 4px solid #ccc; /* subtle visual balance */
}

/* prev-next */
.pagination, div.prev-next, div.blog-back {
display: flex;
justify-content: center;
width: 100%;
margin: 0 0 1rem 0;
padding: 0;
text-align: center;
font-size: 0.75rem;
line-height: 1;
z-index: 100;
}

div.blog-back {
    margin: 1rem 0 0.25rem 0;
}

.page-numbers:hover, .page-numbers.current:hover, .prev-next a:hover, div.blog-back a:hover {
background: rgba(0,0,0,0.5);
}
.page-numbers, div.prev-next a, div.blog-back a {
display: inline-block;
padding: 0.25rem 0.5rem;
margin: 0 0.5rem;
border: 1px solid var(--el-green);
color: var(--el-blue);
border-radius: 0;
text-decoration: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .md-blog-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .md-blog-posts {
        grid-template-columns: 1fr;
        gap: 1rem 0;
        width: calc(100% - 3rem);
    }

}
