/* Blog list view: list-only tweaks */

/* Ensure predictable grid layout on the list page */
.blog-card-grid {
    display: grid;
    grid-auto-flow: row;
    align-items: stretch;
}

/* 2 cols on tablets, 3 cols on desktops */
@media (min-width: 640px) {
    .blog-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    .blog-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

/* Footer row with calendar + date */
.blog-card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--blog-border-soft);
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blog-text-muted);
    font-size: 0.975rem;
}

@media (max-width: 540px) {
    .blog-card-media img {
        aspect-ratio: 4 / 3;
    }
}
