/* An event in the feed is one card (feed-event-card.php, 11 Nov): photo with the date tile and price, title, one line, When and Where rows,
   who is going and See event. Same tokens as the cards on /events/. Selectors carry li.activity-item so BuddyBoss's post styles (image
   radius and height, link colours, the long-link ellipsis) never reach inside the card. */
li.activity-item .lpe, .lpe { --lpe-ink: var(--ld-midnight, #0a0e24); --lpe-mut: #667089; --lpe-hair: #e4e7ef; --lpe-tint: #eef1f7; --lpe-acc: var(--ld-electric, #3d63ff); --lpe-yes: #0f6b46;
	display: block !important; max-width: none !important; white-space: normal !important; overflow: hidden !important; margin: 10px 0 0; border-radius: 18px; background: #fff;
	box-shadow: 0 0 0 1px var(--lpe-hair), 0 10px 26px -20px rgba(10,14,36,.4); color: var(--lpe-ink) !important; text-decoration: none !important; -webkit-tap-highlight-color: transparent;
	transition: box-shadow 180ms cubic-bezier(.2,0,0,1), transform 180ms cubic-bezier(.2,0,0,1); }
li.activity-item .lpe:hover { box-shadow: 0 0 0 1px #cfd6e6, 0 16px 32px -20px rgba(10,14,36,.45); }
li.activity-item .lpe:active { transform: scale(.99); }
li.activity-item .lpe:focus-visible { outline: 2px solid var(--lpe-acc); outline-offset: 2px; }
.lpe svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* the one picture */
.lpe-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--lpe-tint); }
.lpe-media.is-band { aspect-ratio: 16 / 7; }
li.activity-item .lpe-media .lev-media__img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; margin: 0 !important; border-radius: 0 !important; object-fit: cover; }
.lpe-media .lev-media__band { position: absolute; inset: 0; display: block; overflow: hidden; color: rgba(255,255,255,.92); background: radial-gradient(120% 90% at 0% 0%, #9fbcff 0%, #3d63ff 55%, #2741c9 100%); }
.lpe-media .lev-media__band--night { background: radial-gradient(120% 90% at 0% 0%, #1e2fa8 0%, #141a66 45%, #0a0e24 100%); }
.lpe-media .lev-media__band--gold { background: radial-gradient(120% 90% at 0% 0%, #f8e2a6 0%, #e9b949 60%, #d39a26 100%); color: #0a0e24; }
.lpe-media .lev-band__big { position: absolute; right: -6%; bottom: -30%; width: 46%; opacity: .16; line-height: 0; }
.lpe-media .lev-band__big svg { width: 100% !important; height: auto !important; stroke-width: 1.2; }
.lpe-media .lev-band__stamp, .lpe-media .lev-band__ic { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); line-height: 0; }
.lpe-media .lev-band__stamp img, .lpe-media .lev-band__stamp svg { width: 60px !important; height: 60px !important; }
.lpe-media .lev-band__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.16); }
.lpe-media .lev-band__ic svg { width: 28px !important; height: 28px !important; }
.lpe-media .lev-band__cat { display: none; }
.lpe-tile { position: absolute; top: 12px; left: 12px; display: grid; justify-items: center; min-width: 46px; padding: 6px 7px; border-radius: 11px; background: rgba(255,255,255,.96); box-shadow: 0 8px 20px -12px rgba(10,14,36,.5); color: var(--lpe-ink); }
.lpe-tile small { font: 700 10.5px/1.1 var(--ld-text, Inter, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: var(--lpe-acc); }
.lpe-tile b { margin-top: 1px; font: 800 22px/1 var(--ld-heading, "Inter Tight", sans-serif); letter-spacing: -.02em; }
.lpe-price { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; background: rgba(255,255,255,.96); color: var(--lpe-ink); font: 700 13px/1 var(--ld-text, Inter, sans-serif); box-shadow: 0 8px 20px -12px rgba(10,14,36,.5); }
.lpe-price.is-free { color: var(--lpe-yes); }

/* the words */
.lpe-body { display: grid; gap: 8px; padding: 14px 16px 14px; }
.lpe-st { display: flex; }
.lpe-title { font: 800 18px/1.25 var(--ld-heading, "Inter Tight", sans-serif); letter-spacing: -.015em; color: var(--lpe-ink); overflow-wrap: anywhere; }
.lpe-line { margin-top: -2px; font: 400 14.5px/1.45 var(--ld-text, Inter, sans-serif); color: var(--lpe-mut); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.lpe-rows { display: grid; gap: 6px; margin-top: 2px; }
.lpe-row { display: flex; align-items: flex-start; gap: 9px; min-width: 0; font: 600 14.5px/1.35 var(--ld-text, Inter, sans-serif); color: var(--lpe-ink); }
.lpe-row svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--lpe-acc); }
.lpe-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lpe-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--lpe-hair); }
.lpe-going { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font: 600 13.5px/1.2 var(--ld-text, Inter, sans-serif); color: var(--lpe-mut); }
.lpe-going.is-me { color: var(--lpe-yes); }
.lpe-going svg { width: 16px; height: 16px; }
.lpe-faces { display: inline-flex; }
.lpe-faces .lev-face { width: 24px; height: 24px; margin-left: -6px; border: 2px solid #fff; border-radius: 50%; font-size: 10px; }
.lpe-faces .lev-face:first-child { margin-left: 0; }
.lpe-go { display: inline-flex; flex: none; align-items: center; gap: 4px; height: 38px; padding: 0 14px 0 16px; border-radius: 999px; background: var(--lpe-ink); color: #fff; font: 700 14px/1 var(--ld-text, Inter, sans-serif); }
.lpe-go svg { width: 16px; height: 16px; stroke-width: 2.4; }
li.activity-item .lpe:hover .lpe-go { background: var(--lpe-acc); }
.lpe.is-past .lpe-media, .lpe.is-canceled .lpe-media { filter: grayscale(.6); opacity: .8; }

/* BuddyBoss's "posted a new event": its own photo and title block go, the card says it once; the Event pill goes too (the card is the event) */
li.activity-item.new_blog_tribe_events .activity-inner:has(.lpe) > .bb-post-img-link,
li.activity-item.new_blog_tribe_events .activity-inner:has(.lpe) > .bb-content-wrp,
li.activity-item.new_blog_tribe_events .activity-inner:has(.lpe) > .activity-inner-meta { display: none !important; } /* its View Event link, when the event has no photo */
li.activity-item .activity-inner:has(.lpe) .ld-kind--event, li.activity-item .ldcmp-x:has(.lpe) > .ld-kind--event { display: none; }
li.activity-item.new_blog_tribe_events .ldcmp-x:has(.lpe--auto) { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .lpe { transition: none; } }

/* Our feed wrapper is div#ldcp-feed.feed, and BuddyPress puts its RSS icon before every link in a div.feed (".buddypress-wrap div.feed a:before",
   meant for the feed's subscribe link): a stray feed icon sat before names, avatars and this card. Off for plain links and the card; the
   like, reply and menu icons (their own classes and rules) stay. */
.buddypress-wrap div#ldcp-feed.feed a:not([class])::before, .buddypress-wrap div#ldcp-feed.feed a.lpe::before { content: none !important; display: none !important; }
