/* 324 shared mobile collections: Events, Classifieds, People/Services */
@media(max-width:767px){
.rpe-events-filter-bar,.rpe-classifieds-filter-bar,.rpe-services-filter-bar{display:block!important;padding:20px 16px!important;min-width:0!important}
.rpe-collection-mobile-rail{display:flex!important;gap:10px!important;overflow-x:auto!important;overflow-y:hidden!important;flex-wrap:nowrap!important;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:22px 0 18px;width:100%;}
.rpe-collection-mobile-rail::-webkit-scrollbar{display:none}
.rpe-collection-mobile-facet{flex:0 0 174px!important;width:174px!important;min-width:174px!important;position:relative;scroll-snap-align:start}
.rpe-collection-mobile-facet>span,.rpe-collection-mobile-facet>select,.rpe-collection-mobile-facet>input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.rpe-collection-facet-face{position:relative;display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;min-height:64px;padding:11px 32px 10px 14px!important;border:1px solid #d4dce7!important;border-radius:15px!important;background:#fff!important;color:#17212f!important;text-align:left!important;gap:4px;cursor:pointer;touch-action:manipulation}
.rpe-collection-facet-title{font-size:11px!important;line-height:1.2;font-weight:700!important;color:#334155!important;letter-spacing:0!important;opacity:1!important}
.rpe-collection-facet-value{font-size:13px!important;line-height:1.3;font-weight:800!important;color:#17212f!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.rpe-collection-facet-chevron{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:#526174;font-size:20px}
.rpe-events-filter-actions,.rpe-classifieds-filter-actions,.rpe-services-filter-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;width:100%!important}
.rpe-events-filter-actions>*,.rpe-classifieds-filter-actions>*,.rpe-services-filter-actions>*{width:100%!important;min-width:0!important;min-height:48px!important;justify-content:center!important;text-align:center!important;padding:10px 6px!important}
.rpe-events-results-toolbar,.rpe-classifieds-results-toolbar,.rpe-services-results-toolbar{display:flex!important;flex-wrap:wrap!important;gap:12px!important}
.rpe-events-results-toolbar>:first-child,.rpe-classifieds-results-summary,.rpe-services-results-toolbar>:first-child{width:100%!important;text-align:center!important;justify-content:center!important}
.rpe-events-results-actions label,.rpe-classifieds-sort-control,.rpe-services-results-actions label{border:1px solid #d4dce7!important;border-radius:14px!important;padding:6px 10px!important;display:flex!important;flex-direction:column!important;gap:2px!important;min-height:58px!important;justify-content:center!important}
.rpe-events-results-actions label>span,.rpe-classifieds-sort-control>span,.rpe-services-results-actions label>span{font-size:11px!important;letter-spacing:0!important;text-transform:none!important;opacity:1!important;color:#64748b!important}
.rpe-events-results-actions select,.rpe-classifieds-sort-control select,.rpe-services-results-actions select{min-height:30px!important;height:30px!important;border:0!important;padding:0 18px 0 0!important;background:transparent!important;font-weight:700!important}
}
.rpe-collection-facet-pop{position:fixed!important;z-index:2147483000!important;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;background:rgba(28,35,47,.94)!important;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border:1px solid rgba(255,255,255,.15);border-radius:22px;padding:12px;box-shadow:0 18px 60px #0005;color:#f7f8fb!important}
.rpe-collection-facet-pop[hidden]{display:none!important}
.rpe-collection-pop-head{display:flex;justify-content:space-between;align-items:center;padding:5px 9px 12px;font-weight:800}
.rpe-collection-pop-head button{border:0;background:transparent;color:#fff;font-size:27px;line-height:1;cursor:pointer}
.rpe-collection-pop-choices{display:flex;flex-direction:column;gap:3px}
.rpe-collection-pop-option{display:block;text-align:left;width:100%;border:0;border-radius:12px;padding:13px 14px;background:transparent;color:#f6f7fb;font-size:15px;cursor:pointer}
.rpe-collection-pop-option.is-selected{background:rgba(255,255,255,.14);color:#fff;font-weight:800}
.rpe-collection-pop-option.is-selected:before{content:'✓';color:#ff3654;margin-right:9px}
.rpe-collection-pop-input{width:100%;min-height:45px;background:#fff;color:#17212f;border:0;border-radius:10px;padding:10px;font-size:16px}
.rpe-collection-pop-done{margin-top:12px;background:#ef233c;color:#fff;border:0;border-radius:10px;padding:11px 15px;font-weight:800}

/* .333: Events mobile filters use the same dark surface as Jobs and Directory. */
@media(max-width:767px){
 html body .rpe-events-filter-bar,html body.rpe-appearance-light .rpe-events-filter-bar,html body.rpe-appearance-dark .rpe-events-filter-bar,html[data-theme="light"] body .rpe-events-filter-bar,html[data-theme="dark"] body .rpe-events-filter-bar{background:#090c11!important;background-color:#090c11!important;color:#f4f6fa!important;border-color:#090c11!important;}
 html body .rpe-events-filter-heading,html body .rpe-events-filter-heading strong{color:#e5eaf2!important;}
 html body .rpe-events-filter-heading>span{color:#ff2948!important;}
 html body .rpe-events-filter-actions a{color:#f4f6fa!important;border-color:#303741!important;background:transparent!important;}
}
