/* Media copy fills the left column; player dimensions remain unchanged. */
@media (min-width:1001px){#home .zion-worship-copy{width:calc(100% + 48px);padding-left:32px;position:relative;z-index:2}#home[data-active-home-slide^="media:"] .zion-worship-copy h2{font-size:clamp(40px,4.3vw,62px);letter-spacing:-1.7px;line-height:1.1}#home[data-active-home-slide^="media:"] .zion-worship-copy .zion-worship-day{max-width:490px;font-size:17px;line-height:1.8;font-weight:400;color:#826b96;margin-top:0}#home[data-active-home-slide^="media:"] .zion-worship-rule{margin-top:22px;margin-bottom:20px}}
@media (min-width:761px) and (max-width:1000px){#home[data-active-home-slide^="media:"] .zion-worship-copy .zion-worship-day{font-size:15px;line-height:1.7;max-width:440px;font-weight:400}}
@media (max-width:760px){#home[data-active-home-slide^="media:"] .zion-worship-copy .zion-worship-day{max-width:520px;margin:0 auto;line-height:1.75;font-size:15px;font-weight:400}}
/* Animate layers on each real slide change, not on timer/poll renders. */
#home .zion-slide-enter .hero-copy>*,#home .zion-slide-enter .zion-worship-copy>*{animation:zion-layer-copy .72s cubic-bezier(.2,.65,.25,1) both;animation-delay:.06s}
#home .zion-slide-enter .hero-copy>:nth-child(2),#home .zion-slide-enter .zion-worship-copy>:nth-child(2){animation-delay:.14s}
#home .zion-slide-enter .hero-copy>:nth-child(3),#home .zion-slide-enter .zion-worship-copy>:nth-child(3){animation-delay:.23s}
#home .zion-slide-enter .hero-copy>:nth-child(4),#home .zion-slide-enter .zion-worship-copy>:nth-child(4){animation-delay:.31s}
#home .zion-slide-enter .hero-copy>:nth-child(n+5),#home .zion-slide-enter .zion-worship-copy>:nth-child(n+5){animation-delay:.39s}
#home .zion-slide-enter .slide-visual{animation:zion-layer-visual .95s cubic-bezier(.2,.65,.25,1) both}
#home .zion-slide-enter .zion-worship-player{animation:zion-layer-player .9s cubic-bezier(.2,.65,.25,1) .15s both}
.zion-home-reveal-ready{opacity:0;translate:0 30px;transition:opacity .8s ease,translate .8s cubic-bezier(.2,.65,.25,1);transition-delay:var(--home-reveal-delay,0ms)}
.zion-home-reveal-ready[data-home-reveal="left"]{translate:-34px 20px}.zion-home-reveal-ready[data-home-reveal="right"]{translate:34px 20px}.zion-home-reveal-ready.zion-home-revealed{opacity:1;translate:0 0}
@keyframes zion-layer-copy{from{opacity:0;translate:-25px 14px}to{opacity:1;translate:0 0}}
@keyframes zion-layer-visual{from{opacity:0;translate:35px 0}to{opacity:1;translate:0 0}}
@keyframes zion-layer-player{from{opacity:0;translate:45px 16px}to{opacity:1;translate:0 0}}
@media (prefers-reduced-motion:reduce){#home .zion-slide-enter .hero-copy>*,#home .zion-slide-enter .zion-worship-copy>*,#home .zion-slide-enter .slide-visual,#home .zion-slide-enter .zion-worship-player{animation:none!important}.zion-home-reveal-ready{opacity:1!important;translate:0 0!important;transition:none!important}}

.zion-home-service-highlights .zion-service-card.zion-home-reveal-ready{animation:none}
#home .zion-worship-poster{image-rendering:auto}

.zion-slide-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:22px}
.zion-slide-time-copy{display:flex;flex-direction:column;gap:4px}
.zion-slide-time-copy>small{font-size:10px;font-weight:650;letter-spacing:.4px;line-height:1.4}.zion-slide-time-copy>small[hidden]{display:none}
#home[data-active-home-slide^="media:"] .zion-worship-time{padding:11px 16px;gap:12px;border-radius:15px}
#home[data-active-home-slide^="media:"] .zion-worship-time strong{font-size:29px;border-left:0;padding-left:0}
#home[data-active-home-slide^="media:"] .zion-worship-time svg{width:29px;height:29px}
.zion-slide-more{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:13px 17px;border:1px solid #d9b4eb;border-radius:13px;background:linear-gradient(120deg,#fff8ff,#f5e9ff,#eaf8ff);color:#8644b3;font-size:12px;font-weight:700;text-decoration:none;box-shadow:0 6px 18px #9362b011;transition:transform .2s,box-shadow .2s}
.zion-slide-more:hover{transform:translateY(-2px);box-shadow:0 9px 22px #9362b025}.zion-slide-more:focus-visible{outline:3px solid #b681d5;outline-offset:4px}.zion-slide-more[hidden]{display:none!important}
@media (max-width:760px){.zion-slide-actions{justify-content:center;gap:12px;margin-top:19px}}
@media (prefers-reduced-motion:reduce){.zion-slide-more{transition:none}.zion-slide-more:hover{transform:none}}
@media (min-width:1001px) and (max-height:850px){#home[data-active-home-slide^="media:"] .zion-worship-copy .eyebrow{margin-bottom:10px}#home[data-active-home-slide^="media:"] .zion-worship-copy h2{font-size:42px;line-height:1.05}#home[data-active-home-slide^="media:"] .zion-worship-rule{margin:12px 0}#home[data-active-home-slide^="media:"] .zion-worship-copy .zion-worship-day{font-size:14px;line-height:1.6;margin-bottom:0}#home[data-active-home-slide^="media:"] .zion-slide-actions{margin-top:14px}#home[data-active-home-slide^="media:"] .zion-worship-time{padding:8px 14px}#home[data-active-home-slide^="media:"] .zion-worship-time strong{font-size:25px}#home[data-active-home-slide^="media:"] .zion-worship-church{margin-top:12px}}

/* Transparent, playback-driven visual; deliberately not an audio analyzer. */
#home .zion-worship-rule{position:relative;width:min(360px,100%);overflow:visible;background:linear-gradient(90deg,#9856d9aa,#bf5bb4a6,#389db5a1);height:3px}
.zion-slide-spectrum{position:absolute;left:0;right:0;bottom:0;height:36px;pointer-events:none;opacity:0;transition:opacity .22s ease;filter:drop-shadow(0 2px 5px #a366c319)}
.zion-slide-spectrum canvas{display:block;width:100%;height:36px;background:transparent}
.is-video-playing .zion-slide-spectrum{opacity:1}
@media (prefers-reduced-motion:reduce){.zion-slide-spectrum{transition:none}}

.zion-player-controls{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex:none}
#home .zion-worship-player:fullscreen{width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:10px 12px 0;border:0;border-radius:0;transform:none;animation:none;display:flex;flex-direction:column;background:linear-gradient(125deg,#f7edff,#e5f8ff)}
#home .zion-worship-player:fullscreen .zion-worship-screen{flex:1;min-height:0;width:100%;aspect-ratio:auto;background:#000}
#home .zion-worship-player:fullscreen .zion-worship-player-top,#home .zion-worship-player:fullscreen .zion-worship-player-bottom{flex:none}
#home .zion-worship-player:-webkit-full-screen{width:100vw;max-width:none;height:100vh;max-height:none;margin:0;transform:none;animation:none;display:flex;flex-direction:column;border-radius:0}
#home .zion-worship-player:-webkit-full-screen .zion-worship-screen{flex:1;min-height:0;aspect-ratio:auto}

#home.zion-media-page-banner{--zion-home-welcome-height:600px;--zion-promise-height:0px;width:100%;max-width:1350px;margin:0 auto 30px;padding:12px 18px;min-height:0;height:auto;overflow:visible;background:radial-gradient(ellipse at 5% 15%,#edddff9c,transparent 65%),radial-gradient(ellipse at 95% 30%,#d8f5ff96,transparent 60%)}
#home.zion-media-page-banner .zion-worship-hero{height:540px;padding:24px 0;min-height:0}
#home.zion-media-page-banner .zion-worship-copy{width:calc(100% + 25px);padding-left:10px}
@media (max-width:760px){#home.zion-media-page-banner{padding:16px 8px;margin-bottom:20px}#home.zion-media-page-banner .zion-worship-hero{height:auto}#home.zion-media-page-banner .zion-worship-copy{width:100%;padding:0}}

.zion-slide-actions[hidden]{display:none!important}

/* Close church framing and long feather ramps, matching the welcome treatment. */
#home .hero-stage .hero-slide[data-slide="0"] .slide-image[data-church-variant="photo"]{width:100%;height:142%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:60% 54%;top:-20%;right:-12%;left:auto;mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.02) 12%,rgba(0,0,0,.15) 23%,rgba(0,0,0,.55) 35%,#000 48%,#000 78%,rgba(0,0,0,.65) 89%,transparent 100%),linear-gradient(180deg,transparent 0%,rgba(0,0,0,.1) 7%,rgba(0,0,0,.65) 18%,#000 29%,#000 62%,rgba(0,0,0,.55) 83%,transparent 100%);mask-composite:intersect;-webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.02) 12%,rgba(0,0,0,.15) 23%,rgba(0,0,0,.55) 35%,#000 48%,#000 78%,rgba(0,0,0,.65) 89%,transparent 100%),linear-gradient(180deg,transparent 0%,rgba(0,0,0,.1) 7%,rgba(0,0,0,.65) 18%,#000 29%,#000 62%,rgba(0,0,0,.55) 83%,transparent 100%);-webkit-mask-composite:source-in}
@media (max-width:760px){#home .hero-stage .hero-slide[data-slide="0"] .slide-image[data-church-variant="photo"]{width:125%;height:auto;right:-12%;left:auto;top:0;object-fit:contain;object-position:center}}
