/* Next update 001–005. Additive, local restoration; no shelf content/layout changes. */
/* Home runner starts after the welcome hero and follows the whole main.
   Its top is measured from the intrinsic hero; bottom:0 follows all content,
   including expanded disclosures. No section heights or clipping are imposed. */
html body:is([data-ar-page="home"],[data-ar-page="ministry"]) .ar-next-shelf-backdrop{display:none!important;}
@layer ar-site-action-finish {
 html body[data-ar-page="home"] #main-content-home{position:relative!important;}

 html body[data-ar-page="home"] #main-content-home > .ar-home-content-runner{
  position:absolute!important;inset:var(--ar-home-runner-top,100%) auto 0 50%!important;transform:translateX(-50%)!important;
  width:min(1360px,calc(100% - 48px))!important;z-index:1!important;pointer-events:none!important;
  background:rgba(2,2,2,.50)!important;border:1px solid rgba(190,180,150,.12)!important;
  border-radius:0!important;box-sizing:border-box!important;
 }
 html body[data-ar-page="home"] #main-content-home > section,
 html body[data-ar-page="home"] #main-content-home .ar-home-opening{
  isolation:auto!important;z-index:auto!important;background:transparent!important;
 }
 html body[data-ar-page="home"] #main-content-home :is(.ar-home-opening .wrap,section > .wrap){width:min(1280px,calc(100% - 80px))!important;}
 @media(max-width:760px){html body[data-ar-page="home"] #main-content-home :is(.ar-home-opening .wrap,section > .wrap){width:calc(100% - 44px)!important;}}
 html body[data-ar-page="home"] #main-content-home :is(.ar-home-opening .wrap,section > .wrap){position:relative!important;z-index:2!important;mix-blend-mode:normal!important;}
 html body[data-ar-page="home"] #main-content-home :is(.ar-scene-backdrop,.ar-contact-backdrop){z-index:0!important;}
 html body[data-ar-page="ministry"] #main-content-ministry .ar-ministry-content-runner{
  background:rgba(2,2,2,.50)!important;border:1px solid rgba(190,180,150,.12)!important;
  border-radius:0!important;box-shadow:none!important;
 }
 @media(max-width:760px){html body[data-ar-page="home"] #main-content-home > .ar-home-content-runner{width:calc(100% - 20px)!important;}}
}
@layer ar-site-action-finish {
/* Transparent About-site disclosure keeps the native keyboard/touch behavior. */
html body[data-ar-page="home"] #site-information.cp71-site-info,
html body[data-ar-page="home"] #site-information.cp71-site-info>summary{
 background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
html body[data-ar-page="home"] #site-information.cp71-site-info>summary{color:#bdaa85!important;padding:16px 3px!important;min-height:48px;}
html body[data-ar-page="home"] #site-information.cp71-site-info>summary:hover{color:#dfceb0!important;}
html body[data-ar-page="home"] #site-information.cp71-site-info>summary:focus-visible{outline:2px solid #d2b98e;outline-offset:4px;}
}
/* One overhead origin. Narrow static shafts plus a separate visibly drifting
   translucent fan; no corner spotlights, blur filters or animation loops. */
html body[data-ar-page="home"] #main-content-home .ar-hero-illumination::before{display:none!important;}
html body[data-ar-page="home"] #main-content-home .ar-light-source{
 left:50%;top:-12%;width:120%;height:112%;aspect-ratio:auto;
 background:conic-gradient(from 0deg at 50% 0%,transparent 0deg 151deg,rgba(238,227,193,.06) 152deg,rgba(245,233,198,.34) 153deg,transparent 154deg 164deg,rgba(242,233,206,.42) 165deg,transparent 166.2deg 177.7deg,rgba(255,242,211,.48) 179deg,transparent 180.3deg 190deg,rgba(240,229,196,.30) 191deg,transparent 192deg 204deg,rgba(235,226,192,.22) 205deg,transparent 206deg),radial-gradient(ellipse 15% 12% at 50% 0%,#fff0c666,transparent);
 opacity:.32;transform:translateX(-50%);animation:none!important;will-change:auto!important;
}
html body[data-ar-page="home"] #main-content-home .ar-next-volume-rays{
 position:absolute;display:block;left:-10%;top:-12%;width:120%;height:112%;z-index:1;pointer-events:none;transform-origin:50% 0;
 background:conic-gradient(from 0deg at 50% 0%,transparent 0deg 155deg,rgba(242,233,207,.28) 156deg,transparent 158deg 169deg,rgba(255,242,211,.4) 170deg,transparent 172deg 183deg,rgba(249,235,202,.34) 184deg,transparent 186deg 198deg,rgba(242,229,193,.24) 199deg,transparent 201deg);
 -webkit-mask-image:linear-gradient(#000,#000b 46%,transparent 98%);mask-image:linear-gradient(#000,#000b 46%,transparent 98%);
 opacity:.36;animation:ar-next-volume-drift 11s ease-in-out -3s infinite alternate;animation-play-state:paused;
}
html body[data-ar-page="home"] #main-content-home .ar-hero-illumination[data-ar-lights-running="true"] .ar-next-volume-rays{animation-play-state:running;}
@keyframes ar-next-volume-drift{from{transform:rotate(-4deg) scaleX(.98);opacity:.30}to{transform:rotate(4deg) scaleX(1.025);opacity:.56}}
/* Existing layered !important materials remain intact except this explicitly
   requested compact invitation and the hero's metallic palette. */
@layer ar-site-action-finish {
 html body[data-ar-page="home"] #main-content-home#main-content-home .contact-banner-link{
  width:min(100%,740px)!important;max-width:740px!important;margin-inline:auto!important;box-sizing:border-box!important;
  grid-template-columns:76px minmax(0,1fr) 18px!important;gap:22px!important;min-height:114px!important;padding:23px 28px!important;
  border:1px solid #9d85624f!important;border-radius:3px!important;
  background:radial-gradient(ellipse at 8% 0%,#b58b6318,transparent 60%),linear-gradient(120deg,#201710dc,#0b0908e8)!important;
  box-shadow:inset 0 1px 0 #d6c3a426,inset 0 -1px 0 #0008,0 12px 28px #0004!important;
  transition:border-color .24s ease,transform .24s ease,box-shadow .24s ease!important;
 }
 html body[data-ar-page="home"] #main-content-home#main-content-home .contact-banner-link:hover{transform:translateY(-2px)!important;border-color:#c3ac858f!important;box-shadow:inset 0 1px 0 #d6c3a43b,0 16px 32px #0006!important;}
 html body[data-ar-page="home"] #main-content-home#main-content-home .contact-banner-link:focus-visible{outline:2px solid #d5c09b!important;outline-offset:6px!important;}
 html body[data-ar-page="home"] #main-content-home#main-content-home .contact-cta-mark{width:76px!important;height:82px!important;background:none!important;border:0!important;box-shadow:none!important;display:block!important;}
 html body[data-ar-page="home"] #main-content-home#main-content-home .contact-cta-mark::before,
 html body[data-ar-page="home"] #main-content-home#main-content-home .contact-cta-mark::after{display:none!important;}
 html body[data-ar-page="home"] #main-content-home#main-content-home .contact-cta-mark svg{display:block;width:100%;height:100%;stroke:#b9a17a;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
 html body[data-ar-page="home"] #main-content-home#main-content-home .contact-cta-title{font-size:clamp(23px,2.4vw,31px)!important;line-height:1.14!important;letter-spacing:.015em!important;color:#cdb593!important;}
 html body[data-ar-page="home"] #main-content-home#main-content-home .contact-cta-description{display:block;margin-top:8px!important;font-size:clamp(15px,1.35vw,17px)!important;line-height:1.5!important;color:#bab8b5!important;}
 html body[data-ar-page="home"] #main-content-home#main-content-home .hero h1,
 html body[data-ar-page="home"] #main-content-home#main-content-home .hero h1 span{
 color:#d2c7b3!important;background:linear-gradient(176deg,#ece6d9 2%,#c6bdac 35%,#a28b65 56%,#dbd0bb 80%,#9b886d 100%)!important;
 background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;
 text-shadow:0 2px 15px #0003!important;
 }
 html body[data-ar-page="home"] #main-content-home#main-content-home .hero :is(.eyebrow,.tagline){color:#b9aa8b!important;text-shadow:0 2px 8px #0008!important;}
 html body[data-ar-page="home"] #main-content-home#main-content-home .hero .hero-date{color:#bdb4a3!important;}
 @media(max-width:650px){
  html body[data-ar-page="home"] #main-content-home#main-content-home .contact-banner-link{grid-template-columns:44px minmax(0,1fr)!important;gap:15px!important;padding:21px 18px!important;}
  html body[data-ar-page="home"] #main-content-home#main-content-home .contact-cta-mark{width:44px!important;height:53px!important;}
 }
 @media(max-width:380px){html body[data-ar-page="home"] #main-content-home#main-content-home .contact-banner-link{grid-template-columns:34px minmax(0,1fr)!important;gap:12px!important;padding:18px 14px!important;}html body[data-ar-page="home"] #main-content-home#main-content-home .contact-cta-mark{width:34px!important;height:44px!important;}}
 html body[data-ar-page="home"][data-reading-contrast="high"] #main-content-home#main-content-home .hero h1,
 html body[data-ar-page="home"][data-reading-contrast="high"] #main-content-home#main-content-home .hero h1 span{background:none!important;color:#fff!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;}
 html body[data-ar-page="home"][data-reading-contrast="high"] #main-content-home#main-content-home .contact-banner-link{background:#000!important;color:#fff!important;border-color:#fff!important;}
 @media(prefers-reduced-motion:reduce){html body[data-ar-page="home"] #main-content-home#main-content-home .contact-banner-link{transition:none!important;transform:none!important;}}
 @media(forced-colors:active){
  html body[data-ar-page="home"] #main-content-home#main-content-home .hero h1,
  html body[data-ar-page="home"] #main-content-home#main-content-home .hero h1 span{background:none!important;color:CanvasText!important;-webkit-text-fill-color:CanvasText!important;text-shadow:none!important;}
  html body[data-ar-page="home"] #main-content-home#main-content-home .contact-banner-link{background:Canvas!important;color:LinkText!important;border-color:LinkText!important;box-shadow:none!important;}
  html body[data-ar-page="home"] #main-content-home#main-content-home :is(.contact-cta-title,.contact-cta-description){color:LinkText!important;}
  html body[data-ar-page="home"] #main-content-home#main-content-home .contact-cta-mark svg{stroke:LinkText;}
 }
}
@media(prefers-reduced-motion:reduce){html body[data-ar-page="home"] #main-content-home .ar-next-volume-rays{animation:none!important;opacity:.3;}}
html body[data-reading-sprites="off"] .ar-next-volume-rays,html[data-reading-sprites="off"] .ar-next-volume-rays,html body[data-reading-contrast="high"] .ar-next-volume-rays{display:none!important;}
@media(forced-colors:active){html body .ar-next-volume-rays,html body .ar-next-shelf-backdrop{display:none!important;}html body[data-ar-page="home"] #site-information.cp71-site-info>summary{color:CanvasText!important;}}
html[data-ar-theme="simple"] body .ar-next-shelf-backdrop,
html[data-ar-theme="simple"] body .ar-next-volume-rays{display:none!important;}
@layer ar-site-action-finish {
 @media(forced-colors:active){html body[data-ar-page="home"] #site-information.cp71-site-info>summary{color:CanvasText!important;}}
}

/* Use the existing important action layer, with explicit page IDs, so these
   declarations beat R19/R21 and the trailing inline mobile styles. */
@layer ar-site-action-finish {
 html body[data-ar-page="home"] #main-content-home#main-content-home .hero-copy{
  width:100%!important;max-width:64ch!important;margin:30px auto 0!important;transform:none!important;
  padding:24px clamp(16px,2vw,28px) 12px!important;text-align:center!important;
  background:none!important;border:0!important;box-shadow:none!important;
 }
 html body[data-ar-page="home"] #main-content-home#main-content-home .hero-copy::before{left:50%!important;transform:translateX(-50%);width:100px!important;background:linear-gradient(90deg,transparent,#aa986c80,transparent)!important;}
 html body[data-ar-page="home"] #main-content-home#main-content-home .hero-copy p.ar-reading{
  font-size:clamp(17px,1.25vw,20px)!important;line-height:1.75!important;letter-spacing:.008em!important;
  text-align:center!important;text-wrap:pretty;color:#c8c0aa!important;margin:0 auto 20px!important;
 }
 html body[data-ar-page="home"] #main-content-home#main-content-home .hero-copy .hero-date.ar-reading{
  max-width:58ch!important;margin:0 auto!important;font-size:clamp(13px,.9vw,15px)!important;
  line-height:1.65!important;color:#a9a58f!important;text-align:center!important;
 }
 html body[data-ar-page="home"] #main-content-home#main-content-home .contact-cta-mark img{display:block;width:100%;height:100%;object-fit:contain;}
 html body[data-ar-page="home"] #main-content-home#main-content-home .contact-banner-link::before{display:none!important;animation:none!important;}
 html body[data-ar-page="home"] #main-content-home#main-content-home .contact-banner-link:hover{background:linear-gradient(120deg,#302218eb,#100c09f0)!important;border-color:#c4a17daa!important;}
 @media(max-width:650px){html body[data-ar-page="home"] #main-content-home#main-content-home .hero-copy{margin-top:20px!important;padding:22px 12px 8px!important;}}
 html body:is([data-ar-page="home"],[data-ar-page="ministry"])[data-reading-contrast="high"] :is(#main-content-home,#main-content-ministry) :is(.ar-home-content-runner,.ar-ministry-content-runner){background:#000!important;}
 html body[data-ar-page="home"][data-reading-contrast="high"] #main-content-home#main-content-home :is(.hero-copy p.ar-reading,.hero-copy .hero-date.ar-reading,.contact-cta-title,.contact-cta-description){color:#fff!important;}
 @media(forced-colors:active){
  html body[data-ar-page="home"] #main-content-home > .ar-home-content-runner{display:none!important;}
  html body[data-ar-page="ministry"] #main-content-ministry .ar-ministry-content-runner{background:Canvas!important;border-color:CanvasText!important;}
  html body[data-ar-page="home"] #main-content-home#main-content-home :is(.hero-copy p.ar-reading,.hero-copy .hero-date.ar-reading){color:CanvasText!important;}
  html body[data-ar-page="home"] #main-content-home#main-content-home .contact-cta-mark{display:none!important;}
 }
}
html[data-ar-theme="simple"] body .ar-home-content-runner{display:none!important;}

/* Broad, rounded volume behind the accepted narrow moving shafts. One origin,
   no secondary spotlight; feathering comes from gradients, never blur filters. */
html body[data-ar-page="home"] #main-content-home .ar-next-rounded-fan{
 position:absolute;left:-10%;top:-12%;width:120%;height:112%;z-index:0;pointer-events:none;
 background:url('/assets/next-home-ministry/home-downlight-fan-r23.svg') center top/100% 100% no-repeat;
 transform-origin:50% 0;opacity:.72;
 animation:ar-next-fan-breathe 29s ease-in-out -9s infinite alternate;
 animation-play-state:paused;
}
html body[data-ar-page="home"] #main-content-home .ar-hero-illumination[data-ar-lights-running="true"] .ar-next-rounded-fan{animation-play-state:running;}
@keyframes ar-next-fan-breathe{
 from{transform:rotate(-1.1deg) scaleX(.98);opacity:.63}
 to{transform:rotate(1.1deg) scaleX(1.035);opacity:.82}
}
@media(max-width:650px){html body[data-ar-page="home"] #main-content-home .ar-next-rounded-fan{left:-30%;width:160%;opacity:.60;}}
@media(prefers-reduced-motion:reduce){html body[data-ar-page="home"] #main-content-home .ar-next-rounded-fan{animation:none!important;transform:none!important;}}
html[data-ar-theme="simple"] body .ar-next-rounded-fan{display:none!important;}
@media(forced-colors:active){html body .ar-next-rounded-fan{display:none!important;}}

/* Fix 6: a contained Ministry opening panel around the wording and small mark.
   The large page AR remains outside this surface; no content mask or fixed height. */
@layer ar-site-action-finish {
 html body[data-ar-page="ministry"] #main-content-ministry#main-content-ministry #ministry-top .m-hero-introduction{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,.88fr)!important;
  column-gap:clamp(22px,3vw,42px)!important;align-items:center!important;
  width:100%!important;max-width:1280px!important;margin-inline:auto!important;min-width:0!important;
  padding:clamp(26px,3.2vw,44px) clamp(20px,3vw,38px)!important;
  border:1px solid #a7855b4d!important;border-radius:8px!important;
  background:radial-gradient(ellipse at 12% 0%,#93633416,transparent 68%),linear-gradient(135deg,#201710f7,#100c09f2 68%,#0b0908e8)!important;
  box-shadow:inset 0 1px 0 #d8b78612,0 12px 32px #0003!important;overflow:visible!important;
 }
 html body[data-ar-page="ministry"] #main-content-ministry#main-content-ministry #ministry-top .m-hero-introduction>:is(h1,.ar-section-subtitle){grid-column:1 / -1!important;}
 html body[data-ar-page="ministry"] #main-content-ministry#main-content-ministry #ministry-top .m-hero-copy{
  grid-column:1!important;grid-row:3!important;min-width:0!important;max-width:62ch!important;margin:20px auto 0!important;text-align:center!important;
 }
 html body[data-ar-page="ministry"] #main-content-ministry#main-content-ministry #ministry-top .m-hero-art{
  position:relative!important;inset:auto!important;grid-column:2!important;grid-row:3!important;
  width:100%!important;height:auto!important;max-width:540px!important;margin:16px auto 0!important;
  opacity:.25!important;mix-blend-mode:normal!important;mask-image:none!important;-webkit-mask-image:none!important;
 }
 html body[data-ar-page="ministry"] #main-content-ministry#main-content-ministry #ministry-top .m-hero-art img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;}
 html body[data-ar-page="ministry"] #main-content-ministry#main-content-ministry #ministry-top .m-hero-copy p{text-align:center!important;}
 html body[data-ar-page="ministry"] #main-content-ministry#main-content-ministry #ministry-top .m-hero-toolbox-jump{display:none!important;}
 @media(max-width:900px){
  html body[data-ar-page="ministry"] #main-content-ministry#main-content-ministry #ministry-top .m-hero-introduction{grid-template-columns:minmax(0,1fr)!important;padding:24px 18px!important;gap:0!important;border-radius:6px!important;}
  html body[data-ar-page="ministry"] #main-content-ministry#main-content-ministry #ministry-top .m-hero-art{grid-column:1!important;grid-row:4!important;width:min(264px,74%)!important;margin-top:20px!important;opacity:.25!important;}
 }
 html body[data-ar-page="ministry"][data-reading-contrast="high"] #main-content-ministry#main-content-ministry #ministry-top .m-hero-introduction{background:#000!important;border-color:#c8b69a!important;box-shadow:none!important;}
 @media(forced-colors:active){
  html body[data-ar-page="ministry"] #main-content-ministry#main-content-ministry #ministry-top .m-hero-introduction{background:Canvas!important;border-color:CanvasText!important;box-shadow:none!important;}
  html body[data-ar-page="ministry"] #main-content-ministry#main-content-ministry #ministry-top .m-hero-art{display:none!important;}
 }
}

/* Batch23 fixes18–19: only the three pictured resource captions and the
   Ministry footer disclosure surface; controls, copy and artwork stay native. */
@layer ar-site-action-finish {
 html body[data-ar-page="ministry"] #main-content-ministry #ministry-work .m-card > .m-card-copy,
 html body[data-ar-page="ministry"] #main-content-ministry #ministry-work .m-card > .m-card-copy :is(h3,p){
  text-align:center!important;
 }
 html body[data-ar-page="ministry"] #main-content-ministry #ministry-work .m-card > .m-card-copy p{
  max-width:40ch!important;margin-inline:auto!important;overflow-wrap:break-word;
 }
 html body[data-ar-page="ministry"] #site-information.cp71-site-info,
 html body[data-ar-page="ministry"] #site-information.cp71-site-info>summary{
  background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;
 }
}
