/* Homepage activities: image cards, ahead of newsroom stories. */
.home-events-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 24px; align-items: stretch; }
.home-event-card { min-width: 0; overflow: hidden; border: 1px solid rgba(29,29,31,.06); border-radius: 28px; background: #fff; box-shadow: 0 12px 38px rgba(32,23,39,.05); transition: transform .2s ease,box-shadow .2s ease; }
.home-event-card > a { display: grid; grid-template-columns: minmax(0,.38fr) minmax(0,.62fr); height: 100%; min-height: 280px; color: inherit; }
.home-event-media { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #f0ebf5; }
.home-event-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-event-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #6f2c91; font-size: 26px; font-weight: 700; }
.home-event-placeholder > span { font-size: 14px; color: #655b6b; }
.home-event-body { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 24px; }
.home-event-body h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 14px 0; font-size: 20px; line-height: 1.5; overflow-wrap: anywhere; }
.home-event-body p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0 0 22px; color: #69616f; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.home-event-body .read-link { margin-top: auto; }
.home-event-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(32,23,39,.09); }
.home-event-card > a:focus-visible { outline: 3px solid #6f2c91; outline-offset: -4px; }
.home-event-card > a:active { background: #f8f5fa; }
.home-events-empty { padding: 28px; border-radius: 24px; background: #fff; color: #655b6b; }
@media (max-width: 980px) {
  .home-events-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
}
@media (max-width: 640px) {
  .home-events-grid { grid-template-columns: 1fr; }
  .home-events .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .home-events .section-heading h2 { font-size: 32px; }
  .home-event-body { padding: 22px; }
  .home-event-card > a { grid-template-columns: 1fr; min-height: 0; }
  .home-event-media { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .home-event-card { transition: none; } .home-event-card:hover { transform: none; } }
