.ju-event-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.ju-event-card{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff}
.ju-event-card img{display:block;width:100%;height:auto}
.ju-event-card-content{padding:20px}
.ju-event-card h3{margin:0 0 12px}
.ju-event-facts{list-style:none;margin:12px 0;padding:0}
.ju-event-facts li{margin:5px 0}
.ju-event-price{font-size:1.25em;font-weight:700}
.ju-event-button,.ju-event-form button{display:inline-block;background:#171717;color:#fff!important;border:0;border-radius:6px;padding:12px 22px;text-decoration:none;cursor:pointer}
.ju-event-button:hover,.ju-event-form button:hover{opacity:.88}
.ju-event-sold{display:inline-block;color:#a12626;font-weight:700}
.ju-event-form{max-width:620px;padding:22px;border:1px solid #e5e7eb;border-radius:10px}
.ju-event-form label{display:block;font-weight:600}
.ju-event-form label span{color:#b91c1c}
.ju-event-form input,.ju-event-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px;border:1px solid #cbd5e1;border-radius:5px}
.ju-event-form button{font:inherit}
.ju-event-form small{display:block;margin-top:12px;color:#64748b}
.ju-event-seats{font-weight:600}

.ju-event-vacancy{font-weight:600;color:#166534}
.ju-event-form-details{background:#f8fafc;border:1px solid #e2e8f0;border-radius:7px;padding:10px 14px;margin:12px 0 18px}
.ju-event-form-details p{margin:5px 0}

.ju-event-success{padding:13px 16px;margin:0 0 16px;border:1px solid #86efac;background:#f0fdf4;color:#166534;border-radius:7px;font-weight:600}

/* v1.3.0 responsive registration layout and shortcode-scoped floating CTA */
.ju-event-registration-wrap{position:relative;padding-bottom:76px}
.ju-event-form{max-width:100%;width:100%;box-sizing:border-box}
.ju-event-form-details{grid-column:1/-1}
.ju-event-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;row-gap:12px}
.ju-event-form>h3,.ju-event-form>.ju-event-form-details,.ju-event-form>input[type="hidden"],.ju-event-form>button,.ju-event-form>small{grid-column:1/-1}
.ju-event-form>p{margin:0;min-width:0}
.ju-event-form input,.ju-event-form textarea{min-width:0}
.ju-event-floating-cta{position:fixed;right:24px;bottom:24px;z-index:9999;display:inline-flex;align-items:center;justify-content:center;padding:14px 24px;border-radius:999px;background:#173f38;color:#fff!important;text-decoration:none!important;font-weight:700;box-shadow:0 8px 24px rgba(0,0,0,.2);transition:transform .2s,box-shadow .2s}
.ju-event-floating-cta:hover{color:#fff!important;transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.24)}
@media(max-width:767px){
 .ju-event-form{grid-template-columns:1fr;row-gap:14px;padding:18px}
 .ju-event-form>h3,.ju-event-form>.ju-event-form-details,.ju-event-form>input[type="hidden"],.ju-event-form>button,.ju-event-form>small{grid-column:1}
 .ju-event-form,.ju-event-form.ju-event-waitlist{padding:18px}
 .ju-event-form-details{padding:12px}
 .ju-event-floating-cta{left:14px;right:14px;bottom:12px;width:auto;padding:14px 18px;text-align:center}
 .ju-event-registration-wrap{padding-bottom:82px}
}

/* v1.4.0: viewport-level floating registration CTA */
body>.ju-event-floating-cta{
 position:fixed!important;right:28px!important;bottom:28px!important;left:auto!important;
 z-index:999999!important;width:auto!important;max-width:calc(100vw - 32px);
 box-sizing:border-box;padding:14px 26px!important;border-radius:999px;
}
@media(max-width:767px){
 body>.ju-event-floating-cta{
  left:16px!important;right:16px!important;bottom:calc(14px + env(safe-area-inset-bottom))!important;
  width:auto!important;max-width:none;padding:14px 18px!important;
  justify-content:center;text-align:center;
 }
}
