.jsk-event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.jsk-event-card {
  min-width: 0;
  overflow: hidden;
  background: var(--card, #fff);
  border: 1px solid var(--line, #dfe4dc);
  border-radius: var(--r-lg, 22px);
  box-shadow: 0 18px 54px rgba(34, 43, 35, .08);
  text-align: left;
}

.ev-tint .jsk-event-card { border-color: transparent; }

.jsk-event-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9eee8;
}

.jsk-event-card__media picture,
.jsk-event-card__media img {
  display: block;
  width: 100%;
  height: 100%;
}

.jsk-event-card__media img { object-fit: cover; }

.jsk-event-card__fallback {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 28px;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, .24), transparent 24%),
    linear-gradient(135deg, #283225 0%, #4b3f9f 54%, #765ee8 100%);
}

.jsk-event-card__fallback span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jsk-event-card__fallback strong {
  margin-top: 4px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: .96;
  letter-spacing: -.04em;
}

.jsk-event-card__status {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #2a235e;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 22px rgba(32, 29, 50, .12);
  font-size: 12px;
  font-weight: 750;
}

.jsk-event-card--ongoing .jsk-event-card__status {
  color: #11643a;
  background: #e5f7eb;
}

.jsk-event-card__body { padding: 26px 28px 28px; }

.jsk-event-card__date,
.jsk-event-card__time,
.jsk-event-card__place,
.jsk-event-card__description,
.jsk-event-card__speaker {
  margin: 0;
}

.jsk-event-card__date {
  color: var(--indigo-bright, #5f4bc7);
  font-size: 14px;
  font-weight: 750;
}

.jsk-event-card__time {
  margin-top: 3px;
  color: var(--ink, #253025);
  font-size: 14px;
  font-weight: 650;
}

.jsk-event-card__place {
  margin-top: 10px;
  color: var(--muted, #647066);
  font-size: 13px;
}

.jsk-event-card__place span {
  color: var(--ink, #253025);
  font-weight: 700;
}

.jsk-event-card h3 {
  margin: 17px 0 0;
  color: var(--ink, #253025);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.jsk-event-card__description {
  margin-top: 12px;
  color: var(--muted, #647066);
  font-size: 15.5px;
  line-height: 1.65;
}

.jsk-event-card__speaker {
  margin-top: 14px;
  color: var(--ink, #253025);
  font-size: 13px;
  font-weight: 650;
}

.jsk-event-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 11px 17px;
  border-radius: 999px;
  color: #fff;
  background: var(--indigo, #4b3f9f);
  font-size: 14px;
  font-weight: 750;
  transition: transform .2s ease, background .2s ease;
}

.jsk-event-card__cta:hover {
  color: #fff;
  background: var(--indigo-bright, #5f4bc7);
  transform: translateY(-1px);
}

.jsk-event-preview {
  position: relative;
  z-index: 60;
  display: flex;
  min-height: 48px;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: #2f285d;
  font-size: 13px;
}

.jsk-event-preview + .header { top: 68px; }

@media (max-width: 760px) {
  .jsk-event-grid { grid-template-columns: 1fr; }
  .jsk-event-card__body { padding: 22px; }
  .jsk-event-preview { align-items: flex-start; flex-direction: column; gap: 2px; }
  .jsk-event-preview + .header { top: 86px; }
}

@media (max-width: 420px) {
  .jsk-event-card__fallback { padding: 22px; }
  .jsk-event-card__body { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .jsk-event-card__cta { transition: none; }
}
