/* ---------- Events & Gallery public page ---------- */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 1.5rem;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 760px) {
  .event-card {
    grid-template-columns: 1fr;
  }
}

.event-card-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-photo {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-color: var(--field);
}
.event-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.event-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
}
.event-photo-grid .event-photo {
  aspect-ratio: 1 / 1;
}
.event-photo-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.event-card-body h2 {
  margin: 4px 0 6px;
}

.event-meta {
  font-size: 13.5px;
}

/* ---------- Homepage "latest event" spotlight ---------- */
.event-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
@media (max-width: 760px) {
  .event-spotlight {
    grid-template-columns: 1fr;
  }
}
.event-spotlight .event-photo {
  aspect-ratio: 16 / 9;
}

.event-photo-btn {
  border: 0;
  padding: 0;
  width: 100%;
  cursor: zoom-in;
  font: inherit;
}

.event-lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
}

.event-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.event-lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  margin: 6vh auto;
  object-fit: contain;
  border-radius: var(--radius);
}

.event-lightbox-close {
  position: fixed;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
