/* Judo @ Miersch – club components, styled like the former Clubee site. */
.jam-empty { font-style: italic; }

/* Schedule – Clubee text style (default) */
.jam-schedule-text p { margin: 0 0 18px; line-height: 1.35; }

/* Schedule – card style ([jam_schedule style="cards"]) */
.jam-schedule { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); margin: 16px 0; }
.jam-schedule__day { border: 1px solid rgba(255,255,255,.3); border-radius: 8px; overflow: hidden; }
.jam-schedule__dayname { margin: 0; padding: 8px 14px; background: rgba(0,0,0,.15); font-size: 18px; }
.jam-schedule__list { list-style: none; margin: 0; padding: 0; }
.jam-session { display: grid; grid-template-columns: max-content 1fr; gap: 12px; padding: 10px 14px; border-top: 1px solid rgba(255,255,255,.2); }
.jam-session__time { font-weight: 700; font-style: italic; }
.jam-session__meta, .jam-session__desc { display: block; font-size: 14px; opacity: .85; }

/* Calendar ([jam_events style="calendar"]) */
.jam-cal__nav { display: flex; align-items: center; justify-content: center; gap: 32px; margin: 8px 0 16px; }
.jam-cal__nav a { color: #fff; text-decoration: none; font-size: 24px; line-height: 1; padding: 4px 8px; }
.jam-cal__month { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 28px; }
.jam-cal__empty { font-size: 18px; margin: 0 0 16px; }
.jam-cal__timeline { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 136px; padding: 0; }
.jam-cal__timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.12); }
.jam-cal__timeline--empty > div { height: 196px; border-radius: 4px; background: rgba(255,255,255,.07); }
.jam-cal__timeline--empty::after { content: ""; position: absolute; left: calc(50% - 5px); top: 50%; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.12); }
.jam-cal__event { display: flex; flex-direction: column; gap: 6px; min-height: 120px; padding: 16px; border-radius: 4px; background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.jam-cal__event:nth-child(even) { margin-top: 64px; }
.jam-cal__date { font-size: 14px; font-weight: 700; }
.jam-cal__title { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; }
.jam-cal__meta { font-size: 14px; }
@media (max-width: 700px) {
	.jam-cal__timeline { grid-template-columns: 1fr; gap: 12px; }
	.jam-cal__timeline::before, .jam-cal__timeline--empty::after { display: none; }
	.jam-cal__event:nth-child(even) { margin-top: 0; }
}

/* Event list / single event */
.jam-events { display: grid; gap: 12px; margin: 16px 0; }
.jam-event { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 8px; background: rgba(255,255,255,.07); }
.jam-event__date { flex: 0 0 64px; text-align: center; line-height: 1; padding: 8px 0; border-radius: 4px; background: #1e4591; font-family: "Space Grotesk", sans-serif; }
.jam-event__day { display: block; font-size: 24px; font-weight: 700; }
.jam-event__month, .jam-event__year { display: block; font-size: 12px; text-transform: uppercase; margin-top: 2px; }
.jam-event__title { margin: 0; font-size: 18px; line-height: 1.3; }
.jam-event__title a { color: #fff; text-decoration: none; }
.jam-event__meta { margin: 4px 0 0; font-size: 14px; }
.jam-event-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0 0 24px; }
.jam-event-meta dt { font-size: 12px; text-transform: uppercase; opacity: .8; }
.jam-event-meta dd { margin: 0; font-weight: 700; }

/* Sponsors – white strip under the home page */
.jam-sponsors { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 24px; }
.jam-sponsors li { flex: 0 0 auto; }
.jam-sponsors a, .jam-sponsors li > span { display: flex; align-items: center; justify-content: center; height: 96px; }
.jam-sponsors img { max-height: 72px; width: auto; max-width: 200px; object-fit: contain; }
.jam-sponsors__name { color: #1e4591; font-weight: 700; }

/* Sponsors – cards on the "Sponsoren" page */
.jam-sponsor-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.jam-sponsor-card { display: flex; flex-direction: column; width: 224px; border-radius: 8px; overflow: hidden; text-decoration: none; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.jam-sponsor-card__logo { display: flex; align-items: center; justify-content: center; height: 138px; padding: 8px; background: #fff; }
.jam-sponsor-card__logo img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.jam-sponsor-card__name { min-height: 82px; padding: 12px; background: #1e4591; color: #fff; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 14px; line-height: 22px; }

/* Link block ("Liens", "Instagram", "Facebook") */
.jam-link { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.jam-link--center { align-items: center; text-align: center; }
.jam-link .cb-icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.2); }
.jam-link .cb-icon svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; }
.jam-link__title { margin: 4px 0 8px; font-size: 36px; line-height: 1.2; }
.jam-link__btn { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 4px; border: 1px solid rgba(255,255,255,.6); background: #1e4591; color: #fff; text-decoration: none; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 14px; }
.has-cb-blue-background-color .jam-link__btn, .jam-link--red .jam-link__btn { background: #c0392b; }

/* Club info + map */
.jam-club-info { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.jam-club-info h3 { margin-top: 0; }
.jam-club-info p { margin: 4px 0; }
.jam-map iframe { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: 8px; display: block; }
.jam-map a { color: #fff; font-size: 14px; }

/* Contact form */
.jam-form { display: grid; gap: 4px; max-width: 720px; }
.jam-form p { margin: 0 0 12px; }
.jam-form__row { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.jam-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.jam-form input[type=text], .jam-form input[type=email], .jam-form input[type=tel], .jam-form select, .jam-form textarea { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 8px; background: #fff; color: #222; }
.jam-form__consent label { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; }
.jam-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.jam-notice { padding: 10px 14px; border-radius: 8px; font-weight: 700; background: #fff; }
.jam-notice--success { color: #145c2c; }
.jam-notice--error { color: #8a1424; }
.jam-button, .jam-form button { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid #fff; border-radius: 8px; background: transparent; color: #fff; font: 700 14px "Space Grotesk", sans-serif; cursor: pointer; text-decoration: none; }
