/* ============================================================
   MAD EVENTI – Stylesheet
   madverona.it
   ============================================================ */

/* Grid */
.mad-eventi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    padding: 16px 0;
    font-family: inherit;
}

/* Card */
.mad-evento-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: #fff;
}
.mad-evento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

/* Immagine */
.mad-evento-thumb {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
}

/* Body card */
.mad-evento-body {
    display: flex;
    gap: 16px;
    padding: 20px;
    flex: 1;
}

/* Blocco data */
.mad-evento-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #e30613;
    border-radius: 8px;
    padding: 10px 14px;
    min-width: 54px;
    text-align: center;
    flex-shrink: 0;
}
.mad-giorno {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    color: #fff;
}
.mad-mese {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.85);
    margin-top: 3px;
    text-transform: uppercase;
}

/* Info */
.mad-evento-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Badge tipo */
.mad-tipo-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #e30613;
    padding: 2px 0;
}

/* Titolo */
.mad-evento-title {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 4px !important;
    line-height: 1.3 !important;
}

/* Orario */
.mad-evento-ora {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 0 !important;
}

/* Descrizione */
.mad-evento-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    margin-top: 4px;
}

/* Bottone */
.mad-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;
    background: #e30613;
    color: #fff !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.2s ease;
    align-self: flex-start;
}
.mad-btn:hover {
    background: #b8050f;
    color: #fff !important;
}

/* Nessun evento */
.mad-no-eventi {
    text-align: center;
    padding: 40px;
    color: #888;
    font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
    .mad-eventi-grid {
        grid-template-columns: 1fr;
    }
    .mad-evento-thumb {
        height: 140px;
    }
}
