.sj-events{max-width:1200px;padding-top:48px}.sj-events>p{max-width:780px}.sj-feature-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:34px 0 42px}.sj-feature-cards article{background:#fff;border:1px solid #f0cbdc;border-top:5px solid #79a74d;border-radius:18px;padding:24px;box-shadow:0 12px 30px #4c213011}.sj-feature-cards article>span{font-size:30px}.sj-feature-cards h2{font-family:Georgia,serif;color:#c53b78;font-size:25px;margin:14px 0 8px}.sj-feature-cards p{line-height:1.6;min-height:90px}.sj-feature-cards strong{color:#496c2c;font-size:14px}.sj-calendar{background:#fff;border:2px solid #e9bdd0;border-radius:24px;overflow:hidden;box-shadow:0 16px 50px #46233012}.sj-cal-head{background:#fff4f9;padding:24px 28px;display:flex;justify-content:space-between;align-items:center;gap:15px}.sj-cal-head h2{font-family:Georgia,serif;color:#c43c79;font-size:32px;margin:6px 0}.sj-cal-nav{display:flex;gap:10px}.sj-cal-nav button{border:1px solid #d7a9bd;background:white;border-radius:50%;width:44px;height:44px;font-size:30px;cursor:pointer;color:#9f3267}.sj-cal-nav button:disabled{opacity:.3}.sj-cal-legend{display:flex;gap:20px;flex-wrap:wrap;padding:14px 24px;color:#4d4d4d;font-size:13px;font-weight:700}.sj-cal-legend span:nth-child(1){color:#487d3a}.sj-cal-legend span:nth-child(2){color:#c43c79}.sj-cal-legend span:nth-child(3){color:#aa772c}.sj-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:12px}.sj-weekday{text-align:center;font-size:12px;font-weight:800;color:#695d61;padding:12px 0}.sj-day,.sj-empty{min-height:84px;border:1px solid #f0e6e9;border-radius:9px;padding:8px;background:#fafafa;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:4px;overflow:hidden}.sj-day b{font-size:15px}.sj-day:disabled{opacity:.5}.sj-day.has-events{background:#fff;cursor:pointer}.sj-day.has-events:hover,.sj-day.selected{outline:2px solid #cf3f7d;background:#fff4f9}.sj-day-tag{font-size:10px;font-weight:800;border-radius:5px;padding:3px 5px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sj-day-tag.sj-open{background:#e8f4df;color:#376b30}.sj-day-tag.sj-lesson{background:#fce0ed;color:#9c205c}.sj-day-tag.sj-special{background:#f8eacb;color:#7e531d}.sj-day-events{padding:20px 28px 28px;border-top:1px solid #f2dce6}.sj-day-events h3{font-family:Georgia,serif;color:#a62e69;font-size:24px}.sj-event-item{border-left:5px solid #76a04c;padding:14px 18px;margin:12px 0;background:#fdfbfc;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:18px}.sj-event-item.sj-lesson{border-color:#ce4a88}.sj-event-item.sj-special{border-color:#bd8d40}.sj-event-item h4{margin:0 0 6px;font-size:18px}.sj-event-item p{margin:5px 0;font-size:14px;line-height:1.5}.sj-event-item button{border:0;background:#c83b7b;color:white;border-radius:25px;padding:12px 20px;font-weight:800;cursor:pointer;white-space:nowrap}.sj-checkout{padding-top:45px;scroll-margin-top:100px}.sj-checkout[hidden]{display:none}.sj-checkout-head h2{font-family:Georgia,serif;color:#c83b7b;font-size:32px}.sj-checkout-head p{line-height:1.6}.sj-checkout-head button{border:0;background:none;color:#537d3c;text-decoration:underline;font-weight:700;cursor:pointer;margin-bottom:20px}.sj-checkout input[readonly]{background:#f6f2f4}.sj-checkout .tsj-booking{margin-top:10px}@media(max-width:800px){.sj-feature-cards{grid-template-columns:1fr}.sj-feature-cards p{min-height:0}.sj-cal-head{padding:20px 14px}.sj-cal-head h2{font-size:24px}.sj-cal-grid{gap:2px;padding:5px}.sj-day,.sj-empty{min-height:64px;padding:4px}.sj-day-tag{font-size:8px;padding:2px}.sj-cal-legend{padding:10px;gap:10px}.sj-event-item{flex-direction:column;align-items:stretch}.sj-day-events{padding:15px}}

/* 3.4.4: consistent horizontal cards and closure indicators */
@media(min-width:801px){.sj-feature-cards{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.sj-feature-cards article{display:flex;flex-direction:column;min-width:0}.sj-feature-cards article strong{margin-top:auto}}
.sj-day.has-closure{background:#f5ebee;border-color:#c89caa;cursor:pointer}.sj-day-tag.sj-closed{background:#272027;color:#f4a2c7}.sj-closure-note{border-left:4px solid #c53b78;padding:8px 12px;background:#fff2f7;font-weight:700;color:#69314b}

/* 3.4.8 STAGING — Events page only. No checkout, seat, or payment changes. */
/* Override the narrow Twenty Twenty-Five content-width wrapper only where our Events calendar is present. */
body:has(.sj-events) .wp-block-post-content:has(.sj-events),
body:has(.sj-events) .entry-content:has(.sj-events),
body:has(.sj-events) .wp-block-group.is-layout-constrained:has(> .sj-events),
body:has(.sj-events) .wp-block-group.is-layout-constrained:has(.sj-events) {
  max-width:none;
}
body:has(.sj-events) .wp-block-post-content > .sj-events,
body:has(.sj-events) .entry-content > .sj-events,
body:has(.sj-events) .is-layout-constrained > .sj-events,
body:has(.sj-events) .sj-events.tsj-main {
  width:min(1100px, calc(100% - 40px)) !important;
  max-width:1100px !important;
  margin-inline:auto !important;
  padding:32px 0 48px !important;
  box-sizing:border-box;
}
body:has(.sj-events) .sj-events > h1 {
  font-size:clamp(32px,3.8vw,49px) !important;
  line-height:1.12 !important;
  max-width:900px;
  margin:12px 0 14px;
}
body:has(.sj-events) .sj-events > p {font-size:17px;line-height:1.5;max-width:850px;}
body:has(.sj-events) .sj-feature-cards {grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 28px;}
body:has(.sj-events) .sj-feature-cards article {min-width:0;padding:22px;display:flex;flex-direction:column;}
body:has(.sj-events) .sj-feature-cards h2 {font-size:23px;line-height:1.2;margin:10px 0 6px;}
body:has(.sj-events) .sj-feature-cards p {font-size:16px;line-height:1.45;min-height:0;margin:8px 0 18px;}
body:has(.sj-events) .sj-feature-cards strong {margin-top:auto;}
body:has(.sj-events) .sj-calendar {width:100%;}
@media(max-width:800px){
 body:has(.sj-events) .sj-feature-cards{grid-template-columns:1fr;}
 body:has(.sj-events) .sj-events.tsj-main{width:calc(100% - 28px) !important;padding:24px 0 36px !important;}
 body:has(.sj-events) .sj-feature-cards article{padding:18px;}
}
