/* Event Manager Core - Frontend */
#emc-frontend{max-width:1100px;margin:24px auto;padding:0 16px;font-family:Inter,Arial,Helvetica,sans-serif;color:#fff}
.emc-topbar{display:flex;align-items:center;gap:12px;justify-content:flex-start;width:100%;margin:0 0 12px 0}
.emc-location button{background:transparent;border:0;color:#fff;font-weight:800;font-size:18px;cursor:pointer;padding:0}
.emc-search{margin-left:auto;display:flex;align-items:center;gap:8px;max-width:520px;width:100%}
.emc-search input{flex:1;padding:8px 0;border:none;border-bottom:1px solid #333;background:transparent;color:#f1f1f1;outline:none;font-size:18px}
#emcClear{display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:#bbb;border-radius:0;padding:0 6px;font-size:18px;line-height:1;cursor:pointer}

.emc-city-heading{margin-top:18px;color:#fff;font-weight:900;font-size:18px;display:flex;justify-content:space-between;align-items:center}
.emc-date{color:#fff;font-weight:800;font-size:14px;margin-top:10px}

.emc-event-card{display:flex;gap:12px;padding:12px;background:#1f1f1f;border-radius:6px 6px 0 0;margin:8px 0 0 0;align-items:flex-start;cursor:pointer}
.emc-event-left img{width:65px;height:65px;object-fit:cover;border-radius:4px}
.emc-title{font-weight:900;color:#fff;margin:0}
.emc-desc{color:#ccc;margin-top:6px;font-size:13px}

.emc-right{margin-left:auto;display:flex;align-items:center;gap:8px;align-self:center}
.emc-btn{background:#e50914;color:#fff;border:0;padding:8px 12px;border-radius:6px;cursor:pointer;font-size:13px;white-space:nowrap}

.emc-sponsored{box-shadow:0 0 18px rgba(229,9,20,0.45);animation:emcSponsoredPulse 1.8s ease-in-out infinite}
@keyframes emcSponsoredPulse{
  0%{box-shadow:0 0 6px rgba(229,9,20,0.25)}
  50%{box-shadow:0 0 20px rgba(229,9,20,0.7)}
  100%{box-shadow:0 0 6px rgba(229,9,20,0.25)}
}

.emc-expanded-row{
  display:none;
  margin:0 0 10px 0;
  padding:10px 12px 12px 12px;
  background:#1f1f1f;
  border:1px solid rgba(255,255,255,0.06);
  border-top:none;
  border-radius:0 0 6px 6px;
}
.emc-expanded-row .emc-btn{
  display:block;
  width:100%;
  text-align:center;
  margin:8px 0 0 0;
}

/* More button */
.emc-more{
  display:inline-block;
  margin:6px auto 10px;
  padding:6px 14px;
  border-radius:6px;
  border:1px solid rgba(255,255,255,0.08);
  background:#151515;
  color:#f5f5f5;
  cursor:pointer;
  font-size:13px;
}

/* Mobile tweaks */
@media (max-width: 640px){
  .emc-topbar{flex-direction:column;align-items:flex-start;}
  .emc-search{margin-left:0;max-width:100%;}
  .emc-event-card{flex-direction:row;}
  .emc-desc{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
}
