/* Dynamic component mechanics; instance styles are native Bricks controls. */
:where(.hs-sunday-services){width:100%;min-width:0;container:hs-sunday / inline-size}
:where(.hs-sunday-services) .hs-sunday-navigator{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
:where(.hs-sunday-services) .hs-sunday-navigator button{width:var(--hs-service-arrow-button-size,44px);height:var(--hs-service-arrow-button-size,44px);min-width:44px;min-height:44px;padding:0;display:inline-flex;align-items:center;justify-content:center;line-height:1;background:transparent;color:inherit;border:1px solid currentColor;border-radius:50%;font:inherit;font-size:var(--hs-service-arrow-size,18px);cursor:pointer}
:where(.hs-sunday-services) .hs-service-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}
:where(.hs-sunday-services) .hs-service-cards[data-count="1"]{grid-template-columns:minmax(0,1fr)}
:where(.hs-sunday-services) .hs-service-cards[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
:where(.hs-sunday-services) .hs-service-cards[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
:where(.hs-sunday-services) .hs-service-card{min-width:0;background:#fff;border-radius:8px;padding:24px}
:where(.hs-sunday-services) .hs-service-content{min-width:0;overflow-wrap:anywhere}
:where(.hs-sunday-services) .hs-service-time{font-size:48px;line-height:1;margin:0 0 16px}
:where(.hs-sunday-services) .hs-service-title{font:inherit;font-weight:600;margin:0 0 12px}
/* A fixed first-line icon box aligns both icon fonts and Bricks' converted SVGs. */
:where(.hs-sunday-services) .hs-service-details{display:grid;row-gap:10px}
:where(.hs-sunday-services) .hs-service-detail{display:grid;grid-template-columns:var(--hs-service-icon-size,20px) minmax(0,1fr);column-gap:10px;align-items:start;margin:0}
:where(.hs-sunday-services) .hs-service-detail>span:last-child{min-width:0}
:where(.hs-sunday-services) .hs-service-icon{display:inline-flex;align-items:center;justify-content:center;width:var(--hs-service-icon-size,20px);height:1.4em;height:1lh;line-height:inherit}
:where(.hs-sunday-services) .hs-service-icon :is(i,svg){display:block;flex:none;font-size:var(--hs-service-icon-size,20px);width:var(--hs-service-icon-size,20px);height:var(--hs-service-icon-size,20px);line-height:1;margin:0;vertical-align:middle}
:where(.hs-sunday-services) .hs-sunday-navigator button svg{width:var(--hs-service-arrow-size,18px);height:var(--hs-service-arrow-size,18px);display:block;flex:none}
:where(.hs-sunday-services) .hs-service-description,:where(.hs-sunday-services) .hs-service-venue{margin:12px 0 0}
:where(.hs-sunday-services) .hs-service-notes{margin-top:16px;padding:12px;border-radius:6px;background:var(--neutral-ultra-light,#f4f5f3)}

:where(.hs-sunday-services) .hs-service-notice{margin:12px 0;padding:12px 0}
:where(.hs-sunday-services) .hs-service-announcement{margin:0 0 16px;padding:16px;border:1px solid currentColor;border-radius:8px}
:where(.hs-sunday-services) .hs-service-announcement :is(h3,p){margin:0;font:inherit}
:where(.hs-sunday-services) .hs-service-announcement h3{font-weight:700;margin-bottom:8px}
:where(.hs-sunday-services) .hs-service-card img{max-width:100%;height:auto}
:where(.hs-sunday-services) [aria-busy="true"]{opacity:.6}
:where(.hs-sunday-services) :focus-visible{outline:2px solid currentColor;outline-offset:3px}



/* Supersede the retired saved Bricks single-card cap without changing saved settings. */
:where(.hs-sunday-services) .hs-service-cards[data-count="1"] .hs-service-card{max-width:none!important}
@container hs-sunday (min-width:480px){
 :where(.hs-sunday-services) .hs-service-cards[data-count="1"] .hs-service-card[data-gathering-type="regular"]:has(.hs-service-time){display:grid;grid-template-columns:max-content minmax(0,1fr);column-gap:24px}
 :where(.hs-sunday-services) .hs-service-cards[data-count="1"] .hs-service-time{margin-bottom:0;padding-right:24px;border-right:1px solid color-mix(in srgb,currentColor 15%,transparent)}
 :where(.hs-sunday-services[data-hide-time="1"]) .hs-service-cards[data-count="1"] .hs-service-card[data-gathering-type="regular"]:has(.hs-service-time){grid-template-columns:minmax(0,1fr)}
}
@container hs-sunday (min-width:720px){
 :where(.hs-sunday-services) .hs-service-cards[data-count="1"] .hs-service-details{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));column-gap:24px}
}
@container hs-sunday (max-width:700px){
 :where(.hs-sunday-services) .hs-service-cards[data-count="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container hs-sunday (max-width:479px){
 :where(.hs-sunday-services) .hs-service-cards[data-count="2"],:where(.hs-sunday-services) .hs-service-cards[data-count="3"]{grid-template-columns:minmax(0,1fr)}
}

:where(.hs-sunday-services[data-hide-navigator="1"]) .hs-sunday-navigator{display:none}
:where(.hs-sunday-services[data-hide-title="1"]) .hs-service-title{display:none}
:where(.hs-sunday-services[data-hide-description="1"]) .hs-service-description{display:none}
:where(.hs-sunday-services[data-hide-translations="1"]) .hs-service-translations{display:none}
:where(.hs-sunday-services[data-hide-kids="1"]) .hs-service-kids{display:none}
:where(.hs-sunday-services[data-hide-facilities="1"]) .hs-service-facilities{display:none}
:where(.hs-sunday-services[data-hide-venue="1"]) .hs-service-venue{display:none}
:where(.hs-sunday-services[data-hide-image="1"]) .hs-service-image{display:none}
:where(.hs-sunday-services[data-hide-cta="1"]) .hs-service-cta{display:none}
:where(.hs-sunday-services[data-hide-icons="1"]) .hs-service-icon{display:none}
:where(.hs-sunday-services[data-hide-icons="1"]) .hs-service-detail{grid-template-columns:minmax(0,1fr)}

:where(.hs-sunday-services[data-hide-time="1"]) .hs-service-time{display:none}

:where(.hs-sunday-services) .hs-sunday-date{font-weight:700;letter-spacing:.1em;min-width:0}
:where(.hs-sunday-services) .hs-sunday-arrows{display:flex;gap:10px;flex:none}
:where(.hs-sunday-services) .hs-sunday-navigator button:disabled{opacity:.35;cursor:default}
:where(.hs-sunday-services) .hs-service-special-label{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.04em;padding:4px 8px;background:var(--action,#ffdb00);color:var(--forest-green,#25413b);border-radius:4px;margin-bottom:12px}
:where(.hs-sunday-services) .hs-service-card:not([data-gathering-type="regular"]){display:block}
:where(.hs-sunday-services) .hs-service-special-title{display:block;font-family:var(--hs-service-display-font,"dharma-gothic-e"),sans-serif;font-size:clamp(48px,7cqi,80px);font-weight:700;line-height:1;text-transform:uppercase}
:where(.hs-sunday-services) .hs-service-cta{display:inline-flex;gap:12px;align-items:center;font-weight:700;margin-top:16px;text-decoration:underline;text-underline-offset:5px}
:where(.hs-sunday-services) .hs-service-cta svg{width:20px;height:20px;flex:none}
:where(.hs-sunday-services) .hs-service-bus{padding:10px;border-radius:6px;background:var(--neutral-ultra-light,#f4f5f3)}
:where(.hs-sunday-services) .hs-first-visit-trigger{display:flex;align-items:center;gap:18px;text-align:left;width:100%;border:0;border-radius:8px;padding:18px 24px;margin-top:12px;background:var(--neutral-light,#e9ece7);color:var(--forest-green,#25413b);font:inherit;cursor:pointer}
:where(.hs-sunday-services) .hs-first-visit-trigger>span:nth-child(2){min-width:0;flex:1}
:where(.hs-sunday-services) .hs-first-visit-trigger strong,:where(.hs-sunday-services) .hs-first-visit-trigger span span{display:block}
:where(.hs-sunday-services) .hs-first-visit-trigger strong{font-weight:700}
:where(.hs-sunday-services) .hs-first-visit-trigger>svg{width:22px;height:22px;flex:none}
:where(.hs-sunday-services) .hs-first-visit-info{display:flex;align-items:center;justify-content:center;flex:none;width:26px;height:26px}
:where(.hs-sunday-services) .hs-first-visit-info svg{width:26px;height:26px}
:where(.hs-sunday-services) .hs-first-visit-dialog{box-sizing:border-box;border:0;border-radius:12px;padding:0;width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:var(--white,#fff);color:var(--forest-green,#25413b);font:16px/1.5 "roboto-flex",sans-serif}
:where(.hs-sunday-services) .hs-first-visit-dialog::backdrop{background:rgb(0 0 0 / .55)}
:where(.hs-sunday-services) .hs-first-visit-panel{position:relative;padding:32px}
:where(.hs-sunday-services) .hs-first-visit-panel h2{font:700 32px/1.1 "roboto-flex",sans-serif;padding-right:40px;overflow-wrap:anywhere;margin:0 0 8px}
:where(.hs-sunday-services) .hs-first-visit-panel h3{font:700 18px/1.3 "roboto-flex",sans-serif;margin:0 0 8px}
:where(.hs-sunday-services) .hs-first-visit-panel section{padding-top:20px}
:where(.hs-sunday-services) .hs-first-visit-panel p{margin:0 0 8px;overflow-wrap:anywhere}
:where(.hs-sunday-services) .hs-first-visit-close{position:absolute;top:16px;right:16px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:transparent;color:inherit;cursor:pointer}
:where(.hs-sunday-services) .hs-first-visit-close svg{width:24px;height:24px}
@container hs-sunday (min-width:600px){
 :where(.hs-sunday-services) .hs-service-cards[data-count="2"] .hs-service-card[data-gathering-type="regular"]:has(.hs-service-time){display:grid;grid-template-columns:max-content minmax(0,1fr);gap:20px}
 :where(.hs-sunday-services) .hs-service-cards[data-count="2"] .hs-service-time{margin-bottom:0;padding-right:20px;border-right:1px solid color-mix(in srgb,currentColor 15%,transparent)}
}
@container hs-sunday (min-width:840px){
 :where(.hs-sunday-services) .hs-service-cards[data-count="3"] .hs-service-card[data-gathering-type="regular"]:has(.hs-service-time){display:grid;grid-template-columns:max-content minmax(0,1fr);gap:16px}
 :where(.hs-sunday-services) .hs-service-cards[data-count="3"] .hs-service-time{margin-bottom:0;padding-right:16px;border-right:1px solid color-mix(in srgb,currentColor 15%,transparent)}
}
@container hs-sunday (max-width:360px){
 :where(.hs-sunday-services) .hs-sunday-navigator{gap:8px;font-size:12px}
 :where(.hs-sunday-services) .hs-sunday-arrows{gap:6px}
 :where(.hs-sunday-services) .hs-first-visit-trigger{padding:16px;gap:12px}
}

:where(.hs-sunday-services[data-hide-time="1"]) .hs-service-cards[data-count] .hs-service-card[data-gathering-type="regular"]:has(.hs-service-time){grid-template-columns:minmax(0,1fr)}
:where(.hs-sunday-services) .hs-service-empty .hs-service-title{font-family:"dharma-gothic-c",sans-serif;font-size:clamp(36px,5cqi,64px);line-height:1}
:where(.hs-sunday-services) .hs-service-empty .hs-service-notice{margin-bottom:0;padding-bottom:0}
@container hs-sunday (min-width:720px){
 :where(.hs-sunday-services) .hs-service-cards[data-count="1"] .hs-service-card:not([data-gathering-type="regular"]) .hs-service-content:has(.hs-service-cta){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);column-gap:32px}
 :where(.hs-sunday-services) .hs-service-card:not([data-gathering-type="regular"]) .hs-service-content> :not(.hs-service-cta){grid-column:1}
 :where(.hs-sunday-services) .hs-service-card:not([data-gathering-type="regular"]) .hs-service-cta{grid-column:2;grid-row:1 / span 5;align-self:center;justify-self:center}
}
:where(.hs-sunday-services){color:var(--forest-green,#25413b)}
:where(.hs-sunday-services) .hs-first-visit-trigger{font:16px/1.45 "roboto-flex",sans-serif}
.hs-sunday-services .hs-first-visit-dialog a{color:inherit;text-decoration:underline;text-underline-offset:3px}

.hs-sunday-services .hs-service-card .hs-service-cta{color:inherit}
:where(.hs-sunday-services) .hs-service-card[data-gathering-type="online"] .hs-service-cta{padding:12px 20px;border-radius:100px;background:var(--action,#ffdb00);color:var(--forest-green,#25413b);text-decoration:none}
@container hs-sunday (min-width:720px){
 :where(.hs-sunday-services[data-hide-cta="1"]) .hs-service-cards[data-count="1"] .hs-service-card:not([data-gathering-type="regular"]) .hs-service-content:has(.hs-service-cta){display:block}
}

/* All gatherings reuse the approved Special Sunday layout and saved control selectors. */
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"]{--hs-special-time-default:clamp(64px,9cqi,104px);--hs-special-title-default:clamp(28px,4.2cqi,48px)}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-cards{gap:var(--hs-special-card-gap,24px)!important}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-cards[data-count="1"]{grid-template-columns:minmax(0,min(100%,var(--hs-special-single-width,640px)))}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-cards[data-count] .hs-service-card[data-gathering-type]{display:flex;grid-template-columns:none;flex-direction:column;gap:0;min-width:0;padding:var(--hs-special-card-padding,clamp(22px,3cqi,36px))!important;border-radius:var(--hs-special-card-radius,16px)!important;box-shadow:none}
:where(.hs-sunday-services:not([data-hide-venue="1"])) .hs-service-presentation[data-presentation="special"] .hs-service-cards[data-count] .hs-service-card[data-gathering-type]:has(.hs-special-venue){padding-bottom:calc(var(--hs-special-card-padding,clamp(22px,3cqi,36px)) / 2)!important}
:where(.hs-sunday-services) .hs-special-summary{flex:1;min-width:0}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-cards[data-count] .hs-service-card[data-gathering-type] .hs-service-content{display:block}
/* The shared card sizes use the existing instance controls instead of old horizontal sizes. */
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-time{font-size:var(--hs-special-time-size,var(--hs-special-time-default))!important;line-height:1!important;margin:0 0 14px;padding:0;border:0}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-title{margin:0 0 20px}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-special-title{font-family:var(--hs-service-display-font,"dharma-gothic-e"),sans-serif;font-size:var(--hs-special-title-size,var(--hs-special-title-default))!important;line-height:1.05;text-transform:none;overflow-wrap:anywhere}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-details{grid-template-columns:minmax(0,1fr);gap:12px}
:where(.hs-sunday-services) .hs-special-venue{display:block;margin:12px 0 0;padding-top:10px;border-top:1px solid var(--hs-special-divider,color-mix(in srgb,currentColor 14%,transparent))}
:where(.hs-sunday-services) :is(.hs-special-venue-icon,.hs-special-notice-icon){display:flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;border-radius:50%;background:var(--neutral-ultra-light,#f0f2ef)}
:where(.hs-sunday-services) :is(.hs-special-venue-icon,.hs-special-notice-icon) svg{width:25px;height:25px;flex:none}
:where(.hs-sunday-services) .hs-special-venue-icon{width:16px;height:20px;border-radius:0;background:transparent}
:where(.hs-sunday-services) .hs-special-venue-icon svg{width:16px;height:16px}
:where(.hs-sunday-services) .hs-special-venue-content{min-width:0;overflow-wrap:anywhere;font-size:14px;line-height:1.35}
:where(.hs-sunday-services) .hs-special-venue-name{min-width:0;overflow-wrap:anywhere}
:where(.hs-sunday-services) .hs-special-venue-content .hs-special-venue-name{font-weight:600}
.hs-sunday-services .hs-service-presentation[data-presentation="special"] .hs-service-directions{display:grid;grid-template-columns:16px minmax(0,1fr) 14px;align-items:center;gap:7px;width:100%;min-height:0;margin-top:0;padding:2px 0;color:var(--hs-special-directions-color,inherit);font:inherit;font-size:13px;line-height:1.35;font-weight:600;text-decoration:none}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-directions:hover .hs-special-venue-name{text-decoration:underline;text-underline-offset:3px}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-directions>svg{width:14px;height:14px;flex:none}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-announcement{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:start;gap:20px;padding:var(--hs-special-notice-padding,24px);margin:0 0 24px;border:0;border-radius:var(--hs-special-card-radius,16px);background:var(--hs-special-notice-background,var(--action-ultra-light,#fff7d2));color:inherit}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-special-notice-icon{width:52px;height:52px;background:var(--hs-special-notice-icon-background,var(--action-light,#ffe99a))}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-special-notice-title{font:700 clamp(24px,3cqi,32px)/1.1 "dharma-gothic-e",sans-serif;margin:0 0 8px}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-cta{grid-column:auto;grid-row:auto;align-self:auto;justify-self:auto}
:where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-cards[data-count="3"]{--hs-special-time-default:clamp(60px,7cqi,88px);--hs-special-title-default:clamp(26px,3.4cqi,38px)}
@container hs-sunday (max-width:600px){
 :where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-cards[data-count]{grid-template-columns:minmax(0,1fr)}
 :where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-announcement{grid-template-columns:40px minmax(0,1fr);gap:14px;padding:var(--hs-special-notice-padding,20px)}
 :where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-special-notice-icon{width:40px;height:40px}
}

:where(.hs-sunday-services[data-hide-venue="1"]) .hs-service-presentation[data-presentation="special"] .hs-special-venue{display:none}
@supports(grid-template-rows:subgrid){
 :where(.hs-sunday-services) .hs-service-presentation[data-presentation="special"] .hs-service-cards[data-count] .hs-service-card[data-gathering-type]{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0}
 :where(.hs-sunday-services) .hs-special-summary{grid-row:1}
 :where(.hs-sunday-services) .hs-special-venue{grid-row:2}
}
