/* RS uniform directory hero — one design for Resources, Store, Live, Events, Channels, Churches, Meditation.
   Markup: <section class="rs-hero module-directory-hero" style="--rs-hero-img:url(..)"><div class="rs-hero-inner">
   <div class="module-hero-copy"><span class="rs-hero-eyebrow"><i/> Label</span><h1/><p/></div>
   <div class="rs-hero-actions"><button class="rs-hero-btn">..</button></div></div></section>
   Churches keeps <section class="rsc-dir-hero"> (pinned by tests). First search bar straddles the hero bottom. */
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:600;font-display:swap;src:url("vendor/fonts/source-serif-4-latin-600-normal.woff2") format("woff2");}
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:700;font-display:swap;src:url("vendor/fonts/source-serif-4-latin-700-normal.woff2") format("woff2");}
:root{--rs-hero-w:min(1180px,calc(100vw - 64px));--rs-hero-h:340px;--rs-hero-pad-top:52px;--rs-hero-pad-bottom:72px;--rs-bar-h:64px;--rs-ctl-h:44px;--rs-hero-btn-ink:#fff}
@media (max-width:640px){:root{--rs-hero-w:calc(100vw - 32px);--rs-hero-h:auto;--rs-hero-pad-top:32px;--rs-hero-pad-bottom:64px}}
html body .rsc-dir-hero{--rs-hero-img:url("assets/church-audience.jpg")}
html body.rsc-page{overflow-x:clip}

/* cover */
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b){position:relative!important;isolation:isolate;display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;height:var(--rs-hero-h)!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;background:var(--rs-hero-img) center/cover no-repeat,var(--rs-bg)!important;animation:none!important;text-align:left!important;transform:none!important}
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b)::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;z-index:0!important;border:0!important;border-radius:0!important;filter:none!important;mix-blend-mode:normal!important;transform:none!important;animation:none!important;opacity:1!important;background:linear-gradient(90deg,color-mix(in srgb,var(--rs-bg) 96%,transparent) 0%,color-mix(in srgb,var(--rs-bg) 88%,transparent) 36%,color-mix(in srgb,var(--rs-bg) 40%,transparent) 66%,color-mix(in srgb,var(--rs-bg) 0%,transparent) 100%)!important}
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b)::after{display:none!important}
/* churches hero sits inside centred .rsc-main: break out */
html body .rsc-main:not(#rs-a):not(#rs-b)>.rsc-dir-hero{width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-top:0!important}

/* inner grid: same x as the page content */
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b)>.rs-hero-inner{position:relative!important;z-index:1!important;box-sizing:border-box!important;width:var(--rs-hero-w)!important;max-width:none!important;height:100%!important;margin:0 auto!important;padding:var(--rs-hero-pad-top) 0 var(--rs-hero-pad-bottom)!important;display:flex!important;flex-direction:row!important;align-items:flex-end!important;justify-content:space-between!important;gap:32px!important;background:none!important;border:0!important;min-height:0!important}
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) :is(.module-hero-copy,.rs-hero-copy){align-self:flex-start!important;display:block!important;flex:0 1 640px!important;max-width:640px!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;text-align:left!important}

/* text */
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) .rs-hero-eyebrow{display:flex!important;align-items:center!important;gap:8px!important;width:max-content!important;height:20px!important;margin:0 0 14px!important;padding:0!important;background:none!important;border:0!important;color:var(--rs-accent)!important;font:700 13px/20px Inter,system-ui,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase!important;opacity:1!important;max-width:none!important}
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) .rs-hero-eyebrow svg{width:16px!important;height:16px!important;flex:none!important}
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) :is(h1,h2){font-family:"Source Serif 4",Georgia,"Times New Roman",serif!important;font-weight:700!important;font-size:44px!important;line-height:1.1!important;letter-spacing:-.015em!important;color:var(--rs-text)!important;margin:0 0 14px!important;padding:0!important;max-width:640px!important;background:none!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;text-align:left!important}
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) :is(.module-hero-copy,.rs-hero-copy)>p:not(.rs-hero-eyebrow){color:var(--rs-text)!important;opacity:.86!important;font:400 17px/1.55 Inter,system-ui,sans-serif!important;margin:0!important;padding:0!important;max-width:560px!important}

/* button: identical everywhere */
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) .rs-hero-actions{flex:none!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;margin:0!important;padding:0!important}
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) .rs-hero-btn{-webkit-appearance:none!important;appearance:none!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:48px!important;min-height:48px!important;width:auto!important;margin:0!important;padding:0 22px!important;border:0!important;border-radius:999px!important;background:var(--rs-accent)!important;color:var(--rs-hero-btn-ink)!important;-webkit-text-fill-color:var(--rs-hero-btn-ink)!important;font:600 15px/1 Inter,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:var(--rs-shadow)!important;opacity:1!important;cursor:pointer!important;transform:none!important;filter:none!important;transition:background-color .15s ease,transform .15s ease,box-shadow .15s ease!important}
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) .rs-hero-btn :is(svg,i){width:18px!important;height:18px!important;flex:none!important;color:inherit!important;stroke:currentColor!important}
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) .rs-hero-btn span{color:inherit!important;font:inherit!important}
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) .rs-hero-btn:hover{background:var(--rs-accent-ink)!important;transform:translateY(-1px)!important;box-shadow:var(--rs-shadow-hover,var(--rs-shadow))!important}
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) .rs-hero-btn:focus-visible{outline:3px solid var(--rs-ring,var(--rs-accent))!important;outline-offset:2px!important}
html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) .rs-hero-btn:is(:disabled,[aria-disabled="true"]){opacity:.55!important;cursor:not-allowed!important;transform:none!important}

/* page content column shares the hero grid */
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.module-content,.sf-collection):not(#rs-a):not(#rs-b),html body .rsc-main:not(#rs-a):not(#rs-b){box-sizing:border-box!important;width:var(--rs-hero-w)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;margin-top:0!important;padding-top:0!important}

/* search bar: identical container */
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b){position:relative!important;z-index:3!important;box-sizing:border-box!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;width:100%!important;max-width:none!important;min-height:var(--rs-bar-h)!important;height:var(--rs-bar-h)!important;margin:calc(var(--rs-bar-h) / -2) 0 28px!important;padding:10px!important;border:1px solid var(--rs-line)!important;border-radius:18px!important;background:var(--rs-card)!important;box-shadow:var(--rs-shadow)!important;backdrop-filter:none!important;transform:none!important;translate:none!important;top:auto!important}
/* search input wrapper */
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar .module-search,.sf-toolbar .sf-search,.rsc-toolbar .rsc-search):not(#rs-a):not(#rs-b){box-sizing:border-box!important;flex:1 1 auto!important;min-width:140px!important;display:flex!important;align-items:center!important;gap:8px!important;height:var(--rs-ctl-h)!important;min-height:var(--rs-ctl-h)!important;margin:0!important;padding:0 16px!important;border:1px solid var(--rs-line)!important;border-radius:999px!important;background:var(--rs-bg)!important;box-shadow:none!important;color:var(--rs-muted)!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar .module-search,.sf-toolbar .sf-search,.rsc-toolbar .rsc-search):not(#rs-a):not(#rs-b) svg{width:18px!important;height:18px!important;flex:none!important;position:static!important;color:var(--rs-muted)!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar .module-search,.sf-toolbar .sf-search,.rsc-toolbar .rsc-search):not(#rs-a):not(#rs-b) input{flex:1 1 auto!important;min-width:0!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:var(--rs-text)!important;font:400 15px/1 Inter,system-ui,sans-serif!important}
/* filter groups */
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar .module-filter-group,.sf-toolbar .sf-filters,.rsc-toolbar .rsc-filters):not(#rs-a):not(#rs-b){flex:0 1 auto!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:10px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;min-width:0!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b) :is(.module-filter-control,.rsc-filter){height:var(--rs-ctl-h)!important;min-height:0!important;margin:0!important;flex:none!important}
/* one pill component for every filter control */
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b) :is(.module-filter-trigger,.sf-select,.rsc-filter-btn,.lobby-tab-btn):not(.module-filter-popup *){-webkit-appearance:none!important;appearance:none!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;height:var(--rs-ctl-h)!important;min-height:var(--rs-ctl-h)!important;width:auto!important;min-width:0!important;margin:0!important;padding:0 14px 0 16px!important;border:1px solid var(--rs-line)!important;border-radius:999px!important;background-color:var(--rs-bg)!important;box-shadow:none!important;color:var(--rs-text)!important;-webkit-text-fill-color:var(--rs-text)!important;font:600 14px/1 Inter,system-ui,sans-serif!important;white-space:nowrap!important;transform:none!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) .sf-toolbar:not(#rs-a):not(#rs-b) .sf-select{padding-right:38px!important;background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;background-position:calc(100% - 20px) 50%,calc(100% - 15px) 50%!important;background-size:5px 5px!important;background-repeat:no-repeat!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b) :is(.module-filter-trigger,.rsc-filter-btn,.lobby-tab-btn) svg{width:16px!important;height:16px!important;flex:none!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b) :is(.module-filter-trigger,.rsc-filter-btn,.lobby-tab-btn) :is(.trigger-label,.pill-title,span){font:inherit!important;color:inherit!important}
/* selected state (meditation room tabs, active filters) */
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.rsc-toolbar):not(#rs-a):not(#rs-b) :is(.lobby-tab-btn.active,.rsc-filter-btn[aria-expanded="true"],.module-filter-trigger[aria-expanded="true"]){border-color:var(--rs-accent)!important;color:var(--rs-accent)!important;-webkit-text-fill-color:var(--rs-accent)!important;background-color:color-mix(in srgb,var(--rs-accent) 10%,var(--rs-bg))!important}

/* store: results row (count / sort / cart) below the bar */
html body .sf-results-row:not(#rs-a):not(#rs-b){display:flex!important;justify-content:flex-end!important;margin:0 0 20px!important}
html body .sf-results-row:not(#rs-a):not(#rs-b) .sf-toolbar-end{display:flex!important;align-items:center!important;gap:12px!important;margin:0!important}

@media (max-width:640px){
 html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b){background-position:center top!important}
 html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b)::before{background:linear-gradient(180deg,color-mix(in srgb,var(--rs-bg) 55%,transparent) 0%,color-mix(in srgb,var(--rs-bg) 86%,transparent) 50%,color-mix(in srgb,var(--rs-bg) 96%,transparent) 100%)!important}
 html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b)>.rs-hero-inner{flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:20px!important;height:auto!important}
 html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) :is(.module-hero-copy,.rs-hero-copy){flex:none!important;max-width:100%!important}
 html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) :is(h1,h2){font-size:30px!important}
 html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) :is(.module-hero-copy,.rs-hero-copy)>p:not(.rs-hero-eyebrow){font-size:15px!important}
 html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) .rs-hero-actions{justify-content:flex-start!important;flex-wrap:wrap!important}
 html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) .rs-hero-actions{width:100%!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important}
 html body :is(.rs-hero,.rsc-dir-hero):not(#rs-a):not(#rs-b) .rs-hero-btn{width:100%!important}
 html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b){gap:8px!important;padding:10px!important}
 html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar .module-filter-group,.sf-toolbar .sf-filters,.rsc-toolbar .rsc-filters):not(#rs-a):not(#rs-b){overflow-x:auto!important;scrollbar-width:none}
}
/* ===== bar controls: concentric radius, faint lift over the bar, exact containment ===== */
:root{--rs-bar-pad:10px;--rs-ctl-r:12px;--rs-bar-r:22px;--rs-ctl-bg:color-mix(in srgb,var(--rs-card) 94%,var(--rs-text));--rs-ctl-bd:color-mix(in srgb,var(--rs-card) 84%,var(--rs-text))}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b):not(#rs-c){box-sizing:border-box!important;height:64px!important;min-height:64px!important;padding:calc(var(--rs-bar-pad) - 1px)!important;border-width:1px!important;border-radius:var(--rs-bar-r)!important;align-items:center!important;gap:10px!important;overflow:visible!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b):not(#rs-c) :is(.module-search,.sf-search,.rsc-search,.module-filter-trigger,.rsc-filter-btn,.lobby-tab-btn,.module-mobile-filter-button):not(.module-filter-popup *):not(.rsc-filter-panel *):not(#rs-d){box-sizing:border-box!important;height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;border:1px solid var(--rs-ctl-bd)!important;border-radius:var(--rs-ctl-r)!important;background-color:var(--rs-ctl-bg)!important;align-items:center!important;line-height:1!important;position:relative!important;top:auto!important;bottom:auto!important;right:auto!important;left:auto!important;transform:none!important;align-self:center!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b):not(#rs-c) :is(.module-filter-trigger,.rsc-filter-btn,.lobby-tab-btn):not(.module-filter-popup *):not(.rsc-filter-panel *):not(#rs-d){padding:0 14px!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b):not(#rs-c) :is(.module-search,.sf-search,.rsc-search):not(#rs-d){padding:0 14px!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b):not(#rs-c) :is(.module-filter-control,.rsc-filter,.module-filter-group,.rsc-filters,.module-filter-overflow){height:44px!important;align-self:center!important;display:flex!important;align-items:center!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b):not(#rs-c) :is(.module-filter-control,.rsc-filter,.module-filter-overflow)[hidden],html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b):not(#rs-c) .module-filter-overflow.mobile-filter-mode{display:none!important}
/* selected tab/open filter keeps the accent */
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.rsc-toolbar):not(#rs-a):not(#rs-b):not(#rs-c) :is(.lobby-tab-btn.active,.module-filter-trigger[aria-expanded="true"],.rsc-filter-btn[aria-expanded="true"]):not(.module-filter-popup *):not(#rs-d){border-color:color-mix(in srgb,var(--rs-accent) 55%,var(--rs-ctl-bd))!important;background-color:color-mix(in srgb,var(--rs-accent) 14%,var(--rs-ctl-bg))!important;color:var(--rs-accent)!important}
/* mobile toggle: square 44, in flow, icon centred, same surface */
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.rsc-toolbar):not(#rs-a):not(#rs-b):not(#rs-c) :is(.module-mobile-filter-button,.rsc-more-btn):not(#rs-d){width:44px!important;min-width:44px!important;padding:0!important;display:inline-flex!important;justify-content:center!important;align-items:center!important;color:var(--rs-text)!important;-webkit-text-fill-color:var(--rs-text)!important;flex:none!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.rsc-toolbar):not(#rs-a):not(#rs-b):not(#rs-c) :is(.module-mobile-filter-button,.rsc-more-btn) svg{width:18px!important;height:18px!important;margin:0!important}
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.rsc-toolbar):not(#rs-a):not(#rs-b):not(#rs-c) :is(.module-mobile-filter-button,.rsc-more-btn).is-open{color:var(--rs-accent)!important;-webkit-text-fill-color:var(--rs-accent)!important}
@media (max-width:700px){
 html body:has(.rsc-dir-hero) .rsc-toolbar:not(#rs-a):not(#rs-b):not(#rs-c) .rsc-filters{display:none!important}
 html body:has(.rsc-dir-hero) .rsc-toolbar:not(#rs-a):not(#rs-b):not(#rs-c)>.rsc-more{position:relative!important;inset:auto!important;width:44px!important;height:44px!important;flex:none!important;align-self:center!important}
 html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.site-search-bar,.sf-toolbar,.rsc-toolbar):not(#rs-a):not(#rs-b):not(#rs-c) :is(.module-search,.sf-search,.rsc-search):not(#rs-d){flex:1 1 auto!important;margin-right:0!important;padding-right:14px!important}
}
/* no wrapper surface behind the straddling bar: only the bar's own rounded shape shows */
html body:has(:is(.rs-hero,.rsc-dir-hero)) :is(.module-content,.sf-collection,.rsc-main):not(#rs-a):not(#rs-b){background:transparent!important;box-shadow:none!important;border:0!important}
