.ea-3771ece9-grid {
    display: grid;
    gap: 30px;
    width: 100%;
}

.ea-3771ece9-card {
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Assicura che l'immagine e i suoi bordi non sforino la card principale */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eef2f5;
    background: #fff;
}

.ea-3771ece9-card:hover {
    transform: translateY(-5px);
}

.ea-3771ece9-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    /* Raggi smussati superiori e un margine negativo per sormontare il bordo della card ed evitare la riga grigia */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin: -1px -1px 0 -1px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ea-3771ece9-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ea-3771ece9-card:hover .ea-3771ece9-image {
    transform: scale(1.05);
}

.ea-3771ece9-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ea-3771ece9-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.ea-3771ece9-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.ea-3771ece9-date {
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
}

.ea-3771ece9-title {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.ea-3771ece9-title a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.ea-3771ece9-excerpt {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.ea-3771ece9-footer {
    margin-top: auto;
}

.ea-3771ece9-readmore {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}

.ea-3771ece9-readmore:hover {
    opacity: 0.8;
}
