/* Beltchecker Events: the events list as cards (events.php, functions_ev.php evCardHtml), in the event website's
   look on the site's own --bc-* tokens, so it follows the light and dark theme. Phone first. Christian 25 Nov 2026. */
.evl .evl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 0 0 22px; }
.evl-card { display: flex; flex-direction: column; min-width: 0; border-radius: 18px; overflow: hidden; background: var(--bc-surface, #fff); border: 1px solid var(--bc-line, rgba(0, 0, 0, 0.08)); color: inherit !important; text-decoration: none !important; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.evl-card:hover { transform: translateY(-2px); border-color: var(--bc-line-strong, rgba(0, 0, 0, 0.18)); box-shadow: 0 0 28px rgba(0, 0, 0, 0.1); }
.evl-cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; background: #14141d center / cover no-repeat; }
.evl-card:not(:has(.evl-cover[style])) .evl-cover { background-image: radial-gradient(120% 90% at 15% 20%, #3b2a7a 0%, transparent 60%), radial-gradient(90% 80% at 90% 80%, #7a2a5d 0%, transparent 60%); background-color: #101018; }
.evl-card.is-camp:not(:has(.evl-cover[style])) .evl-cover { background-image: radial-gradient(120% 90% at 15% 20%, #1f5f4f 0%, transparent 60%), radial-gradient(90% 80% at 90% 80%, #2a4f7a 0%, transparent 60%); }
.evl-card.is-competition:not(:has(.evl-cover[style])) .evl-cover { background-image: radial-gradient(120% 90% at 15% 20%, #7a3a1f 0%, transparent 60%), radial-gradient(90% 80% at 90% 80%, #3b2a7a 0%, transparent 60%); }
.evl-logo { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; box-shadow: 0 0 24px rgba(0, 0, 0, 0.35); }
.evl-kind, .evl-badge { position: absolute; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.evl-kind { left: 10px; background: rgba(10, 10, 16, 0.62); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.evl-badge { right: 10px; background: #fff; color: #111; }
.evl-body { display: flex; flex-direction: column; gap: 4px; padding: 13px 15px 15px; min-width: 0; }
.evl-date { font-size: 12.5px; font-weight: 700; color: var(--bc-accent, #5b4bd1); letter-spacing: 0.01em; }
.evl-name { font-size: 16.5px; line-height: 1.3; font-weight: 750; letter-spacing: -0.01em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.evl-place { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--bc-muted, #666); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evl-place i { font-size: 11px; opacity: 0.7; }
.evl-friends { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; color: var(--bc-muted, #666); }
.evl-faces { display: inline-flex; }
.evl-faces i { width: 24px; height: 24px; margin-left: -7px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; background: var(--bc-glass, rgba(0, 0, 0, 0.06)); border: 2px solid var(--bc-surface, #fff); }
.evl-faces i:first-child { margin-left: 0; }
.evl-faces img { width: 100%; height: 100%; object-fit: cover; }
.evl-card.is-past { opacity: 0.8; }
@media (max-width: 560px) {
  .evl .evl-grid { grid-template-columns: 1fr; gap: 12px; }
  .evl-cover { aspect-ratio: 2 / 1; }
}

/* My events: the card with its state and an Edit button */
.evl-mine { display: flex; flex-direction: column; min-width: 0; border-radius: 18px; background: var(--bc-surface, #fff); border: 1px solid var(--bc-line, rgba(0, 0, 0, 0.08)); overflow: hidden; }
.evl-mine .evl-card { border: 0; border-radius: 0; flex: 1; }
.evl-mine .evl-card:hover { transform: none; box-shadow: none; }
.evl-mine-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 12px 15px; border-top: 1px solid var(--bc-line, rgba(0, 0, 0, 0.08)); }
.evl-state { font-style: normal; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 9px; border-radius: 99px; background: rgba(22, 163, 74, 0.12); color: #15803d; }
.evl-state.is-draft { background: var(--bc-surface-3, rgba(0, 0, 0, 0.06)); color: var(--bc-muted, #666); }
.evl-edit { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 11px; background: var(--bc-ink, #0b0b10); color: var(--bc-on-ink, #fff) !important; font-weight: 700; font-size: 13.5px; text-decoration: none !important; }
.evl-edit i { font-size: 11px; }
.bc-ev-month small { font-size: 12px; color: var(--bc-muted, #666); font-weight: 600; margin-left: 4px; }
.bc-ev-pill-n { font-size: 11.5px; opacity: 0.65; margin-left: 2px; }
/* Wider: more cards side by side on a big screen */
.evl .evl-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.evl-state.is-int { background: rgba(124, 58, 237, 0.14); color: #6d28d9; margin-left: -4px; margin-right: auto; }
html[data-theme="dark"] .evl-state.is-int { color: #c4b5fd; }
