/* ==========================================================================
   Shortcode [eventi-prossimi] — lista a 2 colonne (data + titolo)
   ========================================================================== */

.ae-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ae-list__item {
    margin: 0;
    padding: 0;
}

.ae-row {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 2px 14px 1px rgba(0, 0, 0, .04);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease;
}

.ae-row:hover,
.ae-row:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 1px rgba(0, 0, 0, .08);
}

/* Colonna sinistra — data */
.ae-row__date {
    flex: 0 0 auto;
    width: 90px;
    background: #EA3C47;
    color: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem .5rem;
    line-height: 1;
    text-align: center;
}

.ae-row__day {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.ae-row__month {
    margin-top: .4rem;
    font-size: .9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* Colonna destra — titolo */
.ae-row__body {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    min-width: 0;
}

.ae-row__title {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.35;
    font-weight: 600;
    color: #1d1d1d;
}

/* Mobile */
@media (max-width: 480px) {
    .ae-row__date {
        width: 72px;
        padding: .85rem .35rem;
    }
    .ae-row__day {
        font-size: 2rem;
    }
    .ae-row__month {
        font-size: .8rem;
    }
    .ae-row__body {
        padding: .85rem 1rem;
    }
    .ae-row__title {
        font-size: 1rem;
    }
}
