/* Production RC3: never place captions directly on event photos. */
#homeLatestEvents{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));align-items:stretch}
#homeLatestEvents .event-card{display:flex;flex-direction:column;position:static!important;background:#171815!important;color:#f4f0e6;overflow:hidden;min-width:0}
#homeLatestEvents .event-card .event-image{position:relative!important;inset:auto!important;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden;background:#24241e}
#homeLatestEvents .event-card .event-image img,#homeLatestEvents .event-card .event-image video{width:100%;height:100%;max-height:none;object-fit:cover;display:block}
#homeLatestEvents .event-card .event-body{position:relative!important;inset:auto!important;transform:none!important;background:#171815!important;display:flex;flex-direction:column;gap:6px;padding:18px!important;height:auto!important;min-height:0;color:#f4f0e6!important;text-shadow:none!important}
#homeLatestEvents .event-body>*{position:static!important;margin:0!important;opacity:1!important;visibility:visible!important;color:inherit}
#homeLatestEvents .event-body h3{font-size:1.25rem;line-height:1.35;color:#fff0bc!important}
#homeLatestEvents .event-body .eyebrow{font-size:.72rem;color:#f7d965!important}
#homeLatestEvents .event-body .event-description{font-size:.94rem;line-height:1.55;color:#f0ece0!important;overflow-wrap:anywhere}
#homeLatestEvents .event-body .muted{color:#c7c1b1!important}
#homeLatestEvents .event-body .event-attendance{padding:8px 0;border-top:1px solid #3b392e}
#homeLatestEvents .event-body .event-joining-count{color:#f7d965!important}
#homeLatestEvents .event-body .home-preview-link{display:block;color:#161611!important;background:#ffdb41;padding:12px 14px;border-radius:9px;text-align:center;text-decoration:none;font-weight:800;margin-top:8px!important}
#homeLatestEvents .event-card:hover .event-image img{transform:none!important}
.event-detail-view{max-width:850px;margin:12px auto 26px}
.event-detail-view>.home-preview-link{display:inline-block;margin-bottom:15px}
.event-detail-view .event-card{display:block;background:#171815}
.event-detail-view .event-image{height:auto;aspect-ratio:16/9}
.event-detail-view .event-image img{width:100%;height:100%;object-fit:cover}
.event-detail-view .event-body{padding:22px}
.event-detail-view .event-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
.event-detail-heading{color:#fff0bc;font:700 26px Georgia,serif;margin:8px 0 15px}
.event-detail-view .event-vote-actions{max-width:540px}
@media(max-width:650px){#homeLatestEvents{grid-template-columns:1fr}.event-detail-view .event-body{padding:16px}}
