
.qbe-card{max-width:900px;margin:25px auto;padding:24px;border:1px solid #ddd;border-radius:14px;background:#fff;box-sizing:border-box}
.qbe-card label{display:block;font-weight:600;margin:12px 0 5px}.qbe-card input,.qbe-card textarea,.qbe-card select{width:100%;padding:10px;border:1px solid #ccc;border-radius:8px;box-sizing:border-box}.qbe-card input[type=checkbox]{width:auto}
.qbe-btn{display:inline-flex;align-items:center;justify-content:center;background:#0b6b3a;color:#fff!important;padding:11px 18px;border:0;border-radius:8px;text-decoration:none;cursor:pointer;margin:8px 5px 8px 0;font-weight:700}.qbe-btn:hover{opacity:.92}
.qbe-btn-light{background:#f3f5f4;color:#123!important;border:1px solid #d7dfda}.qbe-btn-full{width:100%;margin:6px 0}.qbe-eyebrow{font-size:12px;font-weight:800;letter-spacing:.12em;color:#0b6b3a}.qbe-help{font-size:13px;color:#666}
.qbe-archive-page,.qbe-event-page{max-width:1200px;margin:0 auto;padding:30px 20px;box-sizing:border-box}.qbe-events-wrap{width:100%}
.qbe-events-head{display:flex;gap:30px;align-items:flex-end;justify-content:space-between;margin-bottom:28px}.qbe-events-head h1{margin:5px 0 8px;font-size:clamp(32px,5vw,52px);line-height:1.05}.qbe-events-head p{margin:0;color:#666}
.qbe-event-filter{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:min(100%,520px);justify-content:flex-end}.qbe-event-filter input,.qbe-event-filter select{height:44px;padding:0 12px;border:1px solid #d8dedb;border-radius:9px;background:#fff}.qbe-event-filter input{min-width:210px}
.qbe-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.qbe-event-grid-small{grid-template-columns:repeat(4,minmax(0,1fr))}
.qbe-event-card{overflow:hidden;border:1px solid #e1e6e3;border-radius:16px;background:#fff;box-shadow:0 3px 15px rgba(0,0,0,.05)}.qbe-event-card-media{display:block;position:relative;aspect-ratio:16/9;background:#edf1ee;overflow:hidden}.qbe-event-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.qbe-event-card:hover .qbe-event-card-media img{transform:scale(1.025)}
.qbe-event-badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#e9f5ee;color:#0b6b3a;font-size:12px;font-weight:800}.qbe-event-card-media .qbe-event-badge{position:absolute;left:12px;bottom:12px}.qbe-event-placeholder{height:100%;display:flex;align-items:center;justify-content:center;font-weight:800;color:#0b6b3a}
.qbe-event-card-body{padding:17px}.qbe-event-card-body h2,.qbe-event-card-body h3{margin:0 0 10px;font-size:19px;line-height:1.25}.qbe-event-card-body h2 a,.qbe-event-card-body h3 a{color:inherit;text-decoration:none}.qbe-event-card-body p{margin:10px 0;color:#666;line-height:1.55}.qbe-event-card-meta{display:flex;gap:7px;flex-wrap:wrap;color:#626a65;font-size:13px}.qbe-event-card-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px}.qbe-text-link{font-weight:800;color:#0b6b3a;text-decoration:none}
.qbe-pagination{margin:30px 0}.qbe-pagination ul{display:flex;gap:7px;justify-content:center;list-style:none;margin:0;padding:0}.qbe-pagination a,.qbe-pagination span{display:inline-flex;padding:8px 12px;border:1px solid #ddd;border-radius:8px;text-decoration:none}
.qbe-empty{padding:55px 25px;text-align:center;border:1px dashed #ccd5cf;border-radius:16px;background:#fafcfb}.qbe-preview-notice{margin-bottom:18px;padding:13px 16px;border-radius:10px;background:#fff7d6;border:1px solid #eadb8b}
.qbe-event-hero{width:100%;border-radius:18px;overflow:hidden;background:#edf1ee}.qbe-event-hero img{width:100%;max-height:620px;display:block;object-fit:cover}.qbe-event-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:32px;margin-top:30px}.qbe-event-main h1{font-size:clamp(34px,5vw,58px);line-height:1.04;margin:10px 0 15px}.qbe-lead{font-size:19px;line-height:1.55;color:#555;max-width:850px}.qbe-event-topline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.qbe-fee-pill{padding:6px 10px;border-radius:999px;background:#f4f4f4;font-size:13px;font-weight:800}
.qbe-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:25px 0}.qbe-info-grid>div{padding:15px;border:1px solid #e1e6e3;border-radius:12px;background:#fafcfb}.qbe-info-grid small{display:block;color:#6a726d;margin-bottom:5px}.qbe-info-grid strong{display:block}
.qbe-event-section{padding:25px 0;border-top:1px solid #e4e8e5}.qbe-event-section h2{margin-top:0}.qbe-organizer-box p{margin:7px 0}.qbe-social-links{display:flex;gap:15px}.qbe-social-links a{color:#0b6b3a;font-weight:700}
.qbe-event-sidebar{position:relative}.qbe-sticky-card{position:sticky;top:25px;padding:22px;border:1px solid #e1e6e3;border-radius:16px;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.06)}.qbe-sidebar-price{margin-bottom:12px}.qbe-sidebar-price small{display:block;color:#6a726d}.qbe-sidebar-price strong{font-size:30px}.qbe-interest-count{font-size:13px;color:#666;text-align:center;margin-top:6px}
.qbe-recommendations{margin-top:55px;padding-top:25px;border-top:1px solid #e4e8e5}.qbe-section-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:18px}.qbe-section-heading h2{margin:4px 0 0}.qbe-section-heading>a{color:#0b6b3a;font-weight:800;text-decoration:none}
.qbe-pass{text-align:center;padding:20px;border:1px solid #ddd;border-radius:12px;margin:15px 0}.qbe-qr{display:flex;justify-content:center;margin:15px}.qbe-scan-box{padding:18px;margin-top:15px;border-radius:10px;font-weight:700}.qbe-scan-box.valid{background:#e6ffed;color:#116b32}.qbe-scan-box.invalid{background:#ffe8e8;color:#a00}.qbe-payment{padding:15px;border:1px solid #ddd;border-radius:10px;margin:15px 0}.qbe-payment-qr{max-width:220px;display:block;margin:10px 0;height:auto}
@media(max-width:900px){.qbe-events-head{display:block}.qbe-event-filter{justify-content:flex-start;margin-top:18px}.qbe-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qbe-event-grid-small{grid-template-columns:repeat(2,minmax(0,1fr))}.qbe-event-layout{grid-template-columns:1fr}.qbe-event-sidebar{order:-1}.qbe-sticky-card{position:static}}
@media(max-width:600px){.qbe-archive-page,.qbe-event-page{padding:20px 14px}.qbe-event-grid,.qbe-event-grid-small{grid-template-columns:1fr}.qbe-event-filter{display:grid;grid-template-columns:1fr}.qbe-event-filter input,.qbe-event-filter select{width:100%;box-sizing:border-box}.qbe-info-grid{grid-template-columns:1fr}.qbe-section-heading{display:block}.qbe-section-heading>a{display:inline-block;margin-top:10px}}

/* Event gallery / slider */
.qbe-event-gallery{position:relative;width:100%;aspect-ratio:1/1;border-radius:18px;overflow:hidden;background:#edf1ee}
.qbe-event-gallery-track,.qbe-event-gallery-slide{width:100%;height:100%}
.qbe-event-gallery-slide{display:none}.qbe-event-gallery-slide.is-active{display:block}
.qbe-event-gallery-slide img{width:100%;height:100%;display:block;object-fit:cover}
.qbe-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:30px;line-height:1;cursor:pointer;z-index:2}
.qbe-gallery-prev{left:14px}.qbe-gallery-next{right:14px}
.qbe-gallery-dots{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:6px;z-index:2}
.qbe-gallery-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.65);cursor:pointer}.qbe-gallery-dot.is-active{background:#fff;transform:scale(1.25)}
.qbe-level-pill{padding:6px 10px;border-radius:999px;background:#eef1ff;color:#303b8f;font-size:12px;font-weight:800}
.qbe-card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.qbe-btn-small{font-size:12px;padding:8px 12px;margin:0}.qbe-category-builder{border:1px solid #dfe6e1;border-radius:12px;overflow:hidden;margin:15px 0}.qbe-category-builder-head,.qbe-category-row{display:grid;grid-template-columns:minmax(180px,1.4fr) minmax(150px,1fr) minmax(150px,1fr) minmax(130px,1fr);gap:10px;align-items:center;padding:12px;border-bottom:1px solid #e5eae7}.qbe-category-builder-head{font-size:13px;font-weight:800;background:#f5f8f6}.qbe-category-row:last-child{border-bottom:0}.qbe-category-row input[type=text],.qbe-category-row input[type=number]{width:100%;height:42px;padding:0 10px;box-sizing:border-box;border:1px solid #cfd7d2;border-radius:8px}.qbe-category-check{display:flex;align-items:center;gap:9px;font-weight:700}.qbe-free-event-toggle{display:flex!important;align-items:center;gap:8px;margin:12px 0!important}.qbe-remove-custom-category{border:0;background:#f8d7da;border-radius:7px;padding:7px 10px;cursor:pointer}.qbe-gallery-upload-grid{padding:18px;border:1px dashed #ccd5cf;border-radius:12px;margin:18px 0}.qbe-gallery-upload-grid>strong,.qbe-gallery-upload-grid>small{display:block}.qbe-inline-option{display:inline-flex!important;margin-right:18px!important;font-weight:600!important}.qbe-inline-option input{width:auto!important;height:auto!important}.qbe-registration-category-options{display:grid;gap:10px}.qbe-registration-category-option{display:grid;grid-template-columns:24px 1.4fr 1fr auto;gap:10px;align-items:center;padding:13px;border:1px solid #d8e0db;border-radius:10px;cursor:pointer}.qbe-registration-category-option input{width:auto!important}.qbe-registration-category-age{color:#69726c;font-size:14px}.qbe-selected-fee{margin-top:14px;padding:12px 14px;background:#f5f8f6;border-radius:9px;font-weight:700}.qbe-level-pill{display:inline-block;padding:6px 10px;border-radius:999px;background:#f1f3f2;font-size:12px;font-weight:800}@media(max-width:700px){.qbe-category-builder-head{display:none}.qbe-category-row{grid-template-columns:1fr;gap:8px}.qbe-registration-category-option{grid-template-columns:24px 1fr;}.qbe-registration-category-option .qbe-registration-category-age,.qbe-registration-category-option strong{grid-column:2}.qbe-card-actions{align-items:stretch}.qbe-card-actions .qbe-btn-small{white-space:nowrap}}

.qbe-event-gallery.qbe-gallery-ratio-portrait{aspect-ratio:4/5}.qbe-event-gallery.qbe-gallery-ratio-square{aspect-ratio:1/1}.qbe-public-category-table{border:1px solid #e1e6e3;border-radius:12px;overflow:hidden}.qbe-public-category-row{display:grid;grid-template-columns:1.4fr 1fr auto;gap:12px;padding:13px 15px;border-bottom:1px solid #e7ebe8;align-items:center}.qbe-public-category-row:last-child{border-bottom:0}.qbe-public-category-row span{color:#69726c;font-size:14px}.qbe-public-category-row b{white-space:nowrap}.qbe-event-categories{padding:25px 0;border-top:1px solid #e4e8e5}.qbe-event-categories h2{margin-top:0}@media(max-width:600px){.qbe-public-category-row{grid-template-columns:1fr 1fr}.qbe-public-category-row b{grid-column:2}}

.qbe-submit-confirmation{margin:28px 0 18px;padding:18px;border:1px solid #dfe6e1;border-radius:12px;background:#fafcfb}.qbe-submit-confirmation h3{margin:0 0 14px}.qbe-consent-line{display:flex!important;gap:10px;align-items:flex-start;margin:10px 0!important;font-weight:500!important;line-height:1.5}.qbe-consent-line input{width:auto!important;margin-top:4px;flex:0 0 auto}.qbe-image-validation-message{display:block;margin-top:6px;font-size:13px}.qbe-image-valid{border-color:#0b6b3a!important}.qbe-image-invalid{border-color:#b00020!important;outline:1px solid #b00020}.qbe-image-validation-summary{min-height:0;margin:0 0 10px}.qbe-image-validation-summary.is-error{padding:10px 12px;border-radius:8px;background:#fff0f0;border:1px solid #efb3b3;color:#a00000;font-weight:600}

.qbe-rounds-section,.qbe-rules-builder,.qbe-custom-participant-fields{margin:25px 0;padding:20px;border:1px solid #e1e6e3;border-radius:12px;background:#fafcfb}.qbe-round-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.qbe-round-type-grid label,.qbe-custom-round-checks label{padding:12px;border:1px solid #ccd5cf;border-radius:9px;background:#fff;cursor:pointer}.qbe-round-fields{margin-top:15px}.qbe-round-row,.qbe-rule-row,.qbe-custom-participant-row{display:flex;gap:10px;align-items:center;margin:10px 0}.qbe-round-row strong{min-width:120px}.qbe-round-row input,.qbe-rule-row input,.qbe-custom-participant-row input{flex:1;min-width:0;height:44px;padding:0 10px;border:1px solid #cfd7d2;border-radius:8px;box-sizing:border-box}.qbe-custom-round-checks{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.qbe-participant-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.qbe-participant-field-option{display:flex;gap:9px;align-items:center;padding:12px;border:1px solid #d7dfda;border-radius:9px;background:#fff}.qbe-participant-field-option input{width:auto}.qbe-event-schedule{margin:25px 0;padding:20px;border:1px solid #e1e6e3;border-radius:14px;background:#fafcfb}.qbe-round-schedule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.qbe-round-card{padding:15px;border:1px solid #e1e6e3;border-radius:10px;background:#fff}.qbe-round-card small{display:block;color:#69726c;margin-bottom:5px}.qbe-round-card strong{display:block}.qbe-submit-confirmation{padding:20px 0}.qbe-image-validation-summary.is-error{color:#a00;font-weight:700}.qbe-image-invalid{border-color:#b00020!important}.qbe-image-valid{border-color:#0b6b3a!important}.qbe-image-validation-message{display:block;margin-top:6px}
@media(max-width:700px){.qbe-round-type-grid,.qbe-participant-field-grid,.qbe-round-schedule-grid{grid-template-columns:1fr 1fr}.qbe-round-row,.qbe-rule-row,.qbe-custom-participant-row{flex-wrap:wrap}.qbe-round-row strong{width:100%}}@media(max-width:500px){.qbe-round-type-grid,.qbe-participant-field-grid,.qbe-round-schedule-grid{grid-template-columns:1fr}}

.qbe-free-event-notice{display:flex;gap:10px;align-items:center;justify-content:center;margin:16px auto 0;padding:12px 16px;border:1px solid #bfe0cb;border-radius:10px;background:#eefaf2;color:#0b6b3a;max-width:520px}.qbe-free-event-notice strong{font-size:12px;letter-spacing:.08em}.qbe-free-event-notice span{font-size:14px}.qbe-free-event-pill{background:#e9f5ee;color:#0b6b3a}


/* QB Event Management 1.2 — public event page redesign */
.qbe-event-page{color:#1c2420;background:#fff}
.qbe-event-page,.qbe-event-page *{box-sizing:border-box}
.qbe-event-page h1,.qbe-event-page h2,.qbe-event-page h3,.qbe-event-page strong,.qbe-event-page b{color:#17211c}
.qbe-event-page p,.qbe-event-page li,.qbe-event-page span{color:inherit}
.qbe-event-gallery{border-radius:20px;box-shadow:0 12px 35px rgba(0,0,0,.08);background:#f1f4f2}
.qbe-event-gallery-slide img{object-fit:cover}
.qbe-event-hero-meta{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 2px 18px;border-bottom:1px solid #e1e7e3}
.qbe-event-hero-meta-main,.qbe-event-hero-dates{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.qbe-event-hero-meta-main span{font-size:14px;font-weight:800;color:#164d35}
.qbe-event-hero-meta-main span+span:before{content:'•';margin-right:10px;color:#a1aaa5}
.qbe-event-hero-dates span{font-size:14px;color:#4f5d55;padding:7px 10px;border-radius:8px;background:#f5f7f6}
.qbe-event-hero-dates strong{color:#17211c}
.qbe-hero-register{margin:0;white-space:nowrap;background:#0b6b3a!important;color:#fff!important;box-shadow:0 5px 14px rgba(11,107,58,.18)}
.qbe-event-layout{margin-top:26px}
.qbe-event-main h1{color:#121a16}
.qbe-event-topline{margin-bottom:4px}
.qbe-event-topline .qbe-event-badge{background:#e9f5ee;color:#0b6b3a}
.qbe-event-topline .qbe-level-pill{background:#edf0ff;color:#303b8f}
.qbe-event-topline .qbe-free-event-pill{background:#e8f7ed;color:#146c3a}
.qbe-event-categories,.qbe-event-schedule{background:#fff;border:1px solid #e0e6e2;border-radius:16px;padding:22px;margin:24px 0;border-top:1px solid #e0e6e2}
.qbe-section-heading-inline{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}
.qbe-section-heading-inline h2{margin:4px 0 0;color:#17211c}
.qbe-free-label{font-size:12px;font-weight:900;letter-spacing:.08em;color:#12673a;background:#e8f7ed;border-radius:999px;padding:7px 10px}
.qbe-public-category-table{border:1px solid #dce4df;background:#fff}
.qbe-public-category-head,.qbe-public-category-row{display:grid;grid-template-columns:1.3fr 1fr .8fr;gap:14px;align-items:center;padding:14px 16px}
.qbe-public-category-head{background:#f3f6f4;color:#4d5a53;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.qbe-public-category-row{border-bottom:1px solid #e6ebe8}
.qbe-public-category-row:last-child{border-bottom:0}
.qbe-public-category-row strong{color:#17211c}
.qbe-public-category-row span{color:#59665f}
.qbe-public-category-row b{color:#0b6b3a;text-align:right}
.qbe-round-schedule-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
.qbe-round-card{border:1px solid #dfe6e1;background:#f9fbfa}
.qbe-round-card small{color:#64716a;font-weight:700}
.qbe-round-card strong{color:#17211c}
.qbe-inline-register-wrap{text-align:center;margin:28px 0 10px}
.qbe-register-main{min-width:230px;font-size:16px;padding:14px 28px;background:#0b6b3a!important;color:#fff!important;box-shadow:0 8px 18px rgba(11,107,58,.16)}
.qbe-rules-list{margin:0;padding-left:28px;color:#35423b}
.qbe-rules-list li{padding:8px 0 8px 5px;border-bottom:1px solid #edf0ee;line-height:1.55}
.qbe-rules-list li:last-child{border-bottom:0}
.qbe-sidebar-title{font-size:18px;font-weight:800;color:#17211c;margin-bottom:12px}
.qbe-sticky-card{border:1px solid #dfe6e1;background:#fff;box-shadow:0 8px 25px rgba(0,0,0,.06)}
.qbe-sticky-card .qbe-btn{color:#fff!important}
.qbe-sticky-card .qbe-btn-light{color:#173126!important;background:#f3f6f4!important}
.qbe-event-section{border-top-color:#e3e8e5}
.qbe-event-section h2{color:#17211c}
.qbe-social-links a{color:#0b6b3a}
.qbe-event-registration-closed{background:#fff5f5!important;color:#8f2020!important;border:1px solid #f0caca!important}
.qbe-event-registration-closed strong,.qbe-event-registration-closed span{color:#8f2020!important}
@media(max-width:800px){.qbe-event-hero-meta{align-items:stretch;flex-direction:column}.qbe-hero-register{width:100%;text-align:center}.qbe-public-category-head{display:none}.qbe-public-category-row{grid-template-columns:1fr 1fr}.qbe-public-category-row b{text-align:right;grid-column:2}.qbe-public-category-row span{grid-column:1}.qbe-event-categories,.qbe-event-schedule{padding:18px}.qbe-section-heading-inline{align-items:flex-start}}

.qbe-audition-mode-grid{display:flex;gap:10px;flex-wrap:wrap}.qbe-audition-mode-grid label{padding:12px 16px;border:1px solid #ccd5cf;border-radius:10px;background:#fff;font-weight:700}.qbe-audition-row{display:grid;grid-template-columns:1fr 1fr 2fr auto;gap:10px;margin:10px 0}.qbe-audition-row input{min-height:42px;padding:0 10px;border:1px solid #ccd5cf;border-radius:8px}.qbe-audition-online-note{padding:14px;border:1px solid #dce5df;border-radius:10px;background:#fafcfb}.qbe-audition-online-note p{margin:5px 0 0;color:#69726c}@media(max-width:700px){.qbe-audition-row{grid-template-columns:1fr}.qbe-audition-mode-grid{display:grid;grid-template-columns:1fr}}

.qbe-verified-badge{display:inline-block;margin-left:8px;padding:4px 8px;border-radius:999px;background:#e9f5ee;color:#0b6b3a;font-size:12px;font-weight:800}.qbe-slots-left{display:block;margin-top:5px;color:#b45309;font-size:12px;font-style:normal;font-weight:800}.qbe-slots-closed{color:#a00}.qbe-public-event-category-nav{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 35px}.qbe-public-event-category-nav a{padding:10px 15px;border:1px solid #dce5df;border-radius:999px;text-decoration:none;color:#0b6b3a;font-weight:700}.qbe-public-event-category-section{margin:45px 0}.qbe-coupon-box{margin-top:16px;padding:15px;border:1px dashed #cfd8d2;border-radius:12px}.qbe-coupon-box>div{display:flex;gap:8px}.qbe-coupon-box input{flex:1}.qbe-coupon-box small{display:block;margin-top:6px}.qbe-scanner-activation{padding:20px;border:1px solid #dce5df;border-radius:12px;background:#fafcfb;margin:15px 0}
.qbe-custom-category-row{grid-template-columns:minmax(180px,1.4fr) minmax(130px,1fr) minmax(130px,1fr) minmax(120px,1fr) auto!important}

/* QB Event Management 2.1 — public event discovery refinement */
.qbe-category-landing .qbe-district-head{margin-bottom:18px}
.qbe-category-landing .qbe-district-head h1{font-size:clamp(36px,5.5vw,62px);letter-spacing:-.03em}
.qbe-category-landing .qbe-public-event-category-nav{display:flex;gap:10px;overflow-x:auto;padding:4px 0 24px;scrollbar-width:none}
.qbe-category-landing .qbe-public-event-category-nav::-webkit-scrollbar{display:none}
.qbe-category-landing .qbe-public-event-category-nav a{white-space:nowrap;padding:10px 16px;border:1px solid #dfe6e1;border-radius:999px;background:#fff;color:#17211c;text-decoration:none;font-weight:800}
.qbe-category-landing .qbe-public-event-category-nav a:hover{border-color:#0b6b3a;color:#0b6b3a}
.qbe-upcoming-section{padding:26px 0 12px}
.qbe-event-grid-upcoming{display:flex;overflow-x:auto;gap:18px;scroll-snap-type:x mandatory;scrollbar-width:thin;padding:4px 2px 12px}.qbe-event-grid-upcoming .qbe-event-card{flex:0 0 310px;scroll-snap-align:start}.qbe-event-grid-upcoming::-webkit-scrollbar{height:7px}
.qbe-event-card-upcoming .qbe-event-card-media{aspect-ratio:4/3}
.qbe-event-card-upcoming .qbe-event-card-body h3{font-size:18px}
.qbe-public-event-category-section{margin-top:34px}
.qbe-public-event-category-section+.qbe-public-event-category-section{padding-top:8px}


@media(max-width:600px){.qbe-event-grid-upcoming{gap:14px}.qbe-event-grid-upcoming .qbe-event-card{flex-basis:82%}.qbe-category-landing .qbe-district-head h1{font-size:38px}}


/* 2.1 readability pass: keep event text readable against all backgrounds/theme overrides. */
.qbe-event-page,.qbe-archive-page{color:#17211c;background:#fff;}
.qbe-event-page h1,.qbe-event-page h2,.qbe-event-page h3,.qbe-event-page h4,.qbe-event-page h5,.qbe-event-page strong,.qbe-event-page b,.qbe-archive-page h1,.qbe-archive-page h2,.qbe-archive-page h3,.qbe-archive-page strong{color:#17211c;}
.qbe-event-page p,.qbe-event-page li,.qbe-event-page small,.qbe-event-card-body p,.qbe-event-card-meta,.qbe-archive-page p{color:#4b5a52;}
.qbe-event-page a:not(.qbe-btn),.qbe-archive-page a:not(.qbe-btn){color:#0b6b3a;}
.qbe-event-page .qbe-card,.qbe-event-page .qbe-info-grid>div,.qbe-event-page .qbe-event-section,.qbe-event-page .qbe-sticky-card,.qbe-event-page .qbe-event-categories,.qbe-event-page .qbe-event-schedule,.qbe-archive-page .qbe-event-card{color:#17211c;background:#fff;}
.qbe-event-page input,.qbe-event-page textarea,.qbe-event-page select{color:#17211c;background:#fff;}
.qbe-event-page input::placeholder,.qbe-event-page textarea::placeholder{color:#6b756f;opacity:1;}
.qbe-event-page .qbe-btn,.qbe-event-page .qbe-register-main,.qbe-event-page .qbe-hero-register{color:#fff!important;background:#0b6b3a!important;}
.qbe-event-page .qbe-btn-light{color:#173126!important;background:#f3f6f4!important;}
.qbe-event-page .qbe-event-badge{color:#0b6b3a;background:#e9f5ee;}
.qbe-event-page .qbe-level-pill{color:#303b8f;background:#edf0ff;}
.qbe-event-page .qbe-free-event-pill{color:#146c3a;background:#e8f7ed;}
.qbe-public-category-table,.qbe-public-category-row{color:#17211c;background:#fff;}
.qbe-public-category-head{color:#35443c;background:#f3f6f4;}
.qbe-public-category-row b{color:#0b6b3a;}

.qbe-my-pass-qr{display:flex;justify-content:center;margin:14px 0}.qbe-my-pass-qr img{max-width:180px;height:auto}.qbe-pass-list-card{grid-template-columns:1fr!important}.qbe-pass-list-content{padding:18px!important}

/* QB Event Management 2.4 — mobile-first public event poster grid.
   Main event posters are displayed in the requested 4:5 ratio. */
.qbe-archive-page .qbe-event-grid,
.qbe-category-landing .qbe-event-grid{
    align-items:start;
}
.qbe-archive-page .qbe-event-card-media,
.qbe-category-landing .qbe-event-card-media{
    aspect-ratio:4/5;
}
.qbe-archive-page .qbe-event-card-media img,
.qbe-category-landing .qbe-event-card-media img{
    object-fit:cover;
}
.qbe-archive-page .qbe-event-card-body,
.qbe-category-landing .qbe-event-card-body{
    padding:12px;
}
.qbe-archive-page .qbe-event-card-body h3,
.qbe-category-landing .qbe-event-card-body h3{
    font-size:16px;
    line-height:1.25;
}
@media(max-width:600px){
    .qbe-archive-page,
    .qbe-category-landing{
        padding-left:12px;
        padding-right:12px;
    }
    .qbe-archive-page .qbe-event-grid,
    .qbe-category-landing .qbe-event-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:10px !important;
    }
    .qbe-archive-page .qbe-event-card,
    .qbe-category-landing .qbe-event-card{
        min-width:0;
        border-radius:12px;
    }
    .qbe-archive-page .qbe-event-card-media,
    .qbe-category-landing .qbe-event-card-media{
        aspect-ratio:4/5 !important;
    }
    .qbe-archive-page .qbe-event-card-body,
    .qbe-category-landing .qbe-event-card-body{
        padding:9px;
    }
    .qbe-archive-page .qbe-event-card-body h3,
    .qbe-category-landing .qbe-event-card-body h3{
        font-size:13px;
        line-height:1.25;
        margin-bottom:6px;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
    .qbe-archive-page .qbe-event-card-meta,
    .qbe-category-landing .qbe-event-card-meta{
        font-size:10px;
        line-height:1.3;
        gap:4px;
    }
    .qbe-archive-page .qbe-event-card-footer,
    .qbe-category-landing .qbe-event-card-footer{
        margin-top:8px;
    }
    .qbe-archive-page .qbe-event-card-footer .qbe-btn,
    .qbe-category-landing .qbe-event-card-footer .qbe-btn{
        width:100%;
        min-height:30px;
        padding:6px 7px;
        font-size:10px;
    }
}

/* QB Event Management 2.4.1 — You May Also Like mobile shelf.
   Mirrors the horizontal StreamVerse History interaction. */
@media(max-width:600px){
    .qbe-event-page .qbe-recommendations .qbe-event-grid,
    .qbe-event-page .qbe-recommendations .qbe-event-grid-small{
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        overflow-x:auto !important;
        overflow-y:hidden !important;
        gap:12px !important;
        grid-template-columns:none !important;
        padding:3px 2px 12px !important;
        margin:0 !important;
        scroll-snap-type:x mandatory;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
    }
    .qbe-event-page .qbe-recommendations .qbe-event-grid::-webkit-scrollbar,
    .qbe-event-page .qbe-recommendations .qbe-event-grid-small::-webkit-scrollbar{
        display:none;
    }
    .qbe-event-page .qbe-recommendations .qbe-event-card{
        flex:0 0 72% !important;
        width:72% !important;
        min-width:0 !important;
        scroll-snap-align:start;
        border-radius:12px;
    }
    .qbe-event-page .qbe-recommendations .qbe-event-card-media{
        aspect-ratio:4/5 !important;
    }
    .qbe-event-page .qbe-recommendations .qbe-event-card-body{
        padding:10px !important;
    }
    .qbe-event-page .qbe-recommendations .qbe-event-card-body h3{
        font-size:14px !important;
        line-height:1.25;
        margin-bottom:6px;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
    .qbe-event-page .qbe-recommendations .qbe-event-card-meta{
        font-size:10px !important;
        line-height:1.3;
    }
}

/* QB Event Management 2.4.2 — mobile public event page.
   Main event poster follows the same 4:5 poster-first visual language
   used by the recommendation cards. */
.qbe-event-page .qbe-event-gallery{
    aspect-ratio:4/5;
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
}
.qbe-event-page .qbe-event-gallery-track,
.qbe-event-page .qbe-event-gallery-slide{
    width:100%;
    height:100%;
}
.qbe-event-page .qbe-event-gallery-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}
@media(max-width:600px){
    .qbe-event-page{
        padding:14px 12px 28px !important;
    }
    /* Poster-first main event presentation */
    .qbe-event-page .qbe-event-gallery{
        width:100%;
        max-width:430px;
        aspect-ratio:4/5 !important;
        border-radius:14px;
        margin:0 auto;
        box-shadow:0 4px 18px rgba(0,0,0,.07);
    }
    .qbe-event-page .qbe-event-gallery-slide img{
        object-fit:cover !important;
    }
    .qbe-event-page .qbe-event-hero-meta{
        display:block;
        padding:12px 2px 14px;
    }
    .qbe-event-page .qbe-event-hero-meta-main,
    .qbe-event-page .qbe-event-hero-dates{
        gap:6px;
    }
    .qbe-event-page .qbe-event-hero-meta-main span,
    .qbe-event-page .qbe-event-hero-dates span{
        font-size:11px;
    }
    .qbe-event-page .qbe-event-layout{
        margin-top:16px !important;
    }
    .qbe-event-page .qbe-event-main h1{
        font-size:28px;
        line-height:1.08;
        margin:8px 0 12px;
    }
    .qbe-event-page .qbe-lead{
        font-size:15px;
        line-height:1.5;
    }
    .qbe-event-page .qbe-info-grid{
        gap:9px;
        margin:18px 0;
    }
    .qbe-event-page .qbe-info-grid>div{
        padding:12px;
        border-radius:10px;
    }
    .qbe-event-page .qbe-sticky-card{
        border-radius:12px;
        padding:15px;
    }
}

/* =========================================================
   QB Event Management 2.5 — mobile-first visual system
   Reference: poster-first streaming/event discovery UI.
   ========================================================= */

/* Public discovery/category page */
.qbe-category-landing .qbe-events-head,
.qbe-archive-page .qbe-events-head{
    align-items:center;
}
.qbe-category-landing .qbe-events-head h1,
.qbe-archive-page .qbe-events-head h1{
    letter-spacing:-.03em;
}
.qbe-public-event-category-nav{
    display:flex;
    gap:9px;
    overflow-x:auto;
    flex-wrap:nowrap;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    padding:2px 1px 12px;
    margin:0 0 20px;
}
.qbe-public-event-category-nav::-webkit-scrollbar{display:none}
.qbe-public-event-category-nav a{
    flex:0 0 auto;
    padding:10px 17px;
    border:1px solid #d2dad5;
    border-radius:999px;
    background:#fff;
    color:#25332c;
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    white-space:nowrap;
}
.qbe-public-event-category-nav a:hover,
.qbe-public-event-category-nav a:focus{
    background:#0b6b3a;
    border-color:#0b6b3a;
    color:#fff;
}
.qbe-category-landing .qbe-event-card,
.qbe-archive-page .qbe-event-card{
    border-radius:14px;
    box-shadow:0 4px 18px rgba(0,0,0,.06);
}
.qbe-category-landing .qbe-event-card-media,
.qbe-archive-page .qbe-event-card-media{
    aspect-ratio:4/5 !important;
}
.qbe-category-landing .qbe-event-card-media img,
.qbe-archive-page .qbe-event-card-media img{
    object-fit:cover;
}
.qbe-category-landing .qbe-event-card-body,
.qbe-archive-page .qbe-event-card-body{
    padding:12px;
}
.qbe-category-landing .qbe-event-card-body h2,
.qbe-category-landing .qbe-event-card-body h3,
.qbe-archive-page .qbe-event-card-body h2,
.qbe-archive-page .qbe-event-card-body h3{
    font-size:16px;
    letter-spacing:-.01em;
}
.qbe-category-landing .qbe-event-card-meta,
.qbe-archive-page .qbe-event-card-meta{
    font-size:11px;
}
.qbe-category-landing .qbe-event-card-footer,
.qbe-archive-page .qbe-event-card-footer{
    display:block;
}
.qbe-category-landing .qbe-card-actions,
.qbe-archive-page .qbe-card-actions{
    margin-top:9px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.qbe-category-landing .qbe-btn-small,
.qbe-archive-page .qbe-btn-small{
    padding:7px 10px;
    font-size:10px;
}

/* Specific event page — clean poster-first hierarchy */
.qbe-event-page{
    background:#fff;
}
.qbe-event-page .qbe-event-gallery{
    aspect-ratio:4/5 !important;
    border-radius:18px;
    overflow:hidden;
    background:#edf2ef;
}
.qbe-event-page .qbe-event-gallery-slide img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.qbe-event-page .qbe-event-hero-meta{
    background:#fff;
}
.qbe-event-page .qbe-event-main h1{
    letter-spacing:-.035em;
}
.qbe-event-page .qbe-info-grid>div{
    transition:transform .15s ease, box-shadow .15s ease;
}
.qbe-event-page .qbe-event-categories,
.qbe-event-page .qbe-event-schedule{
    box-shadow:0 4px 18px rgba(0,0,0,.035);
}
.qbe-event-page .qbe-public-category-row{
    min-height:58px;
}

/* Mobile discovery: two posters at once, like the supplied reference. */
@media(max-width:600px){
    .qbe-archive-page,
    .qbe-event-page{
        width:100%;
        max-width:100%;
        padding:14px 12px 28px !important;
    }

    .qbe-category-landing .qbe-events-head,
    .qbe-archive-page .qbe-events-head{
        margin-bottom:12px;
    }

    .qbe-category-landing .qbe-events-head .qbe-eyebrow,
    .qbe-archive-page .qbe-events-head .qbe-eyebrow{
        font-size:10px;
    }

    .qbe-category-landing .qbe-events-head h1,
    .qbe-archive-page .qbe-events-head h1{
        font-size:29px;
        line-height:1.08;
        margin:4px 0 6px;
    }

    .qbe-category-landing .qbe-events-head p,
    .qbe-archive-page .qbe-events-head p{
        font-size:13px;
        line-height:1.4;
    }

    .qbe-public-event-category-nav{
        margin-left:-1px;
        margin-right:-1px;
        padding-bottom:9px;
        margin-bottom:13px;
    }

    .qbe-public-event-category-nav a{
        padding:9px 14px;
        font-size:12px;
    }

    .qbe-category-landing .qbe-event-grid,
    .qbe-archive-page .qbe-event-grid{
        display:grid !important;
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:10px !important;
        width:100%;
    }

    .qbe-category-landing .qbe-event-card,
    .qbe-archive-page .qbe-event-card{
        min-width:0;
        width:100%;
        border-radius:12px;
    }

    .qbe-category-landing .qbe-event-card-media,
    .qbe-archive-page .qbe-event-card-media{
        aspect-ratio:4/5 !important;
        border-radius:12px 12px 0 0;
    }

    .qbe-category-landing .qbe-event-card-media .qbe-event-badge,
    .qbe-archive-page .qbe-event-card-media .qbe-event-badge{
        left:7px;
        bottom:7px;
        padding:4px 7px;
        font-size:9px;
    }

    .qbe-category-landing .qbe-event-card-body,
    .qbe-archive-page .qbe-event-card-body{
        padding:8px;
    }

    .qbe-category-landing .qbe-event-card-body h2,
    .qbe-category-landing .qbe-event-card-body h3,
    .qbe-archive-page .qbe-event-card-body h2,
    .qbe-archive-page .qbe-event-card-body h3{
        font-size:13px;
        line-height:1.22;
        margin:0 0 6px;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }

    .qbe-category-landing .qbe-event-card-meta,
    .qbe-archive-page .qbe-event-card-meta{
        display:block;
        font-size:9px;
        line-height:1.4;
    }

    .qbe-category-landing .qbe-event-card-meta span,
    .qbe-archive-page .qbe-event-card-meta span{
        display:block;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
        margin-top:2px;
    }

    .qbe-category-landing .qbe-event-card-body p,
    .qbe-archive-page .qbe-event-card-body p{
        display:none;
    }

    .qbe-category-landing .qbe-event-card-footer,
    .qbe-archive-page .qbe-event-card-footer{
        margin-top:7px;
    }

    .qbe-category-landing .qbe-event-card-footer>strong,
    .qbe-archive-page .qbe-event-card-footer>strong{
        font-size:12px;
    }

    .qbe-category-landing .qbe-card-actions,
    .qbe-archive-page .qbe-card-actions{
        gap:5px;
    }

    .qbe-category-landing .qbe-text-link,
    .qbe-archive-page .qbe-text-link{
        font-size:9px;
    }

    .qbe-category-landing .qbe-btn-small,
    .qbe-archive-page .qbe-btn-small{
        padding:6px 8px;
        font-size:9px;
        margin:0;
    }

    /* Specific event */
    .qbe-event-page .qbe-event-gallery{
        width:100%;
        max-width:430px;
        margin:0 auto;
        aspect-ratio:4/5 !important;
        border-radius:14px;
        box-shadow:0 6px 22px rgba(0,0,0,.08);
    }

    .qbe-event-page .qbe-gallery-arrow{
        width:36px;
        height:36px;
        font-size:25px;
    }

    .qbe-event-page .qbe-gallery-prev{left:8px}
    .qbe-event-page .qbe-gallery-next{right:8px}

    .qbe-event-page .qbe-gallery-dots{
        bottom:9px;
    }

    .qbe-event-page .qbe-event-hero-meta{
        padding:11px 1px 12px;
        border-bottom:0;
    }

    .qbe-event-page .qbe-event-hero-meta-main,
    .qbe-event-page .qbe-event-hero-dates{
        gap:6px;
    }

    .qbe-event-page .qbe-event-hero-meta-main span{
        font-size:10px;
        padding:6px 9px;
        border-radius:999px;
        background:#eef8f1;
    }

    .qbe-event-page .qbe-event-hero-dates{
        margin-top:6px;
    }

    .qbe-event-page .qbe-event-hero-dates span{
        font-size:10px;
        padding:5px 8px;
    }

    .qbe-event-page .qbe-event-layout{
        display:flex !important;
        flex-direction:column !important;
        gap:15px;
        margin-top:6px !important;
    }

    .qbe-event-page .qbe-event-main{
        order:1;
    }

    .qbe-event-page .qbe-event-sidebar{
        order:2 !important;
    }

    .qbe-event-page .qbe-event-main h1{
        font-size:29px;
        line-height:1.06;
        margin:3px 0 8px;
    }

    .qbe-event-page .qbe-lead{
        font-size:14px;
        line-height:1.48;
        color:#5c665f;
    }

    .qbe-event-page .qbe-info-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
        margin:15px 0;
    }

    .qbe-event-page .qbe-info-grid>div{
        padding:11px;
        border-radius:11px;
        background:#fbfcfb;
    }

    .qbe-event-page .qbe-info-grid small{
        font-size:9px;
        margin-bottom:4px;
    }

    .qbe-event-page .qbe-info-grid strong{
        font-size:12px;
        line-height:1.3;
    }

    .qbe-event-page .qbe-event-section{
        padding:17px 0;
    }

    .qbe-event-page .qbe-event-section h2,
    .qbe-event-page .qbe-event-categories h2,
    .qbe-event-page .qbe-event-schedule h2{
        font-size:20px;
        line-height:1.2;
        margin-bottom:10px;
    }

    .qbe-event-page .qbe-event-categories,
    .qbe-event-page .qbe-event-schedule{
        padding:15px;
        margin:15px 0;
        border-radius:13px;
    }

    .qbe-event-page .qbe-public-category-row{
        grid-template-columns:1fr auto !important;
        gap:7px;
        padding:11px 10px;
        min-height:52px;
    }

    .qbe-event-page .qbe-public-category-row strong{
        font-size:12px;
    }

    .qbe-event-page .qbe-public-category-row span,
    .qbe-event-page .qbe-public-category-row b{
        font-size:11px;
    }

    .qbe-event-page .qbe-event-sidebar{
        width:100%;
    }

    .qbe-event-page .qbe-sticky-card{
        width:100%;
        padding:15px;
        border-radius:13px;
        box-shadow:0 5px 18px rgba(0,0,0,.06);
    }

    .qbe-event-page .qbe-sidebar-title{
        font-size:16px;
        margin-bottom:8px;
    }

    .qbe-event-page .qbe-sticky-card .qbe-btn-full,
    .qbe-event-page .qbe-sticky-card .qbe-btn{
        min-height:44px;
        width:100%;
        margin:5px 0;
    }

    .qbe-event-page .qbe-recommendations{
        margin-top:25px;
        padding-top:17px;
    }

    .qbe-event-page .qbe-recommendations .qbe-event-grid{
        display:flex !important;
        grid-template-columns:none !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        gap:10px !important;
        overflow-x:auto !important;
        overflow-y:hidden !important;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
        scroll-snap-type:x mandatory;
        padding:2px 2px 10px !important;
    }

    .qbe-event-page .qbe-recommendations .qbe-event-grid::-webkit-scrollbar{
        display:none;
    }

    .qbe-event-page .qbe-recommendations .qbe-event-card{
        flex:0 0 67vw !important;
        width:67vw !important;
        min-width:67vw !important;
        scroll-snap-align:start;
    }
}

@media(max-width:390px){
    .qbe-category-landing .qbe-event-grid,
    .qbe-archive-page .qbe-event-grid{
        gap:8px !important;
    }
    .qbe-category-landing .qbe-event-card-body,
    .qbe-archive-page .qbe-event-card-body{
        padding:7px;
    }
    .qbe-category-landing .qbe-event-card-body h2,
    .qbe-category-landing .qbe-event-card-body h3,
    .qbe-archive-page .qbe-event-card-body h2,
    .qbe-archive-page .qbe-event-card-body h3{
        font-size:12px;
    }
}

/* QB Event Management 2.5.1 — category shelves + top registration CTA */

/* Category landing shelves remain horizontal on all screen sizes. */
.qbe-category-landing .qbe-public-event-category-section .qbe-event-grid{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:14px;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
    scroll-snap-type:x mandatory;
    padding:2px 2px 12px;
}
.qbe-category-landing .qbe-public-event-category-section .qbe-event-grid::-webkit-scrollbar{
    display:none;
}
.qbe-category-landing .qbe-public-event-category-section .qbe-event-card{
    flex:0 0 250px;
    width:250px;
    min-width:250px;
    scroll-snap-align:start;
}
.qbe-category-landing .qbe-public-event-category-section .qbe-event-card-media{
    aspect-ratio:4/5 !important;
}
.qbe-category-landing .qbe-public-event-category-section .qbe-event-card-media img{
    object-fit:cover;
}

/* "View all" is the full category archive, so it can remain a normal grid. */
.qbe-category-landing .qbe-section-heading>a{
    white-space:nowrap;
}

.qbe-event-top-register{
    width:100%;
    max-width:100%;
    margin:14px 0 4px;
}
.qbe-event-top-register .qbe-btn{
    margin:0;
    min-height:48px;
    border-radius:12px;
    font-size:15px;
    box-shadow:0 7px 18px rgba(11,107,58,.15);
}

@media(max-width:600px){
    .qbe-category-landing .qbe-public-event-category-section .qbe-event-grid{
        gap:10px !important;
        padding-bottom:10px;
    }
    .qbe-category-landing .qbe-public-event-category-section .qbe-event-card{
        flex:0 0 67vw !important;
        width:67vw !important;
        min-width:67vw !important;
    }
    .qbe-category-landing .qbe-public-event-category-section .qbe-event-card-media{
        aspect-ratio:4/5 !important;
    }
    .qbe-category-landing .qbe-public-event-category-section .qbe-event-card-body{
        padding:9px !important;
    }
    .qbe-category-landing .qbe-public-event-category-section .qbe-event-card-body h3{
        font-size:13px;
        line-height:1.22;
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
    }
    .qbe-event-top-register{
        margin:8px 0 3px;
    }
    .qbe-event-top-register .qbe-btn{
        min-height:46px;
        font-size:14px;
    }
}

/* QB Event Management 2.5.2 — definitive mobile shelf override.
   The previous 2-column mobile rule used !important and could force
   category shelves back into a grid. This rule intentionally wins. */
@media(max-width:600px){
    .qbe-category-landing .qbe-public-event-category-section .qbe-event-grid{
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        align-items:stretch !important;
        justify-content:flex-start !important;
        width:100% !important;
        max-width:100% !important;
        overflow-x:auto !important;
        overflow-y:hidden !important;
        gap:12px !important;
        padding:2px 2px 12px !important;
        margin:0 !important;
        box-sizing:border-box !important;
        scrollbar-width:none !important;
        -webkit-overflow-scrolling:touch;
        scroll-snap-type:x mandatory;
    }
    .qbe-category-landing .qbe-public-event-category-section .qbe-event-grid::-webkit-scrollbar{
        display:none !important;
    }
    .qbe-category-landing .qbe-public-event-category-section .qbe-event-card{
        display:flex !important;
        flex:0 0 72vw !important;
        width:72vw !important;
        min-width:72vw !important;
        max-width:72vw !important;
        margin:0 !important;
        box-sizing:border-box !important;
        position:relative !important;
        left:auto !important;
        right:auto !important;
        transform:none !important;
        scroll-snap-align:start;
        overflow:hidden !important;
    }
    .qbe-category-landing .qbe-public-event-category-section .qbe-event-card-media{
        width:100% !important;
        flex:none !important;
        aspect-ratio:4/5 !important;
    }
    .qbe-category-landing .qbe-public-event-category-section .qbe-event-card-media img{
        width:100% !important;
        height:100% !important;
        object-fit:cover !important;
    }

    /* Upcoming feed follows the same clean shelf pattern. */
    .qbe-category-landing .qbe-upcoming-section .qbe-event-grid-upcoming{
        display:flex !important;
        flex-direction:row !important;
        flex-wrap:nowrap !important;
        width:100% !important;
        overflow-x:auto !important;
        overflow-y:hidden !important;
        gap:12px !important;
        padding:2px 2px 12px !important;
    }
    .qbe-category-landing .qbe-upcoming-section .qbe-event-grid-upcoming .qbe-event-card{
        flex:0 0 72vw !important;
        width:72vw !important;
        min-width:72vw !important;
        max-width:72vw !important;
    }
}

/* Specific event page: keep exactly one prominent registration CTA at
   the top; listing cards continue to use View Event. */
.qbe-event-page .qbe-event-top-register{
    display:block;
}

/* QB Event Management 2.5.3 — clean event cards.
   Event listing cards are discovery-only: View Event opens the specific
   event page, where the single Register Now CTA is available. */
.qbe-event-card .qbe-card-actions .qbe-view-event-link{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    text-decoration:none;
}
@media(max-width:600px){
    .qbe-event-card .qbe-card-actions .qbe-view-event-link{
        width:100%;
        justify-content:center;
        box-sizing:border-box;
        border-radius:10px;
        padding:8px 10px;
        background:#0b6b3a;
        color:#fff;
        font-size:11px;
        font-weight:700;
    }
}

/* ============================================================
   QB Event Management 2.5.4 — mobile-first discovery polish
   Design-only layer. Registration/business logic unchanged.
   ============================================================ */

/* Public event landing: compact hierarchy instead of a tall, crowded header. */
.qbe-category-landing{
  max-width:1180px!important;
  padding:30px 22px 90px!important;
}
.qbe-category-landing .qbe-district-head{
  margin:0 0 16px!important;
  align-items:flex-start!important;
}
.qbe-category-landing .qbe-district-head h1{
  margin:5px 0 8px!important;
  max-width:760px;
  font-size:clamp(34px,5vw,56px)!important;
  line-height:1.02!important;
}
.qbe-category-landing .qbe-district-head p{
  max-width:620px;
  font-size:16px;
  line-height:1.5;
}
.qbe-category-landing .qbe-public-event-category-nav{
  margin:4px 0 28px!important;
  padding:3px 0 7px!important;
  gap:9px!important;
  overflow-x:auto!important;
  flex-wrap:nowrap!important;
  scrollbar-width:none!important;
}
.qbe-category-landing .qbe-public-event-category-nav::-webkit-scrollbar{display:none}
.qbe-category-landing .qbe-public-event-category-nav a{
  flex:0 0 auto!important;
  padding:10px 15px!important;
  font-size:13px!important;
  border-radius:999px!important;
}
.qbe-category-landing .qbe-upcoming-section,
.qbe-category-landing .qbe-public-event-category-section{
  margin:0!important;
  padding:24px 0 8px!important;
}
.qbe-category-landing .qbe-upcoming-section{
  border-top:1px solid #edf0ee;
}
.qbe-category-landing .qbe-public-event-category-section{
  border-top:1px solid #edf0ee;
}
.qbe-category-landing .qbe-section-heading{
  margin-bottom:13px!important;
  align-items:center!important;
}
.qbe-category-landing .qbe-section-heading h2{
  font-size:25px!important;
  letter-spacing:-.02em;
}
.qbe-category-landing .qbe-section-heading>a{
  white-space:nowrap;
  font-size:13px;
}
.qbe-category-landing .qbe-event-grid-upcoming,
.qbe-category-landing .qbe-event-grid-category-carousel{
  display:flex!important;
  overflow-x:auto!important;
  flex-wrap:nowrap!important;
  gap:14px!important;
  padding:3px 2px 12px!important;
  scroll-snap-type:x mandatory!important;
  scrollbar-width:none!important;
}
.qbe-category-landing .qbe-event-grid-upcoming::-webkit-scrollbar,
.qbe-category-landing .qbe-event-grid-category-carousel::-webkit-scrollbar{display:none}
.qbe-category-landing .qbe-event-grid-upcoming .qbe-event-card,
.qbe-category-landing .qbe-event-grid-category-carousel .qbe-event-card{
  flex:0 0 300px!important;
  scroll-snap-align:start!important;
}
.qbe-category-landing .qbe-event-card{
  border-radius:15px!important;
  box-shadow:0 4px 16px rgba(0,0,0,.055)!important;
}
.qbe-category-landing .qbe-event-card-media{
  aspect-ratio:4/5!important;
}
.qbe-category-landing .qbe-event-card-body{
  padding:13px!important;
}
.qbe-category-landing .qbe-event-card-body h3{
  font-size:17px!important;
  margin-bottom:8px!important;
}
.qbe-category-landing .qbe-event-card-footer{
  margin-top:10px!important;
}
.qbe-category-landing .qbe-event-card-footer .qbe-btn{
  width:100%;
  margin:0;
}
@media(max-width:700px){
  .qbe-category-landing{
    padding:18px 14px 88px!important;
  }
  .qbe-category-landing .qbe-district-head{
    margin-bottom:10px!important;
  }
  .qbe-category-landing .qbe-district-head h1{
    font-size:31px!important;
    line-height:1.04!important;
  }
  .qbe-category-landing .qbe-district-head p{
    font-size:14px;
    line-height:1.45;
  }
  .qbe-category-landing .qbe-public-event-category-nav{
    margin-bottom:18px!important;
  }
  .qbe-category-landing .qbe-section-heading h2{
    font-size:22px!important;
  }
  .qbe-category-landing .qbe-section-heading>a{
    margin-top:0!important;
  }
  .qbe-category-landing .qbe-event-grid-upcoming .qbe-event-card,
  .qbe-category-landing .qbe-event-grid-category-carousel .qbe-event-card{
    flex:0 0 calc(50vw - 23px)!important;
    min-width:0!important;
  }
  .qbe-category-landing .qbe-event-card-media{
    aspect-ratio:4/5!important;
  }
  .qbe-category-landing .qbe-event-card-body h3{
    font-size:14px!important;
    line-height:1.22!important;
  }
  .qbe-category-landing .qbe-event-card-meta{
    font-size:11px!important;
    line-height:1.35;
  }
  .qbe-category-landing .qbe-event-card-footer{
    display:none!important;
  }
}
@media(max-width:360px){
  .qbe-category-landing .qbe-event-grid-upcoming .qbe-event-card,
  .qbe-category-landing .qbe-event-grid-category-carousel .qbe-event-card{
    flex-basis:calc(50vw - 20px)!important;
  }
}

/* ============================================================
   QB Event Management 2.5.5 — minimal discovery header
   The discovery page intentionally has no marketing hero copy.
   ============================================================ */
.qbe-category-landing .qbe-discovery-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:2px 0 14px;
  border-bottom:1px solid #e7ece9;
}
.qbe-category-landing .qbe-discovery-title .qbe-eyebrow{
  display:block;
  margin-bottom:3px;
}
.qbe-category-landing .qbe-discovery-title h1{
  margin:0!important;
  font-size:clamp(28px,4vw,40px)!important;
  line-height:1!important;
  letter-spacing:-.035em!important;
}
.qbe-filter-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:40px;
  padding:0 14px;
  border:1px solid #d8e0db;
  border-radius:999px;
  background:#fff;
  color:#17211c;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.qbe-filter-toggle span{
  font-size:19px;
  line-height:1;
}
.qbe-filter-toggle.is-active,
.qbe-filter-toggle:hover{
  border-color:#0b6b3a;
  color:#0b6b3a;
}
.qbe-discovery-filters{
  display:none;
  padding:12px 0 2px;
}
.qbe-discovery-filters.is-open{
  display:block;
}
.qbe-discovery-search{
  display:grid;
  grid-template-columns:minmax(0,1fr) 210px auto auto;
  gap:8px;
  align-items:center;
}
.qbe-discovery-search-field{
  display:flex;
  align-items:center;
  gap:8px;
  height:46px;
  padding:0 13px;
  border:1px solid #d8e0db;
  border-radius:11px;
  background:#fff;
}
.qbe-discovery-search-field span{
  color:#68736d;
  font-size:20px;
}
.qbe-discovery-search-field input{
  width:100%;
  height:100%;
  border:0!important;
  outline:0!important;
  padding:0!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:14px;
}
.qbe-discovery-search select{
  width:100%;
  height:46px;
  padding:0 12px;
  border:1px solid #d8e0db;
  border-radius:11px;
  background:#fff;
  color:#17211c;
}
.qbe-discovery-search-btn{
  height:46px;
  margin:0!important;
  border-radius:11px!important;
}
.qbe-discovery-clear{
  color:#53615a;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  padding:0 5px;
}
.qbe-category-landing .qbe-public-event-category-nav{
  margin-top:12px!important;
}
@media(max-width:700px){
  .qbe-category-landing .qbe-discovery-header{
    padding-bottom:11px;
  }
  .qbe-category-landing .qbe-discovery-title h1{
    font-size:28px!important;
  }
  .qbe-filter-toggle{
    min-height:38px;
    padding:0 12px;
    font-size:12px;
  }
  .qbe-discovery-search{
    grid-template-columns:1fr;
  }
  .qbe-discovery-search-btn{
    width:100%;
  }
  .qbe-discovery-clear{
    text-align:center;
    padding:7px;
  }
  .qbe-category-landing .qbe-public-event-category-nav{
    margin-top:9px!important;
  }
}

/* 2.5.6 — no headline in the Events discovery toolbar */
.qbe-category-landing .qbe-discovery-title{
  display:none!important;
}
.qbe-category-landing .qbe-discovery-header{
  justify-content:flex-end!important;
  border-bottom:0!important;
  padding:0 0 8px!important;
}
@media(max-width:700px){
  .qbe-category-landing .qbe-discovery-header{
    padding-bottom:6px!important;
  }
}

/* ============================================================
   QB Event Management 2.5.7 — compact category navigation
   ============================================================ */

/* One continuous horizontal row on mobile and desktop. */
.qbe-category-landing .qbe-public-event-category-nav{
  display:flex!important;
  flex-wrap:nowrap!important;
  overflow-x:auto!important;
  align-items:center!important;
  gap:10px!important;
  scrollbar-width:none!important;
  white-space:nowrap!important;
}
.qbe-category-landing .qbe-public-event-category-nav::-webkit-scrollbar{display:none}

.qbe-category-landing .qbe-public-event-category-nav a{
  flex:0 0 auto!important;
  white-space:nowrap!important;
}

/* Search/filter is the final item in the same horizontal row. */
.qbe-category-search-filter{
  flex:0 0 auto!important;
  white-space:nowrap!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:42px;
  padding:0 15px;
  border:1px solid #d8e0db;
  border-radius:999px;
  background:#fff;
  color:#17211c;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}
.qbe-category-search-filter span{
  font-size:20px;
  line-height:1;
}
.qbe-category-search-filter.is-active{
  background:#ff7a00!important;
  border-color:#ff7a00!important;
  color:#fff!important;
}

/* Selected category: orange, not green. */
.qbe-category-landing .qbe-public-event-category-nav a.active,
.qbe-category-landing .qbe-public-event-category-nav a[aria-current="page"],
.qbe-category-landing .qbe-public-event-category-nav a.qbe-active,
.qbe-category-landing .qbe-public-event-category-nav a:hover{
  background:#ff7a00!important;
  border-color:#ff7a00!important;
  color:#fff!important;
}

/* Keep the last filter/search control visually separate but in-row. */
@media(max-width:700px){
  .qbe-category-landing .qbe-public-event-category-nav{
    width:100%!important;
    padding-bottom:5px!important;
  }
  .qbe-category-landing .qbe-public-event-category-nav a,
  .qbe-category-search-filter{
    flex:0 0 auto!important;
  }
}

/* If the current category is represented by a query parameter, give its
   link the orange selected state without changing the PHP logic. */

/* 2.5.8 — remove duplicate top filter; category-row filter is the only control */
.qbe-category-landing .qbe-discovery-header{
  display:none!important;
}
.qbe-category-landing .qbe-public-event-category-nav{
  margin-top:0!important;
}


/* QBE Explore upcoming-events shelf — added without changing existing event styles. */
.qbe-explore-upcoming{
  width:100%;
  margin:0;
  box-sizing:border-box;
}
.qbe-explore-upcoming-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 18px;
}
.qbe-explore-upcoming-head h2{
  margin:0;
}
.qbe-explore-upcoming-head a{
  white-space:nowrap;
  text-decoration:none;
  font-weight:700;
}
.qbe-explore-upcoming-track{
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  gap:18px;
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  padding:2px 2px 12px;
  box-sizing:border-box;
  scroll-snap-type:x proximity;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.qbe-explore-upcoming-track::-webkit-scrollbar{
  display:none;
}
.qbe-explore-upcoming-card{
  flex:0 0 250px;
  width:250px;
  min-width:250px;
  max-width:250px;
  overflow:hidden;
  border:1px solid #e7ece9;
  border-radius:15px;
  background:#fff;
  box-sizing:border-box;
  scroll-snap-align:start;
}
.qbe-explore-upcoming-media{
  display:block;
  width:100%;
  aspect-ratio:4/5;
  overflow:hidden;
  background:#f3f5f4;
  text-decoration:none;
}
.qbe-explore-upcoming-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.qbe-explore-upcoming-body{
  padding:12px;
  box-sizing:border-box;
}
.qbe-explore-upcoming-body h3{
  margin:7px 0 7px;
  font-size:17px;
  line-height:1.2;
}
.qbe-explore-upcoming-body h3 a{
  color:inherit;
  text-decoration:none;
}
.qbe-explore-upcoming-meta{
  font-size:12px;
  line-height:1.4;
  color:#666;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
@media(max-width:700px){
  .qbe-explore-upcoming-track{
    gap:12px;
  }
  .qbe-explore-upcoming-card{
    flex:0 0 calc(50vw - 22px);
    width:calc(50vw - 22px);
    min-width:calc(50vw - 22px);
    max-width:calc(50vw - 22px);
  }
  .qbe-explore-upcoming-body{
    padding:10px;
  }
  .qbe-explore-upcoming-body h3{
    font-size:14px;
    line-height:1.22;
  }
  .qbe-explore-upcoming-meta{
    font-size:11px;
  }
}
@media(max-width:360px){
  .qbe-explore-upcoming-card{
    flex-basis:calc(50vw - 18px);
    width:calc(50vw - 18px);
    min-width:calc(50vw - 18px);
    max-width:calc(50vw - 18px);
  }
}

/* Desktop pointer dragging for the Explore upcoming-events shelf. */
.qbe-explore-upcoming-track{
  cursor:grab;
  touch-action:pan-x;
}
.qbe-explore-upcoming-track.qbe-is-dragging{
  cursor:grabbing;
  user-select:none;
}
.qbe-explore-upcoming-track.qbe-is-dragging *{
  cursor:grabbing;
}
