.blog-hero { padding: 2rem 1rem 1rem; text-align: center; }
.blog-title { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0; }

.posts-list { padding: 2rem 1rem 3rem; }
.container { max-width: 1200px; margin: 0 auto; }

.posts-grid {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(270px, 1fr) );
    gap: 2rem;
}

.post-card {
    display: flex; flex-direction: column; background: #fff;
    border-radius: 1rem; overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,.06);
}

.post-card .thumb {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,.05);
    background: #fff;                 /* fondo blanco por si hay transparencia */
}

/* Altura/aspecto deseado de la franja de imagen */
.post-card .thumb .post-image {
    width: 100%;
    height: clamp(180px, 24vw, 260px); /* ajusta a tu diseño */
    display: block;
    object-fit: cover;                 /* por defecto: cubrir (featured) */
    object-position: center center;
}

/* Placeholder: que no se recorte, siempre centrado y con fondo blanco */
.post-card .thumb .post-image.is-placeholder {
    object-fit: contain;
    background: #fff;
}
.post-meta { font-size: .85rem; color: #6b7280; padding: 1rem 1.25rem 0; }
.post-title { font-size: 1.25rem; margin: .5rem 1.25rem; line-height: 1.3; }
.post-title a { text-decoration: none; color: #111; }
.post-excerpt { color: #4b5563; padding: 0 1.25rem 1rem; }

.read-more {
    margin: 0 1.25rem 1.25rem;
    text-decoration: none; font-weight: 600;
}

.pagination { display:flex; justify-content:center; padding-top:1rem; }

.blog-index .blog-hero-blurb {
    margin: 0 auto;          /* centra horizontal */
    max-width: 70ch;         /* ancho óptimo de lectura */
    padding: 2rem 0 1rem;
    line-height: 1.6;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: #2d3748;
    text-align: center;
    text-align: -webkit-center;
    text-align: -moz-center;
}
