/**
 * blog.css — Stili per la visualizzazione delle Card e dei Post del Blog AstaCerta
 * 
 * Performance & Clean Code:
 * - Zero GPU hack (nessun translateZ forzato o consumo superfluo di VRAM su vecchi device)
 * - Proporzioni native 16:9 con aspect-ratio standard CSS
 * - Rendering leggero, fluido e responsive
 */

.blog-card-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #f1f3f5;
    position: relative;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Card hover effect */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}
