/* United Church: tactile ivory paper, soft moving light and an unwashed photo opening. */
html{background:#f6f3ed!important}
body,body.content-first{
 background:
  repeating-linear-gradient(4deg,transparent 0 3px,rgba(101,82,49,.018) 3px 4px),
  repeating-linear-gradient(94deg,transparent 0 5px,rgba(255,255,255,.32) 5px 6px),
  linear-gradient(115deg,#f9f7f2,#f2eee5 48%,#fcfaf6)!important;
 isolation:isolate;
}
body::before,body::after{
 display:block!important;content:"";position:fixed;inset:-6%;pointer-events:none;
 z-index:-1;filter:none!important;mix-blend-mode:normal!important;
 opacity:1!important;will-change:auto;transform:none;
}
body::before{
 background:radial-gradient(ellipse at 10% 35%,#e5d1a638,transparent 55%),linear-gradient(120deg,transparent 30%,#ffffffb0 46%,transparent 60%);
 animation:church-theme-paper-light 24s ease-in-out infinite alternate!important;
}
body::after{
 background:radial-gradient(ellipse at 95% 70%,#c8d2cd30,transparent 55%),linear-gradient(65deg,transparent 55%,#bba57b14 65%,transparent 75%);
 animation:church-theme-paper-light 31s ease-in-out -12s infinite alternate-reverse!important;
}
@keyframes church-theme-paper-light{from{transform:translate3d(-2%,0,0);opacity:.65}to{transform:translate3d(2%,2%,0);opacity:1}}
/* Clear photograph with a dark shade for readable lettering; no white veil. */
body .hero{background:#24251f!important;border-bottom:1px solid #b4a17c;box-shadow:0 12px 35px #5a493012}
body .hero .hero-overlay{
 background:linear-gradient(180deg,rgba(12,18,14,.30) 0%,rgba(12,18,14,.60) 48%,rgba(12,18,14,.48) 100%)!important;
}
body .hero::after{background:none!important}
body .hero .hero-in{filter:none!important}
body .hero h1 .w-big{
 background:linear-gradient(180deg,#FCEFC7 0%,#F2EEE8 30%,#E5B94F 72%,#C9A227 100%)!important;
 background-clip:text!important;-webkit-background-clip:text!important;
 -webkit-text-fill-color:transparent!important;color:transparent!important;
 text-shadow:none!important;filter:drop-shadow(0 2px 5px #30271388);-webkit-text-stroke:.3px #8b713c;
}
body .hero h1 .w-small{color:#fff3d4!important;-webkit-text-fill-color:#fff3d4!important;text-shadow:0 2px 12px #0008!important}
body .hero .tagline,body .hero p.tagline{color:#fffdf7!important;text-shadow:0 2px 12px #000a!important}
body .hero .hero-verse,body .hero .eyebrow,body .hero .scroll-cue{color:#fff0ce!important;text-shadow:0 2px 12px #000a!important}
body .hero .btn-ghost{background:#ffffffba!important;color:#49381c!important;border-color:#99845e!important}
body .hero .btn-ghost:hover{background:#ffffffe0!important;color:#342816!important}
/* Explicit contrast, including the gradient-text rule inherited from Blackgolden. */
body .services .svc .time,body .v-services .time{
 color:#654a24!important;-webkit-text-fill-color:#654a24!important;
 background:none!important;background-clip:border-box!important;
 text-shadow:none!important;filter:none!important;opacity:1!important;font-weight:600;
}
body .services .svc h3{color:#292d2b!important}
body .services .svc-div{background:#b3a17d66!important}
body .services{border-bottom:1px solid #baa98b44}
@media(max-width:760px),(pointer:coarse){
 body::before,body::after{animation:none!important;transform:none!important;position:absolute;inset:0;will-change:auto}
 body .hero .hero-overlay{background:linear-gradient(180deg,rgba(12,18,14,.35),rgba(12,18,14,.64) 50%,rgba(12,18,14,.52))!important}
}
@media(prefers-reduced-motion:reduce){body::before,body::after{animation:none!important;transform:none!important}}

/* Retain readable United Church headings alongside Blackgolden motion. */
body .hero .hero-in{transform:none!important;opacity:1!important;will-change:auto!important}
body .about .eyebrow,body .about .eyebrow.shimmer{
 color:#705024!important;-webkit-text-fill-color:#705024!important;background:none!important;
 text-shadow:none!important;filter:none!important;animation:none!important;opacity:1!important;transform:none!important;
}
body .hero .hero-btns .btn-ghost{color:#49381c!important;-webkit-text-fill-color:#49381c!important;background:#fffdf5eb!important}
@media(prefers-reduced-motion:reduce){body .watch-hub .watch-motion-ready,body .united-scroll-reveal{opacity:1!important;transform:none!important;translate:none!important;transition:none!important}}

/* Homepage zoom is isolated to the clipped photograph and its title. */
body #welcome-home .hero-slides{transform:scale(var(--church-theme-hero-zoom,1))!important;transform-origin:center center}
body #welcome-home:not(.sw-opening) .hero-in{scale:var(--church-theme-title-zoom,1);transform-origin:center center}
.church-theme-service-updates{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:20px}
.church-theme-update-card{padding:28px;border:1px solid #d8cdb7;border-radius:18px;background:linear-gradient(135deg,#fffef9e8,#f5f0e6d9);box-shadow:0 8px 26px #66542e08}
.church-theme-update-card .update-kicker{color:#775623;font:700 10px/1.5 Manrope,sans-serif;letter-spacing:.13em;text-transform:uppercase}
.church-theme-update-card h3{font:500 clamp(19px,2vw,25px)/1.35 Fraunces,serif;margin:12px 0!important;overflow-wrap:anywhere}
.church-theme-update-card p{font-size:12px;margin:12px 0 18px}
.church-theme-update-card a{display:inline-flex;align-items:center;min-height:44px;color:#715020!important;border-bottom:1px solid #b69c6c;font-size:13px;font-weight:700}
.church-theme-update-card a:hover{color:#33240d!important}
@media(max-width:760px){.church-theme-service-updates{grid-template-columns:1fr;gap:14px}.church-theme-update-card{padding:23px}}
@media(prefers-reduced-motion:reduce){body #welcome-home .hero-slides{transform:none!important}body #welcome-home .hero-in{scale:1!important}}

/* Pastor role badges: white lettering on a deep bronze background. */
body .leader .co-badge{color:#fff!important;-webkit-text-fill-color:#fff!important;background:#715322!important;background-clip:border-box!important;opacity:1!important;text-shadow:none!important;font-weight:800}

/* Compact announcement list, sharing the notification bar's service selections. */
body #events.compact-updates{padding:28px 0!important}
body #events .section-head{margin-bottom:16px!important;padding:0!important}
body #events .section-head h2{font-size:clamp(24px,3vw,32px)!important;margin:5px 0!important}
body #events .section-head p{font-size:13px!important;margin:4px 0!important}
body #events .updates-dashboard{display:block!important;max-width:800px;margin:auto}
body #events .church-theme-app-point,body #events .church-theme-service-updates{display:block;list-style:disc outside;padding:0 0 0 22px;margin:0;background:none;border:0;box-shadow:none}
body #events .updates-dashboard li{padding:7px 0;font:400 14px/1.7 Manrope,Arial,sans-serif;color:#45483f}
body #events .updates-dashboard li::marker{color:#93733c}
body #events .updates-dashboard li strong{font-weight:700;color:#393c34}
body #events .updates-dashboard li a{display:inline-block;color:#765326;text-decoration:underline;text-underline-offset:4px;padding:3px 0}
body #events .app-launch-status{font:inherit;text-transform:none;letter-spacing:normal;color:inherit}

/* Keep the app download on a separate, comfortably spaced line. */
body #events #app-launch .app-download-links{display:inline-block!important;margin-top:0;margin-left:14px}
