/* Cards and rows on the public lists: venues, a venue's events and articles, Find Happenings, Articles, Blogs, Browse by Category. */
.venue-card, .happening-card { transition: transform .15s ease, box-shadow .15s ease; border: none; overflow: hidden; }
.venue-card:hover, .happening-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.venue-card .card-img-top, .happening-card .card-img-top { height: 180px; object-fit: cover; object-position: center 20%; }
.list-compact .card-img-top { height: 150px; }
.happening-card .card-img-top.no-photo { object-position: center; }   /* a stand-in picture (the event type's, or "no image"): its art sits in the middle */
.card-actions { position: relative; z-index: 2; }
.venue-card .card-title, .happening-card .card-title { color: var(--text-color); }

.article-row, .blog-row { transition: transform .15s ease, box-shadow .15s ease; border: none; }
.article-row:hover, .blog-row:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.article-thumb { width: 96px; height: 72px; object-fit: cover; border-radius: .4rem; }
.blog-context a { text-decoration: none; }
@media (max-width: 575.98px) { .article-thumb { width: 72px; height: 54px; } }

/* Browse by Category: image with a gradient title over it */
.category-card { transition: transform .2s, box-shadow .2s; border: none; overflow: hidden; border-radius: .5rem; }
.category-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.category-card .card-img-top, .category-card .card-img-top-placeholder { height: 160px; width: 100%; object-fit: cover; transition: transform .4s ease; }
.category-card:hover .card-img-top { transform: scale(1.05); }
.category-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%; background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, 0) 100%); pointer-events: none; }
.category-title { position: absolute; bottom: 44px; left: 15px; right: 15px; color: #fff; font-weight: 800; font-size: 1.1rem; text-shadow: 0 2px 4px rgba(0, 0, 0, .9), 0 0 10px rgba(0, 0, 0, .6); z-index: 2; letter-spacing: .5px; margin: 0; pointer-events: none; /* decorative: clicks pass through to the stretched link beneath */ }
/* no position or z-index here: the stretched link's ::after must find .category-card as its nearest positioned ancestor to cover the whole card */
.category-count-link { display: inline-block; }

/* Search, Search by place and Discover results: a row with a thumbnail, a title, when and where */
.srch-card, .disc-card { border: none; transition: transform .15s ease, box-shadow .15s ease; }
.srch-card:hover, .disc-card:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.srch-thumb { width: 96px; height: 72px; object-fit: cover; border-radius: .4rem; flex-shrink: 0; display: block; }
.disc-thumb { width: 88px; height: 66px; object-fit: cover; border-radius: .4rem; flex-shrink: 0; display: block; }
.srch-thumb-empty, .disc-thumb-empty { background: rgba(255, 255, 255, .06); }
.srch-title, .disc-title { color: var(--lamp-gold, #ffd700); }
.srch-when, .disc-when { color: var(--heart-pink, #ff6b9d); }
.disc-day { color: var(--lamp-gold, #ffd700); border-bottom: 1px solid rgba(255, 255, 255, .15); padding-bottom: .25rem; }
.srch-chip, .disc-chip { white-space: nowrap; }
.srch-chiprow, .disc-chiprow { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
@media (max-width: 575.98px) { .srch-thumb { width: 72px; height: 56px; } .disc-thumb { width: 64px; height: 48px; } }