


.newsnew-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border: 0px solid red;
}
.newsnew-card {
    background: #ffffff;                 /* sfondo bianco */
    padding: 20px;                       /* più spazio interno */
    border-radius: 10px;                 /* angoli più morbidi */
    margin: 10px;                        /* distanza tra i box */
    box-shadow: 0 6px 20px rgba(0,0,0,0.10); /* ombra leggera */
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

/* Hover opzionale (molto elegante) */
.newsnew-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}


.newsnew-card img {
    height: 250px;        /* scegli tu l’altezza */
    width: 100%;
    object-fit: cover;    /* mantiene il ritaglio proporzionato */
    border-radius: 6px;   /* opzionale */
}


/* Tablet: 2 colonne */
@media (max-width: 900px) {
     .newsnew-list { grid-template-columns: repeat(2, 1fr); }
    }

/* Mobile: 1 colonna */
@media (max-width: 600px) {
     .newsnew-list { grid-template-columns: 1fr; }
    }

    .pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 30px 0;
    font-family: sans-serif;
}

.pagination a,
.pagination span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

.pagination a:hover {
    background: #ddd;
}

.pagination .active {
    background: #FB8B1D;
    color: #fff;
    font-weight: bold;
}

.pagination .dots {
    background: transparent;
    width: auto;
    padding: 0 5px;
}

.pagination .first,
.pagination .last,
.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 12px;
    border-radius: 20px;
}






