/* ============================================================
   lista-ep-frontend.css — Shortcode [lista_eventi_progetti]
   ============================================================ */

.lista-ep-frontend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Reset lista tema */
.lista-ep-frontend .lista-ep-item::before,
.lista-ep-frontend .lista-ep-item::after {
    display: none !important;
    content: none !important;
}
.lista-ep-frontend .lista-ep-item {
    margin: 0.7rem 0 !important;
}

/* ── RIGA ── */
.lista-ep-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    text-decoration: none !important;
}

/* ── BADGE ── */
.ep-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 3px 0;
    border-radius: 6px;
    flex-shrink: 0;
    white-space: nowrap;
    width: 80px;
}

.ep-badge-evento {
    color: #1a5fa8;
    background: linear-gradient(145deg, rgba(29,95,168,0.15), rgba(29,95,168,0.07));
    border: 1px solid rgba(29,95,168,0.30);
    box-shadow: 2px 3px 6px rgba(29,95,168,0.20), inset 0 1px 0 rgba(255,255,255,0.60);
    text-shadow: 0 1px 0 rgba(255,255,255,0.80);
}

.ep-badge-progetto {
    color: #1a8449;
    background: linear-gradient(145deg, rgba(26,132,73,0.15), rgba(26,132,73,0.07));
    border: 1px solid rgba(26,132,73,0.30);
    box-shadow: 2px 3px 6px rgba(26,132,73,0.20), inset 0 1px 0 rgba(255,255,255,0.60);
    text-shadow: 0 1px 0 rgba(255,255,255,0.80);
}

/* ── DATA ── */
.ep-date-front {
    font-size: 12px;
    font-weight: 600;
    color: #e07010;
    background: linear-gradient(145deg, rgba(224,112,16,0.15), rgba(224,112,16,0.07));
    border: 1px solid rgba(224,112,16,0.28);
    border-radius: 6px;
    padding: 3px 10px;
    flex-shrink: 0;
    white-space: nowrap;
    letter-spacing: 0.03em;
    box-shadow: 2px 3px 6px rgba(224,112,16,0.18), inset 0 1px 0 rgba(255,255,255,0.60);
    text-shadow: 0 1px 0 rgba(255,255,255,0.80);
}

/* ── TITOLO ── */
.ep-title-link {
    font-size: 16px;
    font-weight: 900 !important;
    text-transform: uppercase;
    color: #1a2433 !important;
    text-decoration: none !important;
    letter-spacing: 0.04em;
    line-height: 1.35;
    flex: 1;
    transition: color 0.15s;
}

.ep-title-link:hover {
    color: #2d7dd2;
    text-decoration: none;
}


/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    .lista-ep-item {
        flex-wrap: wrap;
        gap: 8px;
        padding: 14px 16px;
    }

    .ep-title-link {
        flex: 1 1 100%;
        font-size: 13px;
    }
}
