/* ============================================================
   EVENTI – Box data + paginazione + pulsanti
   (modifica richiesta: box giorno/mese/anno uniforme)
============================================================ */


/* ============================================================
   BOX DATA EVENTO (giorno / mese / anno) — FIX
   - uniforme
   - non deformabile
   - testo centrato
============================================================ */

.evento-date{
    background: #1d4d97;
    color: #ffffff;

    width: 75px;
    height: 75px;
    min-width: 75px;
    min-height: 75px;

    border-radius: 14px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    overflow: hidden;
    flex-shrink: 0;
}

.evento-day{
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.evento-month{
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    margin-top: 2px;
}

.evento-year{
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    margin-top: 2px;
    opacity: .9;
}


/* ============================================================
   PAGINAZIONE MODERNA – BLU FAISA #1d4d97
============================================================ */

.fc-pagination{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.fc-pagination .fc-page-item a,
.fc-pagination .fc-page-item span{
    background: #1d4d97;      /* Blu FAISA */
    color: #ffffff;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 14px;      /* stile pill button */
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 3px 8px rgba(0,0,0,0.20);
    transition: all 0.25s ease;
}

/* Hover elegante */
.fc-pagination .fc-page-item a:hover{
    background: #163c75;      /* Blu più scuro */
    transform: translateY(-3px);
}

/* Pagina corrente */
.fc-pagination .fc-page-item .current{
    background: #ffffff !important;
    color: #1d4d97 !important;
    border: 2px solid #1d4d97;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* Ellissi "..." */
.fc-pagination .fc-page-item span:not(.current):not(a){
    background: transparent;
    color: #1d4d97;
    box-shadow: none;
    font-weight: bold;
}


/* ============================================================
   Pulsante "Torna agli Eventi"
============================================================ */

.btn-torna-eventi{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1d4d97;
    color: #fff;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;

    transition: background 0.25s ease, transform 0.2s ease;
}

/* Icona */
.btn-torna-eventi i{
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Hover */
.btn-torna-eventi:hover{
    background: #163b75;
    transform: translateX(-3px);
}

/* Icona si muove leggermente */
.btn-torna-eventi:hover i{
    transform: translateX(-4px);
}

/* Mobile – centra il pulsante */
@media (max-width: 768px) {
    .btn-torna-eventi {
        display: flex;          /* ← da inline-flex a flex per rispettare text-align */
        margin: 0 auto;         /* ← centra orizzontalmente */
        width: fit-content;     /* ← non si allarga a tutto schermo */
    }
}