/* The learner's content cards (course, event, job, listing, story) and their small parts; the primitives every audience shares (section header, card,
   buttons, status pill, list item, empty state ...) live in 04-prototype/shared/components.css since 2026-10-11. Tokens only. */
.chip2 { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: calc(12px * var(--font-scale)); font-weight: 600; background: color-mix(in srgb, var(--cat-deep-orange) 14%, transparent); }
.chip2 .mi { font-size: 20px; color: var(--cat-deep-orange-text); }
.price { display: inline-flex; align-items: center; align-self: center; padding: 4px 12px; border-radius: 999px; line-height: 1.4; font-size: calc(12px * var(--font-scale)); font-weight: 700; background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success-text); }
.price.paid { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary-text); }
/* the tag (.badge2) is in shared/coursecard.css with the course card (2026-10-19) */
.going { display: flex; align-items: center; gap: 8px; font-size: calc(12px * var(--font-scale)); color: var(--text-secondary); }
.going .stack .pb-avatar { width: 24px; height: 24px; margin-inline-start: -6px; }

/* ---------- the course card (.sug, .thumb, .sug-*) is shared/coursecard.css since 2026-10-19; the event, job, listing and news cards of Today and Adda follow ---------- */
.ev { width: 292px; padding: 0; overflow: hidden; display: flex; }
.ev .date { width: 84px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 40%, var(--surface)), color-mix(in srgb, var(--accent) 14%, var(--surface))); }
.ev .date b { font-size: calc(28px * var(--font-scale)); line-height: 1.1; font-weight: 800; }
.ev .date span { font-size: calc(12px * var(--font-scale)); font-weight: 700; letter-spacing: .04em; color: var(--accent-text, var(--accent)); }
.ev .body { padding: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1; }
.ev .body b { font-size: calc(14px * var(--font-scale)); line-height: 1.4; }
.ev.wide { width: 100%; }
.job { width: min(300px, calc(100vw - 48px)); display: flex; flex-direction: column; gap: 12px; }   /* 300 dp, or the phone width less the gutters and a 16 dp peek of the next card (48 since 2026-10-27, later: at 72 the three tags wrapped on a 360 dp phone and stretched the neighbour) (2026-10-27: at 264 a two-line title and wrapped tags on one card stretched its neighbours half empty); the row's cards keep one height */
.job .co { display: flex; align-items: center; gap: 12px; }
.job .logo { width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: calc(18px * var(--font-scale)); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 40%, var(--surface)), color-mix(in srgb, var(--accent) 16%, var(--surface))); }
.job b { font-size: calc(16px * var(--font-scale)); line-height: 1.35; display: block; }
.job .row2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.job.wide { width: 100%; }
.job .co b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: calc(2 * 1.35 * 16px * var(--font-scale)); }   /* the role always owns two lines, used or not, so every card in a row has one shape: the cards stretch to one height and none is half empty (2026-10-27, the owner: a ragged row is the worst UX; before it, "most of the cards are half empty") */
.job .row2 .pu-jacts { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }   /* save toggle + the action, together at the end of the footer (not .acts, the sheet list of feed.css) */
.listing { width: 200px; padding: 0; overflow: hidden; position: relative; }
.listing .pic { height: 124px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 38%, var(--surface)), color-mix(in srgb, var(--accent2) 24%, var(--surface))); }
.listing .pic .mi { font-size: 48px; color: var(--accent); }
.listing .fav { position: absolute; top: 8px; inset-inline-end: 8px; width: 40px; height: 40px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 75%, transparent); display: flex; align-items: center; justify-content: center; }
.listing .fav .mi { font-size: 20px; }
.listing .body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; } .listing b { font-size: calc(14px * var(--font-scale)); }
.listing.wide { width: auto; }
.pr { font-weight: 800; font-size: calc(16px * var(--font-scale)); } .pr.free { color: var(--success-text); }
.story { display: flex; gap: 16px; align-items: center; padding: 12px; }
.story + .story { margin-top: 12px; }
.story .th2 { width: 80px; height: 80px; border-radius: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 36%, var(--surface)), color-mix(in srgb, var(--accent) 12%, var(--surface))); }
.story .th2 .mi { color: var(--accent); font-size: 32px; }
.story b { font-size: calc(14px * var(--font-scale)); line-height: 1.45; display: block; }
.stories { display: grid; gap: 0 16px; }
@media (min-width: 1024px) { .stories { grid-template-columns: 1fr 1fr; } .stories .story + .story { margin-top: 0; } .stories .story { margin-bottom: 12px; } }
