body.qre-public{margin:0;background:#f5f6f3;color:#1c211c;font-family:Arial,Helvetica,sans-serif}
.qre-public *{box-sizing:border-box}
.qre-container{width:min(1160px,calc(100% - 40px));margin-inline:auto}
.qre-header{background:#fff;border-bottom:1px solid #e1e5df}
.qre-header .qre-container{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.qre-header a{text-decoration:none;color:inherit}.qre-header>a,.qre-header .qre-container>a{display:flex;align-items:center;gap:10px}.qre-header img{width:54px;height:54px;object-fit:contain}
.qre-header nav{display:flex;gap:14px}.qre-header nav a{font-weight:700}
.qre-hero{padding:58px 0;background:#171a17;color:#fff}.qre-hero h1{font-size:52px;margin:6px 0 12px}.qre-hero p{font-size:18px;color:#dce1dc}
.qre-eyebrow{font-size:11px;font-weight:800;letter-spacing:.12em;color:#b99c3d}
.qre-browser,.qre-detail{padding:54px 0}
.qre-filters{display:grid;grid-template-columns:1fr 220px auto;gap:10px;margin-bottom:24px;padding:14px;background:#fff;border:1px solid #dfe4dc;border-radius:14px}
.qre-filters input,.qre-filters select,.qre-filters button,.qre-registration input,.qre-registration textarea{min-height:46px;border:1px solid #d7ddd5;border-radius:9px;padding:9px 12px;font:inherit}
.qre-filters button,.qre-registration button{background:#171a17;color:#fff;border:0;font-weight:700;padding:10px 18px}
.qre-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.qre-event-card{background:#fff;border:1px solid #dfe4dc;border-radius:18px;overflow:hidden}
.qre-event-media{position:relative;display:block;aspect-ratio:16/9;background:#e7ebe5}
.qre-event-media img{width:100%;height:100%;object-fit:cover}.qre-event-placeholder{height:100%;display:flex;align-items:center;justify-content:center;font-size:48px;color:#99a299}
.qre-featured{position:absolute;left:12px;top:12px;background:#d6b54b;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800}
.qre-event-body{padding:18px}.qre-type{font-size:10px;font-weight:800;text-transform:uppercase;color:#707870}.qre-event-body h3{font-size:23px;margin:7px 0}.qre-event-body h3 a{color:inherit;text-decoration:none}
.qre-meta{margin:5px 0;color:#626b62}.qre-card-action{display:inline-block;margin-top:10px;font-weight:800;color:#1c211c}
.qre-detail-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(310px,.6fr);gap:38px}.qre-detail-image{width:100%;max-height:500px;object-fit:cover;border-radius:20px;margin-bottom:24px}
.qre-detail h1{font-size:46px;margin:8px 0 12px}.qre-lead{font-size:20px;line-height:1.5}.qre-rich{line-height:1.7}
.qre-event-info{display:grid;gap:12px;align-self:start}.qre-event-info>section,.qre-registration,.qre-success,.qre-closed,.qre-errors{background:#fff;border:1px solid #dfe4dc;border-radius:14px;padding:18px}
.qre-event-info>section span{display:block;font-size:10px;font-weight:800;letter-spacing:.08em;color:#747c74;margin-bottom:6px}
.qre-registration{display:grid;gap:12px}.qre-registration h2{margin:0}.qre-registration label{display:grid;gap:5px}.qre-registration textarea{min-height:100px}.qre-hp{display:none}
.qre-success{background:#edf8ef}.qre-errors{background:#fff0f0}.qre-back{display:inline-block;margin-bottom:18px;color:inherit;font-weight:700}
.qre-footer{background:#171a17;color:#fff;padding:36px 0}.qre-footer strong,.qre-footer span{display:block}.qre-footer span{color:#b9c0b9;margin-top:4px}
@media(max-width:900px){.qre-event-grid{grid-template-columns:repeat(2,1fr)}.qre-detail-grid{grid-template-columns:1fr}}
@media(max-width:620px){.qre-container{width:min(100% - 24px,1160px)}.qre-event-grid,.qre-filters{grid-template-columns:1fr}.qre-header .qre-container{align-items:flex-start;flex-direction:column;padding:14px 0}.qre-detail h1,.qre-hero h1{font-size:38px}}

.qre-ticket-box{background:#fff;border:1px solid #dfe4dc;border-radius:14px;padding:20px}
.qre-ticket-box h2{margin-top:0}.qre-ticket-box small{display:block;margin-top:10px;color:#687068}
.qre-ticket-button{display:block;text-align:center;padding:13px 18px;border-radius:9px;background:#171a17;color:#fff!important;text-decoration:none;font-weight:800}


/* v1.2.2 Rescue Experience UI alignment */
body.qre-public{
    font-family:Arial,Helvetica,sans-serif;
    font-size:16px;
    line-height:1.5;
}

.qre-container{
    width:min(1400px,calc(100% - 48px));
    margin-inline:auto;
}

.qre-exp-header{
    background:#fff;
    border-bottom:1px solid #e7e7e3;
}

.qre-exp-header .qre-header-inner{
    min-height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.qre-exp-header .qre-brand{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
    text-decoration:none;
    color:inherit;
}

.qre-exp-header .qre-brand img{
    width:64px;
    height:64px;
    object-fit:contain;
    flex:0 0 64px;
}

.qre-exp-header .qre-brand strong{
    display:block;
    font-size:21px;
    font-weight:500;
    line-height:1.2;
    color:#a6a25f;
    white-space:nowrap;
}

.qre-exp-header .qre-nav{
    display:flex;
    align-items:center;
    gap:28px;
    flex-wrap:wrap;
    justify-content:flex-end;
}

.qre-exp-header .qre-nav a{
    color:#222;
    text-decoration:none;
    font-size:16px;
    font-weight:700;
    line-height:1;
}

.qre-exp-header .qre-nav .qre-nav-cta{
    padding:14px 18px;
    border-radius:10px;
    background:#b8b4b4;
}

.qre-hero{
    padding:72px 0;
}

.qre-hero h1{
    margin:8px 0 12px;
    font-size:58px;
    line-height:1.05;
    font-weight:400;
    letter-spacing:-.02em;
}

.qre-hero p{
    max-width:760px;
    font-size:20px;
    line-height:1.45;
}

.qre-browser,
.qre-detail{
    padding:48px 0 64px;
}

.qre-filters{
    grid-template-columns:minmax(0,1fr) 260px auto;
    gap:12px;
    padding:16px;
}

.qre-filters input,
.qre-filters select,
.qre-filters button{
    min-height:52px;
    font-size:16px;
}

.qre-event-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.qre-event-body{
    padding:20px;
}

.qre-event-body h3{
    font-size:24px;
    line-height:1.2;
}

.qre-detail-grid{
    grid-template-columns:minmax(0,1.45fr) minmax(340px,.55fr);
    gap:48px;
}

.qre-detail h1{
    font-size:54px;
    line-height:1.05;
    font-weight:400;
    letter-spacing:-.02em;
}

.qre-event-info{
    gap:14px;
}

.qre-event-info>section,
.qre-registration,
.qre-success,
.qre-closed,
.qre-errors,
.qre-ticket-box{
    border-radius:16px;
    padding:22px;
}

.qre-registration h2,
.qre-ticket-box h2{
    font-size:30px;
    line-height:1.1;
    font-weight:400;
}

.qre-registration label{
    font-size:16px;
    font-weight:600;
}

.qre-registration input,
.qre-registration textarea,
.qre-registration select{
    font-size:16px;
    min-height:50px;
}

.qre-footer .qre-container{
    width:min(1400px,calc(100% - 48px));
}

@media(max-width:1100px){
    .qre-exp-header .qre-header-inner{
        align-items:flex-start;
        flex-direction:column;
        padding:14px 0;
    }
    .qre-exp-header .qre-nav{
        gap:18px;
    }
    .qre-detail-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:760px){
    .qre-container,
    .qre-footer .qre-container{
        width:min(100% - 28px,1400px);
    }
    .qre-exp-header .qre-brand img{
        width:54px;
        height:54px;
        flex-basis:54px;
    }
    .qre-exp-header .qre-brand strong{
        font-size:18px;
        white-space:normal;
    }
    .qre-exp-header .qre-nav{
        width:100%;
        gap:14px;
    }
    .qre-exp-header .qre-nav a{
        font-size:14px;
    }
    .qre-hero{
        padding:48px 0;
    }
    .qre-hero h1,
    .qre-detail h1{
        font-size:40px;
    }
    .qre-event-grid,
    .qre-filters{
        grid-template-columns:1fr;
    }
}


/* v1.2.3 — use the real Quicka Rescue Experience shell */
body.qre-events-public{
    background:var(--qrx-bg,#f5f6f3);
    color:var(--qrx-text,#1c211c);
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

/* Event-specific content must use exactly the same content width as Experience. */
.qre-events-public .qre-container{
    width:min(1180px,calc(100% - 40px))!important;
    margin:0 auto!important;
}

/* Events header/footer are now qrx components. Do not restyle their dimensions here. */
.qre-events-public .qrx-header,
.qre-events-public .qrx-header-inner,
.qre-events-public .qrx-brand,
.qre-events-public .qrx-nav,
.qre-events-public .qrx-footer,
.qre-events-public .qrx-footer-grid{
    font-family:inherit;
}

/* Match the secondary Experience page rhythm, not the homepage hero depth. */
.qre-events-public .qre-hero{
    padding:58px 0 34px;
    background:var(--qrx-secondary,#171a17);
    color:#fff;
    border-bottom:5px solid var(--qrx-primary,#9ee500);
}

.qre-events-public .qre-hero .qre-container{
    width:min(1180px,calc(100% - 40px))!important;
}

.qre-events-public .qre-hero h1{
    font-size:clamp(42px,6vw,64px);
    letter-spacing:-.04em;
    line-height:1;
    margin:0 0 12px;
    font-weight:700;
}

.qre-events-public .qre-hero p{
    font-size:18px;
    line-height:1.5;
    opacity:.82;
    margin:0;
}

.qre-events-public .qre-eyebrow{
    font-size:12px;
    letter-spacing:.12em;
    font-weight:850;
    color:var(--qrx-primary,#9ee500);
    margin-bottom:13px;
}

.qre-events-public .qre-browser{
    padding:38px 0 72px;
}

.qre-events-public .qre-filters{
    margin-bottom:22px;
    border-radius:10px;
}

.qre-events-public .qre-event-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.qre-events-public .qre-detail{
    padding:50px 0 72px;
}

@media(max-width:780px){
    .qre-events-public .qre-container,
    .qre-events-public .qre-hero .qre-container{
        width:min(100% - 28px,1180px)!important;
    }
    .qre-events-public .qre-event-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:560px){
    .qre-events-public .qre-event-grid{
        grid-template-columns:1fr;
    }
}


/* v1.2.5 — strict shared-shell typography
   Events must never alter the Rescue Experience header/navigation typography. */
body.qrx-public.qre-events-public{
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:initial !important;
    line-height:normal !important;
}

/* Exact Rescue Experience v1.6.x header typography. */
.qre-events-public .qrx-header{
    font-family:Arial,Helvetica,sans-serif !important;
}

.qre-events-public .qrx-header-inner{
    min-height:84px;
}

.qre-events-public .qrx-brand strong{
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:18px !important;
    line-height:normal !important;
    font-weight:700;
}

.qre-events-public .qrx-brand small{
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:initial;
    line-height:normal;
}

.qre-events-public .qrx-nav{
    gap:3px !important;
    line-height:normal !important;
}

.qre-events-public .qrx-nav a{
    padding:11px 13px !important;
    border-radius:9px !important;
    font-family:Arial,Helvetica,sans-serif !important;
    font-size:14px !important;
    font-weight:650 !important;
    line-height:normal !important;
}

/* Keep the normal Experience CTA dimensions; Events may not redefine them. */
.qre-events-public .qrx-nav .qrx-nav-cta{
    padding:11px 13px !important;
    font-size:14px !important;
    line-height:normal !important;
}

/* Event typography is scoped below main only. */
.qre-events-public .qrx-main .qre-hero,
.qre-events-public .qrx-main .qre-browser,
.qre-events-public .qrx-main .qre-detail,
.qre-events-public .qrx-main .qre-filters,
.qre-events-public .qrx-main .qre-event-card,
.qre-events-public .qrx-main .qre-registration,
.qre-events-public .qrx-main .qre-ticket-box{
    font-family:Arial,Helvetica,sans-serif;
    line-height:1.5;
}

@media(max-width:782px){
    .qre-events-public .qrx-header-inner{
        min-height:72px;
    }
}
