.event-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    box-sizing: border-box;

    margin-top: 12px;
    padding: 12px 20px;

    background-color: #ffffff !important;
    color: #000000 !important;

    border: 1px solid #000000;
    border-radius: 0;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.event-buy-button:hover,
.event-buy-button:focus {
    background-color: #f2f2f2 !important;
    color: #000000 !important;
    text-decoration: none !important;
}

/* --- RESET E SFONDO NERO --- */
#top.page-id-2591, /* Sostituisci 2591 con l'ID della tua pagina se necessario */
#top.page-template-template-eventi-grid,
#top.page-template-template-eventi-grid #main,
#top.page-template-template-eventi-grid #wrap_all,
#top.page-template-template-eventi-grid .main_color,
#top.page-template-template-eventi-grid .container_wrap {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none !important;
}

/* --- GRIGLIA ENFOLD FIX --- */
#top.page-template-template-eventi-grid .container {
    background-color: transparent !important;
}

.event-card-column {
    margin-left: 3% !important;
    width: 31.3% !important;
    float: left !important;
    min-height: 450px;
    clear: none !important;
}

.event-card-column.first {
    margin-left: 0 !important;
    clear: both !important;
}

/* --- DATA --- */
.day-huge-grid {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 80px;
    line-height: 0.8;
    display: block;
    color: #fff;
}

.month-upper-grid {
    font-family: 'Bebas Neue', Impact, sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

/* --- IMMAGINE --- */
.event-image-grid img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: none !important;
}

/* --- TITOLO --- */
.event-title-grid {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 20px !important;
    text-transform: uppercase;
    margin: 15px 0 !important;
    color: #fff !important;
    text-align: center;
}

/* --- BOTTONE --- */
.event-action-wrapper {
    text-align: center;
}

.btn-pill-event {
    display: inline-block !important;
    border: 3px solid #fff !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none !important;
    transition: 0.3s;
}

.btn-pill-event:hover {
    background: #fff !important;
    color: #000 !important;
}

.av_one_third.first.event-card-column{
	margin-top: 20px;
}

/* --- MOBILE --- */
@media only screen and (max-width: 767px) {
    .event-card-column {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 40px !important;
    }
}
