/* yj_event_feed.css — card viva dell'evento dentro il feed (Eventi, 15/7/2026)
   Il post di stato che annuncia l'evento viene "vestito" da yj_event_feed.js con
   questa card. Stile coerente con le card della lista (css/yj_eventi.css) ma in
   formato orizzontale, adatto alla larghezza di un post del feed. */

.yjev_fc{
    border:1px solid #ece9e1; border-radius:10px; overflow:hidden;
    background:#fff; margin:2px 0 4px;
}
.yjev_fc_main{
    display:flex; align-items:stretch; text-decoration:none !important; color:inherit;
}
.yjev_fc_main:hover{ text-decoration:none; }
.yjev_fc_main:hover .yjev_fc_title{ color:#3a6ea5; }

.yjev_fc_media{ position:relative; flex:0 0 34%; max-width:210px; min-height:118px; }
.yjev_fc_img{
    position:absolute; inset:0; display:block;
    background-size:cover; background-position:center; background-repeat:no-repeat;
    background-color:#f0ede6;
}
.yjev_fc_ph{
    display:flex; align-items:center; justify-content:center; font-size:44px;
    background:linear-gradient(135deg,#5b5750,#2f2c28);
}
.yjev_fc_badge{
    position:absolute; top:8px; left:8px; z-index:2;
    background:#e0483f; color:#fff; font-size:11px; font-weight:bold;
    padding:3px 9px; border-radius:20px; letter-spacing:.02em;
}
.yjev_fc_badge.yjev_fc_fin{ background:#8a8a8a; }

.yjev_fc_body{
    flex:1 1 auto; min-width:0; padding:12px 14px;
    display:flex; flex-direction:column; gap:3px;
}
.yjev_fc_date{ font-size:12.5px; font-weight:bold; color:#c0392b; text-transform:uppercase; letter-spacing:.02em; }
.yjev_fc_title{
    font-size:16px; font-weight:bold; color:#2f2e2c; line-height:1.25;
    overflow:hidden; text-overflow:ellipsis; display:-webkit-box;
    -webkit-line-clamp:2; -webkit-box-orient:vertical;
}
.yjev_fc_where{
    font-size:13px; color:#777; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.yjev_fc_where i{ margin-right:5px; color:#aaa; }
.yjev_fc_foot{
    display:flex; align-items:center; gap:12px; margin-top:auto; padding-top:6px;
    font-size:12.5px; color:#888;
}
.yjev_fc_chip{
    background:#f4f2ec; border-radius:12px; padding:2px 10px; color:#5c5952;
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:60%;
}
.yjev_fc_guests i{ margin-right:4px; }
.yjev_fc_guests.yjev_hide{ display:none; }

.yjev_fc_attend{
    display:block; width:100%; box-sizing:border-box; text-align:center;
    border:0; border-top:1px solid #ece9e1; background:#5cb85c;
    color:#fff !important; font-size:14px; font-weight:bold; padding:10px;
    cursor:pointer; text-decoration:none !important;
    transition:background .15s ease;
}
.yjev_fc_attend:hover{ background:#4cae4c; }
.yjev_fc_attend.on{ background:#eef7f0; color:#2f8f5b !important; }
.yjev_fc_attend.on:hover{ background:#e3f1e7; }
.yjev_fc_attend.yjev_fc_login{ background:#f0ede6; color:#5c5952 !important; }

@media (max-width: 520px){
    .yjev_fc_media{ flex-basis:38%; min-height:104px; }
    .yjev_fc_title{ font-size:15px; }
    .yjev_fc_body{ padding:10px 11px; }
}
