
.jk-events-home,
.jk-live-list,
.jk-event-detail,
.jk-events-home *,
.jk-live-list *,
.jk-event-detail * {
  box-sizing: border-box;
}

.jk-events-grid,
.jk-live-dynamic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.jk-event-card,
.jk-live-card-dynamic {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(19,25,43,.98), rgba(13,18,32,.98));
  box-shadow: 0 24px 70px rgba(0,0,0,.3);
}

.jk-event-card-link {
  display: block;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.jk-event-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(124,58,237,.26), rgba(37,99,235,.19)), #10172a;
}

.jk-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.jk-event-image-placeholder {
  display: grid;
  place-items: center;
}

.jk-event-image-placeholder span {
  color: rgba(255,255,255,.8);
  font-weight: 900;
  letter-spacing: .16em;
}

.jk-event-card-body,
.jk-live-card-content {
  padding: 24px;
}

.jk-event-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.jk-event-type {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(167,139,250,.25);
  border-radius: 999px;
  color: #d8c9ff;
  background: rgba(124,58,237,.11);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.jk-event-type.is-live {
  color: #ffd7df;
  border-color: rgba(255,65,108,.3);
  background: rgba(255,65,108,.11);
}

.jk-event-date {
  color: #aeb7c8;
  font-size: .84rem;
  font-weight: 700;
}

.jk-event-card h3,
.jk-live-card-dynamic h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.2;
}

.jk-event-subtitle {
  margin: 0 0 14px;
  color: #c4b5fd;
  font-weight: 700;
}

.jk-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 15px;
  margin-bottom: 15px;
  color: #9ca6b8;
  font-size: .9rem;
}

.jk-event-summary {
  margin: 0 0 18px;
  color: #b8c0d0;
  line-height: 1.65;
}

.jk-event-more,
.jk-event-detail-link {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.jk-live-dynamic-heading {
  margin-bottom: 28px;
}

.jk-live-dynamic-heading > span {
  color: #a78bfa;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.jk-live-dynamic-heading h2 {
  margin: 7px 0 0;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
}

.jk-live-status-dynamic {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #8df0c2;
  background: rgba(56,217,150,.09);
  font-size: .75rem;
  font-weight: 800;
}

.jk-live-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.jk-live-platforms a {
  display: inline-flex;
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(90deg, #7c3aed, #2563eb);
  text-decoration: none !important;
  font-weight: 800;
}

.jk-events-empty,
.jk-events-error {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  color: #b8c0d0;
  background: rgba(255,255,255,.035);
}

.jk-events-error {
  color: #ff9aa8;
}

.jk-event-detail-page {
  max-width: 1180px;
  margin: 0 auto;
  color: #fff;
}

.jk-event-back {
  display: inline-block;
  margin-bottom: 24px;
  color: #b8c0d0 !important;
  text-decoration: none !important;
}

.jk-event-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 35px;
}

.jk-event-detail-copy h1 {
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.jk-event-detail-subtitle {
  color: #c4b5fd;
  font-size: 1.15rem;
  font-weight: 700;
}

.jk-event-detail-meta {
  display: grid;
  gap: 9px;
  margin-top: 25px;
  color: #b8c0d0;
}

.jk-event-detail-hero .jk-event-image {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
}

.jk-event-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 35px 0;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
}

.jk-event-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.jk-event-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
}

.jk-event-detail-main,
.jk-event-detail-side {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(19,25,43,.98), rgba(13,18,32,.98));
}

.jk-event-detail-lead {
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.7;
}

.jk-event-description {
  color: #b8c0d0;
  line-height: 1.75;
}

.jk-event-detail-side {
  display: grid;
  align-content: start;
  gap: 20px;
}

.jk-event-detail-side small {
  display: block;
  margin-bottom: 5px;
  color: #858da0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.jk-event-detail-side strong {
  color: #fff;
}

@media (max-width: 900px) {
  .jk-events-grid,
  .jk-live-dynamic-grid {
    grid-template-columns: 1fr 1fr;
  }

  .jk-event-detail-hero,
  .jk-event-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .jk-events-grid,
  .jk-live-dynamic-grid {
    grid-template-columns: 1fr;
  }
}




.jk-header-live-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  margin-left: 14px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 71, 103, .45);
  border-radius: 999px;
  color: #fff !important;
  background: rgba(255, 43, 82, .14);
  box-shadow: 0 8px 24px rgba(255, 43, 82, .18);
  text-decoration: none !important;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease;
}

.jk-header-live-button:hover {
  transform: translateY(-1px);
  background: rgba(255, 43, 82, .22);
}

.jk-header-live-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #ff315f;
  box-shadow: 0 0 0 0 rgba(255, 49, 95, .65);
  animation: jk-live-pulse 1.6s infinite;
}

@keyframes jk-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 49, 95, .65);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(255, 49, 95, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 49, 95, 0);
  }
}

@media (max-width: 700px) {
  .jk-header-live-button {
    margin-left: 8px;
    padding: 8px 11px;
    font-size: .75rem;
  }
}


/* Detailseite: Bild vollständig und proportional anzeigen */
.jk-event-detail-hero .jk-event-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  padding: 18px;
  overflow: hidden;
  background: #ffffff;
}

.jk-event-detail-hero .jk-event-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 460px;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Platzhalter weiterhin dunkel halten */
.jk-event-detail-hero .jk-event-image.jk-event-image-placeholder {
  background: linear-gradient(135deg, rgba(124,58,237,.26), rgba(37,99,235,.19)), #10172a;
}

@media (max-width: 900px) {
  .jk-event-detail-hero .jk-event-image {
    min-height: 220px;
  }
}


/* Startseite: Vorschaubilder vollständig und proportional anzeigen */
.jk-events-home .jk-event-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  padding: 14px;
  overflow: hidden;
  background: #ffffff;
}

.jk-events-home .jk-event-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Platzhalter auf der Startseite weiterhin im dunklen Design */
.jk-events-home .jk-event-image.jk-event-image-placeholder {
  background: linear-gradient(135deg, rgba(124,58,237,.26), rgba(37,99,235,.19)), #10172a;
}
