.blog-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));  /* responsive magic */
    gap: 24px;           /* space between cards */
    padding: 20px 0;
    margin: 0 auto;
    max-width: 1200px;   /* or whatever your content width is */
}

.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;               /* keeps your site text color */
    background: #fff;             /* or your card bg color */
    border-radius: 8px;           /* 0px if you prefer sharp */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);  /* light modern shadow – adjust or remove */
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-image {
    height: 180px;           /* Adjust this value to your preferred height – e.g., 200px, 220px */
    overflow: hidden;        /* Hide any overflow from taller images */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* Crops & fills the space nicely without distortion */
    display: block;
}

.card-content {
    padding: 16px 20px;
}

.card-content h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;     /* match your h3 or heading size */
    line-height: 1.3;
}

/* Optional: excerpt style if you add one */
.excerpt {
    font-size: 0.95rem;
    color: #666;            /* or your secondary text color */
    margin: 0 0 12px;
}

/* Very small screens */
@media (max-width: 500px) {
    .blog-index-grid {
        grid-template-columns: 1fr;
    }
}