/* Design 11 — the mix */
:root{--font:"Figtree",system-ui,sans-serif;--head-weight:800;--head-track:-.03em;--bg:#f2f3f7;--surface:#fff;--soft:#e9ebf2;--radius:22px;--maxw:1160px;--header-h:76px}
@media (prefers-color-scheme:dark){:root{--bg:#05070f;--surface:#141824;--soft:#1d2130}}

/* ---------- header: the Glass menu from design 8 ---------- */
.v-head{position:sticky;top:0;z-index:70;padding:10px var(--pad) 0}
.v-head-in{max-width:var(--maxw);margin:0 auto;height:58px;padding:0 10px 0 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:99px;background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 82%,transparent),color-mix(in srgb,var(--surface) 56%,transparent));backdrop-filter:blur(26px) saturate(1.9);-webkit-backdrop-filter:blur(26px) saturate(1.9);border:1px solid color-mix(in srgb,var(--surface) 75%,transparent);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 30px rgba(15,23,48,.14)}
.v-head .logo{height:36px}.v-head .c-brand-name{font-size:.82rem}
html:not(.is-drawer) .v-head .c-menu{position:relative;padding:4px;border-radius:99px;background:color-mix(in srgb,var(--ink) 6%,transparent);box-shadow:inset 0 1px 2px rgba(15,23,48,.1)}
html:not(.is-drawer) .v-head .c-menu>li>a{position:relative;z-index:1;border-radius:99px;padding:.45em .95em;font-size:.86rem;font-weight:600;transition:color .2s}
html:not(.is-drawer) .v-head .c-menu>li.on>a{color:#fff;background:linear-gradient(180deg,#3553b8,#14286e 70%);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -6px 10px rgba(5,12,45,.35),0 4px 12px rgba(20,40,110,.38)}
.v-head .c-blob{background:linear-gradient(180deg,color-mix(in srgb,var(--surface) 96%,transparent),color-mix(in srgb,var(--surface) 62%,transparent));box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 2px 8px rgba(15,23,48,.16)}
html:not(.is-drawer) .v-head .c-sub{margin-top:12px;border-radius:22px;background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(26px) saturate(1.9);-webkit-backdrop-filter:blur(26px) saturate(1.9)}
html:not(.is-drawer) .v-head .c-sub::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
html:not(.is-drawer) .v-head .c-sub a{border-radius:14px}
.v-azbtn svg{width:1.1em;height:1.1em}
.v-ico{display:none}.v-ico svg{display:block;width:100%;height:100%}
/* phone menu: a frosted panel that drops from the bar */
.is-drawer .c-nav{inset:76px 12px auto 12px;width:auto;max-height:calc(100dvh - 180px);border-radius:28px;padding:6px 18px 18px;background:color-mix(in srgb,var(--surface) 80%,transparent);backdrop-filter:blur(30px) saturate(1.9);-webkit-backdrop-filter:blur(30px) saturate(1.9);border:1px solid color-mix(in srgb,var(--surface) 75%,transparent);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 24px 60px rgba(15,23,48,.3);transform:translateY(-14px) scale(.94);transform-origin:top right;opacity:0;visibility:hidden;transition:transform .32s cubic-bezier(.3,1.3,.5,1),opacity .2s,visibility 0s .32s}
.is-drawer.nav-open .c-nav{transform:none;opacity:1;visibility:visible;transition:transform .32s cubic-bezier(.3,1.3,.5,1),opacity .2s}
.is-drawer .c-menu>li>a{display:flex;align-items:center;gap:12px;font-size:1.08rem;padding:.62em 0}
.is-drawer .v-ico{display:block;flex:none;width:34px;height:34px;padding:7px;border-radius:11px;background:color-mix(in srgb,var(--link) 14%,transparent);color:var(--link)}
.is-drawer .has-sub>a::after{margin-left:auto}.is-drawer .c-sub{padding-left:46px}.is-drawer .c-menu>li:last-child{border:0}.is-drawer .c-nav .c-actions{margin-top:10px}
main{transition:opacity .25s}.is-drawer.nav-open main{opacity:.35}
.v-tabs{display:none}
@media (max-width:1119px){
  .v-tabs{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;inset:auto 0 0 0;z-index:78;background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
  .v-tabs a{display:grid;justify-items:center;gap:2px;font-size:.68rem;font-weight:600;color:var(--muted);text-decoration:none;padding:4px 0}.v-tabs a.on{color:var(--link)}.v-tabs svg{width:24px;height:24px}
  body{padding-bottom:70px}.c-chat{bottom:82px}.c-bar{bottom:138px!important}.c-toast{bottom:150px}}

/* ---------- the opening of design 8 ---------- */
.v-app{max-width:var(--maxw);margin:0 auto;padding:26px var(--pad) 70px;display:grid;gap:44px}.v-app>section{min-width:0}
.v-hello h1{font-size:clamp(1.9rem,4.4vw,3rem);max-width:18ch;margin:0}
.v-card{background:var(--surface);border-radius:var(--radius);overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(15,23,48,.06)}
.v-top{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}
.v-big{position:relative;min-height:380px;display:flex;align-items:flex-end;color:#fff;text-decoration:none}.v-big img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s}.v-big:hover img{transform:scale(1.03)}.v-big::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(5,10,30,.85));pointer-events:none}
.v-big span{position:relative;z-index:1;padding:24px;display:grid;gap:4px}.v-big b{font-size:1.8rem;letter-spacing:-.03em;line-height:1.1}.v-big em{font-style:normal;font-weight:700;margin-top:8px}
.v-times{padding:22px}.v-times>div{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px 0;border-top:1px solid var(--line)}.v-times small{display:block;color:var(--muted)}.v-times b{font-size:1.05rem;background:var(--soft);padding:.3em .8em;border-radius:99px;white-space:nowrap}.v-times .c-callink{margin-top:.35em}
.v-h{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:16px}.v-h h2{margin:0;font-size:clamp(1.5rem,2.6vw,2rem)}.v-h a{font-weight:700;text-decoration:none;white-space:nowrap}
.v-sub{color:var(--muted);margin:-8px 0 18px}

/* round ministries */
.v-stories{display:flex;gap:18px;overflow-x:auto;padding:4px 2px 10px;scrollbar-width:none}.v-stories::-webkit-scrollbar{display:none}
.v-stories a{flex:none;width:92px;text-align:center;text-decoration:none;color:var(--ink);font-size:.82rem;font-weight:600}
.v-stories img{width:84px;height:84px;border-radius:50%;object-fit:cover;margin:0 auto 7px;border:3px solid var(--bg);box-shadow:0 0 0 2.5px var(--link);transition:transform .25s}.v-stories a:hover img{transform:scale(1.07)}
.v-stories a{opacity:0;transform:translateY(12px) scale(.9);transition:opacity .45s,transform .5s cubic-bezier(.3,1.3,.5,1)}.v-stories.in a{opacity:1;transform:none}
.v-stories.in a:nth-child(2){transition-delay:.05s}.v-stories.in a:nth-child(3){transition-delay:.1s}.v-stories.in a:nth-child(4){transition-delay:.15s}.v-stories.in a:nth-child(5){transition-delay:.2s}.v-stories.in a:nth-child(6){transition-delay:.25s}.v-stories.in a:nth-child(n+7){transition-delay:.3s}

/* ---------- latest services: design 1's player ---------- */
.v-play{display:grid;grid-template-columns:1.45fr 1fr;gap:18px;align-items:stretch}
.v-now{position:relative;border:0;padding:0;border-radius:var(--radius);overflow:hidden;cursor:pointer;min-height:380px;color:#fff;text-align:left;background:#000;font:inherit}.v-now img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s}.v-now:hover img{transform:scale(1.04)}.v-now::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(5,10,30,.9));pointer-events:none}
.v-now i{position:absolute;inset:0;margin:auto;width:80px;height:80px;border-radius:50%;background:rgba(255,255,255,.95);color:#14286e;display:grid;place-items:center;z-index:1;box-shadow:0 10px 30px rgba(0,0,0,.35);transition:transform .25s}.v-now:hover i{transform:scale(1.08)}.v-now i svg{width:34px;margin-left:4px}
.v-now span{position:absolute;left:24px;right:24px;bottom:22px;z-index:1;display:grid;gap:4px}.v-now small{opacity:.8}.v-now b{font-size:1.35rem;line-height:1.25}
.v-play ol{list-style:none;margin:0;padding:0;display:grid;background:var(--surface);border-radius:var(--radius);overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(15,23,48,.06)}.v-play li+li{border-top:1px solid var(--line)}
.v-play li button{display:grid;grid-template-columns:24px 96px 1fr;gap:12px;align-items:center;width:100%;height:100%;border:0;background:none;padding:10px 14px;cursor:pointer;text-align:left;font:inherit;color:var(--ink)}.v-play li button:hover{background:var(--soft)}
.v-play li i{font-style:normal;color:var(--muted);font-size:.8rem;font-variant-numeric:tabular-nums}.v-play li img{width:96px;height:54px;object-fit:cover;border-radius:9px}.v-play li b{display:block;font-size:.9rem;line-height:1.3;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.v-play li small{color:var(--muted)}

/* ---------- what we believe: words fill in as you scroll (design 2) ---------- */
.v-state{height:190vh;position:relative}.v-sticky{position:sticky;top:0;min-height:100vh;min-height:100svh;display:flex;align-items:center}
.v-inner{max-width:var(--maxw);width:100%;margin:0 auto;padding:0 var(--pad)}
.v-say{font-size:clamp(2.2rem,5.6vw,5.2rem);font-weight:800;letter-spacing:-.045em;line-height:1.04;max-width:17ch;margin:.25em 0 .7em}
.v-say .w{color:color-mix(in srgb,var(--ink) 18%,transparent);transition:color .25s}.v-say .w.on{color:var(--ink)}.v-say .w.on.blue{color:var(--link)}
.v-chips{display:flex;flex-wrap:wrap;gap:10px}.v-chips a{padding:.7em 1.2em;background:var(--surface);border-radius:99px;text-decoration:none;font-weight:600;font-size:.95rem;box-shadow:0 4px 14px rgba(15,23,48,.06)}.v-chips a:hover{background:var(--brand);color:#fff}

/* ---------- Project Azores: the photo opens to full screen (design 2) ---------- */
.v-az{position:relative;height:250vh}.v-az-sticky{position:sticky;top:0;height:100vh;height:100svh;min-height:600px;overflow:hidden}
.v-az-frame{position:absolute;inset:0;clip-path:inset(calc((1 - var(--p,0))*9%) calc((1 - var(--p,0))*14%) calc((1 - var(--p,0))*9%) round calc((1 - var(--p,0))*44px));will-change:clip-path}
.v-az-frame img{width:100%;height:100%;object-fit:cover;transform:scale(calc(1.18 - var(--p,0)*.18))}
.v-az-frame::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.3),rgba(0,0,0,0) 35%,rgba(0,0,0,.05) 55%,rgba(0,0,0,.6));pointer-events:none}
.v-az-content{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:space-between;color:#fff;padding:calc(110px + (1 - var(--p,0))*2vh) calc(var(--pad) + (1 - var(--p,0))*15vw) calc(40px + (1 - var(--p,0))*9vh);pointer-events:none}.v-az-content a{pointer-events:auto}
.v-az-top{text-align:center;text-shadow:0 2px 24px rgba(0,0,0,.35)}.v-az-top .kicker{color:#fff;opacity:.9}.v-az-top h2{color:#fff;font-size:clamp(3.4rem,12vw,11rem);font-weight:900;letter-spacing:-.06em;line-height:.85;margin:0;transform:scale(calc(.86 + var(--p,0)*.14))}
.v-glass{max-width:1100px;width:100%;margin:0 auto;padding:16px;border-radius:30px;display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:10px;background:rgba(16,17,20,.34);backdrop-filter:blur(24px) saturate(1.4);-webkit-backdrop-filter:blur(24px) saturate(1.4);border:1px solid rgba(255,255,255,.3);opacity:calc(.25 + var(--p,0)*.75);transform:translateY(calc((1 - var(--p,0))*24px))}
.v-glass>*{padding:16px;border-radius:20px;color:#fff;text-decoration:none;margin:0;display:grid;align-content:space-between;gap:18px}.v-glass a{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);transition:background .2s}.v-glass a:hover{background:rgba(255,255,255,.22)}.v-glass small{opacity:.85;font-weight:600;letter-spacing:.06em;text-transform:uppercase;font-size:.72rem}.v-glass b{font-size:1.15rem;letter-spacing:-.02em;line-height:1.15}

/* ---------- missionaries ---------- */
.v-faces{display:grid;grid-template-columns:repeat(7,1fr);gap:14px}
.v-faces a{text-decoration:none;color:var(--ink);opacity:0;transform:translateY(16px);transition:opacity .5s,transform .6s cubic-bezier(.2,.8,.2,1)}.v-faces.in a{opacity:1;transform:none}
.v-faces img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:22px;transition:transform .3s;box-shadow:0 6px 18px rgba(15,23,48,.1)}.v-faces a:hover img{transform:translateY(-4px) rotate(-1.5deg)}
.v-faces span{display:grid;margin-top:8px}.v-faces b{font-size:.86rem;line-height:1.2}.v-faces small{color:var(--muted);font-size:.76rem}
.v-faces.in a:nth-child(7n+2){transition-delay:.05s}.v-faces.in a:nth-child(7n+3){transition-delay:.1s}.v-faces.in a:nth-child(7n+4){transition-delay:.15s}.v-faces.in a:nth-child(7n+5){transition-delay:.2s}.v-faces.in a:nth-child(7n+6){transition-delay:.25s}.v-faces.in a:nth-child(7n+7){transition-delay:.3s}

/* ---------- the Bible app: phones fan out as you scroll, features pop in ---------- */
.v-bible{position:relative;overflow:hidden;color:#fff;background:radial-gradient(800px 520px at 78% 30%,rgba(110,140,255,.4),transparent 65%),radial-gradient(600px 420px at 10% 100%,rgba(200,40,60,.25),transparent 70%),linear-gradient(160deg,#1c3790,#14286e 45%,#0a1440)}
.v-bible-in{max-width:var(--maxw);margin:0 auto;padding:clamp(60px,9vw,110px) var(--pad);display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(30px,5vw,70px);align-items:center}
.v-bible h2{color:#fff;font-size:clamp(2rem,3.9vw,4rem);margin:.1em 0 .3em}.v-bible .kicker{color:#c9d4ff}.v-bible-txt>p:not(.kicker){color:#dfe5ff;font-size:1.1rem;max-width:42ch}
.v-bible-icon{width:88px;height:88px;border-radius:21px;box-shadow:0 14px 34px rgba(0,0,0,.35);margin-bottom:18px;transform:scale(.6) rotate(-14deg);opacity:0;transition:transform .7s cubic-bezier(.3,1.5,.5,1),opacity .4s}.v-bible.in .v-bible-icon{transform:none;opacity:1}
.v-feats{list-style:none;padding:0;margin:22px 0 28px;display:flex;flex-wrap:wrap;gap:8px}
.v-feats li{padding:.5em 1em;border-radius:99px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);font-weight:600;font-size:.9rem;opacity:0;transform:translateY(10px) scale(.92);transition:opacity .4s,transform .5s cubic-bezier(.3,1.4,.5,1);transition-delay:calc(.25s + var(--i)*.08s)}
.v-feats li.v-red::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#ff5a5a;margin-right:7px;vertical-align:1px}
.v-bible.in .v-feats li{opacity:1;transform:none}
.v-bible .btn{background:#fff;color:#14286e;border-color:#fff}
.v-phones{position:relative;height:560px}
.v-phone{position:absolute;left:50%;top:50%;width:236px;margin:-256px 0 0 -118px;aspect-ratio:644/1400;border-radius:38px;padding:9px;background:#0b0f1f;box-shadow:0 30px 70px rgba(0,0,0,.45),inset 0 0 0 1.5px rgba(255,255,255,.14)}
.v-phone img{width:100%;height:100%;object-fit:cover;border-radius:30px;display:block}
.v-phone::before{content:"";position:absolute;left:50%;top:17px;width:62px;height:18px;margin-left:-31px;border-radius:12px;background:#0b0f1f;z-index:1}
.v-phone.a{transform:translateX(calc(var(--p,0)*-190px)) rotate(calc(var(--p,0)*-9deg)) scale(.88)}
.v-phone.c{transform:translateX(calc(var(--p,0)*190px)) rotate(calc(var(--p,0)*9deg)) scale(.88)}
.v-phone.b{z-index:2;transform:translateY(calc((1 - var(--p,0))*60px));animation:v-float 6s ease-in-out infinite}
.v-phone.b::after{content:"";position:absolute;inset:9px;border-radius:30px;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.28) 48%,transparent 60%);background-size:300% 100%;animation:v-sheen 5s ease-in-out infinite;pointer-events:none}
@keyframes v-float{50%{margin-top:-266px}}@keyframes v-sheen{0%,55%{background-position:120% 0}100%{background-position:-120% 0}}

/* ---------- events: cards with a date badge and Add to my calendar ---------- */
.v-evs{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 16px;scrollbar-width:none}.v-evs::-webkit-scrollbar{display:none}
.v-ev{position:relative;flex:0 0 min(300px,78vw);scroll-snap-align:start;background:var(--surface);border-radius:var(--radius);overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(15,23,48,.07);display:flex;flex-direction:column;opacity:0;transform:translateX(30px);transition:opacity .5s,transform .6s cubic-bezier(.2,.8,.2,1)}
.v-evs.in .v-ev{opacity:1;transform:none}.v-evs.in .v-ev:nth-child(2){transition-delay:.08s}.v-evs.in .v-ev:nth-child(3){transition-delay:.16s}.v-evs.in .v-ev:nth-child(n+4){transition-delay:.24s}
.v-ev-top{display:block;height:190px;overflow:hidden;background:var(--soft)}.v-ev-top img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .5s}.v-ev:hover .v-ev-top img{transform:scale(1.05)}
.v-ev-art{display:grid;place-items:center;background:radial-gradient(240px 160px at 80% 10%,hsl(var(--h) 80% 70% / .55),transparent 70%),linear-gradient(150deg,hsl(var(--h) 60% 42%),hsl(calc(var(--h) + 20) 65% 22%))}
.v-ev-art img{width:96px;height:auto;object-fit:contain;filter:brightness(0) invert(1);opacity:.85}
.v-ev-date{position:absolute;left:14px;top:14px;display:grid;justify-items:center;min-width:56px;padding:6px 8px 7px;border-radius:16px;background:color-mix(in srgb,var(--surface) 88%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 6px 16px rgba(0,0,0,.18);line-height:1}
.v-ev-date small{font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#d6455d}.v-ev-date b{font-size:1.6rem;letter-spacing:-.03em;margin-top:3px}
.v-ev-body{padding:16px 18px 18px;display:grid;gap:4px;align-content:start;flex:1}.v-ev-body a{text-decoration:none;color:var(--ink)}.v-ev-body b{font-size:1.08rem;line-height:1.25}.v-ev-body small{color:var(--muted)}.v-ev-body .c-callink{margin-top:auto;padding-top:10px}
.v-app>.c-join{margin:0}

/* ---------- smaller screens ---------- */
@media (max-width:1119px){.v-top{grid-template-columns:1fr}.v-big{min-height:320px}.v-play{grid-template-columns:1fr}.v-now{min-height:0;aspect-ratio:16/9}
  .v-faces{grid-template-columns:repeat(4,1fr)}.v-bible-in{grid-template-columns:1fr}.v-phones{height:520px}}
@media (max-width:860px){.v-glass{grid-template-columns:1fr 1fr;padding:10px;border-radius:24px;gap:8px}.v-glass>p{grid-column:1/-1;padding:8px 10px;font-size:.95rem}.v-glass>*{padding:12px;gap:10px}.v-glass b{font-size:1rem}
  .v-az-content{padding:calc(96px + (1 - var(--p,0))*2vh) calc(16px + (1 - var(--p,0))*6vw) calc(86px + (1 - var(--p,0))*4vh)}.v-az-frame{clip-path:inset(calc((1 - var(--p,0))*12%) calc((1 - var(--p,0))*6%) calc((1 - var(--p,0))*12%) round calc((1 - var(--p,0))*32px))}
  .v-faces{grid-template-columns:repeat(3,1fr);gap:12px}.v-faces a:nth-child(n+13){display:none}
  .v-phones{height:440px}.v-phone{width:190px;margin:-206px 0 0 -95px;border-radius:32px}.v-phone img,.v-phone.b::after{border-radius:25px}
  .v-phone.a{transform:translateX(calc(var(--p,0)*-110px)) rotate(calc(var(--p,0)*-8deg)) scale(.84)}.v-phone.c{transform:translateX(calc(var(--p,0)*110px)) rotate(calc(var(--p,0)*8deg)) scale(.84)}@keyframes v-float{50%{margin-top:-214px}}
  .v-play li button{grid-template-columns:20px 84px 1fr}.v-play li img{width:84px;height:47px}}
@media (prefers-reduced-motion:reduce){.v-state{height:auto}.v-sticky{position:relative;min-height:0;padding:70px 0}.v-say .w{color:var(--ink)}.v-say .w.blue{color:var(--link)}.v-az{height:auto}.v-az-sticky{position:relative;height:auto;min-height:0}.v-az-frame{clip-path:none}.v-az-frame img{transform:none}.v-az-content{position:relative;padding:90px var(--pad) 24px;gap:60px}.v-az-top h2{transform:none}.v-glass{opacity:1;transform:none}.v-phone{animation:none!important}.v-phone.b::after{display:none}}
@media (min-width:1120px){.v-evs{display:grid;grid-template-columns:repeat(4,1fr);overflow:visible}.v-ev:nth-child(n+5){display:none}}
.v-times>div>span{flex:1;min-width:0}.v-times .c-callink{white-space:nowrap}
@media (max-width:1119px){.v-now{display:block;width:100%;aspect-ratio:auto}.v-now::before{content:"";display:block;padding-top:56.25%}}
@media (max-width:860px){.v-now i{width:54px;height:54px;top:-30%}.v-now i svg{width:24px}.v-now span{left:16px;right:16px;bottom:14px}.v-now b{font-size:1rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.v-now small{font-size:.78rem}}
/* large screens (13-inch laptops and up): a little more room for the type */
/* computers: the page keeps about 70px of margin on each side, from 1160px (small laptops) up to 1480px (1080p screens) */
@media (min-width:1120px){:root{--maxw:clamp(1160px,calc(100vw - 140px),1480px)}}
@media (min-width:1440px){body{font-size:18px}.v-hello h1{font-size:3.6rem}.v-h h2{font-size:2.3rem}.c-pagehead h1{font-size:clamp(3rem,3.4vw,4.2rem)}}
/* iPad (portrait and smaller landscape): the welcome photo and the service times side by side, as on a computer */
@media (min-width:760px) and (max-width:1119px){.v-top{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.v-big{min-height:340px}.v-times{padding:18px}}
@media (min-width:1440px){.v-big{min-height:440px}}
/* What we believe: centred on the page */
#v-believe .v-inner{text-align:center}#v-believe .v-say{margin-left:auto;margin-right:auto}#v-believe .v-chips{justify-content:center}

/* =====================================================================
   Design 11b: Design 11's look, with the pages and the menu planned from the content.
   Calm white cards on soft grey, one navy accent, plain Figtree. Small effects only.
   ===================================================================== */

/* ---------- the menu: short lines under the links, and the wide panel of Ministries (four groups) ---------- */
.v-head .c-sub a small{display:block;margin-top:2px;font-size:.76rem;font-weight:500;line-height:1.3;color:var(--muted)}
html:not(.is-drawer) .v-head .c-menu>li.has-sub:not(.mega)>.c-sub{min-width:280px}
html:not(.is-drawer) .v-head-in{position:relative}
html:not(.is-drawer) .v-head .c-menu>li.mega{position:static}
html:not(.is-drawer) .v-head .c-menu>li.mega>.c-sub{position:fixed;top:100%;left:0;right:0;width:min(900px,100%);margin:12px auto 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 18px;padding:18px 18px 20px}
.c-grp{list-style:none}.c-grp ul{list-style:none;margin:0;padding:0}
.c-grp-h{display:block;padding:.2em .8em .55em;font:800 .68rem var(--font);letter-spacing:.14em;text-transform:uppercase;color:var(--link)}
.is-drawer .c-grp-h{padding:.9em 0 .2em}.is-drawer .c-grp ul a{padding-left:.2em}
.v-head .c-memberlink{font-weight:600}

/* ---------- page head and sections ---------- */
.c-pagehead-in .p-lede{margin:.7rem 0 0;max-width:40em;font-size:clamp(1.05rem,1.5vw,1.22rem);line-height:1.5;color:var(--muted)}
.c-page.pp{display:grid;gap:clamp(48px,6vw,84px);padding-top:6px;padding-bottom:clamp(60px,8vw,110px)}
.c-page.pp>*{min-width:0}
.c-page.pp.pp-nohead{padding-top:calc(var(--pad)*1.6)}   /* a page that starts straight with its blocks (Awana): the room a page head would have left under the menu */
.p-sh{margin:0 0 22px}.p-sh h2{margin:0;font-size:clamp(1.6rem,2.8vw,2.15rem);letter-spacing:-.03em;line-height:1.15}.p-sh p{margin:.5rem 0 0;max-width:46em;color:var(--muted);font-size:1.05rem}
.p-sec{scroll-margin-top:96px}
.p-card{background:var(--surface);border-radius:var(--radius);padding:clamp(20px,2.6vw,30px);box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(15,23,48,.06)}
.p-card h3{margin:.1em 0 .4em;font-size:1.15rem;letter-spacing:-.01em}.p-card p{margin:0 0 .6em}.p-card p:last-child{margin-bottom:0}
.p-grid{display:grid;gap:18px}.p-grid>.c-verse{margin:0}   /* a verse in a grid is spaced by the grid, not by its own margin on top of it */.p-grid.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.p-grid.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.p-grid.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.p-btns{display:flex;flex-wrap:wrap;gap:10px;margin:1.1rem 0 0}.p-center{justify-content:center}
.p-when,.mn-when{display:inline-flex;align-items:center;gap:7px;margin:0 0 .9rem;padding:.35em .95em;border-radius:99px;background:var(--soft);font-weight:700;font-size:.88rem;line-height:1.3}
.p-when svg,.mn-when svg{flex:none;width:16px;height:16px;color:var(--link)}
.p-prose .lead{font-size:1.3rem;line-height:1.5}.p-prose p{max-width:46em}
.p-subnav{display:flex;flex-wrap:wrap;gap:8px}.p-subnav a{padding:.5em 1.1em;border-radius:99px;background:var(--surface);box-shadow:0 2px 8px rgba(15,23,48,.07);text-decoration:none;font-weight:600;font-size:.92rem;transition:background .2s,color .2s}.p-subnav a:hover{background:var(--brand);color:var(--brand-ink)}
.p-admin{margin:12px 0 0}.p-empty{margin:0;padding:22px;border:2px dashed var(--line);border-radius:var(--radius);color:var(--muted);text-align:center}
.p-album{max-width:860px;margin:0 auto}
.p-hint{margin:0 0 14px;color:var(--muted);font-size:.92rem}
.p-center{text-align:center}
.step-n{flex:none;width:38px;height:38px;border-radius:50%;background:var(--brand);color:var(--brand-ink);display:grid;place-items:center;font-weight:800}
.ticks{list-style:none;margin:0;padding:0;display:grid;gap:9px}.ticks li{position:relative;padding-left:2.1em;font-weight:600}.ticks li::before{content:"✓";position:absolute;left:0;top:-.05em;width:1.5em;height:1.5em;border-radius:50%;background:color-mix(in srgb,var(--link) 14%,var(--surface));color:var(--link);display:grid;place-items:center;font-size:.8rem}
.p-card.ticks{padding:clamp(20px,2.6vw,30px)}

/* ---------- home ---------- */
.v-big .v-psalm{max-width:26em;font-size:clamp(1.15rem,2.1vw,1.55rem);font-weight:700;letter-spacing:-.02em;line-height:1.25}
.v-big small:not(:first-child){opacity:.85}
.v-times .h-next{margin:.6rem 0 0;color:var(--muted);font-size:.92rem;line-height:1.4}
.h-adm{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:-4px 0 14px}.h-adm span{font-size:.85rem;color:var(--muted)}
.gc{display:grid;gap:6px;align-content:start;text-decoration:none;color:inherit;transition:transform .25s,box-shadow .25s}
.p-card.gc:hover{transform:translateY(-3px);box-shadow:0 1px 2px rgba(0,0,0,.04),0 14px 32px rgba(15,23,48,.12)}
.gc h3{margin:.55rem 0 0;font-size:1.2rem}.gc p{margin:0;color:var(--muted)}.gc small{margin-top:8px;padding-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:.82rem;line-height:1.5}
.p-watch{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:18px;align-items:stretch}
.p-watch-txt{display:flex;flex-direction:column;justify-content:center}.p-watch-txt h2{margin:0 0 .4rem;font-size:clamp(1.6rem,2.6vw,2.1rem);letter-spacing:-.03em}.p-watch-txt p{color:var(--muted)}
.p-believe{background:var(--surface);padding:clamp(64px,9vw,120px) 0}.p-believe-in{max-width:var(--maxw);margin:0 auto;padding:0 var(--pad);text-align:center}
.p-believe .v-say{font-size:clamp(1.9rem,4.4vw,3.5rem);max-width:19ch;margin:.3em auto .8em}.p-believe .v-chips{justify-content:center}
.p-believe .v-chips a{background:var(--bg);box-shadow:none}.p-believe .v-chips a:hover{background:var(--brand)}
/* the missionaries drift along one line, and stop when touched (React Bits “logo loop”) */
.v-drift{overflow:hidden;margin:0 calc(var(--pad) * -1);-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
.v-drift-track{display:flex;gap:14px;width:max-content;padding:6px 0 10px;animation:v-drift 120s linear infinite}
.v-drift:hover .v-drift-track,.v-drift:focus-within .v-drift-track{animation-play-state:paused}
@keyframes v-drift{to{transform:translateX(calc(-50% - 7px))}}
.v-drift a{flex:none;width:clamp(112px,11vw,140px);text-decoration:none;color:var(--ink)}
.v-drift img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:20px;box-shadow:0 6px 18px rgba(15,23,48,.1);transition:transform .3s}.v-drift a:hover img{transform:translateY(-3px)}
.v-drift span{display:grid;margin-top:8px}.v-drift b{font-size:.84rem;line-height:1.2}.v-drift small{color:var(--muted);font-size:.74rem}
@media(prefers-reduced-motion:reduce){.v-drift{overflow-x:auto;-webkit-mask-image:none;mask-image:none}.v-drift-track{animation:none}.v-drift a[aria-hidden]{display:none}}
/* the Bible app: the phones rest in a fan (nothing moves with the scroll) */
.v-pill{margin-left:.7em;padding:.28em .8em;border-radius:99px;background:rgba(255,255,255,.16);font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:.7rem;white-space:nowrap;vertical-align:1px}

/* ---------- plan your visit ---------- */
.svc{position:relative;display:grid;align-content:start;gap:2px}
.svc>small{font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-size:.72rem}
.svc>b{margin-top:4px;font-size:clamp(1.7rem,2.6vw,2.3rem);letter-spacing:-.03em;line-height:1.1}
.svc h3{margin:.25rem 0 .3rem}.svc p{margin:.1rem 0;color:var(--muted);font-size:.95rem}
.svc-foot{margin-top:auto;padding-top:14px}.svc-foot{border-top:1px solid var(--line);margin-top:14px}
.svc-badge{position:absolute;top:16px;right:16px;padding:.28em .85em;border-radius:99px;background:linear-gradient(180deg,#3553b8,#14286e 70%);color:#fff;font:800 .7rem var(--font);letter-spacing:.1em;text-transform:uppercase}
.svc-next{box-shadow:0 0 0 2px var(--link),0 8px 24px rgba(15,23,48,.1)}.svc-live{box-shadow:0 0 0 2px #c93b27,0 8px 24px rgba(15,23,48,.1)}.svc-live .svc-badge{background:#c93b27}
.p-find{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:stretch}
.p-find-txt{display:grid;align-content:start;gap:4px}.find-addr{margin:0 0 .5rem;font-size:1.4rem;font-weight:700;letter-spacing:-.02em;line-height:1.3}
.find-contact{display:grid;gap:4px;margin:1.1rem 0 1rem!important}.find-contact a{font-weight:700;text-decoration:none;color:var(--link)}
.p-find-map{min-height:340px}.p-find-map .c-frame{height:100%;min-height:340px;aspect-ratio:auto;margin-top:0;border-radius:var(--radius);overflow:hidden}.p-find-map iframe{width:100%;height:100%;border:0}

/* the church sign beside the address on Plan your visit ("Look for this sign") */
.p-find.vp-b{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);grid-template-areas:"photo txt" "map map"}
.vp-b .vp-photo{grid-area:photo}.vp-b .p-find-txt{grid-area:txt}.vp-b .p-find-map{grid-area:map}
.vp-photo{margin:0;position:relative;min-height:320px;border-radius:var(--radius);overflow:hidden;background:var(--soft);box-shadow:0 1px 2px rgba(0,0,0,.04),0 12px 30px rgba(15,23,48,.12)}
.vp-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:57% 50%}
.vp-photo figcaption{position:absolute;left:0;right:0;bottom:0;padding:56px clamp(16px,2.4vw,24px) 18px;color:#fff;font-size:.98rem;line-height:1.4;background:linear-gradient(180deg,transparent,rgba(8,12,28,.8))}
.vp-photo figcaption .kicker{display:block;margin:0 0 4px;color:#ffd66b;letter-spacing:.14em}
@media (max-width:1000px){.p-find.vp-b{grid-template-columns:minmax(0,1fr);grid-template-areas:"photo" "txt" "map"}.vp-b .vp-photo{aspect-ratio:16/10;min-height:0}}

/* ---------- how to be saved ---------- */
.p-steps{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.step{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start}.step h3{margin:0 0 .4em;font-size:1.25rem}.step .c-verse{margin:.5rem 0}.step p{color:var(--muted)}
.p-receive h2{margin:0 0 .6rem;font-size:clamp(1.5rem,2.6vw,2rem);letter-spacing:-.03em}.p-receive p{max-width:46em}
.p-prayer{margin:1.4rem 0;padding:20px 24px;border-radius:18px;background:var(--soft)}.p-prayer h3{margin:0 0 .5rem;font-size:1.02rem}.p-prayer p{margin:0;font-style:italic;font-size:1.1rem}

/* ---------- our story, our pastors ---------- */
.p-story{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.8fr);gap:clamp(20px,4vw,52px);align-items:center;margin-bottom:34px}
.p-emblem{display:grid;justify-items:center;gap:10px;margin:0;text-align:center}.p-emblem img{width:150px;height:auto}.p-emblem figcaption{font-weight:700;color:var(--muted)}
.p-miles{list-style:none;margin:0;padding:0 0 0 22px;border-left:2px solid var(--line);display:grid;gap:22px}
.p-miles li{position:relative;display:grid;gap:2px}.p-miles li::before{content:"";position:absolute;left:-29px;top:.5em;width:12px;height:12px;border-radius:50%;background:var(--link);box-shadow:0 0 0 4px var(--bg)}
.p-miles b{font-size:1.1rem}.p-miles span{max-width:46em;color:var(--muted)}
.pa-q{margin:.4rem 0 1rem;padding:.2rem 0 .2rem 18px;border-left:3px solid var(--link);color:var(--ink);font-size:1.08rem;font-style:italic}

/* ---------- what we believe: the statement, with a pill for every Bible reference ---------- */
.sf-split{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,6vw,96px);align-items:start}
.sf-intro{position:sticky;top:104px}.sf-intro .kicker{margin:0 0 .7rem}.sf-intro .p-hint{margin:0 0 22px;font-size:1rem;line-height:1.65}
.bl{border-top:2px solid var(--ink)}
.bl-i{border-bottom:1px solid var(--line)}
.bl-i>button{width:100%;display:grid;grid-template-columns:3.2rem minmax(0,1fr) 22px;align-items:center;border:0;background:none;padding:22px 0;color:var(--ink);text-align:left;cursor:pointer}
.bl-n{font:700 .8rem/1 var(--font-label);letter-spacing:.14em;font-style:normal;color:var(--link)}
.bl-i>button span{font:600 clamp(1.45rem,2.3vw,1.85rem)/1.2 var(--font-head);letter-spacing:-.01em}
.bl-i>button i{position:relative;width:22px;height:22px}.bl-i>button i::before,.bl-i>button i::after{content:"";position:absolute;left:3px;right:3px;top:10px;height:2px;border-radius:2px;background:var(--link);transition:transform .35s cubic-bezier(.2,.8,.2,1)}.bl-i>button i::after{transform:rotate(90deg)}.bl-i.open>button i::after{transform:rotate(0)}
.bl-i>div{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s cubic-bezier(.2,.8,.2,1)}.bl-i.open>div{grid-template-rows:1fr}.bl-i>div>div{overflow:hidden;padding:0 0 0 3.2rem;color:var(--ink);opacity:0;transition:opacity .3s,padding .45s cubic-bezier(.2,.8,.2,1)}.bl-i.open>div>div{padding:0 0 24px 3.2rem;opacity:1}
.bl-i p{margin:0 0 .9rem;max-width:44em;font-size:1.04rem;line-height:1.75}
.bl .vp-run{display:inline;margin:0 0 0 .2em}.bl .vp{margin:0 1px}   /* the references of the Statement of Faith are the same pills as everywhere else (the church's pick); in an article they sit inside the sentence, so their ; , and . stay attached to them and the lines stay evenly spaced */
@media (max-width:900px){.sf-split{grid-template-columns:minmax(0,1fr)}.sf-intro{position:static}.bl-i>button{grid-template-columns:2.6rem minmax(0,1fr) 22px}.bl-i>div>div,.bl-i.open>div>div{padding-left:2.6rem}}
.vp-run{display:inline-flex;flex-wrap:wrap;gap:6px 6px;vertical-align:middle;margin:3px 2px;line-height:1}
.vp{font:800 .72rem/1 var(--font);letter-spacing:.045em;text-transform:uppercase;white-space:nowrap;padding:.62em 1.05em;border:0;border-radius:99px;background:color-mix(in srgb,var(--link) 13%,var(--surface));color:#1d2c6b;cursor:help;transition:background .18s,color .18s}
.vp:hover,.vp[aria-expanded=true]{background:var(--brand);color:var(--brand-ink)}
.vp:focus-visible{outline:3px solid var(--link);outline-offset:2px}
@media (prefers-color-scheme:dark){.vp{color:var(--ink);background:color-mix(in srgb,var(--link) 20%,var(--surface))}}
.vp-tip{position:fixed;z-index:300;left:0;top:0;max-width:calc(100vw - 24px);padding:14px 18px 16px;border-radius:18px;background:var(--surface);color:var(--ink);box-shadow:0 20px 48px rgba(15,23,48,.3),0 0 0 1px var(--line);opacity:0;transform:translateY(6px) scale(.97);transform-origin:var(--ax,50%) 100%;pointer-events:none;transition:opacity .16s,transform .22s cubic-bezier(.3,1.4,.5,1)}
.vp-tip.below{transform-origin:var(--ax,50%) 0;transform:translateY(-6px) scale(.97)}
.vp-tip.on{opacity:1;transform:none;pointer-events:auto}
.vp-tip::after{content:"";position:absolute;left:calc(var(--ax,50%) - 8px);bottom:-7px;width:16px;height:16px;background:var(--surface);transform:rotate(45deg);border-radius:0 0 4px 0;box-shadow:3px 3px 4px rgba(15,23,48,.08)}
.vp-tip.below::after{bottom:auto;top:-7px;border-radius:4px 0 0 0;box-shadow:-3px -3px 4px rgba(15,23,48,.06)}
.vp-ref{margin:0 0 6px;font:800 .78rem/1 var(--font);letter-spacing:.05em;text-transform:uppercase;color:var(--link)}
.vp-ref span{margin-left:.5em;padding:.25em .6em;border-radius:99px;background:var(--soft);color:var(--muted);font-size:.68rem}
.vp-txt{margin:0;font-size:1.02rem;line-height:1.55}.vp-txt sup{font:800 .62em var(--font);color:var(--link);margin-right:.25em}
@media (prefers-reduced-motion:reduce){.vp,.vp-tip{transition:none}}

/* ---------- ministries ---------- */
.mn{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(24px,4vw,60px);align-items:center;scroll-margin-top:96px}
.mn.flip .mn-txt{order:2}
.mn h2{margin:0 0 .6rem;font-size:clamp(1.6rem,2.8vw,2.15rem);letter-spacing:-.03em;line-height:1.15}
.mn .p-prose p{margin:0 0 .85em;color:var(--muted);line-height:1.65}.mn .p-prose p:last-child{margin-bottom:0}   /* the last paragraph does not add its own space to the gap between two sections */
.mn-pic>img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:var(--radius);box-shadow:0 1px 2px rgba(0,0,0,.04),0 12px 30px rgba(15,23,48,.12);display:block}
.mn-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:0;overflow:hidden;scroll-margin-top:96px}
.mn-feature .mn-pic>img{border-radius:0;box-shadow:none;aspect-ratio:auto;height:100%;min-height:280px}.mn-feature .mn-txt{padding:clamp(24px,4vw,46px)}.mn-feature h2{font-size:clamp(1.8rem,3vw,2.5rem)}
.disc{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,4vw,56px);scroll-margin-top:96px}
.disc-dict .dict-w{margin:0;font:800 clamp(2rem,4vw,3rem)/1 var(--font);letter-spacing:-.03em}.dict-pos{margin:.3rem 0 1rem;color:var(--muted);font-style:italic}.disc-dict ol{margin:0 0 1.4rem;padding-left:1.2em}.disc-dict ol li{margin:.2em 0}
.disc-txt h2{margin:0 0 .6rem;font-size:clamp(1.6rem,2.8vw,2.15rem);letter-spacing:-.03em}.disc-txt .lead{font-size:1.15rem;font-weight:600}.disc-h{margin:1.4rem 0 .6rem;font-size:1rem}
.disc-parts{list-style:none;margin:0 0 .6rem;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.disc-parts li{display:grid;gap:3px;padding:14px 16px;border-radius:16px;background:var(--soft)}.disc-parts small{font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--link);font-size:.7rem}.disc-parts span{color:var(--muted);font-size:.9rem}.disc-parts em{font-style:normal;font-size:.92rem}

/* ---------- Awana ---------- */
.aw-mean{text-align:center}.aw-mean .kicker{margin:0}
.aw-acro{display:flex;gap:clamp(6px,1.6vw,16px);justify-content:center;flex-wrap:nowrap;margin:1.1rem 0 1.5rem}   /* the five blocks always share one row */
.aw-l{--c:#c8470a;--cd:#9a3606;flex:1 1 0;min-width:0;max-width:116px;aspect-ratio:.86;margin-bottom:7px;border-radius:20px;background:var(--c);color:#fff;display:grid;place-items:center;align-content:center;gap:2px;box-shadow:0 7px 0 var(--cd),0 16px 24px rgba(15,23,48,.16);border:0;padding:0;font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .3s cubic-bezier(.3,1.5,.5,1),box-shadow .3s}
.aw-l:nth-child(2){--c:#3f6ae0;--cd:#2a4cb0}.aw-l:nth-child(3){--c:#0e8454;--cd:#0a6340}.aw-l:nth-child(4){--c:#d63a5c;--cd:#a82444}.aw-l:nth-child(5){--c:#8b55e8;--cd:#6537bb}
/* the blocks move as they did in Design 18: they lift and tilt when the pointer is over them, jump when pressed, and rise one after another when they come into view */
.aw-l:hover,.aw-l:focus-visible{transform:translateY(-8px) rotate(-3deg);box-shadow:0 15px 0 var(--cd),0 26px 30px rgba(15,23,48,.2)}.aw-l:focus-visible{outline:3px solid color-mix(in srgb,var(--link) 55%,transparent);outline-offset:4px}
.aw-l.pop{animation:aw-pop .7s cubic-bezier(.3,1.6,.5,1)}@keyframes aw-pop{0%{transform:scale(1)}30%{transform:scale(1.25) rotate(8deg)}60%{transform:scale(.92) rotate(-5deg)}100%{transform:scale(1)}}
.aw-acro.rvx .aw-l{opacity:0}
.aw-l b{font-size:clamp(2.3rem,6vw,4.1rem);line-height:1;font-weight:900}.aw-l em{font-style:normal;font-weight:700;font-size:clamp(.7rem,1.3vw,.86rem);letter-spacing:.06em}
.aw-sub{margin:-.6rem 0 1.2rem;color:var(--muted)}
@media (prefers-reduced-motion:reduce){.aw-l,.club-logo img{transition:none}.aw-l:hover,.aw-l:focus-visible,.club:hover .club-logo img{transform:none}.aw-l.pop{animation:none}}
@media (max-width:480px){.aw-l{border-radius:14px}.aw-l b{font-size:clamp(1.7rem,9vw,2.2rem)}.aw-l em{font-size:.66rem;letter-spacing:.01em}}
.aw-verse{max-width:44em;margin:0 auto;font-size:clamp(1.1rem,1.8vw,1.35rem);line-height:1.55}.aw-verse p{margin:0}.aw-verse cite{display:block;margin-top:.6rem;font-style:normal;font-weight:800;color:var(--muted);font-size:.95rem}
/* the marked words of the Awana verse: a yellow highlighter (dark letters on it, also in dark mode) */
mark{background:linear-gradient(100deg,rgba(255,235,59,0) 0%,#ffeb3b 2.5%,#fff176 50%,#ffee58 97%,rgba(255,235,59,0) 100%);color:#1b1f33;padding:.05em .22em;margin:0 -.12em;border-radius:.3em .15em .3em .12em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.club{display:grid;justify-items:center;align-content:start;gap:4px;text-align:center;border-top:8px solid var(--cc,var(--link))}
.club[data-club=cubbies]{--cc:#4aa3e8}.club[data-club=sparks]{--cc:#ffc531}.club[data-club=tt]{--cc:#66b245}.club[data-club=trek]{--cc:#453a7b}
@media (prefers-color-scheme:dark){.club[data-club=trek]{--cc:#8f7fe0}}   /* Trek's dark purple would vanish on a dark card */
.club-logo{display:block;position:relative;width:100%;height:124px;margin-bottom:10px;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 1px rgba(15,23,48,.07)}
.club-logo img{position:absolute;left:10px;top:8px;width:calc(100% - 20px);height:calc(100% - 16px);object-fit:contain;transition:transform .45s cubic-bezier(.3,1.6,.5,1)}.club:hover .club-logo img{transform:scale(1.1) rotate(-2deg)}
.club small{color:var(--link);font-weight:800;font-size:.8rem;letter-spacing:.04em}.club p{margin:.2rem 0 0;color:var(--muted);font-size:.95rem}
.aw-night{list-style:none;margin:0;padding:0}.aw-night li{display:grid;grid-template-columns:auto 1fr;gap:16px;align-items:start}.aw-night b{display:block;font-size:1.1rem}.aw-night li span:not(.step-n){color:var(--muted)}
.p-quotes{display:grid;gap:14px;align-content:start}.p-quotes .c-verse{margin:0}

/* ---------- missions, Project Azores, watch, give ---------- */
.ms-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:20px}.ms-count{margin:0;color:var(--muted);font-weight:600}
.ms-find{display:block;width:min(420px,100%)}.ms-find input{width:100%;padding:.85em 1.2em;border:2px solid var(--line);border-radius:99px;background:var(--surface);color:var(--ink);font:600 1rem var(--font)}.ms-find input:focus{outline:none;border-color:var(--link)}
.ms-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:22px 16px}
.mw{display:grid;gap:2px;text-decoration:none;color:var(--ink)}.mw img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:20px;box-shadow:0 6px 18px rgba(15,23,48,.1);transition:transform .3s}.mw:hover img{transform:translateY(-4px)}.mw b{margin-top:8px;font-size:.96rem;line-height:1.2}.mw small{color:var(--muted)}.ms-none{color:var(--muted);font-weight:600}
.az-vids{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.az-v{position:relative;border:0;padding:0;border-radius:20px;overflow:hidden;aspect-ratio:16/9;cursor:pointer;color:#fff;text-align:left;background:#000}.az-v img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}.az-v:hover img{transform:scale(1.05)}
.az-v::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.75))}.az-v i{position:absolute;left:50%;top:44%;z-index:2;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;background:#fff;color:var(--link);display:grid;place-items:center}.az-v i svg{width:22px}.az-v b{position:absolute;left:14px;right:14px;bottom:10px;z-index:2;font-size:.95rem;line-height:1.2}
.az-contact{margin:18px 0 0;color:var(--muted)}
.give-c h2{margin:0 0 .5rem;font-size:1.35rem;letter-spacing:-.02em}.give-c p{color:var(--muted)}.give-c .c-copyline{color:var(--ink)}
.gift,.why{display:grid;gap:10px;align-content:start}.gift .step-n,.why .step-n{margin-bottom:2px}.gift h3,.why h3{margin:0;font-size:1.2rem;line-height:1.3}.gift .c-verse,.why .c-verse{margin:0}.why-more{color:var(--muted);font-size:.9rem}
.watch-body>*:first-child{margin-top:0}

/* ---------- things come up gently as the page is read (Transitions.dev “fade up”) ---------- */
.rv{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .7s cubic-bezier(.2,.7,.2,1)}.rv.in{opacity:1;transform:none}
.p-card.gc.rv.in:hover{transform:translateY(-3px)}
@media (prefers-reduced-motion:reduce){.rv{opacity:1;transform:none;transition:none}}

/* ---------- smaller screens ---------- */
@media (max-width:1000px){.p-grid.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.p-grid.g3{grid-template-columns:repeat(2,minmax(0,1fr))}.az-vids{grid-template-columns:repeat(2,minmax(0,1fr))}
  .p-watch,.mn-feature,.p-find,.p-story,.disc{grid-template-columns:minmax(0,1fr)}.mn{grid-template-columns:minmax(0,1fr)}.mn.flip .mn-txt{order:0}}
@media (max-width:640px){.p-grid.g2,.p-grid.g3,.p-grid.g4,.disc-parts{grid-template-columns:minmax(0,1fr)}.az-vids{grid-template-columns:minmax(0,1fr)}.step{grid-template-columns:minmax(0,1fr)}.p-miles{padding-left:18px}.aw-night li{grid-template-columns:minmax(0,1fr)}}
/* Home: the first picture is the front of the church; its words sit on a glass panel so they stay clear and readable over the sign */
.v-big.v-front img{object-position:62% 0}
.v-big.v-front::after{background:linear-gradient(180deg,transparent 50%,rgba(5,10,30,.35))}
.v-big.v-front span{margin:14px;padding:16px 20px 18px;border-radius:18px;background:rgba(7,13,34,.52);-webkit-backdrop-filter:blur(16px) saturate(1.4);backdrop-filter:blur(16px) saturate(1.4);max-width:min(20.5rem,calc(48% - 14px))}
.v-big.v-front .v-psalm{font-size:clamp(1.05rem,1.55vw,1.35rem)}
/* below the wide desktop layout the picture is shown whole, with the words under it, so nothing covers the sign */
@media (max-width:1119px){
  .v-big.v-front{display:block;min-height:0;background:#0b1128}
  .v-big.v-front img{position:relative;inset:auto;display:block;width:100%;height:auto;aspect-ratio:1/1;object-position:92% 0}
  .v-big.v-front::after{display:none}
  .v-big.v-front span{margin:0;padding:18px 22px 22px;border-radius:0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;max-width:none}
  .v-big.v-front .v-psalm{font-size:clamp(1.15rem,2.1vw,1.55rem)}
}
@media (min-width:560px) and (max-width:1119px){.v-big.v-front img{aspect-ratio:3/2;object-position:80% 0}}
/* ============ The final version: what it adds to version A's look (00) and to the pieces taken from version B (10) ============ */

/* ---- type: Garamond for the big words, Manrope for the words of the menu (number 4 of the fifty typefaces in the menu mockup: the church's pick), Figtree for everything else, Merriweather only for Bible verses (chosen from the mockups) ---- */
:root{--font-head:"EB Garamond",Georgia,"Times New Roman",serif;--head-weight:600;--head-track:-.012em;--verse:"Merriweather",Georgia,serif;--font-menu:"Manrope","Figtree",system-ui,sans-serif}
h1,h2,h3,h4{font-family:var(--font-head)}
.c-nav,.c-nav *,.is-drawer .c-menu>li>a{font-family:var(--font-menu)}   /* every word of the menu: the bar, its drop-down lists, the menu button's list (the engine set its top words in Garamond: the same Manrope on a phone and a tablet) and the sign-in buttons beside them; the name of the church keeps Garamond */
.c-livepill{white-space:nowrap;flex:none}   /* the Live pill in the bar never breaks into two lines (the church: "LIVE NOW" wrapped); the bar says just Live */
.az-ptnote{display:flex;align-items:center;gap:12px;margin:0 0 calc(-1 * clamp(28px,3.4vw,52px));padding:12px 20px;border-radius:99px;background:var(--soft);color:var(--ink);font-size:.98rem;line-height:1.4;text-align:left;max-width:max-content}   /* on the left edge of the page like the title and the videos, and close to the title (the page's gap is big) */.az-ptnote .fl{flex:none;font-size:1.5rem;margin:0}.az-ptnote svg.fl{width:28px;height:auto}
@media (max-width:600px){.az-ptnote{border-radius:18px;padding:12px 16px;max-width:none}}   /* Project Azores: the note for visitors from Portugal, with the flag (the church: "put on the Portuguese emoji flag ...") */
.a-foot button.a-signout,.a-foot button.a-signout:hover{color:#fff!important}   /* Admin: the Sign out button in the sidebar's foot is white on its red (the engine paints every link and button of the foot grey with !important, which left grey on red) */
h1{font-size:clamp(2.4rem,5vw,3.8rem);line-height:1.04}h2{font-size:clamp(1.8rem,3.4vw,2.55rem)}h3{font-size:1.4rem}
.v-hello h1{font-size:clamp(2.3rem,5.2vw,3.7rem);max-width:17ch}
.c-brand-name{font-family:var(--font-head);font-weight:700;font-size:.98rem}

/* ---- the bar: nine items ---- */
html:not(.is-drawer) .v-head .c-menu>li>a{padding:.42em .78em;font-size:.84rem}
/* Project Azores in the bar: blue, but soft (a pale blue shadow of a button, not a solid one); filled only while its pages are open */
html:not(.is-drawer) .v-head .c-menu>li.az>a{margin-left:4px;color:#1851c2;font-weight:700;background:color-mix(in srgb,#2f6fe6 13%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,#2f6fe6 22%,transparent)}
html:not(.is-drawer) .v-head .c-menu>li.az>a:hover{background:color-mix(in srgb,#2f6fe6 22%,transparent)}
/* Give in the bar: the yellow and black of Interac (the gift is given by Interac e-Transfer) */
html:not(.is-drawer) .v-head .c-menu>li.give>a{margin-left:4px;color:#111;font-weight:800;background:#ffb81c;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 3px 10px rgba(255,184,28,.4)}
html:not(.is-drawer) .v-head .c-menu>li.give>a:hover{background:#ffc43d}
html:not(.is-drawer) .v-head .c-menu>li.give.on>a{color:#111;background:#ffb81c;box-shadow:inset 0 0 0 2px #111,0 3px 10px rgba(255,184,28,.4)}
html:not(.is-drawer) .v-head .c-menu>li.az.on>a{color:#fff;background:linear-gradient(180deg,#3b86ff,#0b57d9);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 3px 10px rgba(11,87,217,.3)}
@media (prefers-color-scheme:dark){html:not(.is-drawer) .v-head .c-menu>li.az>a{color:#8db6ff;background:color-mix(in srgb,#5b93ff 17%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,#5b93ff 26%,transparent)}html:not(.is-drawer) .v-head .c-menu>li.az>a:hover{background:color-mix(in srgb,#5b93ff 26%,transparent)}html:not(.is-drawer) .v-head .c-menu>li.az.on>a{color:#fff}}
/* the menu button's list (it sits outside the bar): Project Azores in blue, Give in the yellow and black of Interac */
.is-drawer .c-menu>li.az>a{color:#1851c2;font-weight:700}
.is-drawer .c-menu>li.give{border-bottom:0}
.is-drawer .c-menu>li.give>a{justify-content:center;margin:12px 0 4px;padding:.72em 1em;border-radius:14px;color:#111;font-weight:800;background:#ffb81c;box-shadow:0 3px 10px rgba(255,184,28,.4)}
.is-drawer .c-menu>li.give.on>a{box-shadow:inset 0 0 0 2px #111}
@media (prefers-color-scheme:dark){.is-drawer .c-menu>li.az>a{color:#8db6ff}}

/* ---- Bible verses: one look everywhere (the church's pick, Q2: a rounded card like the rest of the site, the verse in Merriweather, the reference as a label under it).
   The pop-up of a reference is the framed page of Q3, below. ---- */
.c-verse{position:relative;display:block;margin:1.6em 0;padding:34px 34px 22px;background:var(--surface);border:0;border-radius:22px;box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(15,23,48,.08);text-align:left}
.c-verse::before{content:"\201C";position:absolute;left:22px;top:2px;font:700 5.4rem/1 var(--verse);color:color-mix(in srgb,var(--brand) 18%,transparent);pointer-events:none}
.c-verse p{position:relative;margin:0;padding-top:.5em;font:400 1.16rem/1.8 var(--verse);font-style:normal}
.c-verse footer{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin:1em 0 0;text-align:left}
.c-verse cite{display:inline-block;padding:.55em 1em;border-radius:99px;background:color-mix(in srgb,var(--brand) 9%,transparent);color:var(--link);font:700 .74rem/1 var(--font);font-style:normal;letter-spacing:.18em;text-transform:uppercase}
.c-verse .c-ver{font:600 .72rem/1 var(--font);letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}
html[lang="en"] .c-verse .c-ver{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.m-verse{position:relative;padding:34px 30px 22px;border:0;border-radius:22px;background:var(--surface);box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(15,23,48,.08)}
.m-verse::before{content:"\201C";position:absolute;right:22px;top:0;font:700 5rem/1 var(--verse);color:color-mix(in srgb,var(--brand) 18%,transparent);pointer-events:none}
.m-verse blockquote{position:relative;margin:.4em 0 0;font:400 1.12rem/1.75 var(--verse);font-style:normal}
.m-verse cite{display:inline-block;margin-top:1em;padding:.55em 1em;border-radius:99px;background:color-mix(in srgb,var(--brand) 9%,transparent);color:var(--link);font:700 .74rem/1 var(--font);font-style:normal;letter-spacing:.18em;text-transform:uppercase}
.pa-q{font-family:var(--font-head);font-style:italic;font-size:1.4rem;line-height:1.45}@media (max-width:600px){.pa-q{font-size:1.25rem}}   /* the pastors' quotes ("Mark says: ..."): Garamond italic reads small, so it is set larger than the words around it (the church: "this italics are a bit too small") */

/* the pop-up of a Bible reference: the same framed page */
.vp-tip{background:var(--surface);color:var(--ink);border:1px solid var(--link);border-radius:0;box-shadow:0 24px 60px -20px rgba(0,0,0,.55);padding:24px 26px 18px}
.vp-tip::before{content:"";position:absolute;inset:5px;border:1px solid color-mix(in srgb,var(--link) 30%,transparent);pointer-events:none;background:none;width:auto;height:auto;transform:none;border-radius:0}
.vp-tip::after{display:none}
.vp-tip .vp-ref{margin:0 0 4px;text-align:center;font:600 .95rem/1 var(--font);letter-spacing:.2em;text-transform:uppercase;color:var(--link)}
.vp-tip .vp-ref::after{content:"";display:block;width:44px;height:1px;background:var(--link);margin:13px auto 14px}
.vp-tip .vp-ref span{display:none}
.vp-tip .vp-txt{margin:0;font:400 1rem/1.75 var(--verse);text-align:left}.vp-tip .vp-txt.one::first-letter{font-size:2.9em;float:left;line-height:.8;padding:.06em .08em 0 0;color:var(--link)}
.vp-tip .vp-txt sup{font:700 .62em/1 var(--font);color:var(--link);margin-right:.3em;vertical-align:.5em}
.vp-tip .vp-ver{margin:12px 0 0;text-align:center;font:600 .7rem/1 var(--font);letter-spacing:.22em;text-transform:uppercase;color:var(--muted)}

/* ---- "What we believe" on Home: A's words that fill in as you scroll, a little smaller and shorter ---- */
.v-state{height:150vh}.v-sticky{min-height:76vh;min-height:76svh}

/* ---- the pages ---- */
.vt-cal{display:inline-block}
.mn-nopic{grid-template-columns:1fr}.mn-nopic .mn-txt{max-width:70ch}
.mn-center{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}.mn-center .mn-txt{max-width:64ch}.mn-center .mn-pic{width:min(100%,560px)}   /* the Prayer Ministry (the church: "make sure the Prayer Ministry is centralized"): title, words and button on the middle line of the page */
/* Church History: its road map is in 39-history.css; the photo album below it */
.p-album .ps-i img{object-fit:contain;background:#fff}   /* the old group photos of the album are shown whole (nobody at the edge is cut off); the white of the frame fills what is left, like the margin of a print */
.ms-intro{margin:0 0 1em;color:var(--muted);max-width:60ch}
.az-page .p-prose .lead{max-width:44ch}
.az-nav{margin-bottom:26px}.az-nav a.on{background:#0b57d9;color:#fff}
.az-course{max-width:820px;margin-inline:auto}.az-steps{margin-top:18px}.az-steps li{display:flex;gap:14px;align-items:flex-start;padding:.6em 0}
body{background:var(--bg)}

/* ---- the week at church (Visit Us): the days side by side, each meeting a card with the colour of its kind, its time and its name; on a narrow column, one row a day ---- */
.wk{container-type:inline-size;padding:18px 12px 14px;margin:8px 0 18px}
.wk-grid{position:relative;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line)}
.wk-d{display:grid;gap:7px;align-content:start;padding:14px 5px 12px;border-left:1px solid var(--line);min-height:170px}.wk-d:first-child{border-left:0}
.wk-h{font:700 .72rem/1 var(--font);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.wk-d.is-today{background:var(--soft);border-radius:16px}.wk-d.is-today .wk-h{color:var(--link)}
.wk-cs{display:grid;gap:7px;align-content:start}
.wk-c{position:relative;display:grid;gap:1px;padding:7px 8px 8px 13px;border-radius:11px;background:color-mix(in srgb,var(--wk) 11%,var(--surface));line-height:1.25;color:var(--ink);text-decoration:none}
.wk-c::before{content:"";position:absolute;left:0;top:7px;bottom:7px;width:3.5px;border-radius:3px;background:var(--wk)}
a.wk-c:hover{background:color-mix(in srgb,var(--wk) 19%,var(--surface))}a.wk-c:focus-visible{outline:2px solid var(--link);outline-offset:2px}
.wk-c .tm{font:800 .72rem/1.2 var(--font);color:var(--wk-t,var(--wk))}
.wk-c .nm{font:600 .74rem/1.25 var(--font);color:var(--ink)}
.wk-c .sn{font:500 .72rem/1.2 var(--font);color:var(--muted)}
.wk-c.is-done{opacity:.5}.wk-c.is-next{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--wk)}
.wk-now{position:absolute;top:-5px;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;background:var(--live);box-shadow:0 0 0 4px var(--surface);z-index:2}
/* the colours of the kinds of meeting: services gold, Sunday School purple, discipleship green, the Institute black (white on the dark page), Awana its five colours */
.k-svc{--wk:#d9a420;--wk-t:#8a6205}.k-sch{--wk:#6d45c2}.k-dis{--wk:#17803f;--wk-t:#146a36}.k-ins{--wk:#14161c;--wk-t:var(--ink)}.k-awa{--wk:#e46145;--wk-t:var(--ink)}
.k-you{--wk:#2a62d4}.k-pre{--wk:#0e8a8c}.k-eva{--wk:#c0392b}.k-oth{--wk:#8a8f9c;--wk-t:var(--muted)}
.wk-c.k-awa{background:var(--soft)}.wk-c.k-awa::before{background:linear-gradient(180deg,#e46145 0 20%,#42b8dd 20% 40%,#e3c54e 40% 60%,#4cc0a7 60% 80%,#686259 80%)}
@media (prefers-color-scheme:dark){.k-svc{--wk:#e3ae2f;--wk-t:#f2c75c}.k-sch{--wk:#8461dc;--wk-t:#aa92f5}.k-dis{--wk:#1a8a4a;--wk-t:#46c47e}.k-ins{--wk:#eef1f8}.k-you{--wk:#5b93ff}.k-pre{--wk:#2fc2c4}.k-eva{--wk:#e5675a}}
/* a colour chosen in the Weekly calendar screen (Admin) wins over the original one of its kind of meeting, on the light and on the dark page; the Awana stripe of five colours gives way to it too */
[data-wk]{--wk:var(--wk-l);--wk-t:color-mix(in srgb,var(--wk-l) 60%,var(--ink))}
.wk-c.k-awa[data-wk]{background:color-mix(in srgb,var(--wk) 11%,var(--surface))}.wk-c.k-awa[data-wk]::before{background:var(--wk)}
@media (prefers-color-scheme:dark){[data-wk]{--wk:var(--wk-d,color-mix(in srgb,var(--wk-l) 68%,#fff));--wk-t:color-mix(in srgb,var(--wk) 60%,var(--ink))}}
/* the meetings of once a month, under the week */
.wk-monthly{display:grid;gap:8px;margin:14px 6px 4px;padding-top:12px;border-top:1px solid var(--line)}
.wk-monthly p{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:2px 10px;font-size:.92rem;color:var(--muted)}
.wk-monthly i{width:11px;height:11px;border-radius:50%;background:var(--wk);flex:none}
.wk-monthly b{color:var(--ink);font-weight:600}.wk-monthly a{text-decoration:none}.wk-monthly a:hover b{text-decoration:underline}
.wk-monthly .wk-nx{margin-left:auto;font-weight:600;color:var(--wk-t,var(--ink))}
.wk-monthly p>span:not(.wk-nx){text-wrap:balance}   /* a long line ("every 2 weeks from Saturday, January 30, 2027 · 6pm") breaks in two even halves, never with the time alone on a line */
@container (max-width:600px){
  .wk-grid{display:block;border-top:0}
  .wk-d{grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:start;min-height:0;padding:12px 0;border-left:0;border-top:1px solid var(--line)}.wk-d:first-child{border-top:0}
  .wk-d.is-empty,.wk-now{display:none}
  .wk-d.is-today{background:none;border-radius:0}.wk-h{margin:6px 0 0;font-size:.72rem}
  .wk-cs{display:flex;flex-wrap:wrap;gap:8px}.wk-cs .wk-c{flex:1 1 calc(50% - 4px);min-width:130px}
}

/* ---- Edit mode in French or Portuguese: each sentence is outlined, as in English ---- */
.is-edit [data-src]{outline:1.5px dashed #e8b93c;outline-offset:3px;cursor:text;border-radius:3px}
.a-mtr{max-width:150px}

/* ---- the small labels above the headings ("Good morning", "Visit us", "Plan of salvation"…), the "Est. 1995 / Jude 1:3" under the name and the month on the calendar cards:
   Merriweather bold capitals (the church's pick L4 in mockups/labels.html: clear at a small size) ---- */
:root{--font-label:"Merriweather",Georgia,"Times New Roman",serif}
.kicker{font-family:var(--font-label);font-weight:700;font-size:.78rem;letter-spacing:.11em;text-transform:uppercase;line-height:1.4;color:color-mix(in srgb,var(--ink) 88%,transparent)}
.kicker .v-pill{font-family:var(--font);letter-spacing:.12em}

/* ---- the greeting on Home: it fades from one language to the next; scripts without capitals need less spacing ---- */
.v-greet{min-height:1.7em;margin-bottom:.5em}
.v-greet .vg{display:inline-block;transition:opacity .42s ease,transform .42s ease}
.v-greet .vg.out{opacity:0;transform:translateY(-6px)}
.v-greet .vg[lang="zh"],.v-greet .vg[lang="ja"],.v-greet .vg[lang="he"]{letter-spacing:.14em;font-size:1.04rem}
@media (prefers-reduced-motion:reduce){.v-greet .vg{transition:none}}

/* ---- the footer: the language switch (EN FR PT) left the bar and sits in the last line of the footer, on every page ---- */
.c-footer-bar{max-width:var(--maxw);margin:36px auto 0;padding-top:22px;border-top:1px solid rgba(255,255,255,.12);display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px}   /* the switch first, then the copyright: the chat button floats over the right end of the footer */
.c-footer-bar .c-copy{flex:1 1 280px;max-width:none;margin:0!important;padding:0;border:0}
.c-footer .c-lang{padding:4px;background:rgba(255,255,255,.1)}
.c-footer .c-lang button{min-width:46px;height:34px;color:#c9d0e6;font-size:.82rem;opacity:1}
.c-footer .c-lang button:hover{color:#fff}
.c-footer .c-lang button.on{background:#fff;color:#0b1230}
.c-footer .c-lang button:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media (max-width:700px){.c-footer-in{grid-template-columns:minmax(0,1fr);gap:26px}.c-footer-bar{flex-direction:column;align-items:flex-start;gap:16px}.c-footer-bar .c-copy{flex:none}}   /* a phone: one column (the name of the church used to run into the services), the switch above the copyright */
/* ============ Home and what came after the first pass: the believe line, the name in the bar, the service times, the calendars of "Coming up",
   the verse on the front photo, the flags of the missionaries ============ */

/* ---- "What we believe": Garamond, like the other big words ---- */
.v-say{font-family:var(--font-head);font-weight:500;letter-spacing:-.014em;line-height:1.1;font-size:clamp(2.1rem,4.9vw,4.1rem);max-width:13.5em}

/* ---- the name of the church in the bar and the footer: one line in Garamond semi-bold (B6 in mockups/brand.html) ---- */
html .c-brand-name{font-family:var(--font-head);font-weight:600;font-size:1.34rem;line-height:1.05;letter-spacing:-.012em;text-transform:none}
html .c-brand-name br{display:none}
html .v-head .c-brand-name{font-size:1.34rem;line-height:1;letter-spacing:-.012em}
html .v-head .logo{height:40px}
/* where one line does not fit beside the language buttons and the menu button, the name is on two lines */
@media (max-width:640px){html .v-head .c-brand-name br{display:inline}html .v-head .c-brand-name{font-size:1rem;line-height:1.05}}
@media (max-width:500px){html .v-head .c-brand-name{font-size:.88rem}html .v-head .logo{height:30px}html .v-head .c-brand{gap:8px}}   /* on a phone the name, the language buttons and the menu button must not touch */
@media (max-width:390px){html .v-head .c-brand-name{font-size:.8rem}}
@media (max-width:360px){html .v-head .c-brand-name{font-size:.72rem}}
@media (max-width:350px){html .v-head .c-brand-name{font-size:.9rem}}   /* below this the language buttons move into the menu, so the name has room again */

/* "Est. 1995" under the name, smaller: small wide-spaced capitals like the labels above the headings (not on a phone, where there is no room) */
.c-brand-txt{display:grid;gap:3px;justify-items:start;min-width:0}
.c-brand-est{display:flex;justify-content:space-between;gap:1.6em;justify-self:stretch;white-space:nowrap;font:700 .7rem/1 var(--font-label);letter-spacing:.1em;text-transform:uppercase;opacity:.92;font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1}
@media (max-width:640px){html .v-head .c-brand-ref{display:none}}   /* with the name on two lines there is no room under the word Church */
@media (max-width:500px){html .v-head .c-brand-est{display:none}}

/* ---- the service times: large enough to read, and the rows share the height of the card ---- */
.v-card.v-times{display:flex;flex-direction:column;padding:clamp(22px,2.4vw,32px);color:var(--ink);font-size:1.1rem}
.v-card.v-times .kicker{margin:0 0 .3em}
.v-card.v-times>div{flex:1 1 0;align-items:center;gap:16px;min-height:78px;padding:10px 0}
.v-card.v-times>div>span{font:600 1.42rem/1.1 var(--font-head);color:var(--ink)}
.v-card.v-times small{margin-top:.3em;font:500 1.02rem/1.25 var(--font);color:var(--muted)}
.v-card.v-times b{padding:.5em .9em;font:700 1.12rem/1 var(--font);color:var(--ink)}
.v-card.v-times .h-next{margin:.8rem 0 0;color:var(--ink);font-size:1.1rem}

/* ---- the verse on the front photo: the big line of the Q2 card (a quote mark, the verse in bold Merriweather, the reference as a label) ---- */
.v-big .v-psalm{position:relative;max-width:26em;font-family:var(--verse);font-weight:700;letter-spacing:0;line-height:1.42}
.v-big .v-psalm::before{content:"\201C";display:block;height:.42em;margin-bottom:.1em;font:700 3.6rem/1 var(--verse);color:rgba(255,255,255,.3)}
.v-big.v-front .v-psalm{font-size:clamp(1.1rem,1.5vw,1.3rem)}
@media (max-width:1119px){.v-big.v-front .v-psalm{font-size:clamp(1.2rem,3.4vw,1.6rem)}}
.v-big .v-cap{justify-self:start;margin-top:.8em;padding:.6em 1.05em;border-radius:99px;background:rgba(255,255,255,.18);color:#fff;font:700 .72rem/1 var(--font);letter-spacing:.16em;text-transform:uppercase;opacity:1!important}

/* ---- "Coming up": little wall calendars. A red page with the date, then the event; a photo only when there is one. Up to four, filling the row; fewer are centred. ---- */
.cv-evs{--cols:4;display:flex;flex-wrap:wrap;justify-content:center;gap:20px;padding:6px 0 10px}
.cv-evs[data-n="3"]{--cols:3}.cv-evs[data-n="2"]{--cols:2}.cv-evs[data-n="1"]{--cols:1}
@media (max-width:1000px){.cv-evs,.cv-evs[data-n="3"],.cv-evs[data-n="4"]{--cols:2}}
@media (max-width:620px){.cv-evs,.cv-evs[data-n]{--cols:1}}
.cv-evs>.muted{flex:1 1 100%;text-align:center}
.cv{flex:0 1 min(calc((100% - (var(--cols) - 1) * 20px) / var(--cols)),420px);min-width:0;display:flex;flex-direction:column;overflow:hidden;background:var(--surface);border-radius:22px;
  box-shadow:0 1px 2px rgba(0,0,0,.05),0 10px 28px rgba(15,23,48,.1);opacity:0;transform:translateY(24px);transition:opacity .5s,transform .6s cubic-bezier(.2,.8,.2,1),box-shadow .3s}
.cv-evs.in .cv{opacity:1;transform:none}.cv-evs.in .cv:nth-child(2){transition-delay:.08s}.cv-evs.in .cv:nth-child(3){transition-delay:.16s}.cv-evs.in .cv:nth-child(4){transition-delay:.24s}
.cv-evs.in .cv:hover{transform:translateY(-4px);transition-delay:0s;box-shadow:0 1px 2px rgba(0,0,0,.05),0 18px 38px rgba(15,23,48,.16)}
.cv-top{position:relative;display:grid;justify-items:center;padding:30px 12px 18px;color:#fff;text-align:center;text-decoration:none;background:linear-gradient(180deg,#e63a3c,#bf242b);box-shadow:inset 0 -12px 16px -14px rgba(0,0,0,.35)}
.cv-top::before,.cv-top::after{content:"";position:absolute;top:11px;width:10px;height:10px;border-radius:50%;background:radial-gradient(circle at 50% 30%,rgba(0,0,0,.55),rgba(0,0,0,.25));box-shadow:0 1px 0 rgba(255,255,255,.3)}
.cv-top::before{left:26%}.cv-top::after{right:26%}
.cv-mon{font:700 .72rem/1.3 var(--font-label);letter-spacing:.1em;text-transform:uppercase}
.cv-day{margin:.05em 0 .02em;font:600 clamp(3.4rem,5vw,4.4rem)/1 var(--font-head);font-variant-numeric:lining-nums;font-feature-settings:"lnum" 1;text-shadow:0 2px 0 rgba(0,0,0,.14)}
.cv-wk{font:600 .95rem/1.25 var(--font);letter-spacing:.03em;text-transform:capitalize}
.cv-photo{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--soft)}
.cv-photo img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .5s}.cv:hover .cv-photo img{transform:scale(1.04)}
.cv-body{display:flex;flex:1;flex-direction:column;gap:9px;padding:18px 20px 20px}
.cv-body h3{margin:0;font:600 1.5rem/1.12 var(--font-head)}.cv-body h3 a{color:var(--ink);text-decoration:none}
.cv-time{display:flex;align-items:center;gap:8px;margin:0;font-size:1.02rem;font-weight:600}.cv-time svg{flex:none;width:18px;height:18px;color:var(--link)}
.cv-txt{margin:0;color:var(--muted);font-size:1rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.cv-act{margin-top:auto;padding-top:8px}
@media (prefers-reduced-motion:reduce){.cv{opacity:1;transform:none;transition:none}.cv-evs.in .cv:hover{transform:none}}

/* ---- the flags of the missionaries' countries, and the names of the missionaries a little larger ---- */
.fl{display:inline-block;width:1.5em;height:1em;margin-right:.45em;vertical-align:-.14em;overflow:hidden;border-radius:3px;box-shadow:0 0 0 1px color-mix(in srgb,var(--ink) 22%,transparent);flex:none}
.kicker .fl{width:1.42em;height:.95em;margin-right:.65em;vertical-align:-.1em}
.c-facts .fl{height:.95em;width:1.42em;vertical-align:-.12em}
.fl.fl-globe{width:1.05em;height:1.05em;margin-right:.5em;border-radius:50%;box-shadow:none;overflow:visible;vertical-align:-.17em}
.kicker .fl.fl-globe,.c-facts .fl.fl-globe{width:1em;height:1em}
.v-drift a{width:clamp(130px,12vw,156px)}.v-drift b{font-size:.95rem}.v-drift small{font-size:.84rem;line-height:1.3}
.mw b{font-size:1.02rem}.mw small{font-size:.9rem;line-height:1.3}

/* ---- Visit: the address comes first, on a phone as well (above the photo of the sign) ---- */
@media (max-width:1000px){.p-find.vp-b{grid-template-areas:"txt" "photo" "map"}}

/* ---- more big words in Garamond: the address on Visit ---- */
.find-addr{font:600 1.75rem/1.2 var(--font-head);letter-spacing:-.01em}

/* ---- Service times: the service that comes next (or is on now) is marked: a small tag, the time in a coloured pill, a soft tint behind the row ---- */
.v-card.v-times>div{position:relative;margin:0 -14px;padding:10px 14px;border-top:0;border-radius:16px;transition:background .3s}
.v-card.v-times>div::before{content:"";position:absolute;left:14px;right:14px;top:0;height:1px;background:var(--line)}
.v-card.v-times>div.is-next::before,.v-card.v-times>div.is-live::before,.v-card.v-times>div.is-next+div::before,.v-card.v-times>div.is-live+div::before{opacity:0}
.v-card.v-times>div.is-next{background:color-mix(in srgb,var(--link) 9%,transparent)}
.v-card.v-times>div.is-live{background:color-mix(in srgb,#c93b27 10%,transparent)}
.v-card.v-times>div.is-next b{background:var(--brand);color:#fff}
.v-card.v-times>div.is-live b{background:#c93b27;color:#fff}
.vt-badge{display:block;width:max-content;margin:0 0 .4em;padding:.28em .78em;border-radius:99px;background:var(--brand);color:#fff;font:800 .72rem/1 var(--font);font-style:normal;letter-spacing:.14em;text-transform:uppercase}
.is-live .vt-badge{background:#c93b27}

/* ---- "What we believe", fuller: the whole screen, the sentence a little larger and readable before it fills in, and the church's verse under it from the start ---- */
.v-state{height:165vh}
.v-sticky{min-height:100vh;min-height:100svh}
.v-say{font-size:clamp(2.2rem,5.3vw,4.5rem)}
.v-say .w{color:color-mix(in srgb,var(--ink) 52%,transparent)}
#v-believe .v-chips{margin-top:.2em}
#v-believe .c-verse{max-width:660px;margin:2.2em auto 0}
@media (max-height:700px){#v-believe .c-verse{margin-top:1.4em;padding-top:28px}#v-believe .c-verse p{font-size:1rem;line-height:1.65}}

/* ---- the label of Project Azores on Home: "Our Mission in Portugal - Nossa Missão em Portugal"; on a phone each language has its own line ---- */
.az-kick{font-size:.88rem;letter-spacing:.12em}
@media (max-width:640px){.az-kick span{display:block}.az-kick .az-sep{display:none}.az-kick{font-size:.8rem;letter-spacing:.1em;line-height:1.7}}

/* ---- the picture of Project Azores on Home (the sunset over the coast): keep the glow and the island in view when it is cropped, a little shade at the top for the title ---- */
.v-az-frame img{object-position:50% 56%}
.v-az-frame::after{background:linear-gradient(180deg,rgba(0,0,0,.14),rgba(0,0,0,.05) 38%,rgba(0,0,0,.04) 55%,rgba(0,0,0,.6))}

/* az-flag:begin */
/* ---- the title of Project Azores is lettered with the flag of the Azores: the picture shows through the letters (no outline; the navy half a little deeper so it reads on the sky), with a soft shadow ---- */
.v-az-top h2{width:fit-content;max-width:100%;margin:-.1em auto -.22em;padding:.1em .06em .22em;color:transparent;-webkit-text-fill-color:transparent;text-shadow:none;
  background:linear-gradient(90deg,rgba(2,6,28,.4),rgba(2,6,28,.4) 34%,rgba(2,6,28,0) 46%),url(../assets/photos/azores-flag.png) 0 42%/100% auto no-repeat;-webkit-background-clip:text;background-clip:text;
  filter:drop-shadow(0 3px 14px rgba(5,10,40,.45))}
@media (forced-colors:active){.v-az-top h2{color:CanvasText;-webkit-text-fill-color:CanvasText;filter:none}}
@supports not ((-webkit-background-clip:text) or (background-clip:text)){.v-az-top h2{color:#fff;-webkit-text-fill-color:#fff}}
/* az-flag:end */

/* vp-photo:begin */
/* ---- Visit, Directions: the whole picture of the church sign is shown (the frame is the shape of the photo, 16:9: nothing is cut off) and nothing is written over it ---- */
.vp-b .vp-photo{min-height:0;aspect-ratio:16/9;align-self:start}
.vp-b .vp-photo img{object-position:50% 50%}
@media (max-width:1000px){.vp-b .vp-photo{aspect-ratio:16/9}}
/* vp-photo:end */

/* find-card:begin */
/* ---- Visit, Directions, "Our Address" as a piece of mail: airmail stripes round the edge, a stamp (the church's logo) and a postmark in the corner, the address typed in capitals on two lines, the three map apps as little labels ---- */
.vp-b .p-find-txt{--paper:#fbf7ee;--mail-ink:#17224a;--mail-red:#c0352b;--mail-line:rgba(38,74,156,.3);--mail-hover:#264a9c;--pm-ink:#17224a;--tile:rgba(255,255,255,.62);--s1:#d9453a;--s2:#fbf7ee;--s3:#2a4fa5;--stamp:clamp(54px,6vw,74px);--pad:clamp(20px,2.6vw,30px);
  position:relative;align-content:center;gap:0;padding:calc(var(--pad) + 8px);background:var(--paper);color:var(--mail-ink)}
.vp-b .p-find-txt::before{content:"";position:absolute;inset:0;padding:8px;border-radius:inherit;pointer-events:none;
  background:repeating-linear-gradient(135deg,var(--s1) 0 13px,var(--s2) 13px 19px,var(--s3) 19px 32px,var(--s2) 32px 38px);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
@media (prefers-color-scheme:dark){.vp-b .p-find-txt{--paper:#171d33;--mail-ink:#ece6d6;--mail-red:#ff9387;--mail-line:rgba(255,255,255,.2);--mail-hover:#9db4ff;--pm-ink:#8d99c9;--tile:rgba(255,255,255,.06);--s1:#b83d34;--s2:#cfcab9;--s3:#35569f}}
.vp-b .p-find-txt .kicker{margin:0;color:var(--mail-red);font-weight:700;letter-spacing:.12em}
.vp-b .find-addr{display:grid;gap:1px;margin:10px 0 20px;padding-right:calc(var(--stamp)*1.2 + 6px);font:700 clamp(.82rem,.9vw + .5rem,1.45rem)/1.5 "Courier Prime","Courier New",ui-monospace,monospace;font-style:normal;letter-spacing:.02em;text-transform:uppercase;color:var(--mail-ink)}
.vp-b .find-addr span{font:inherit;color:inherit;text-wrap:balance}
.vp-b .pm{position:absolute;z-index:1;top:calc(2px + var(--pad));right:calc(2px + var(--pad));width:calc(var(--stamp)*1.4);pointer-events:none;color:var(--pm-ink);filter:drop-shadow(0 1px 1.5px rgba(10,20,60,.28))}
.vp-b .pm svg{display:block;width:100%;height:auto;overflow:visible}
.find-apps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
@media (max-width:1000px) and (min-width:561px){.vp-b .find-addr{font-size:1.3rem}}
.find-app{display:grid;justify-items:center;align-content:start;gap:8px;padding:10px 6px 9px;border:1.5px solid var(--mail-line);border-radius:14px;background:var(--tile);color:var(--mail-ink);font-size:.88rem;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;transition:border-color .18s,box-shadow .18s,transform .18s}
.find-app:hover{border-color:var(--mail-hover);box-shadow:0 6px 16px rgba(15,23,48,.12);transform:translateY(-1px)}
.find-app:focus-visible{outline:2px solid var(--mail-hover);outline-offset:2px}
.find-app .lg{width:36px;height:36px;display:grid;place-items:center}
.find-app .lg img{display:block;width:100%;height:100%;object-fit:contain}
.find-app .lg.apple img,.find-app .lg.waze img{border-radius:22%}
.find-app b{font-weight:700}
/* find-card:end */


/* home-front:begin */
/* ---- Home, the picture under "Welcome" is the sanctuary (for now): on the wide layout the card shows its middle (the pulpit and the aisle); below it the picture is shown whole, 16:9, with the words under it ---- */
.v-big.v-front img{object-position:50% 0}
@media (max-width:1119px){.v-big.v-front img{aspect-ratio:16/9;object-position:50% 50%}}
/* home-front:end */

/* cv-calm:begin */
/* ---- Coming up, calmer and smaller: a slim brick-red band with the month, the day in ink on white, a dashed tear-off line, a tighter body ---- */
.cv{border-radius:18px}
.cv-top{padding:0 0 12px;color:var(--ink);background:none;box-shadow:none}
.cv-top::before,.cv-top::after{display:none}
.cv-mon{display:block;justify-self:stretch;padding:9px 12px 8px;background:#c4463e;color:#fff;font:700 .72rem/1.3 var(--font-label);letter-spacing:.1em}
.cv-day{margin:.14em 0 .02em;color:var(--ink);font:600 clamp(2.6rem,3.6vw,3.2rem)/1 var(--font-head);text-shadow:none}
.cv-wk{color:var(--muted);font:600 .86rem/1.25 var(--font)}
.cv-body{gap:7px;padding:14px 18px 16px;border-top:1.5px dashed var(--line)}
.cv-body h3{font-size:1.28rem}
.cv-time{font-size:.95rem}
.cv-txt{font-size:.94rem;line-height:1.45;-webkit-line-clamp:3}
@media (prefers-color-scheme:dark){.cv-mon{background:#a63f38}}
/* cv-calm:end */

/* cv-center:begin */
/* ---- Coming up: everything in a date card is centred: the date, then the title, the time, the text and the button ---- */
.cv-body{text-align:center}
.cv-time{justify-content:center}
.cv-act{display:flex;justify-content:center}
/* cv-center:end */

/* cv-time:begin */
/* ---- Coming up: the time comes first in the event, above the title, and stands out: a navy pill like the times of the Service times card ---- */
.cv-time{order:-1;align-self:center;gap:7px;margin:0 0 3px;padding:.42em 1.05em .42em .85em;border-radius:99px;background:var(--brand);color:var(--brand-ink);font-size:1.02rem;font-weight:800;line-height:1.2}
.cv-time svg{width:17px;height:17px;color:inherit}
/* cv-time:end */

/* az-glass:begin */
/* ---- Home, Project Azores: the panel is a paragraph and one card now (it had three, two of which opened the same page) ---- */
.v-glass{max-width:780px;grid-template-columns:1.5fr 1fr}
@media (max-width:860px){.v-glass{grid-template-columns:1fr}.v-glass>p{grid-column:auto}}
/* az-glass:end */

/* ps-flip:begin */
/* ---- the flip-through: the frame takes its height from its width (not from the screen), so the front photo keeps the shape of the photos (16:9) and nothing is cut off; in the narrow column of a ministry the front photo is wider ---- */
.ps-L-flip .ps-items{height:auto;aspect-ratio:2.3}
.mn-pic .ps-L-flip .ps-items{aspect-ratio:1.96}
.mn-pic .ps-L-flip .ps-i{width:80%;margin-left:-40%}
@media (max-width:600px){.mn-pic .ps-L-flip .ps-items{aspect-ratio:1.74}.mn-pic .ps-L-flip .ps-i{width:90%;margin-left:-45%}}
/* ps-flip:end */

/* cu-cards:begin */
/* ---- Culture: one card per language, side by side (one under another on a phone). The photo is whole on top (4:3: a photo of another shape is shown whole too, on a soft ground), then the name, when it meets and the words ---- */
.cu-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.2vw,26px);align-items:stretch}
@media (min-width:701px){   /* a language the church added makes a fourth card or more: four stand two and two, more than four stand three to a row with the last row in the middle (decision 128) */
.cu-four{grid-template-columns:repeat(2,minmax(0,1fr))}
.cu-many{grid-template-columns:repeat(6,minmax(0,1fr))}
.cu-many>.cu-card{grid-column:span 2}
.cu-many>.cu-card:last-child:nth-child(3n+1){grid-column:3/span 2}
.cu-many>.cu-card:nth-last-child(2):nth-child(3n+1){grid-column:2/span 2}
.cu-many>.cu-card:last-child:nth-child(3n+2){grid-column:4/span 2}
}
.cu-card{display:flex;flex-direction:column;min-width:0;background:var(--surface);border-radius:var(--radius);overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.04),0 12px 30px rgba(15,23,48,.12);scroll-margin-top:96px}
.cu-pic{position:relative;min-width:0}
/* a ministry without a photo (the office took it off, or has not added one yet) keeps the height of the card beside it: the cards of a row share their top and bottom edges */
.cu-ph{display:block;width:100%;aspect-ratio:4/3;background:var(--soft);overflow:hidden}
.cu-ph img{display:block;width:100%;height:100%;object-fit:contain}
.cu-pic .p-admin{margin:0;padding:10px 22px 0}
.cu-pic .ps{padding:0}
.cu-pic .ps-L-flip .ps-items{aspect-ratio:1.5}
.cu-pic .ps-L-flip .ps-i{width:82%;margin-left:-41%}
.cu-b{display:grid;gap:10px;align-content:start;flex:1;padding:20px 22px 24px}
.cu-b h2{margin:0;font:600 clamp(1.45rem,2.4vw,1.9rem)/1.15 var(--font-head);letter-spacing:-.02em}
.cu-card .mn-when{justify-self:start;width:fit-content;max-width:100%;margin:0;border-radius:16px;background:color-mix(in srgb,var(--link) 10%,var(--surface));color:var(--ink);font-size:.92rem}
.cu-card .mn-when>span{text-wrap:pretty}   /* a date that needs two lines never leaves a word like pm alone on the second line */
.cu-card .p-prose p{margin:0 0 .7em;color:var(--muted);line-height:1.6}
.cu-card .p-prose p:last-child{margin-bottom:0}
@media (max-width:900px){.cu-b{padding:16px 16px 20px}.cu-b h2{font-size:1.35rem}.cu-card .mn-when{font-size:.84rem}}   /* a tablet standing up: still the three side by side, a little smaller */
@media (max-width:700px){.cu-cards{grid-template-columns:minmax(0,1fr);max-width:560px;margin-inline:auto;width:100%}.cu-b{padding:20px 22px 24px}.cu-b h2{font-size:clamp(1.45rem,6vw,1.75rem)}.cu-card .mn-when{font-size:.92rem}}   /* a phone: one under another */
/* cu-cards:end */
/* ab-split:begin */
/* ---- About us (the church and its pastors, like version E's about page, in our theme): rows with a tall photo on the left, which stays in view while the words scroll, and the words on the right ---- */
.ab-split{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,6vw,96px);align-items:start}
.ab-split>:first-child{position:sticky;top:104px}
.ab-fig{margin:0;max-width:400px;border-radius:var(--radius);overflow:hidden;background:var(--soft);box-shadow:0 1px 2px rgba(0,0,0,.04),0 14px 34px rgba(15,23,48,.14)}
.ab-fig.tall{aspect-ratio:4/5}.ab-fig.port{aspect-ratio:3/4}   /* the church photo is a tall frame; the pastors' photos are portraits, shown whole */
.ab-fig img{display:block;width:100%;height:100%;object-fit:cover;object-position:64% 50%}
.ab-prose p,.ab-st p{max-width:40em;margin:0 0 1.1em;font-size:clamp(1.02rem,.94rem + .35vw,1.14rem);line-height:1.75}
.ab-prose .dropcap::first-letter{float:left;font:600 4.3em/.78 var(--font-head);padding:.07em .1em 0 0;color:var(--link)}   /* the first letter, large, in Garamond */
.ab-prose .c-verse,.ab-st .c-verse{max-width:40em;margin:1.7em 0;padding:2px 0 2px 24px;background:none;box-shadow:none;border-radius:0;border-left:3px solid var(--link)}   /* the Bible verse as a ruled quote */
.ab-prose .c-verse::before,.ab-st .c-verse::before{display:none}
.ab-prose .c-verse p,.ab-st .c-verse p{padding-top:0;margin:0;font-size:1.06rem;line-height:1.75}
.ab-st>.kicker{margin:0 0 .35rem}
.ab-st>h3{margin:0 0 1.1rem;font:600 clamp(2rem,3.6vw,2.7rem)/1.1 var(--font-head);letter-spacing:-.015em}
.ab-pastor{scroll-margin-top:96px}
.ab-pastor+.ab-pastor{margin-top:clamp(56px,8vw,104px)}
.ab-prose>:last-child,.ab-st>:last-child{margin-bottom:0}   /* the last paragraph or verse of a block does not add its own space to the gap that follows (the gap between two pastors is the 104 px above, not 137) */
#m-staff>.p-sh{margin-bottom:clamp(28px,4vw,48px)}
/* the player of Pastor Luigi's recording: a round play button, a thin position line, the time; flat, like the rest of the page */
.c-audio{--p:0%;display:flex;align-items:center;gap:16px;max-width:40em;margin:1.5em 0 1.7em;padding:12px 22px 12px 12px;border:1px solid var(--line);border-radius:99px;background:var(--surface)}
.au-btn{flex:none;display:grid;place-items:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:var(--brand);color:var(--brand-ink);cursor:pointer;transition:transform .18s}
.au-btn:hover{transform:scale(1.06)}.au-btn:focus-visible,.au-seek:focus-visible{outline:3px solid color-mix(in srgb,var(--link) 55%,transparent);outline-offset:2px}
.au-btn svg{width:22px;height:22px;fill:currentColor}.au-btn .i-play{margin-left:2px}.au-btn .i-pause{display:none}.c-audio.on .au-btn .i-play{display:none}.c-audio.on .au-btn .i-pause{display:block}
.au-bar{flex:1;min-width:0;display:grid;gap:2px}
.au-seek{-webkit-appearance:none;appearance:none;display:block;width:100%;height:24px;margin:0;padding:0;background:transparent;cursor:pointer}
.au-seek::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,var(--link) var(--p),var(--line) var(--p))}
.au-seek::-moz-range-track{height:4px;border-radius:4px;background:var(--line)}.au-seek::-moz-range-progress{height:4px;border-radius:4px;background:var(--link)}
.au-seek::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;margin-top:-5px;border:2px solid var(--surface);border-radius:50%;background:var(--link);box-shadow:0 0 0 1px var(--link)}
.au-seek::-moz-range-thumb{width:10px;height:10px;border:2px solid var(--surface);border-radius:50%;background:var(--link);box-shadow:0 0 0 1px var(--link)}
.au-time{display:flex;justify-content:space-between;font-size:.82rem;line-height:1.2;color:var(--muted);font-variant-numeric:tabular-nums}
.c-audio.bad{opacity:.55}
@media (max-width:900px){.ab-split{grid-template-columns:minmax(0,1fr)}.ab-split>:first-child{position:static}.ab-fig{max-width:360px}}
/* ab-split:end */
/* mn-one:begin */
/* ---- a ministry with one photo: a plain picture, whole, in its own shape (the photos of the courses are wide, the one of the Bible Institute is 4:3) ---- */
.mn-one{margin:0;border-radius:var(--radius);overflow:hidden;background:var(--soft);box-shadow:0 1px 2px rgba(0,0,0,.04),0 12px 30px rgba(15,23,48,.12)}
.mn-one img{display:block;width:100%;height:auto}
/* mn-one:end */
/* vq:begin */
/* ---- a Bible verse inside a page, next to the words or under a title: the card of the whole site, in a calmer size (a smaller quote mark and text), at most 46rem wide ---- */
.vq{min-width:0;max-width:46rem}
.vq .c-verse{margin:0;padding:30px 30px 24px}
.vq .c-verse::before{left:20px;top:0;font-size:4.4rem}
.vq .c-verse p{padding-top:.4em;font-size:clamp(.96rem,.9rem + .3vw,1.08rem);line-height:1.75}
/* vq:end */
/* vi-e:begin */
/* ---- Visit (inspired by version E's Visit page, in our theme): when we meet first, with the board of the next service and the week as a plain list; "When you arrive" in three columns under a rule; "Contact us" as rows of facts ---- */
.vi-split{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(28px,6vw,96px);align-items:start}
.vi-split>:first-child{position:sticky;top:104px}
.vb{display:grid;justify-items:center;gap:10px;padding:clamp(24px,3.2vw,38px) clamp(20px,2.6vw,32px);border-radius:var(--radius);background:linear-gradient(160deg,#1b2a6b,#2d4aa8);color:#fff;text-align:center;box-shadow:0 1px 2px rgba(0,0,0,.05),0 18px 40px rgba(20,40,110,.28)}
.vb p{margin:0}
.vb-k{font:700 .78rem/1.3 var(--font-label);letter-spacing:.16em;text-transform:uppercase;opacity:.78}
.vb-when{width:100%;padding:.4em 0;border-block:1px solid rgba(255,255,255,.22);font:600 clamp(1.7rem,3vw,2.3rem)/1.15 var(--font-head);letter-spacing:-.01em}
.vb-what{font:600 1.15rem/1.3 var(--font)}
.vb-in{display:inline-block;padding:.5em 1.1em;border-radius:99px;background:rgba(255,255,255,.14);font:700 .95rem/1.2 var(--font)}
.vi-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,4vw,48px)}
.vi-steps>div{padding-top:18px;border-top:2px solid var(--ink)}
.vi-steps h3{margin:0 0 .4em;font:600 1.45rem/1.2 var(--font-head)}.vi-steps p{margin:0;color:var(--muted)}
.vi-facts{margin:0}.vi-facts div{padding:16px 0;border-bottom:1px solid var(--line)}.vi-facts div:first-child{border-top:1px solid var(--line)}
.vi-facts dt{margin:0 0 6px;font:700 .78rem/1.3 var(--font-label);letter-spacing:.14em;text-transform:uppercase;color:var(--link)}
.vi-facts dd{margin:0;font-size:1.2rem}.vi-facts a{color:var(--ink);text-decoration:none}.vi-facts a:hover{text-decoration:underline}
@media (max-width:900px){.vi-split{grid-template-columns:minmax(0,1fr)}.vi-split>:first-child{position:static}.vi-steps{grid-template-columns:minmax(0,1fr)}}
/* the week at church: the board of the next service and the week calendar side by side, the same height, their top and bottom edges on the same line; the heading above both; Add to my calendar centred under them */
.vi-times{align-items:stretch;gap:clamp(20px,2.6vw,36px)}.vi-times>:first-child{position:static}
.vi-times>.vb{height:100%;align-content:center}.vi-times>.wk{margin:0}
@media (max-width:1100px){.vi-times{grid-template-columns:minmax(0,1fr)}}   /* a tablet: the board above, the week below it at the full width (seven columns), both edges on the same lines */
.vi-cal{justify-content:center;margin-top:clamp(18px,2vw,28px)}
#m-times{margin-bottom:calc(-1 * clamp(16px,2.4vw,38px))}   /* Visit Us: less space between the week calendar (and Add to my calendar) and Directions: about 46 px instead of 84 on a wide page, 32 on a phone */
/* vi-e:end */
/* fl-emoji:begin */
/* ---- the flag emoji of missionaries: no frame, a little larger than the letters, in the emoji font of the device ---- */
.fl.fl-emoji,.kicker .fl.fl-emoji,.c-facts .fl.fl-emoji{display:inline-block;width:auto;height:auto;margin-right:.4em;border-radius:0;box-shadow:none;overflow:visible;font:normal 1.2em/1 "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji","Twemoji Mozilla",sans-serif;vertical-align:-.14em;letter-spacing:0}
/* fl-emoji:end */
/* ============ Project Azores: one page ============
   The videos, then the History, on the left; the frame for the Bible studies on the right, as tall as the two together (the History frame takes up what the Bible studies need, so both columns end on the same line).
   On a tablet or a phone: videos, Bible studies, History, one under the other. */
.az-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto 1fr;gap:clamp(26px,3vw,38px) clamp(24px,3.4vw,48px);align-items:start}
.az-grid>.az-sec{grid-column:1;grid-row:1}
.az-grid>.az-history{grid-column:1;grid-row:2;align-self:stretch}
.az-grid>#az-studies{grid-column:2;grid-row:1/span 2;align-self:stretch;display:flex;flex-direction:column}
@media (max-width:1000px){.az-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:none}.az-grid>.az-sec,.az-grid>.az-history,.az-grid>#az-studies{grid-column:1;grid-row:auto}}
.az-sec .p-sh{margin-bottom:14px}
.az-vids2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.az-vids2 .az-v{border-radius:18px}.az-vids2 .az-v b{left:12px;right:12px;bottom:9px;font-size:.84rem;line-height:1.25}.az-vids2 .az-v i{width:44px;height:44px;margin:-22px 0 0 -22px}
@media (max-width:420px){.az-vids2{grid-template-columns:minmax(0,1fr)}}

/* the frame just for Bible studies */
.az-frame{padding:clamp(20px,2.4vw,30px);border-radius:var(--radius);background:var(--surface);border-top:4px solid var(--link);box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(15,23,48,.07)}
.az-frame>header{display:flex;gap:14px;align-items:center;margin-bottom:14px}
.az-frame .kicker{margin:0 0 .15em}.az-frame h2{margin:0;font-size:clamp(1.5rem,2.4vw,1.95rem);line-height:1.1}
.az-ic{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:color-mix(in srgb,var(--link) 12%,var(--surface));color:var(--link)}.az-ic svg{width:25px;height:25px}
.az-frame .az-course{max-width:none;margin:0 0 4px;padding:0;background:none;box-shadow:none}
.az-frame .az-course h3,.az-h3{margin:1.1em 0 .45em;font-size:1.25rem;line-height:1.25}
.az-frame .az-course p{margin:0 0 .8em;color:var(--muted);font-size:1rem;line-height:1.55}
.az-frame .az-steps{margin-top:12px;gap:10px}.az-frame .az-steps li{padding:.3em 0;align-items:flex-start}.az-frame .az-steps .step-n{width:32px;height:32px;font-size:.9rem}
.az-files{list-style:none;margin:6px 0 0;padding:0}
.az-files li+li{border-top:1px solid var(--line)}
.az-files a{display:flex;gap:14px;align-items:center;padding:13px 2px;text-decoration:none;color:inherit}
.az-files a:hover b{color:var(--link)}
.az-files svg{flex:none;width:22px;height:22px;color:var(--link)}
.az-files span{display:grid;gap:1px}.az-files b{font-size:1.02rem;line-height:1.3}.az-files small{color:var(--muted);font-size:.9rem}
#az-studies .az-files{margin-bottom:14px}
.az-frame .az-contact{margin:auto 0 0;padding-top:14px;border-top:1px solid var(--line);color:var(--muted)}

/* the History frame */
.az-lede{margin:0 0 16px;color:var(--muted)}
.az-history{scroll-margin-top:96px}
.az-history .p-miles{margin:0 0 22px}
.az-history .az-one{margin:0 0 8px;padding:2px 18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.az-history .az-h3{margin-top:1.4em}
/* ============ Give: warm and inviting ============
   A hero with the way to give right in it, the key verse, where the gifts go, two readings from the Bible as calm columns, and a thank-you. */
.gv-wrap{max-width:var(--maxw);margin:0 auto;padding:clamp(14px,2.4vw,26px) var(--pad) 0}
.gv-hero{position:relative;overflow:hidden;border-radius:clamp(24px,3vw,36px);color:#fff;
  background:radial-gradient(720px 440px at 94% -12%,rgba(255,214,107,.34),transparent 62%),radial-gradient(560px 400px at -6% 112%,rgba(120,165,255,.38),transparent 66%),linear-gradient(135deg,#14286e 0%,#1d3a9a 56%,#2a58c9 100%);
  box-shadow:0 26px 60px -26px rgba(20,40,110,.6)}
.gv-hero::before,.gv-hero::after{content:"";position:absolute;border-radius:50%;border:1.5px solid rgba(255,255,255,.16);pointer-events:none}
.gv-hero::before{right:-70px;top:-90px;width:340px;height:340px}.gv-hero::after{left:-110px;bottom:-150px;width:380px;height:380px;border-color:rgba(255,255,255,.1)}
.gv-hero-in{position:relative;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(26px,4.4vw,64px);align-items:center;padding:clamp(30px,5.2vw,68px)}
@media (max-width:900px){.gv-hero-in{grid-template-columns:minmax(0,1fr)}}
.gv-text h1{margin:0 0 .28em;font-size:clamp(2.7rem,6vw,4.7rem);line-height:1.02;letter-spacing:-.016em;color:#fff}
.gv-lede{margin:0;max-width:29em;font-size:clamp(1.1rem,1.6vw,1.3rem);line-height:1.5;color:rgba(255,255,255,.9)}
.gv-card{padding:clamp(22px,2.7vw,34px);border-radius:26px;background:var(--surface);color:var(--ink);box-shadow:0 22px 50px -18px rgba(5,10,40,.6)}
.gv-ic{display:grid;place-items:center;width:54px;height:54px;margin-bottom:14px;border-radius:50%;color:#fff;background:linear-gradient(180deg,#ff7b7b,#df4646);box-shadow:0 10px 22px -8px rgba(223,70,70,.65)}.gv-ic svg{width:26px;height:26px}
.gv-card h2{margin:0 0 .2em;font-size:clamp(1.55rem,2.2vw,1.9rem)}
.gv-card>p{margin:0 0 16px;color:var(--muted)}
.gv-addr{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 14px;padding:8px 8px 8px 22px;border:1.5px solid var(--line);border-radius:99px;background:var(--soft)}
.gv-addr b{font-size:1.15rem;letter-spacing:-.005em;overflow-wrap:anywhere}.gv-addr .btn{flex:none}
@media (max-width:520px){.gv-addr{flex-direction:column;align-items:stretch;gap:10px;padding:14px;border-radius:22px;text-align:center}.gv-addr b{font-size:clamp(.92rem,4.4vw,1.08rem)}.gv-addr .btn{width:100%;justify-content:center}}
.gv-card .gv-receipt{margin:18px 0 0;padding-top:16px;border-top:1px solid var(--line);color:var(--muted)}.gv-receipt a{margin-left:.35em;font-weight:700;text-decoration:none}

/* the key verse, then the sections */
.gv-key{max-width:760px;margin:clamp(28px,4vw,44px) auto 0}.gv-key .c-verse{margin:0}
.gv-sec{margin-top:0}   /* the page already puts its section gap (84 px on a wide screen) between the sections: this margin on top of it made the gaps 180 px, twice the rest of the site */
.gv-sec .p-sh{margin-bottom:clamp(20px,3vw,32px)}.gv-sec .p-sh h2{font-size:clamp(2rem,3.8vw,3rem);line-height:1.08}.gv-sec .p-sh p{max-width:46em;font-size:1.08rem}
.gv-mis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 20px}
.gv-tile{display:grid;gap:9px;align-content:start;text-decoration:none;color:inherit}
.gv-ph{position:relative;display:block;aspect-ratio:1;overflow:hidden;border-radius:22px;background:var(--soft);box-shadow:0 1px 2px rgba(0,0,0,.05),0 10px 26px rgba(15,23,48,.12);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.gv-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.07);transition:opacity .95s ease,transform 1.6s cubic-bezier(.2,.7,.2,1)}
.gv-ph img.on{opacity:1;transform:none}
.gv-tile:hover .gv-ph{transform:translateY(-4px);box-shadow:0 1px 2px rgba(0,0,0,.05),0 18px 36px rgba(15,23,48,.2)}
.gv-cap{display:grid;gap:1px;transition:opacity .42s ease}.gv-cap.out{opacity:0}
.gv-cap b{font-size:1.06rem;line-height:1.25}.gv-cap small{color:var(--muted);font-size:.92rem}
@media (max-width:560px){.gv-mis{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.gv-tile:nth-child(n+7){display:none}}
@media (prefers-reduced-motion:reduce){.gv-ph img,.gv-cap{transition:none}}
.gv-more{margin:26px 0 0}
.gv-cols{display:grid;gap:clamp(26px,3.4vw,42px) clamp(20px,3vw,34px)}
.gv-c3{grid-template-columns:repeat(3,minmax(0,1fr))}.gv-c2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:1000px){.gv-c3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){.gv-c3,.gv-c2{grid-template-columns:minmax(0,1fr)}}
.gv-it{display:grid;gap:12px;align-content:start}
/* the readings side by side: the number, the heading and the verse line up across the row (the heading row is as tall as the tallest heading, the first verses share their top and bottom edges, the second verses too, and the reference sits at the foot of each card) */
@supports (grid-template-rows:subgrid){
  .gv-cols{row-gap:0;margin-bottom:calc(-1 * clamp(26px,3.4vw,42px))}
  .gv-it{grid-row:span 5;grid-template-rows:subgrid;gap:0;margin-bottom:clamp(26px,3.4vw,42px)}
  .gv-it>.step-n{grid-row:1;margin-bottom:12px}
  .gv-cols .gv-it>h3{grid-row:2;margin-bottom:12px}
  .gv-it>.c-verse{grid-row:3;display:flex;flex-direction:column}
  .gv-it>.c-verse+.c-verse{grid-row:4;margin-top:12px}
  .gv-it>.c-verse footer{margin-top:auto;padding-top:1em}
  .gv-it>.why-more{grid-row:5;margin:12px 0 0}
  .gv-it:not(:has(.c-verse+.c-verse))>.why-more{grid-row:4}   /* a reading with one verse keeps its note right under the verse */
}
.gv-it h3{margin:0;font-size:clamp(1.4rem,2vw,1.7rem);line-height:1.2}
.gv-it .c-verse{margin:0}
.gv-it .step-n{width:42px;height:42px;font-size:1.05rem;background:linear-gradient(180deg,#3553b8,#14286e);box-shadow:0 8px 16px -8px rgba(20,40,110,.6)}

/* the thank-you */
.gv-thanks{display:grid;justify-items:center;gap:6px;margin:0;padding:clamp(34px,5vw,60px) 24px;border-radius:clamp(24px,3vw,34px);text-align:center;
  background:radial-gradient(520px 260px at 50% -30%,rgba(255,214,107,.22),transparent 70%),color-mix(in srgb,var(--link) 7%,var(--surface))}
.gv-thanks .gv-ic{margin-bottom:6px}.gv-thanks h2{margin:0 0 .4em;font-size:clamp(1.8rem,3.4vw,2.6rem)}
.gv-thanks .p-btns{justify-content:center;margin:0}
/* ================= THE GOSPEL: the four steps, one at a time ================= */
.gs{position:relative;max-width:860px;margin:0 auto;scroll-margin-top:96px;padding:clamp(22px,4vw,42px);border-radius:28px;background:var(--surface);box-shadow:0 1px 2px rgba(0,0,0,.04),0 18px 48px -14px rgba(15,23,48,.22)}
.gs-nav{list-style:none;margin:0 0 clamp(24px,3.6vw,36px);padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:relative}
.gs-nav::before,.gs-nav::after{content:"";position:absolute;top:21px;left:12.5%;height:3px;border-radius:3px}
.gs-nav::before{right:12.5%;background:var(--line)}
.gs-nav::after{width:calc(var(--cur,0) / 3 * 75%);background:var(--brand);transition:width .55s cubic-bezier(.2,.8,.2,1)}
.gs-nav button{position:relative;z-index:1;display:grid;justify-items:center;gap:10px;width:100%;padding:0;border:0;background:none;color:var(--muted);font:700 .88rem/1.2 var(--font);text-align:center;cursor:pointer}
.gs-nav i{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:2px solid var(--line);color:var(--muted);font:600 1.25rem/1 var(--font-head);font-style:normal;transition:background .3s,border-color .3s,color .3s,box-shadow .3s,transform .3s}
.gs-nav button:hover i{border-color:var(--brand);color:var(--brand)}
.gs-nav li.is-done i{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}
.gs-nav [aria-selected="true"]{color:var(--ink)}
.gs-nav [aria-selected="true"] i{background:var(--brand);border-color:var(--brand);color:var(--brand-ink);box-shadow:0 0 0 7px color-mix(in srgb,var(--brand) 16%,transparent);transform:scale(1.05)}
.gs-nav button:focus-visible{outline:2px solid var(--link);outline-offset:5px;border-radius:12px}
.gs-panels{min-height:250px}
.gs-p{animation:gs-in .5s cubic-bezier(.2,.8,.2,1)}
.gs-p[hidden]{display:none}
@keyframes gs-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
.gs-k{margin:0 0 .6rem;font:700 .78rem/1 var(--font-label);letter-spacing:.14em;text-transform:uppercase;color:var(--link)}
.gs-p>h3{margin:0 0 .75rem;font:600 clamp(1.7rem,3.4vw,2.45rem)/1.15 var(--font-head);letter-spacing:-.015em}
.gs-p .c-verse{margin:1.1rem 0 0;background:color-mix(in srgb,var(--link) 6%,var(--surface));box-shadow:none;border:1px solid var(--line)}
.gs-p>p:not(.gs-k):not(.p-btns){max-width:52em;margin:1.1rem 0 0;color:var(--muted);line-height:1.7}
.gs-p .p-prayer{margin:1.4rem 0 0}
.gs-p .p-btns{margin:1.4rem 0 0}
.gs-ctl{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:clamp(22px,3vw,32px);padding-top:20px;border-top:1px solid var(--line)}
.gs-count{color:var(--muted);font-weight:700;font-size:.92rem}
.gs-ctl .btn svg{width:1.05em;height:1.05em}
.gs-ctl .btn[hidden]{display:none}
.gs-ctl .btn:disabled{opacity:.4;pointer-events:none}
@media (max-width:640px){.gs-ctl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.gs-ctl .btn{justify-content:center;white-space:nowrap}.gs-count{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.gs-nav span{display:none}.gs-nav::before,.gs-nav::after{top:19px}.gs-nav i{width:38px;height:38px;font-size:1.1rem}.gs-nav{margin-bottom:22px}.gs-panels{min-height:0}}
@media (prefers-reduced-motion:reduce){.gs-p{animation:none}.gs-nav::after,.gs-nav i{transition:none}}
@media print{.gs-p[hidden]{display:block}.gs-nav,.gs-ctl{display:none}}
/* ============ Church History as a road map: the tree (the church's pick from the three mockups, church/final/mockups/history.html) ============
   The main road is the church; a branch leaves it to one side; the words of a stop are a card on one side of the road, its pictures big round pictures that float on the other (decision 108).
   roadInit in 90-start.js measures the stops and draws the roads in the SVG laid over them. Decision 105 made the pictures an album card in place of the round bubbles. */
:root{--c-main:var(--link);--lc-0:#c43d2e;--lc-1:#1a8a4a;--lc-2:#1596b8;--lc-3:#8461dc;--lc-4:#c8870a;--lc-5:#c2185b;--lc-6:#5f6f86;--gold:#d9a420}
@media (prefers-color-scheme:dark){:root{--lc-0:#ff8a7a;--lc-1:#4fd08a;--lc-2:#3fc8e6;--lc-3:#b49cff;--lc-4:#f0b84a;--lc-5:#ff7fb0;--lc-6:#9db0cc;--gold:#e3ae2f}}
.hs-page{padding-top:6px}
.c-page.hs-page{max-width:min(1400px,100%)}   /* wider than the other pages, so that the pictures can be big */
.hs-mark{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 4px;font-weight:700;color:var(--muted)}.hs-mark img{width:auto;height:42px}
.hs-road{padding:0}
.rm-admin{margin:0 0 10px;text-align:center}
.rm{position:relative;max-width:var(--maxw);margin:14px auto 0}
.rm-svg{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;overflow:visible;z-index:0}
.rm-dots{position:absolute;inset:0;pointer-events:none;z-index:2}
.rm-ev{position:relative;z-index:1;display:grid;padding:26px 0 30px}
.rm.rm-anim .rm-ev{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
.rm.rm-anim .rm-ev.in,html.is-edit .rm.rm-anim .rm-ev{opacity:1;transform:none}
.rm[data-mode=center] .rm-ev{grid-template-columns:minmax(0,1fr) 290px minmax(0,1fr)}
.rm[data-mode=center][data-size=m] .rm-ev{grid-template-columns:minmax(0,1fr) 240px minmax(0,1fr)}
.rm[data-mode=center] .rm-txt,.rm[data-mode=center] .rm-pics{align-self:center}
.rm[data-mode=center] .rm-axis{grid-column:2;grid-row:1}
.rm[data-mode=center] .rm-ev[data-side="1"] .rm-txt{grid-column:3;grid-row:1;margin-left:30px}
.rm[data-mode=center] .rm-ev[data-side="1"] .rm-pics{grid-column:1;grid-row:1;margin-right:30px}
.rm[data-mode=center] .rm-ev[data-side="-1"] .rm-txt{grid-column:1;grid-row:1;margin-right:30px}
.rm[data-mode=center] .rm-ev[data-side="-1"] .rm-pics{grid-column:3;grid-row:1;margin-left:30px}
.rm[data-mode=mobile] .rm-ev{grid-template-columns:112px minmax(0,1fr)}
.rm[data-mode=mobile] .rm-axis{grid-column:1;grid-row:1 / span 2}
.rm[data-mode=mobile] .rm-txt{grid-column:2;grid-row:1;padding:18px 20px 20px}
.rm[data-mode=mobile] .rm-pics{grid-column:2;grid-row:2;margin-top:32px;width:100%}
.rm-txt{align-self:start;min-width:0;background:var(--surface);border-radius:28px;padding:22px 26px 24px;box-shadow:0 1px 2px rgba(0,0,0,.04),0 14px 34px rgba(15,23,48,.1)}
.rm-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 .55rem}
.rm-when{display:inline-block;padding:.3em .85em;border-radius:99px;background:color-mix(in srgb,var(--c) 16%,var(--surface));color:var(--ink);font:800 .78rem/1.2 var(--font);letter-spacing:.05em;text-transform:uppercase}
.rm-when.rm-nodate{display:none}   /* a stop with no date and no words for it shows no pill */
.rm-when::before{content:"";display:inline-block;width:.6em;height:.6em;border-radius:50%;background:var(--c);margin-right:.5em;vertical-align:.02em}
.rm-tag{display:inline-block;padding:.3em .8em;border-radius:99px;background:color-mix(in srgb,var(--c) 14%,var(--surface));color:var(--ink);font:700 .72rem/1.2 var(--font);letter-spacing:.04em}
.rm-t{margin:0 0 .4rem;font:var(--head-weight,600) clamp(1.5rem,2.6vw,2.05rem)/1.12 var(--font-head);letter-spacing:-.012em}
.rm-p{color:var(--muted);line-height:1.62;font-size:1.02rem}.rm-p p{margin:0 0 .7em}.rm-p p:last-child{margin-bottom:0}
/* ===== the pictures of a stop: one big album card (decision 105) ===== */
.rm-pics{min-width:0}
.rm-bub{container-type:inline-size;display:flex;flex-direction:column;align-items:center;gap:12px}
.rm-bub.none{justify-content:center;gap:8px;min-height:150px;border:2px dashed var(--line);border-radius:28px}
.rm-bub.none:empty{display:none}   /* a stop with no picture shows nothing to a visitor */
.rm-none{color:var(--muted);font-size:.9rem;font-weight:600;text-align:center}
.rm-cluster{position:relative;width:min(100cqw,500px);aspect-ratio:1/.95;margin-inline:auto}
/* a large picture and up to three smaller ones round it; each drifts on its own slow time, tilts toward the mouse and catches a light */
.rm-b{position:absolute;display:block;aspect-ratio:1;padding:0;margin:0;border:0;border-radius:50%;background:none;color:inherit;cursor:zoom-in;opacity:1;scale:1;transform:perspective(720px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition:transform .25s ease-out,opacity .7s ease calc(var(--k,0) * 140ms + 250ms),scale .95s cubic-bezier(.2,.9,.3,1.25) calc(var(--k,0) * 140ms + 250ms);animation:rm-float var(--fd,9s) ease-in-out var(--fo,0s) infinite alternate}
.rm-b0{width:75%;left:1%;top:2%;--fd:11s;z-index:2}
.rm-b1{width:36%;left:61%;top:55%;--fd:8s;--fo:-3s;z-index:3}
.rm-b2{width:27%;left:72%;top:0;--fd:9s;--fo:-5s;z-index:3}
.rm-b3{width:25%;left:8%;top:73%;--fd:7s;--fo:-1.5s;z-index:3}
@keyframes rm-float{from{translate:0 -6px}to{translate:0 6px}}
.rm-b:hover{transform:perspective(720px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) scale(1.05);z-index:5}
.rm-b:focus-visible{outline:3px solid var(--c);outline-offset:6px}
.rm.rm-anim .rm-ev:not(.in) .rm-b{opacity:0;scale:.55}
.rm-disc{position:absolute;inset:0;overflow:hidden;border-radius:50%;background:var(--soft);border:clamp(3px,1.4cqw,6px) solid var(--surface);box-shadow:0 0 0 clamp(5px,2cqw,10px) color-mix(in srgb,var(--c) 17%,transparent),0 20px 44px rgba(15,23,48,.3)}
.rm-disc::after{content:"";position:absolute;inset:0;z-index:2;border-radius:50%;background:radial-gradient(circle at var(--gx,50%) var(--gy,26%),rgba(255,255,255,.42),transparent 58%);opacity:0;transition:opacity .25s;pointer-events:none}
.rm-b:hover .rm-disc::after{opacity:1}
.rm-im{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 30%}
.rm-b0 .rm-im{animation:rm-kb 12s ease-in-out infinite alternate}   /* the large picture slowly breathes */
@keyframes rm-kb{from{scale:1}to{scale:1.07}}
.rm-im.new{opacity:0}.rm-im.new.on{opacity:1;transition:opacity .8s ease}
.rm-b0 .rm-im.new{opacity:1;clip-path:circle(0% at 50% 50%)}.rm-b0 .rm-im.new.on{clip-path:circle(75% at 50% 50%);transition:clip-path 1.05s cubic-bezier(.3,.7,.2,1)}   /* the next picture opens from the middle */
.rm-more{position:absolute;inset:0;z-index:1;display:grid;place-items:center;background:rgba(10,16,40,.5);color:#fff;font:800 clamp(.95rem,5cqw,1.9rem)/1 var(--font)}
/* the ring round the large picture fills while it is on show: it is also the clock of the slideshow */
.rm-prog{position:absolute;left:-6%;top:-6%;width:112%;height:112%;transform:rotate(-90deg);pointer-events:none;overflow:visible;z-index:3}
.rm-prog circle{fill:none;stroke-linecap:round}
.rm-prog-bg{stroke:color-mix(in srgb,var(--c) 30%,transparent);stroke-width:.55}
.rm-prog-fg{stroke:var(--c);stroke-width:.9;stroke-dasharray:100;stroke-dashoffset:100;animation:rm-prog 6.5s linear forwards;animation-play-state:paused}
@keyframes rm-prog{to{stroke-dashoffset:0}}
.rm-bub.is-live .rm-prog-fg{animation-play-state:running}
.rm-bub:hover .rm-prog-fg,.rm-bub:focus-within .rm-prog-fg{animation-play-state:paused}
.rm-bub[data-paused] .rm-prog-fg,.rm-bub[data-rest] .rm-prog-fg{opacity:0;animation:none}
/* decision 111: when the large picture stays (the default) the ring is not drawn: it is only the clock of the small circles, a little faster */
.rm-bub:not([data-move=all]) .rm-prog-fg{stroke:transparent;animation-duration:3.6s}
/* the little magnifier on the rim says that it opens */
.rm-mag{position:absolute;right:-6%;top:41%;z-index:4;width:15%;aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:var(--c);color:#fff;pointer-events:none;animation:rm-ping 3.4s ease-out infinite}
.rm-mag svg{width:54%;height:54%}
@keyframes rm-ping{0%{box-shadow:0 6px 16px rgba(0,0,0,.3),0 0 0 0 color-mix(in srgb,var(--c) 55%,transparent)}65%,100%{box-shadow:0 6px 16px rgba(0,0,0,.3),0 0 0 18px transparent}}
.rm-cap{margin:0;max-width:100%;padding:0 6px;box-sizing:border-box;text-align:center;color:var(--muted);font:italic 600 .98rem/1.35 var(--font);min-height:2.7em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rm-cap[hidden]{display:none}
.rm-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px}
.rm-pause{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1.5px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);cursor:pointer}.rm-pause:hover{border-color:var(--c)}.rm-pause svg{width:18px;height:18px}
.rm-open{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 16px 0 14px;border:1.5px solid color-mix(in srgb,var(--c) 60%,var(--line));border-radius:99px;background:color-mix(in srgb,var(--c) 11%,var(--surface));color:var(--ink);font:700 .95rem/1.1 var(--font);cursor:pointer;transition:background .2s,transform .15s}
.rm-open svg{width:19px;height:19px;flex:none;color:var(--c)}
.rm-open b{display:inline-grid;place-items:center;min-width:1.9em;height:1.9em;margin-right:-6px;padding:0 .45em;border-radius:99px;background:color-mix(in srgb,var(--c) 24%,var(--surface));color:var(--ink);font-size:.82rem}
.rm-open:hover{background:color-mix(in srgb,var(--c) 22%,var(--surface));transform:translateY(-1px)}
.rm-pause:focus-visible,.rm-open:focus-visible{outline:3px solid var(--c);outline-offset:3px}
@container (max-width:290px){.rm-open b{display:none}.rm-pause{width:40px;height:40px}}   /* a phone: the count goes, so that the pause button and the words fit on one line */
html.is-edit .rm-b,html.is-edit .rm-im,html.is-edit .rm-mag{animation:none}html.is-edit .rm-prog{display:none}html.is-edit .rm.rm-anim .rm-ev .rm-b{opacity:1;scale:1}
.rm-pics .p-admin{margin:0;text-align:center}
.rm-end{position:relative;z-index:1;margin:0;padding:6px 0 4px;text-align:center;color:var(--muted);font:600 .9rem/1.3 var(--font);letter-spacing:.06em}
/* the markers on the roads, and the dot that rides the main road as the page is scrolled */
.rm-dot{position:absolute;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;background:var(--surface);border:4px solid var(--c);box-shadow:0 0 0 6px color-mix(in srgb,var(--c) 22%,transparent);transform:scale(.3);opacity:0;transition:transform .5s cubic-bezier(.2,.9,.3,1.4),opacity .4s}
.rm-dot.in,html.is-edit .rm-dot{transform:none;opacity:1}
.rm-dot.is-end{width:34px;height:34px;margin:-17px 0 0 -17px;background:var(--gold);box-shadow:0 0 0 8px color-mix(in srgb,var(--gold) 28%,transparent)}
.rm-trav{position:absolute;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:50%;background:var(--c-main);animation:rm-pulse 2.2s infinite;opacity:0;transition:opacity .3s}
.rm-trav.on{opacity:1}
@keyframes rm-pulse{0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--c-main) 50%,transparent)}70%{box-shadow:0 0 0 14px transparent}100%{box-shadow:0 0 0 0 transparent}}
.rm[data-mode=mobile] .rm-dot{width:20px;height:20px;margin:-10px 0 0 -10px;border-width:3px;box-shadow:0 0 0 4px color-mix(in srgb,var(--c) 22%,transparent)}
.rm[data-mode=mobile] .rm-dot.is-end{width:26px;height:26px;margin:-13px 0 0 -13px}
@media (prefers-reduced-motion:reduce){.rm.rm-anim .rm-ev,.rm-dot{transition:none}.rm-trav{animation:none}}
/* what the office adds to a stop: a video, a sound, a link */
.rm-media{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-top:16px}
.rm-med{margin:0}
.rm-vplay{position:relative;display:block;width:100%;padding:0;border:0;border-radius:18px;overflow:hidden;background:#0b1020;cursor:pointer;aspect-ratio:16/9}
.rm-vplay img{display:block;width:100%;height:100%;object-fit:cover;opacity:.94;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.rm-vplay:hover img{transform:scale(1.04)}
.rm-vplay i{position:absolute;inset:0;margin:auto;width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.95);box-shadow:0 8px 24px rgba(0,0,0,.35)}
.rm-vplay i::after{content:"";position:absolute;left:22px;top:16px;border-left:17px solid var(--c);border-top:12px solid transparent;border-bottom:12px solid transparent}
.rm-vplay:focus-visible{outline:3px solid var(--c);outline-offset:3px}
.rm-vid video{display:block;width:100%;aspect-ratio:16/9;border-radius:18px;background:#0b1020}
.rm-med figcaption{margin:6px 2px 0;font-size:.86rem;line-height:1.35;color:var(--muted)}
.rm-aud figcaption{margin:0 2px 6px;font-weight:600;color:var(--ink)}
.rm-aud audio{display:block;width:100%;height:44px}
.rm-link{align-self:flex-start;display:inline-block;padding:.5em 1.05em;border-radius:99px;border:1.5px solid color-mix(in srgb,var(--c) 55%,var(--line));color:var(--ink);font:700 .86rem/1.2 var(--font);text-decoration:none;transition:background .2s}
.rm-link:hover{background:color-mix(in srgb,var(--c) 14%,var(--surface))}
.rm-link:focus-visible{outline:3px solid var(--c);outline-offset:2px}

/* ===== the main road with no stops yet, and the years line ===== */
.hs-mark{flex-wrap:wrap;row-gap:4px}
.hs-years{margin-left:4px;font-size:.88em;font-weight:600;color:var(--muted)}.hs-years b{color:var(--ink);font-variant-numeric:tabular-nums}
.rm-ex{display:inline-block;margin-left:8px;padding:.25em .8em;border-radius:99px;background:color-mix(in srgb,var(--gold) 20%,var(--surface));color:var(--ink);font-size:.8rem;font-weight:600}
.rm-empty{max-width:520px;margin:28px auto 8px;text-align:center}
.rm-empty h3{margin:0 0 .35rem;font:var(--head-weight,600) clamp(1.5rem,2.6vw,2rem)/1.15 var(--font-head);letter-spacing:-.012em}.rm-empty p{margin:0 0 .6rem;color:var(--muted)}
.rm-ed{position:relative;display:block;width:18px;height:150px;margin:0 auto 22px;border-radius:99px;background:linear-gradient(var(--c-main),color-mix(in srgb,var(--c-main) 12%,transparent))}
.rm-ed i{position:absolute;left:50%;top:-6px;width:26px;height:26px;margin-left:-13px;border-radius:50%;background:var(--surface);border:4px solid var(--c-main);animation:rm-pulse 2.2s infinite}
.rm-dot.rm-start{opacity:1;transform:none}

/* ===== the tools on the page while the office edits (a bar on each stop) ===== */
.rm-tb{position:absolute;z-index:6;top:-4px;left:50%;transform:translateX(-50%);display:flex;flex-wrap:wrap;justify-content:center;gap:4px;max-width:96%;padding:4px 5px;border-radius:11px;background:rgba(15,23,48,.94);color:#fff;box-shadow:0 6px 20px rgba(0,0,0,.28);font:600 .76rem var(--font);opacity:0;pointer-events:none;transition:opacity .15s}
html.is-edit .rm-ev:hover>.rm-tb,html.is-edit .rm-ev:focus-within>.rm-tb,.rm-tb:focus-within{opacity:1;pointer-events:auto}
.rm-tb button,.rm-tb a{display:inline-grid;place-items:center;min-width:30px;height:28px;padding:0 9px;border:0;border-radius:8px;background:rgba(255,255,255,.14);color:#fff;font:700 .76rem var(--font);text-decoration:none;cursor:pointer}
.rm-tb button:hover:not(:disabled),.rm-tb a:hover{background:rgba(255,255,255,.28)}.rm-tb button:disabled{opacity:.35;cursor:default}.rm-tb .rm-del{background:rgba(224,64,64,.62)}
.rm-addend{position:relative;z-index:1;margin:6px 0 0;text-align:center}

/* ===== effects: in the spirit of React Bits (blur-in text, shiny text, spotlight card, tilted picture, star border, count-up) and transitions.dev (a calm entrance),
   written here in plain CSS. All of them are off while editing and with reduced motion. ===== */
.rm-w{display:inline-block;white-space:pre}
.rm.rm-anim .rm-ev .rm-w{opacity:0;filter:blur(10px);transform:translateY(.5em);transition:opacity .6s ease,filter .8s ease,transform .8s cubic-bezier(.2,.8,.2,1);transition-delay:calc(var(--i) * 70ms + 180ms)}
.rm.rm-anim .rm-ev.in .rm-w{opacity:1;filter:none;transform:none}
.rm-when{position:relative;overflow:hidden}
.rm.rm-anim .rm-ev.in .rm-when::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 36%,rgba(255,255,255,.7) 50%,transparent 64%);transform:translateX(-130%);animation:rm-shine 1.5s .55s ease-out 1 both;pointer-events:none}
@keyframes rm-shine{to{transform:translateX(130%)}}
.rm-txt{position:relative;isolation:isolate;overflow:hidden}
.rm-txt::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(340px circle at var(--mx,50%) var(--my,30%),color-mix(in srgb,var(--c) 15%,transparent),transparent 70%);opacity:0;transition:opacity .3s;pointer-events:none}
.rm-txt:hover::before{opacity:1}
@property --rm-ang{syntax:'<angle>';initial-value:0deg;inherits:false}
.rm-ev[data-end] .rm-txt::after{content:"";position:absolute;inset:0;border-radius:inherit;padding:2.5px;background:conic-gradient(from var(--rm-ang),transparent 0 60%,var(--gold) 84%,transparent 100%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);mask-composite:exclude;pointer-events:none;animation:rm-spin 6s linear infinite}
@keyframes rm-spin{to{--rm-ang:360deg}}
@media (prefers-reduced-motion:reduce){.rm-w{opacity:1!important;filter:none!important;transform:none!important;transition:none!important}.rm-when::after{display:none}.rm-ev[data-end] .rm-txt::after{animation:none}.rm-b,.rm-im,.rm-mag{animation:none}.rm-b,.rm-im.new.on,.rm-b0 .rm-im.new.on{transition:none}.rm-prog-fg{display:none}.rm-ed i{animation:none}}
html.is-edit .rm-w{opacity:1;filter:none;transform:none}
/* ============ Awana: the five blocks of AWANA ============
   They take the colours of the five round circles on Awana Canada's Vision and Mission page (awanacanada.ca/vision-and-mission): coral, sky blue,
   gold, teal and warm grey, in the order of the five core values (read from the pictures of the circles). The church chose "white blocks"
   (C4 in mockups/awana.html): a white face, the circle's true colour as the edge of the block, and the letters in a deeper shade of the same
   colour (deep enough to read the small word under each letter). */
.aw-l{--c:#fff;--cd:#e46145;color:#bd4128}
.aw-l:nth-child(2){--c:#fff;--cd:#42b8dd;color:#17799b}
.aw-l:nth-child(3){--c:#fff;--cd:#e3c54e;color:#8a6d00}
.aw-l:nth-child(4){--c:#fff;--cd:#4cc0a7;color:#1b7a66}
.aw-l:nth-child(5){--c:#fff;--cd:#686259;color:#4a443c}
/* ============ Virtual Album (decisions 112 and 113): the book, the words under it and the big photo ============
   The pages are always cream paper and the cover leather, in the light and in the dark; everything round the book follows the site's colours.
   Sizes on a page are in cqw (1% of the page's width): src/js/43-album.js and core/album-layout.js place the photos in units of the page's width. */
.c-page.al-page{max-width:min(1500px,100%);padding-top:4px;padding-bottom:6px}
.al-root,.al-ov{--al-ease:cubic-bezier(.23,1,.32,1)}   /* decelerates into place: quick at the start, soft at the end */
.al-root{container:al / inline-size;position:relative}
.al-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin:2px 0 6px;font-size:.88rem}
.al-bar .btn{min-height:36px}
.al-bar [aria-pressed=true]{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}
.al-bar-note{color:var(--muted)}
.al-frsel{display:inline-flex;align-items:center;gap:6px;font-weight:600}.al-frsel select{min-height:36px;padding:0 .8em;border:1.5px solid var(--line);border-radius:99px;background:var(--surface);color:var(--ink);font:600 .88rem var(--font)}

/* ---- the book ---- */
.al-stage{position:relative;margin:6px auto 0;padding:0 0 12px}
.al-stage::after{content:"";position:absolute;left:6%;right:6%;bottom:8px;height:30px;background:radial-gradient(ellipse at center,rgba(15,23,48,.3),transparent 68%);filter:blur(8px);z-index:0;pointer-events:none}
@media (prefers-color-scheme:dark){.al-stage::after{background:radial-gradient(ellipse at center,rgba(0,0,0,.7),transparent 68%)}}
.al-bk{position:relative;z-index:1;margin:0 auto;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.al-root .stf__item{overflow:hidden;background:#f4ecda;color:#3a2f27}
.al-pg{container-type:size}
.al-root .stf__item:not(.al-cov){background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .42  0 0 0 0 .32  0 0 0 0 .2  0 0 0 .10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>")}
.al-root .stf__item.--left:not(.al-cov){background-image:linear-gradient(to left,rgba(70,45,20,.20),rgba(70,45,20,0) 9%),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .42  0 0 0 0 .32  0 0 0 0 .2  0 0 0 .10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>")}
.al-root .stf__item.--right:not(.al-cov){background-image:linear-gradient(to right,rgba(70,45,20,.20),rgba(70,45,20,0) 9%),url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .42  0 0 0 0 .32  0 0 0 0 .2  0 0 0 .10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>")}
.al-root .stf__item.al-cov{background-color:#5a2231;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .32 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),linear-gradient(140deg,rgba(255,255,255,.10),rgba(255,255,255,0) 50%);color:#e3c57a}
.al-cov-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2.6cqw;padding:14cqw 12cqw;text-align:center}
.al-cov::after{content:"";position:absolute;inset:6cqw;border:2px solid rgba(227,197,122,.55);border-radius:2px;box-shadow:inset 0 0 0 6px rgba(227,197,122,.25);pointer-events:none}
.al-cov-logo{width:20cqw;height:auto;filter:brightness(0) invert(1) sepia(.5) saturate(2.2) hue-rotate(5deg);opacity:.85}
.al-cov-k{margin:0;font:700 clamp(.58rem,2.3cqw,1.17rem)/1.3 var(--font);letter-spacing:.24em;text-transform:uppercase;color:rgba(227,197,122,.82)}
.al-cov h3{margin:0;font:600 clamp(1.6rem,9cqw,4.35rem)/1.06 "EB Garamond",Georgia,serif;text-shadow:0 1px 0 rgba(0,0,0,.45);color:inherit}
.al-rule{display:block;width:18cqw;height:2px;border-top:1px solid rgba(227,197,122,.7);border-bottom:1px solid rgba(227,197,122,.7)}
.al-cov-s{margin:0;font:italic 500 clamp(.86rem,3.9cqw,1.8rem)/1.3 "EB Garamond",Georgia,serif;color:rgba(255,240,205,.8)}
.al-back .al-cov-logo{width:13cqw;opacity:.6}
.al-no{position:absolute;bottom:4.6cqw;font:italic 600 clamp(.8rem,3cqw,1.5rem)/1 "EB Garamond",Georgia,serif;color:#8a7258}
.stf__item.--left .al-no{left:9cqw}.stf__item.--right .al-no{right:9cqw}
.al-toc,.al-end{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:3cqw;padding:10cqw 11cqw 12cqw}
.al-toc h4,.al-end h4{margin:0 0 1cqw;text-align:center;font:600 clamp(1.5rem,8cqw,3.45rem)/1.05 "EB Garamond",Georgia,serif;color:#5a2231}
.al-toc ol{margin:0;padding:0;list-style:none;display:grid;gap:2.4cqw}
.al-toc button{display:flex;align-items:baseline;gap:.6em;width:100%;padding:1.5cqw 0;border:0;background:none;color:#3a2f27;font:italic 600 clamp(.98rem,4.8cqw,2.1rem)/1.2 "EB Garamond",Georgia,serif;cursor:pointer;text-align:left}
.al-toc button i{flex:1;border-bottom:2px dotted #b7a58a;transform:translateY(-.25em)}
.al-toc button b{font:700 .72em/1 var(--font);font-style:normal;color:#5a2231}
.al-toc p,.al-end p{margin:0;text-align:center;font:italic 500 clamp(.85rem,3.8cqw,1.65rem)/1.4 "EB Garamond",Georgia,serif;color:#6b5a4a}
.al-end{align-items:center;text-align:center}
.al-ribbon{position:absolute;z-index:6;top:-4px;transition:opacity .4s;width:2.2%;min-width:14px;max-width:22px;height:78px;background:#8a1c2b;box-shadow:0 2px 5px rgba(0,0,0,.3);clip-path:polygon(0 0,100% 0,100% 100%,50% 86%,0 100%);pointer-events:none}
.al-ribbon.off{opacity:0}

/* the photos of a page: each has its own cell (core/album-layout.js); everything is in units of the page's width (1cqw) */
.al-col{position:absolute;inset:0}
.al-pr{position:absolute;margin:0;--t:-.5deg;transform:rotate(var(--t))}.al-pr:nth-child(even){--t:.6deg}
.al-fr{position:absolute;display:block;padding:2.2cqw;border:0;border-radius:0;background:#fffdf6;line-height:0;box-shadow:0 1px 1px rgba(0,0,0,.28),0 8px 16px rgba(0,0,0,.2);cursor:zoom-in;transition:transform .2s var(--al-ease,ease-out)}
.al-fr img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;background:#d9d2c0}
.al-fr img:not([src]){visibility:hidden}
@media (hover:hover){.al-fr:hover{transform:translateY(-.4cqw)}}
.al-fr:active{transform:scale(.985)}

/* ---- the ways to mount a photo (decision 113; the office chooses, Admin > Virtual Album): data-fs on the photo. Every mount is painted round the same print, so no photo is ever cropped. ---- */
/* photo corners: the classic album (and what a photo with no mount named gets) */
.al-pr:not([data-fs]) .al-fr::after,.al-pr[data-fs=corners] .al-fr::after{content:"";position:absolute;inset:-1px;pointer-events:none;background:linear-gradient(135deg,#2c2622 50%,transparent 50%) 0 0/3.2cqw 3.2cqw no-repeat,linear-gradient(225deg,#2c2622 50%,transparent 50%) 100% 0/3.2cqw 3.2cqw no-repeat,linear-gradient(45deg,#2c2622 50%,transparent 50%) 0 100%/3.2cqw 3.2cqw no-repeat,linear-gradient(315deg,#2c2622 50%,transparent 50%) 100% 100%/3.2cqw 3.2cqw no-repeat}
/* the pieces of tape: a strip across a corner, its two ends cut in little teeth */
.al-pr[data-fs=tape] .al-fr::before,.al-pr[data-fs=tape] .al-fr::after,.al-pr[data-fs=washi] .al-fr::before,.al-pr[data-fs=washi] .al-fr::after,.al-pr[data-fs=masking] .al-fr::before{content:"";position:absolute;pointer-events:none;clip-path:polygon(0 0,2.4% 12%,0 25%,2.4% 38%,0 50%,2.4% 62%,0 75%,2.4% 88%,0 100%,100% 100%,97.6% 88%,100% 75%,97.6% 62%,100% 50%,97.6% 38%,100% 25%,97.6% 12%,100% 0)}
/* Scotch tape: clear, a little glossy, over two corners */
.al-pr[data-fs=tape] .al-fr::before,.al-pr[data-fs=tape] .al-fr::after{width:13cqw;height:4.6cqw;background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(235,240,226,.48) 50%,rgba(255,255,255,.58)),linear-gradient(100deg,rgba(255,255,255,.2),rgba(255,255,255,.55) 50%,rgba(255,255,255,.2))}
.al-pr[data-fs=tape] .al-fr::before{left:-6.5cqw;top:-2.3cqw;transform:rotate(-40deg)}
.al-pr[data-fs=tape] .al-fr::after{right:-6.5cqw;top:-2.3cqw;transform:rotate(40deg)}
/* masking tape: one beige strip across the top */
.al-pr[data-fs=masking] .al-fr::before{left:50%;top:-2.8cqw;width:24cqw;height:5.6cqw;margin-left:-12cqw;transform:rotate(-1.6deg);background:linear-gradient(180deg,rgba(238,221,174,.95),rgba(222,200,146,.95)),repeating-linear-gradient(90deg,rgba(0,0,0,.04) 0 .4cqw,transparent .4cqw .9cqw)}
/* washi tape: coloured stripes over two opposite corners (pink, mint, mustard in turn) */
.al-pr[data-fs=washi]{--wa:#f2a6b8;--wb:#fbd9e1}.al-pr[data-fs=washi]:nth-child(3n+2){--wa:#86cfbd;--wb:#d4efe8}.al-pr[data-fs=washi]:nth-child(3n){--wa:#eebd52;--wb:#faeab8}
.al-pr[data-fs=washi] .al-fr::before,.al-pr[data-fs=washi] .al-fr::after{width:14cqw;height:4.4cqw;background:repeating-linear-gradient(135deg,var(--wa) 0 1.1cqw,var(--wb) 1.1cqw 2.2cqw);opacity:.93}
.al-pr[data-fs=washi] .al-fr::before{left:-7cqw;top:-2.2cqw;transform:rotate(-40deg)}
.al-pr[data-fs=washi] .al-fr::after{right:-7cqw;bottom:-2.2cqw;transform:rotate(-40deg)}
/* Polaroid: a white card that holds the photo and its words (the card is drawn behind both) */
.al-card{position:absolute;background:#fffdf6;box-shadow:0 1px 1px rgba(0,0,0,.28),0 8px 16px rgba(0,0,0,.2)}
.al-pr[data-fs=polaroid] .al-fr{background:transparent;box-shadow:none}
.al-pr[data-fs=polaroid] .al-fr::before{content:"";position:absolute;inset:2.2cqw;pointer-events:none;box-shadow:inset 0 0 .7cqw rgba(0,0,0,.4)}
/* push pin: a red pin in the top middle */
.al-pr[data-fs=pin] .al-fr::before{content:"";position:absolute;left:50%;top:-1.2cqw;width:3.8cqw;height:3.8cqw;margin-left:-1.9cqw;border-radius:50%;pointer-events:none;background:radial-gradient(circle at 34% 30%,#ffd5d0 0 9%,#e4483d 34%,#a1221a 80%);box-shadow:.3cqw .7cqw .9cqw rgba(0,0,0,.38),inset -.3cqw -.3cqw .5cqw rgba(0,0,0,.28)}
/* a gallery frame: a fine black line round a white mat */
.al-pr[data-fs=gallery] .al-fr{box-shadow:0 0 0 .32cqw #1c1a18,0 1px 2px rgba(0,0,0,.3),0 9px 18px rgba(0,0,0,.24)}
.al-pr[data-fs=gallery] .al-fr::before{content:"";position:absolute;inset:2.2cqw;pointer-events:none;box-shadow:0 0 0 .18cqw rgba(0,0,0,.38)}
/* a gold frame, with a cream edge round the photo */
.al-pr[data-fs=gold] .al-fr{background:linear-gradient(135deg,#f7e08f 0,#c99a2e 22%,#f6dc7e 42%,#a8791d 62%,#efd06a 82%,#b98a25 100%);box-shadow:inset 0 0 0 .22cqw rgba(110,72,0,.6),inset 0 0 .9cqw rgba(255,244,190,.7),0 1px 1px rgba(0,0,0,.3),0 9px 18px rgba(0,0,0,.26)}
.al-pr[data-fs=gold] .al-fr::before{content:"";position:absolute;inset:1.45cqw;pointer-events:none;box-shadow:inset 0 0 0 .75cqw #efe3c0,0 0 .6cqw rgba(0,0,0,.45)}
/* a wooden frame */
.al-pr[data-fs=wood] .al-fr{background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(0,0,0,.2)),repeating-linear-gradient(94deg,#86562b 0 .5cqw,#744a22 .5cqw 1cqw,#8d5d30 1cqw 1.4cqw);box-shadow:inset 0 0 0 .2cqw rgba(0,0,0,.45),inset .25cqw .25cqw .5cqw rgba(255,255,255,.25),0 1px 1px rgba(0,0,0,.3),0 9px 18px rgba(0,0,0,.28)}
.al-pr[data-fs=wood] .al-fr::before{content:"";position:absolute;inset:1.45cqw;pointer-events:none;box-shadow:inset 0 0 0 .75cqw #f3ead2,0 0 .6cqw rgba(0,0,0,.5)}
/* no mount at all: the photo alone, with a soft shadow */
.al-pr[data-fs=none] .al-fr{background:transparent;box-shadow:none}
.al-pr[data-fs=none] .al-fr img{box-shadow:0 1px 1px rgba(0,0,0,.3),0 8px 16px rgba(0,0,0,.28)}
/* how each hangs: taped, pinned and Polaroid prints are a little crooked; framed and plain ones are straight */
.al-pr[data-fs=tape],.al-pr[data-fs=masking],.al-pr[data-fs=washi],.al-pr[data-fs=pin]{--t:-1.4deg}
.al-pr[data-fs=tape]:nth-child(even),.al-pr[data-fs=masking]:nth-child(even),.al-pr[data-fs=washi]:nth-child(even),.al-pr[data-fs=pin]:nth-child(even){--t:1.2deg}
.al-pr[data-fs=polaroid]{--t:-1.7deg}.al-pr[data-fs=polaroid]:nth-child(even){--t:1.5deg}
.al-pr[data-fs=gallery],.al-pr[data-fs=gold],.al-pr[data-fs=wood],.al-pr[data-fs=border],.al-pr[data-fs=none]{--t:0deg}
.al-pr figcaption{position:absolute;left:0;right:0;margin:0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;text-align:center;font:italic 500 clamp(.7rem,3cqw,1.5rem)/1.18 "EB Garamond",Georgia,serif;color:#4a3a2e}
.al-pr figcaption b{margin-right:.5em;font:700 .64em/1 var(--font);font-style:normal;letter-spacing:.14em;text-transform:uppercase;color:#8a6f55}

/* how many photos on this page (1 to 4): shown at the foot of each page while the office arranges the pages */
.al-arr{display:none;position:absolute;left:50%;bottom:1.5cqw;transform:translateX(-50%);z-index:5;align-items:center;gap:5px;padding:4px 7px 4px 13px;border-radius:99px;background:rgba(255,253,246,.95);box-shadow:0 2px 10px rgba(0,0,0,.28);color:#5a2231;font:700 clamp(.66rem,2.4cqw,.9rem)/1 var(--font);white-space:nowrap}
.al-arrange .al-arr{display:flex}
.al-arr span{margin-right:3px}.al-arr .s{display:none}
.al-arr button{width:2.1em;height:2.1em;min-width:24px;min-height:24px;padding:0;border:1.5px solid #c9b79a;border-radius:50%;background:#fff;color:#3a2f27;font:inherit;cursor:pointer}
.al-arr button:hover{border-color:#5a2231}
.al-arr button.on{background:#5a2231;border-color:#5a2231;color:#fff}
@container (max-width:430px){.al-arr .l{display:none}.al-arr .s{display:inline}}

/* ---- the buttons under the book: one thin line of small round buttons (the book keeps the room) ---- */
.al-ctl{display:flex;align-items:center;justify-content:center;gap:10px;padding:6px 0 8px;position:sticky;bottom:0;z-index:30;background:color-mix(in srgb,var(--bg) 88%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.al-ib{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:var(--brand);color:var(--brand-ink);cursor:pointer;box-shadow:0 4px 12px rgba(5,10,30,.26);transition:transform .15s,filter .15s,opacity .2s}
.al-ib:hover{filter:brightness(1.14)}.al-ib:active{transform:scale(.94)}   /* a press you can feel */
.al-ib:disabled{opacity:.38;cursor:default;box-shadow:none;filter:none}
.al-ib svg{width:20px;height:20px}
.al-ib.al-ghost{margin-left:6px;border:1.5px solid var(--line);background:var(--surface);color:var(--link);box-shadow:none}
.al-ib.al-ghost:hover{border-color:var(--brand);filter:none}
.al-pos{margin:0;min-width:9.5em;text-align:center;font:700 1rem/1.2 var(--font);color:var(--ink)}
.al-root button:focus-visible,.al-ov button:focus-visible{outline:3px solid var(--link);outline-offset:3px}

/* ---- everything on one screen, and one photo big ---- */
.al-ov{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:3vh 3vw;background:rgba(5,7,15,.74);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.al-ov[hidden]{display:none}
.al-gbox{width:min(1120px,100%);max-height:94vh;display:flex;flex-direction:column;border-radius:22px;background:var(--surface);color:var(--ink);box-shadow:0 30px 80px rgba(0,0,0,.5)}
.al-gbox header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid var(--line)}
.al-gbox h3{margin:0;font:600 1.6rem/1.1 "EB Garamond",Georgia,serif}
.al-g{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;padding:18px 20px 22px;overflow:auto}
.al-g button{display:grid;gap:6px;padding:0;border:0;background:none;color:var(--ink);text-align:left;cursor:pointer;font:600 .84rem/1.25 var(--font)}
.al-g img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:var(--soft);transition:transform .2s,box-shadow .2s}
@media (hover:hover){.al-g button:hover img{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.25)}}
.al-g small{display:block;color:var(--muted);font-weight:500}
.al-xb{min-height:46px;padding:0 1.2em;border:1.5px solid var(--line);border-radius:99px;background:var(--surface);color:var(--ink);font:700 .96rem/1 var(--font);cursor:pointer}
.al-lbx{display:grid;grid-template-rows:1fr auto;gap:14px;width:min(1100px,100%);height:94vh}
.al-im{min-height:0;display:grid;place-items:center}
.al-im img{max-width:100%;max-height:100%;width:auto;border-radius:6px;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.al-lbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 14px;color:#fff;text-align:center}
.al-lbar p{margin:0;flex:1 1 100%;font:italic 500 1.25rem/1.3 "EB Garamond",Georgia,serif}
.al-lbar .al-xb{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.35);color:#fff}

/* the pop-ups arrive (not from nothing: from nearly full size) and a new big photo fades in; they leave at once */
@keyframes al-fade{from{opacity:0}}
@keyframes al-pop{from{opacity:0;transform:scale(.96)}}
.al-ov.al-in{animation:al-fade .2s var(--al-ease) both}
.al-ov.al-in .al-gbox,.al-ov.al-in .al-lbx{animation:al-pop .26s var(--al-ease) both}
.al-im img{animation:al-fade .18s ease-out}

/* ---- nothing in the album yet ---- */
.al-empty{max-width:560px;margin:34px auto 20px;padding:34px 28px;border:1px solid var(--line);border-radius:22px;background:var(--surface);text-align:center}
.al-empty h2{margin:0 0 8px;font:600 clamp(1.5rem,3vw,2rem)/1.15 "EB Garamond",Georgia,serif}
.al-empty p{margin:0;color:var(--muted)}
.al-empty .btn{margin-top:16px}

@media (prefers-reduced-motion:reduce){.al-ib,.al-g img,.al-bk,.al-ribbon{transition:none}.al-ov.al-in,.al-ov.al-in .al-gbox,.al-ov.al-in .al-lbx,.al-im img{animation:none}}

/* a phone or a narrow window: the line stays at the left, so that the site's chat button, floating at the right above the tab bar, is not over it */
@container al (max-width:560px){
  .al-bar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.al-bar::-webkit-scrollbar{display:none}.al-bar>*{flex:none}.al-bar-note{display:none}   /* the office's line stays one thin row on a phone */
  .al-ctl{justify-content:flex-start;padding-right:64px}
  .al-pos{min-width:0;flex:0 1 auto;font-size:.95rem}
}
/* under 1120 pixels the site has its tab bar fixed at the bottom of the screen: the buttons of the album sit above it */
@media (max-width:1119px){.al-ctl{bottom:calc(65px + env(safe-area-inset-bottom))}}
/* ============ What a finger and a tired eye need: found by an audit of the final site (decision 90). Last in the order, so it settles what the parts before it left. ============ */

/* ---- the skip link: the first stop of the keyboard, out of sight until it has the focus (it takes the keyboard past the nine menu words to the page) ---- */
.c-skip{position:fixed;left:14px;top:-90px;z-index:1000;padding:.9em 1.2em;border:0;border-radius:99px;background:var(--brand);color:#fff;font:700 .92rem/1.2 var(--font-menu,var(--font));cursor:pointer;box-shadow:0 8px 24px rgba(15,23,48,.3);transition:top .15s}
.c-skip:focus{top:14px}
.c-skip:focus-visible{outline:3px solid #ffb81c;outline-offset:2px}
main:focus{outline:0}   /* the page takes the keyboard from the skip link without a ring around the whole page */

/* ---- where a finger meets a control it is at least 44 px high (a phone, a tablet, or any touch screen): the words stay where they are, the room around them grows ---- */
@media (pointer:coarse),(max-width:820px){
  .c-footer a{display:inline-flex;align-items:center;min-height:44px}
  .c-footer .c-lang button{height:44px}
  .c-callink{min-height:44px}
  .v-h a{display:inline-flex;align-items:center;min-height:44px}
  .vi-facts dd a{display:inline-flex;align-items:center;min-height:44px}
  .c-brand{padding-block:7px;margin-block:-7px}
  .v-ev-body a{display:block;padding-block:9px;margin-block:-9px}   /* the title of an event card: the same place on the page, a taller touch area */
  .c-pill>button{min-height:44px}
  .ps-dots button{position:relative}
  .ps-dots button::before{content:"";position:absolute;inset:-10px -3px}   /* the dots of a photo stack stay small; the touch area around each is 28 px high */
}
@media (hover:none){.ps-L-flip .ps-nav{width:44px;height:44px;top:calc(4% + 44% - 22px)}}

/* ---- line endings: no single word alone on the last line of a paragraph, and headings in even lines (where the browser knows how) ---- */
p,li,dd,figcaption,blockquote{text-wrap:pretty}
h1,h2,h3,h4{text-wrap:balance}
/* =====================================================================================================================
   The look of the Admin (the church, 2026-11-30: "Beautify the admin area. Looks so 90's. Needs to be amazing looking, modern,
   easy to use, simple ... with nice fonts, something that is very clear. We are not dealing with tech savvy people.")

   What this file does, and the rules it keeps:
   - One family (Figtree, already loaded for the site), one size scale, one set of colours, one shape for buttons and fields.
   - A calm second layer for the menu (a white panel on a soft grey page), bigger type (16px), bigger controls (44-48px).
   - Lists of choices are grouped lists (a rounded block of lines with a small arrow), like the iPhone's Settings, not rows of boxes.
   - A button that must be PRESSED AND HELD (remove, delete, restore...) carries a small ring, so it is known at a glance.
   - Everything is scoped to .a-wrap (the Admin's frame) and the Admin's dialogs, so the public pages and the members' area do not change.
   - Nothing here changes how a screen works; the words are written for people with no tech knowledge (see admin-text rules).
   It is the last part of theme.css, so at equal weight it wins over core.css.
   ===================================================================================================================== */

:root {
  --a-bg: #f4f5f9; --a-surface: #fff; --a-hover: #f1f3fa; --a-line: #e4e7f0; --a-line2: #cdd3e3;
  --a-ink: #131a33; --a-ink2: #3b4361; --a-muted: #5d6786; --a-ph: #68728f;
  --a-brand: #14286e; --a-brand-h: #1d3a9a; --a-brand-soft: #e7ebfa; --a-link: #14286e; --a-on-brand: #fff;
  --a-ok: #0f6b3c; --a-ok-soft: #e3f5ea; --a-warn: #7a4d00; --a-warn-soft: #fff1cf;
  --a-bad: #a8281d; --a-bad-soft: #fdeceb; --a-bad-line: #f3c3be; --a-bad-solid: #c4352a;
  --a-shadow: 0 1px 2px rgba(19, 26, 51, .05), 0 12px 28px -14px rgba(19, 26, 51, .16);
  --a-ring: 0 0 0 4px rgba(20, 40, 110, .18); --a-focus: #3552d6;
  --a-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%235d6786' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.75 7 7.25l5.5-5.5'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    --a-bg: #0c1122; --a-surface: #151c33; --a-hover: #1c2542; --a-line: #263050; --a-line2: #38446a;
    --a-ink: #eef1fb; --a-ink2: #c7cee6; --a-muted: #a6afcb; --a-ph: #8791b0;
    --a-brand: #3f5fd6; --a-brand-h: #5573e6; --a-brand-soft: #1f2a52; --a-link: #9fb4ff; --a-on-brand: #fff;
    --a-ok: #8fe0b0; --a-ok-soft: #14301f; --a-warn: #ffd98a; --a-warn-soft: #3a2c0a;
    --a-bad: #ffb4ab; --a-bad-soft: #3a1a1c; --a-bad-line: #6a2a2d; --a-bad-solid: #d1392e;
    --a-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 28px -14px rgba(0, 0, 0, .6);
    --a-ring: 0 0 0 4px rgba(120, 150, 255, .3); --a-focus: #9fb4ff;
    --a-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23a6afcb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 1.75 7 7.25l5.5-5.5'/%3E%3C/svg%3E");
  }
}

/* ---------- the page and the frame ---------- */
html.r-admin body { background: var(--a-bg); }
.a-wrap {
  max-width: 1500px; grid-template-columns: 300px minmax(0, 1fr); align-items: start;
  font: 400 16px/1.55 var(--font); color: var(--a-ink); accent-color: var(--a-brand); caret-color: var(--a-brand);
  -webkit-font-smoothing: antialiased;
}
.a-wrap ::selection { background: color-mix(in srgb, var(--a-brand) 24%, transparent); }
.a-wrap * { scrollbar-color: var(--a-line2) transparent; }
.a-wrap h1, .a-wrap h2, .a-wrap h3, .a-wrap h4 { font-family: var(--font); text-transform: none; color: var(--a-ink); text-wrap: balance; }
.a-wrap h1 { font-size: 2.125rem; font-weight: 800; line-height: 1.12; letter-spacing: -.028em; margin: 0 0 .4em; }
.a-wrap h2 { font-size: 1.5rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.a-wrap h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; margin: 0 0 .4em; }
.a-wrap h4 { font-size: 1rem; font-weight: 700; }
.a-wrap p { line-height: 1.55; }
.a-wrap .muted, .a-wrap small { color: var(--a-muted); }
.a-wrap a:not([class]) { color: var(--a-link); text-underline-offset: .18em; }
.a-wrap .a-body { padding: 34px clamp(22px, 3.6vw, 52px) 140px; max-width: 1180px; }
.a-wrap .a-lead { font-size: 1.0625rem; color: var(--a-ink2); max-width: 64ch; margin: 0 0 1.8em; line-height: 1.55; }
.a-wrap .a-h { font-size: 1.25rem; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; margin: 2.2em 0 .8em; }
.a-wrap .a-h small { font-weight: 600; font-size: .9375rem; color: var(--a-muted); letter-spacing: 0; }

/* ---------- the menu (a white panel that floats on the grey page) ---------- */
.a-wrap .a-tabs {
  position: sticky; top: 88px; align-self: start; max-height: calc(100dvh - 108px); overflow: auto; overscroll-behavior: contain;
  margin: 22px 0 22px 22px; padding: 20px 12px 76px; gap: 2px; background: var(--a-surface); border: 1px solid var(--a-line);
  border-radius: 22px; box-shadow: var(--a-shadow); scrollbar-width: thin;
}
.a-wrap .a-tabs > b { padding: 2px 12px 14px; font: 800 1.25rem/1.2 var(--font); letter-spacing: -.02em; text-transform: none; color: var(--a-ink); }
.a-wrap .a-tabs a.a-item-link, .a-wrap .a-tabs summary.a-item-link {
  min-height: 46px; padding: 0 12px; gap: 13px; border-radius: 13px; font-size: 1rem; font-weight: 500; line-height: 1.25; color: var(--a-ink2);
  transition: background .15s, color .15s;
}
.a-wrap .a-tabs a.a-item-link svg, .a-wrap .a-tabs summary.a-item-link svg { width: 21px; height: 21px; opacity: 1; color: var(--a-muted); stroke-width: 1.75; }
.a-wrap .a-tabs a.a-item-link:hover, .a-wrap .a-tabs summary.a-item-link:hover { background: var(--a-hover); color: var(--a-ink); }
.a-wrap .a-tabs a.a-item-link.on { background: var(--a-brand-soft); color: var(--a-link); font-weight: 700; }
.a-wrap .a-tabs a.a-item-link.on svg { color: var(--a-link); opacity: 1; }
.a-wrap .a-tabs a:focus-visible, .a-wrap .a-tabs summary:focus-visible, .a-wrap .a-tabs button:focus-visible { outline: 3px solid var(--a-focus); outline-offset: 2px; }
.a-wrap .a-tabs a.a-item-link em, .a-wrap .a-tabs summary.a-item-link em {
  display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 .55em; border-radius: 99px; background: var(--a-hover);
  color: var(--a-muted); font: 700 .8125rem/1 var(--font); font-style: normal; opacity: 1;
}
.a-wrap .a-tabs .c-badge-pop { background: var(--a-bad-solid) !important; color: #fff !important; }
.a-wrap .a-grp { margin: 20px 12px 6px; font: 700 .8125rem/1.3 var(--font); letter-spacing: .01em; text-transform: none; color: var(--a-muted); }
.a-wrap .a-tabs .a-fold { margin: 8px 0 0; border-top: 1px solid var(--a-line); padding-top: 8px; }
.a-wrap .a-tabs .a-fold > summary {
  min-height: 44px; padding: 0 12px; border-radius: 13px; font: 800 1rem/1.2 var(--font); letter-spacing: -.01em; text-transform: none; color: var(--a-ink);
}
.a-wrap .a-tabs .a-fold > summary:hover { background: var(--a-hover); }
.a-wrap .a-tabs .a-fold > a.a-item-link { margin-left: 0; }
.a-wrap .a-tabs .a-fold .a-grp { margin: 14px 12px 4px; }
.a-wrap .a-tabs .a-fold .a-tree { margin-left: 0; }
.a-wrap .a-tree ul { margin: 2px 0 8px 22px; padding: 0 0 0 10px; border-left: 1px solid var(--a-line); }
.a-wrap .a-tree ul a { padding: .5em .75em; border-radius: 10px; font-size: .9375rem; color: var(--a-ink2); }
.a-wrap .a-tree ul a:hover { background: var(--a-hover); color: var(--a-ink); }
.a-wrap .a-tree ul a.on { background: var(--a-brand-soft); color: var(--a-link); font-weight: 700; }
.a-wrap .a-tree summary svg { width: 17px; height: 17px; }
.a-wrap .a-foot { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--a-line); }
.a-wrap .a-foot a, .a-wrap .a-foot button { min-height: 44px; border-radius: 13px !important; font-size: 1rem !important; color: var(--a-muted) !important; }
.a-wrap .a-foot a:hover, .a-wrap .a-foot button:hover { background: var(--a-hover) !important; color: var(--a-ink) !important; }

/* ---------- cards ---------- */
.a-wrap .a-card, .a-wrap .a-item, .a-wrap .ap-card {
  padding: 24px 26px; border: 1px solid var(--a-line); border-radius: 20px; background: var(--a-surface); box-shadow: var(--a-shadow); margin-bottom: 20px;
}
.a-wrap .a-list .a-item { margin: 0; }
.a-wrap .a-card > h3:first-child, .a-wrap .a-item h3 { margin-top: 0; }
.a-wrap .a-card p { color: var(--a-ink2); }
.a-wrap .a-card p:last-child { margin-bottom: 0; }
.a-wrap .a-item { gap: 22px; }
.a-wrap .c-empty, .a-wrap .a-p-none { padding: 44px 24px; text-align: center; color: var(--a-muted); border: 1.5px dashed var(--a-line2); border-radius: 20px; background: transparent; }
.a-wrap .a-note {
  padding: 14px 18px; border-radius: 14px; background: var(--a-warn-soft); color: var(--a-warn); border: 1px solid color-mix(in srgb, var(--a-warn) 18%, transparent);
  font-size: .9375rem; line-height: 1.5;
}

/* ---------- "Start here": the lists of what needs you and what you can do ---------- */
.a-wrap .a-stats, .a-wrap .a-do {
  display: block; max-width: 900px; margin: 0 0 26px; border: 1px solid var(--a-line); border-radius: 20px; background: var(--a-surface); box-shadow: var(--a-shadow); overflow: hidden;
}
.a-wrap .a-stats > * {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 12px 22px; border: 0; border-bottom: 1px solid var(--a-line);
  border-radius: 0; background: none; color: var(--a-ink); text-decoration: none; transition: background .15s;
}
.a-wrap .a-stats > *:last-child, .a-wrap .a-do > a:last-child { border-bottom: 0; }
.a-wrap .a-stats > *:hover { background: var(--a-hover); }
.a-wrap .a-stats small { order: 1; display: block; font-size: 1.0625rem; color: var(--a-ink2); }
.a-wrap .a-stats b { order: 2; display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 .6em; border-radius: 99px; background: var(--a-hover); color: var(--a-muted); font: 700 1.0625rem/1 var(--font); letter-spacing: 0; }
.a-wrap .a-stats a.hot { border-color: var(--a-line); box-shadow: none; }
.a-wrap .a-stats .hot small { color: var(--a-ink); font-weight: 700; }
.a-wrap .a-stats .hot b { background: var(--a-bad-solid); color: #fff; }
.a-wrap .a-do > a {
  display: grid; grid-template-columns: 46px minmax(0, 1fr) 14px; grid-template-areas: "i t c" "i d c"; column-gap: 16px; row-gap: 1px; align-items: center;
  padding: 14px 20px; border: 0; border-bottom: 1px solid var(--a-line); border-radius: 0; background: none; color: var(--a-ink); text-decoration: none; transform: none;
  transition: background .15s;
}
.a-wrap .a-do > a:hover { background: var(--a-hover); transform: none; border-color: var(--a-line); }
.a-wrap .a-do > a > svg { grid-area: i; width: 46px; height: 46px; padding: 11px; margin: 0; border-radius: 13px; background: var(--a-brand-soft); color: var(--a-link); }
.a-wrap .a-do > a > b { grid-area: t; font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.a-wrap .a-do > a > small { grid-area: d; color: var(--a-muted); font-size: .9375rem; line-height: 1.35; }
.a-wrap .a-do > a::after { content: ""; grid-area: c; justify-self: end; width: 9px; height: 9px; border-right: 2px solid var(--a-muted); border-top: 2px solid var(--a-muted); transform: rotate(45deg); opacity: .7; }
.a-wrap .a-do > a:hover::after { opacity: 1; border-color: var(--a-link); }

/* ---------- buttons: one shape (a rounded rectangle), three weights (the main thing, a quiet one, a red one) ---------- */
.a-wrap .btn, .c-modal .a-confirm .btn, .c-modal .a-confirm-btns .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: 0 1.25em; border-radius: 13px; border: 1px solid var(--a-brand);
  background: var(--a-brand); color: var(--a-on-brand); font: 700 1rem/1.2 var(--font); letter-spacing: 0; text-decoration: none; cursor: pointer; box-shadow: 0 1px 2px rgba(20, 40, 110, .2);
  transition: background .16s, border-color .16s, box-shadow .16s, transform .08s;
}
.a-wrap .btn:hover, .c-modal .a-confirm .btn:hover { background: var(--a-brand-h); border-color: var(--a-brand-h); }
.a-wrap .btn:active { transform: translateY(1px); }
.a-wrap .btn:focus-visible, .c-modal .a-confirm .btn:focus-visible { outline: 3px solid var(--a-focus); outline-offset: 2px; }
.a-wrap .btn.ghost, .c-modal .a-confirm .btn.ghost { background: var(--a-surface); color: var(--a-ink); border-color: var(--a-line2); box-shadow: none; }
.a-wrap .btn.ghost:hover, .c-modal .a-confirm .btn.ghost:hover { background: var(--a-hover); border-color: color-mix(in srgb, var(--a-ink) 28%, transparent); }
.a-wrap .btn.sm { min-height: 40px; padding: 0 1em; border-radius: 11px; font-size: .9375rem; }
.a-wrap .btn.lg { min-height: 54px; padding: 0 1.6em; font-size: 1.0625rem; }
.a-wrap .btn.danger, .a-wrap .btn.ghost.danger { background: var(--a-bad-soft); color: var(--a-bad); border-color: var(--a-bad-line); box-shadow: none; }
.a-wrap .btn.danger:hover, .a-wrap .btn.ghost.danger:hover { background: color-mix(in srgb, var(--a-bad) 14%, var(--a-surface)); border-color: color-mix(in srgb, var(--a-bad) 45%, transparent); }
.a-wrap .btn[disabled], .a-wrap .btn:disabled, .a-wrap .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; box-shadow: none; pointer-events: none; }
.a-wrap p > .btn, .a-wrap .a-card .btn + .btn { margin: 0 4px 6px 0; }

/* a small target says: press and HOLD this button (buttons that already carry an icon keep it) */
.a-wrap .btn.c-hold::before, .a-wrap .a-mdel.c-hold::before {
  content: ""; flex: none; width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; opacity: .8;
  background: radial-gradient(circle, currentColor 0 26%, transparent 30%);
}
.a-wrap .c-hold.c-holding::before { animation: a-press .9s ease-in-out infinite; }
@keyframes a-press { 50% { transform: scale(.72); } }
@media (prefers-reduced-motion: reduce) { .a-wrap .c-hold.c-holding::before { animation: none; } }

/* ---------- fields ---------- */
.a-wrap .c-field { display: grid; gap: 8px; margin: 0; }
.a-wrap .c-field > span { font-size: .9375rem; font-weight: 700; color: var(--a-ink); line-height: 1.35; }
.a-wrap .c-field > span small, .a-wrap .c-field > small { font-weight: 500; color: var(--a-muted); }
.a-wrap .c-form { gap: 18px; }
.a-wrap input:not([type]), .a-wrap input[type="text"], .a-wrap input[type="email"], .a-wrap input[type="url"], .a-wrap input[type="tel"], .a-wrap input[type="search"], .a-wrap input[type="number"], .a-wrap input[type="password"], .a-wrap input[type="date"], .a-wrap input[type="time"], .a-wrap input[type="datetime-local"], .a-wrap textarea, .a-wrap select, .c-modal .a-confirm input:not([type="checkbox"]):not([type="radio"]), .c-modal .a-confirm textarea, .c-modal .a-confirm select {
  width: 100%; min-height: 48px; padding: .65em .95em; border: 1px solid var(--a-line2); border-radius: 12px; background-color: var(--a-surface); color: var(--a-ink);
  font: 400 1rem/1.4 var(--font); box-shadow: inset 0 1px 0 rgba(19, 26, 51, .02); transition: border-color .15s, box-shadow .15s; box-sizing: border-box;
}
.a-wrap textarea, .c-modal .a-confirm textarea { min-height: 7.5rem; padding-top: .75em; line-height: 1.5; resize: vertical; }
.a-wrap select, .c-modal .a-confirm select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6em; background-image: var(--a-chev); background-repeat: no-repeat; background-position: right 1em center; background-size: .9em; cursor: pointer;
}
.a-wrap input:hover, .a-wrap textarea:hover, .a-wrap select:hover { border-color: color-mix(in srgb, var(--a-ink) 32%, transparent); }
.a-wrap input:focus, .a-wrap textarea:focus, .a-wrap select:focus, .c-modal .a-confirm input:focus, .c-modal .a-confirm textarea:focus {
  outline: none; border-color: var(--a-brand); box-shadow: var(--a-ring);
}
.a-wrap ::placeholder, .c-modal .a-confirm ::placeholder { color: var(--a-ph); opacity: 1; }
.a-wrap input[type="checkbox"], .a-wrap input[type="radio"] { width: 20px; height: 20px; min-height: 0; padding: 0; flex: none; accent-color: var(--a-brand); }
.a-wrap input:disabled, .a-wrap textarea:disabled, .a-wrap select:disabled { background-color: var(--a-hover); color: var(--a-muted); cursor: not-allowed; }
.a-wrap input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; cursor: pointer; }
.a-wrap .a-fields { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px 24px; }
.a-wrap label:has(> input[type="checkbox"]), .a-wrap label:has(> input[type="radio"]) { display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; cursor: pointer; }

/* ---------- small things: pills, filters, tables ---------- */
.a-wrap .c-pill {
  display: inline-flex; align-items: center; gap: .4em; min-height: 26px; padding: 0 .75em; border-radius: 99px; background: var(--a-hover); color: var(--a-ink2);
  font-size: .8125rem; font-weight: 700; line-height: 1;
}
.a-wrap .c-pill.new, .a-wrap .c-pill.pending { background: var(--a-warn-soft); color: var(--a-warn); }
.a-wrap .c-pill.approved, .a-wrap .c-pill.good, .a-wrap .c-pill.done { background: var(--a-ok-soft); color: var(--a-ok); }
.a-wrap .c-pill.off, .a-wrap .c-pill.none, .a-wrap .c-pill.not { background: var(--a-hover); color: var(--a-muted); }
.a-wrap .c-pill.live, .a-wrap .c-pill.sec-blocked { background: var(--a-bad-soft); color: var(--a-bad); }
.a-wrap .c-pill.a-p-title { background: var(--a-brand-soft); color: var(--a-link); }
.a-wrap .a-p-chip {
  min-height: 42px; padding: 0 1em; gap: 8px; border: 1px solid var(--a-line2); border-radius: 99px; background: var(--a-surface); color: var(--a-ink); font: 700 .9375rem/1 var(--font);
  transition: background .15s, border-color .15s;
}
.a-wrap .a-p-chip:hover { background: var(--a-hover); border-color: var(--a-line2); }
.a-wrap .a-p-chip.on { background: var(--a-brand); border-color: var(--a-brand); color: var(--a-on-brand); }
.a-wrap .a-p-chip b { padding: .2em .6em; font-size: .8125rem; background: var(--a-hover); color: var(--a-muted); }
.a-wrap .a-p-chip.on b { background: rgba(255, 255, 255, .22); color: inherit; }
.a-wrap .a-p-chips { gap: 10px; }

/* ---------- Visitor numbers: the figures, the line of days and the two lists ---------- */
.a-wrap #vi-body .a-p-chips, .a-wrap .a-lead + .a-p-chips { margin: 0 0 20px; }
.a-wrap .a-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 20px; border: 1px solid var(--a-line); border-radius: 20px; background: var(--a-surface); box-shadow: var(--a-shadow); overflow: hidden; }
.a-wrap .a-figs > div { margin: 0 -1px -1px 0; padding: 22px 26px; border: solid var(--a-line); border-width: 0 1px 1px 0; min-width: 0; }
.a-wrap .a-figs b { display: block; font: 700 2.25rem/1.1 var(--font); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--a-ink); }
.a-wrap .a-figs small { display: block; margin-top: 6px; font-size: 1rem; color: var(--a-ink2); }
.a-wrap .a-cols { gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); }   /* two lists side by side only when each has room for its names and its bars; otherwise one under the other */
.a-wrap .a-axis { display: flex; justify-content: space-between; margin: 8px 0 14px; font-size: .875rem; color: var(--a-muted); }
/* the ranked lists: a name, a bar, a number; the names get the room they need (the longest name sets the first column for every line, so no city is cut), the bars share what is left */
.a-wrap .a-bars li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(36px, 40%) max-content; column-gap: 14px; align-items: center; min-height: 34px; font-size: 1rem; }
@supports (grid-template-columns: subgrid) {
  .a-wrap .a-bars { grid-template-columns: minmax(0, max-content) minmax(36px, 1fr) max-content; column-gap: 14px; }
  .a-wrap .a-bars li { grid-template-columns: subgrid; grid-column: 1 / -1; }
}
.a-wrap .a-bars span { min-width: 0; color: var(--a-ink); }
.a-wrap .a-bars i { height: 10px; border-radius: 99px; background: var(--a-brand); opacity: .85; min-width: 4px; }
.a-wrap .a-bars b { color: var(--a-ink); text-align: right; }
@media (max-width: 700px) {
  .a-wrap .a-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-wrap .a-figs > div { padding: 18px 20px; }
  .a-wrap .a-figs b { font-size: 1.875rem; }
}
.a-wrap .a-table { background: var(--a-surface); border-radius: 16px; overflow: hidden; }
.a-wrap .a-table th { padding: .85em 1em; font-size: .8125rem; font-weight: 700; letter-spacing: .01em; color: var(--a-muted); background: var(--a-hover); }
.a-wrap .a-table td { padding: .9em 1em; font-size: .9375rem; border-bottom: 1px solid var(--a-line); }
.a-wrap .a-table tr:last-child td { border-bottom: 0; }
.a-wrap .a-table tbody tr:hover td { background: var(--a-hover); }
.a-wrap .a-rows a { border-color: var(--a-line); border-radius: 16px; padding: 10px 16px 10px 10px; transition: background .15s, border-color .15s; }
.a-wrap .a-rows a:hover { background: var(--a-hover); border-color: var(--a-line2); }

/* ---------- dialogs and messages of the Admin ---------- */
.c-modal .a-confirm-head h2, .c-modal .a-confirm h2 { font: 800 1.375rem/1.25 var(--font); letter-spacing: -.02em; }
.c-modal.confirm .c-modal-box, .c-modal.psm .c-modal-box { border-radius: 24px; box-shadow: 0 30px 90px rgba(10, 14, 32, .45); }
.c-modal .a-confirm-btns { gap: 12px; }
.c-modal .a-confirm-err { border-radius: 12px; font-size: .9375rem; }

/* ---------- on a tablet or a phone ---------- */
@media (max-width: 860px) {
  .a-wrap { grid-template-columns: minmax(0, 1fr); }
  .a-wrap .a-tabs { position: static; max-height: none; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
  .a-wrap.nav-open .a-tabs { margin: 6px 14px 10px; padding: 14px 10px 14px; border: 1px solid var(--a-line); border-radius: 20px; box-shadow: var(--a-shadow); }
  .a-wrap .a-navbtn { min-height: 46px; padding: 0 1.2em; border-radius: 13px; border: 1px solid var(--a-line2); background: var(--a-surface); color: var(--a-ink); font: 700 1rem var(--font); }
  .a-wrap .a-body { padding: 22px 18px 130px; }
  .a-wrap h1 { font-size: 1.75rem; }
  .a-wrap .a-do > a { padding: 12px 16px; }
  .a-wrap .a-card, .a-wrap .a-item, .a-wrap .ap-card { padding: 20px; border-radius: 18px; }
}
@media (max-width: 600px) {
  .a-wrap .a-stats, .a-wrap .a-do { border-radius: 18px; }
  .a-wrap .a-stats > * { padding: 12px 16px; }
  .a-wrap .a-do > a > small { display: block; }
  .a-wrap .a-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .a-wrap *, .c-modal .a-confirm * { transition-duration: .01ms !important; } }

/* ---------- the padlock (drawn, not an emoji) and the calm "all done" line ---------- */
:root {
  --a-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.5'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}
.a-lockic { display: inline-block; width: 1em; height: 1em; margin: 0 .2em 0 .05em; vertical-align: -.14em; background: currentColor; opacity: .72; -webkit-mask: var(--a-lock) center / contain no-repeat; mask: var(--a-lock) center / contain no-repeat; }
.a-wrap .a-lock { font-size: inherit; }
.a-wrap .a-clear {
  display: flex; align-items: center; gap: 16px; max-width: 900px; margin: 0 0 26px; padding: 18px 22px; border-radius: 20px; background: var(--a-ok-soft); color: var(--a-ok);
  border: 1px solid color-mix(in srgb, var(--a-ok) 22%, transparent);
}
.a-wrap .a-clear svg { width: 34px; height: 34px; flex: none; }
.a-wrap .a-clear div { display: grid; gap: 1px; }
.a-wrap .a-clear b { font-size: 1.0625rem; font-weight: 700; }
.a-wrap .a-clear span { color: var(--a-ink2); font-size: 1rem; }

/* ---------- Members: a card per person ---------- */
.a-wrap .a-standsum { padding: 14px 20px; border: 1px solid var(--a-line); border-radius: 16px; background: var(--a-surface); font-size: 1rem; gap: 6px 10px; margin-bottom: 18px; }
.a-wrap .a-standsum i { background: var(--a-line2); }
.a-wrap .a-standsum b { font-weight: 800; }
.a-wrap .a-standsum .a-lock { margin-right: 8px; font-weight: 700; color: var(--a-muted); }
.a-wrap .a-report { align-items: center; gap: 18px 28px; }
.a-wrap .a-report-opts { gap: 14px; }
.a-wrap .a-p-bar { gap: 14px; margin: 6px 0 8px; }
.a-wrap .a-p-search { min-height: 52px; padding: 0 16px; border: 1px solid var(--a-line2); border-radius: 14px; background: var(--a-surface); transition: border-color .15s, box-shadow .15s; }
.a-wrap .a-p-search input { min-height: 0; padding: .85em 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: 1.0625rem; }
.a-wrap .a-p-search:focus-within { border-color: var(--a-brand); box-shadow: var(--a-ring); }
.a-wrap .a-p-search svg { color: var(--a-muted); }
.a-wrap .a-p-count { margin: 4px 4px 12px; font-size: .9375rem; color: var(--a-muted); }
.a-wrap .a-person { grid-template-columns: minmax(230px, 1.1fr) minmax(0, 1.6fr) 224px; gap: 26px; padding: 22px 24px; border: 1px solid var(--a-line); border-radius: 20px; background: var(--a-surface); box-shadow: var(--a-shadow); }
.a-wrap .a-person::before { display: none; }
.a-wrap .a-person.off { background: var(--a-hover); box-shadow: none; }
.a-wrap .a-p-who { gap: 16px; }
.a-wrap .a-p-who h3 { margin: 0; font-size: 1.125rem; font-weight: 700; }
.a-wrap .a-p-mail { margin: 2px 0 8px; color: var(--a-muted); font-size: .9375rem; }
.a-wrap .a-p-tags .c-pill { font-size: .8125rem; }
.a-wrap .a-p-facts { gap: 14px 22px; }
.a-wrap .a-p-facts dt { margin-bottom: 4px; font-size: .8125rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--a-muted); }
.a-wrap .a-p-facts dd { font-size: .9375rem; line-height: 1.45; color: var(--a-ink); }
.a-wrap .a-p-facts dd small { font-size: .8125rem; color: var(--a-muted); }
.a-wrap .a-p-acts { gap: 8px; padding-left: 22px; border-left: 1px solid var(--a-line); }
.a-wrap .a-pbtn {
  height: 46px; padding: 0 14px; gap: 10px; border: 1px solid var(--a-line2); border-radius: 12px; background: var(--a-surface); color: var(--a-ink); font: 700 .9375rem/1 var(--font); transition: background .15s, border-color .15s;
}
.a-wrap .a-pbtn svg { width: 19px; height: 19px; opacity: .85; }
.a-wrap .a-pbtn:hover { background: var(--a-hover); border-color: color-mix(in srgb, var(--a-ink) 28%, transparent); }
.a-wrap .a-pbtn.pri { background: var(--a-brand); border-color: var(--a-brand); color: var(--a-on-brand); }
.a-wrap .a-pbtn.pri:hover { background: var(--a-brand-h); border-color: var(--a-brand-h); filter: none; }
.a-wrap .a-pbtn.danger { background: var(--a-bad-soft); border-color: var(--a-bad-line); color: var(--a-bad); }
.a-wrap .a-pbtn.danger:hover { background: color-mix(in srgb, var(--a-bad) 14%, var(--a-surface)); }
.a-wrap .a-pbtn:focus-visible { outline: 3px solid var(--a-focus); outline-offset: 2px; }
.a-wrap .a-standing.good { border-color: color-mix(in srgb, var(--a-ok) 40%, transparent); background-color: var(--a-ok-soft); color: var(--a-ok); }
.a-wrap .a-standing.not { border-color: color-mix(in srgb, var(--a-warn) 40%, transparent); background-color: var(--a-warn-soft); color: var(--a-warn); }

/* ---------- the website menu, the photos, the lists of items ---------- */
.a-wrap .a-menu .a-card { padding: 16px 18px; }
.a-wrap .a-mrow { gap: 10px; margin-bottom: 10px; }
.a-wrap .a-mrow input:not([type]), .a-wrap .a-mrow select { min-height: 44px; font-size: .9375rem; }
.a-wrap .a-mhide { font-size: .9375rem; color: var(--a-ink2); }
.a-wrap .a-madd { min-height: 38px; font: 700 .9375rem var(--font); color: var(--a-ok); }
.a-wrap .a-mdel { color: var(--a-bad); }
.a-wrap .a-menu-top { margin-bottom: 18px; }
.a-wrap .a-photos { gap: 18px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.a-wrap .a-photos figure { border-color: var(--a-line); border-radius: 18px; box-shadow: var(--a-shadow); }
.a-wrap .a-photos img { height: 140px; }
.a-wrap .a-photos figcaption { padding: 12px 14px 0; font-size: .875rem; line-height: 1.4; }
.a-wrap .a-photos div { padding: 12px 14px 14px; gap: 8px; }
.a-wrap .a-photos div .btn { flex: 1; }
.a-wrap .a-photo img { border-radius: 14px; }
.a-wrap .a-chat { border-color: var(--a-line); border-radius: 20px; box-shadow: var(--a-shadow); }
.a-wrap .a-threads a { padding: 14px 16px; }
.a-wrap .a-thread header { padding: 14px 18px; }
.a-wrap .a-reply textarea { min-height: 52px; }
.a-wrap .a-app summary { min-height: 44px; gap: 14px; font-size: 1rem; }
.a-wrap .a-app dt { font-size: .875rem; font-weight: 700; }
.a-wrap .a-app dl { gap: 8px 22px; }
.a-wrap .v-card, .a-wrap .v-admin { border-radius: 20px; }
.a-wrap details.a-card > summary { cursor: pointer; }

/* ---------- Ministries: one part for each page of the website, closed until it is opened (decision 128) ---------- */
.a-wrap details.a-sec { padding: 0; }
.a-wrap details.a-sec > summary { display: flex; align-items: center; min-height: 68px; padding: 0 26px; gap: 14px; list-style: none; cursor: pointer; border-radius: 20px; transition: background .15s; }
.a-wrap details.a-sec > summary::-webkit-details-marker { display: none; }
.a-wrap details.a-sec > summary:hover { background: var(--a-hover); }
.a-wrap details.a-sec > summary:focus-visible { outline: 3px solid var(--a-focus); outline-offset: -3px; }
.a-wrap details.a-sec > summary b { font: 800 1.125rem/1.2 var(--font); letter-spacing: -.012em; color: var(--a-ink); }
.a-wrap details.a-sec > summary small { margin-left: auto; padding: .4em .9em; border-radius: 99px; background: var(--a-hover); color: var(--a-muted); font: 700 .8125rem/1 var(--font); }
.a-wrap details.a-sec > summary::after { content: ''; flex: none; width: 14px; height: 9px; background: var(--a-chev) center / contain no-repeat; transition: transform .2s; }
.a-wrap details.a-sec[open] > summary::after { transform: rotate(180deg); }
.a-wrap details.a-sec[open] > summary { border-bottom: 1px solid var(--a-line); border-radius: 20px 20px 0 0; }
.a-wrap details.a-sec > :not(summary) { margin-inline: 26px; }
.a-wrap details.a-sec > summary + p { margin-top: 20px; }
.a-wrap details.a-sec > .a-list { display: grid; gap: 18px; margin-bottom: 22px; }
.a-wrap details.a-sec > p:last-child { margin-bottom: 26px; }
.a-wrap details.a-sec .a-item { margin-bottom: 0; box-shadow: none; background: var(--a-bg); }
@media (prefers-reduced-motion: reduce) { .a-wrap details.a-sec > summary, .a-wrap details.a-sec > summary::after { transition: none; } }

/* ---------- the French and Portuguese boxes of a ministry (decision 129) ----------
   One fold under each ministry: English, French and Portuguese side by side, one row for each sentence (the name, when it meets, each line of the description). The three boxes of a row share their top and bottom
   edges; a hint under one box ("before the English changed, this said...") has its own row, so it never moves the others. On a phone the three are one under another. */
.a-wrap .a-item-wide:has(> details.a-trf) { display: grid; gap: 20px; width: 100%; min-width: 0; }
.a-wrap details.a-trf { border: 1px solid var(--a-line); border-radius: 16px; background: var(--a-surface); }
.a-wrap details.a-trf > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; min-height: 60px; padding: 10px 20px; list-style: none; cursor: pointer; border-radius: 16px; transition: background .15s; }
.a-wrap details.a-trf > summary::-webkit-details-marker { display: none; }
.a-wrap details.a-trf > summary:hover { background: var(--a-hover); }
.a-wrap details.a-trf > summary:focus-visible { outline: 3px solid var(--a-focus); outline-offset: -3px; }
.a-wrap details.a-trf > summary b { font: 800 1rem/1.2 var(--font); color: var(--a-ink); }
.a-wrap details.a-trf > summary::after { content: ''; flex: none; width: 14px; height: 9px; background: var(--a-chev) center / contain no-repeat; transition: transform .2s; }
.a-wrap details.a-trf[open] > summary::after { transform: rotate(180deg); }
.a-wrap details.a-trf[open] > summary { border-bottom: 1px solid var(--a-line); border-radius: 16px 16px 0 0; }
.a-wrap .a-trf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.a-wrap .a-trf-note { margin: 0; padding: 16px 20px 0; font-size: .9375rem; line-height: 1.5; color: var(--a-muted); }
.a-wrap .a-trf-body { container-type: inline-size; display: grid; gap: 26px; padding: 18px 20px 22px; }
.a-wrap .a-tr-group { display: grid; gap: 16px; }
.a-wrap .a-tr-cap { margin: 0; font: 800 .8125rem/1.2 var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--a-muted); }
.a-wrap .a-tr-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 18px; padding-bottom: 16px; border-bottom: 1px dashed var(--a-line); }
.a-wrap .a-tr-row:last-child { padding-bottom: 0; border-bottom: 0; }
.a-wrap .a-tr-cell { display: flex; flex-direction: column; min-width: 0; }
.a-wrap .a-tr-box { display: flex; flex: 1; flex-direction: column; gap: 8px; min-width: 0; }
.a-wrap .a-tr-lab { font-size: .9375rem; font-weight: 700; color: var(--a-ink); line-height: 1.35; }
.a-wrap .a-tr-en p { flex: 1; margin: 0; padding: .65em .95em; min-height: 48px; border-radius: 12px; background: var(--a-hover); color: var(--a-ink2); font: 400 1rem/1.5 var(--font); overflow-wrap: anywhere; }
.a-wrap .a-tr-cell textarea { flex: 1; min-height: 48px; height: auto; resize: vertical; field-sizing: content; }
.a-wrap .a-tr-sug { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--a-warn-soft); color: var(--a-warn); font-size: .875rem; line-height: 1.45; }
.a-wrap .a-tr-sug span { flex: 1 1 11em; min-width: 0; overflow-wrap: anywhere; }
.a-wrap .a-tr-sug .btn { flex: none; }
@container (min-width: 480px) {   /* the English on its own line, French and Portuguese side by side under it */
  .a-wrap .a-tr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto; row-gap: 0; }
  .a-wrap .a-tr-en { grid-column: 1 / -1; margin-bottom: 14px; }
  .a-wrap .a-tr-cell:not(.a-tr-en) { grid-row: span 2; display: grid; grid-template-rows: subgrid; }
}
@container (min-width: 640px) {   /* all three in one line: English, French, Portuguese */
  .a-wrap .a-tr-row { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .a-wrap .a-tr-en { grid-column: auto; grid-row: span 2; display: grid; grid-template-rows: subgrid; margin-bottom: 0; }
}
.a-wrap .a-need { font-style: normal; white-space: nowrap; }
.a-wrap .a-need[hidden] { display: none; }
.a-wrap details.a-sec > summary small { white-space: nowrap; }
@media (max-width: 520px) { .a-wrap details.a-sec > summary:has(.a-need:not([hidden])) small { display: none; } }   /* on a phone the tag that asks for work matters more than the count */
@media (prefers-reduced-motion: reduce) { .a-wrap details.a-trf > summary, .a-wrap details.a-trf > summary::after { transition: none; } }

/* ---------- the toolbar that floats at the bottom of the screen while a person is in the Admin ---------- */
html.r-admin .c-bar { border-radius: 18px; padding: 5px; background: rgba(15, 20, 40, .94); box-shadow: 0 10px 30px rgba(10, 14, 32, .35); font: 600 13.5px/1 var(--font); }
html.r-admin .c-bar a, html.r-admin .c-bar button, html.r-admin .c-bar label { padding: 10px 13px; border-radius: 13px; }

/* the little column of buttons beside an item (move up, move down, delete) is as wide as its widest label */
.a-wrap .a-tools .btn, .a-wrap .a-tools button { min-width: max-content; padding-inline: .8em; white-space: nowrap; }

/* on a tablet or a phone an item is one column; it must not also wrap into a second column to the right (the Ministries items did) */
@media (max-width: 860px) {
  .a-wrap .a-item, .a-wrap .a-item:has(> .a-item-wide) { flex-wrap: nowrap; }
  .a-wrap .a-item > .a-tools { width: auto; }
}

/* the church titles on a phone: the arrows stay small, the red button takes the rest of the line and shows its whole word */
@media (max-width: 560px) {
  .a-wrap .ti-do .btn { flex: 0 0 auto; min-width: 56px; }
  .a-wrap .ti-do .btn.danger { flex: 1 1 auto; min-width: max-content; }
}

/* the small message that slides up at the bottom of the screen ("Photo removed", "Saved") */
html.r-admin .c-toast { bottom: 92px; padding: .85em 1.35em; border-radius: 16px; background: #131a33; font: 600 1rem/1.3 var(--font); box-shadow: 0 14px 40px rgba(10, 14, 32, .35); }
html.r-admin .c-toast button { min-height: 40px; padding: 0 1em; border-radius: 11px; font: 700 .9375rem var(--font); }

/* the name of the office, with the church's mark (the same picture as the app icon of the Admin) */
.a-wrap .a-tabs > b { display: flex; align-items: center; gap: 12px; padding: 2px 8px 16px; font-size: 1.1875rem; line-height: 1.15; }
.a-wrap .a-tabs > b::before {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #14286e url("../assets/img/app-192.png") center / cover no-repeat;
  box-shadow: 0 1px 2px rgba(20, 40, 110, .3);
}

/* keyboard focus is always visible (the rows inside a grouped list draw it inside, so that the list does not cut it off) */
.a-wrap a:focus-visible, .a-wrap summary:focus-visible, .a-wrap button:focus-visible, .a-wrap [tabindex]:focus-visible { outline: 3px solid var(--a-focus); outline-offset: 2px; }
.a-wrap .a-do > a:focus-visible, .a-wrap .a-stats > a:focus-visible { outline-offset: -3px; border-radius: 0; }

/* a person's card on a narrower screen: the facts go under the name and the buttons under the facts (these rules come after the ones above, and they must win over them at every width) */
@media (max-width: 980px) {
  .a-wrap .a-person { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .a-wrap .a-p-acts { grid-column: 1 / -1; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--a-line); }
}
@media (max-width: 640px) {
  .a-wrap .a-person { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 18px; }
  .a-wrap .a-p-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .a-wrap .a-p-acts { grid-template-columns: minmax(0, 1fr); }
  .a-wrap .a-pbtn { height: 48px; }
}

/* a wide table slides sideways inside its own box on a phone, instead of pushing the whole page sideways */
@media (max-width: 700px) {
  .a-wrap .a-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .a-wrap .a-table td, .a-wrap .a-table th { overflow-wrap: anywhere; }
}

/* Sign out keeps the colour of signing out (white on the red-orange, darker when pointed at); the muted colour of the other lines of the foot must not reach it */
.a-wrap .a-foot button.a-signout { background: var(--so) !important; color: #fff !important; border: 0; font-weight: 800; }
.a-wrap .a-foot button.a-signout:hover { background: var(--so-d) !important; color: #fff !important; }

/* a person whose access is off is shown on a grey card; the words stay fully readable (the status says what it is) */
.a-wrap .a-person.off .a-p-who { opacity: 1; }
.a-wrap .a-person.off .a-p-who h3 { color: var(--a-ink2); }

/* the "add a photo" tiles of a stack of photos: buttons have no colour of their own, so they came out UA grey in dark mode (blue words on grey): they take the card's colour */
.a-wrap .ps-ed-add, .c-modal .ps-ed-add { background: var(--a-surface); border-color: var(--a-line2); border-radius: 14px; color: var(--a-link); font-family: var(--font); transition: background .15s, border-color .15s; }
.a-wrap .ps-ed-add:hover, .c-modal .ps-ed-add:hover { background: var(--a-hover); border-color: var(--a-brand); }
.a-wrap .ps-ed-add small, .c-modal .ps-ed-add small { color: var(--a-muted); font-size: .8125rem; }
/* the number inside the chosen filter chip (dark mode: white words on a light blue pill were too faint) */
@media (prefers-color-scheme: dark) { .a-wrap .a-p-chip.on b { background: rgba(0, 0, 0, .28); } }
/* =====================================================================================================================
   Church History in the Admin (decision 120, 2026-12-02). The church: "the way to make the church history is sooo overly complicated ... imagine dumb people
   with no skills ... has to be simple, clear, easy to operate."
   Two screens, both written for someone who has never done this: the LIST of entries (one big button, then the entries in date order, each with a Change button)
   and ONE ENTRY (four numbered questions, the road as buttons, the rare things folded, one Save button that stays in view).
   Everything is scoped to .a-wrap and uses the Admin's own colours (--a-*), so light and dark follow the rest of the Admin. It comes after 60-admin.css.
   ===================================================================================================================== */

/* ---------- the list ---------- */
.a-wrap .he-how { display: grid; gap: 8px; max-width: 66ch; margin: 0 0 24px; padding: 18px 22px; border: 1px solid var(--a-line); border-radius: 18px; background: var(--a-surface); box-shadow: var(--a-shadow); }
.a-wrap .he-how p { margin: 0; color: var(--a-ink2); font-size: 1.0625rem; line-height: 1.5; }
.a-wrap .he-how b { color: var(--a-ink); }
.a-wrap .he-how em { font-style: normal; font-weight: 700; color: var(--a-link); }
.a-wrap .he-top { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 6px; }
.a-wrap .he-list { display: grid; gap: 12px; max-width: 920px; margin: 0 0 32px; }
.a-wrap .he-empty { max-width: 920px; margin: 0 0 32px; }
.a-wrap .he-row {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: 4px 22px; padding: 18px 20px 18px 22px;
  border: 1px solid var(--a-line); border-left: 6px solid var(--hc, var(--a-brand)); border-radius: 16px; background: var(--a-surface); box-shadow: var(--a-shadow);
  color: var(--a-ink); text-decoration: none; transition: background .15s, border-color .15s;
}
.a-wrap .he-row:hover { background: var(--a-hover); }
.a-wrap .he-row:focus-visible { outline: 3px solid var(--a-focus); outline-offset: 2px; }
.a-wrap .he-when { font-size: 1.0625rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; color: var(--a-ink); overflow-wrap: anywhere; }
.a-wrap .he-when i { font-style: normal; font-weight: 600; color: var(--a-muted); }
.a-wrap .he-card { display: grid; gap: 4px; min-width: 0; }
.a-wrap .he-t { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; color: var(--a-ink); overflow-wrap: anywhere; }
.a-wrap .he-ex { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--a-ink2); font-size: .96875rem; line-height: 1.45; }
.a-wrap .he-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 2px; color: var(--a-muted); font-size: .875rem; }
.a-wrap .he-meta:empty { display: none; }
.a-wrap .he-road { display: inline-flex; align-items: center; gap: 7px; padding: 2px 11px 2px 9px; border-radius: 99px; background: color-mix(in srgb, var(--hc) 16%, var(--a-surface)); color: var(--a-ink); font-weight: 700; }
.a-wrap .he-road i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--hc); }
.a-wrap .he-warn { color: var(--a-warn); font-weight: 700; }
.a-wrap .he-go { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--a-line2); border-radius: 12px; background: var(--a-surface); color: var(--a-ink); font-weight: 700; transition: border-color .15s, color .15s; }
.a-wrap .he-row:hover .he-go { border-color: var(--a-brand); color: var(--a-link); }
.a-wrap .he-row.todo { border-style: dashed; border-left-style: solid; }
.a-wrap .he-row.todo .he-t { color: var(--a-muted); font-style: italic; font-weight: 600; }
.a-wrap .he-gold { display: inline-flex; align-items: center; gap: 7px; padding: 2px 11px 2px 9px; border-radius: 99px; background: var(--a-warn-soft); color: var(--a-warn); font-weight: 700; }
.a-wrap .he-gold::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold, #d9a420); }
.a-wrap .he-row.flash { animation: he-flash 2.6s ease-out 1; }
@keyframes he-flash { 0% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--a-brand) 50%, transparent); } 100% { box-shadow: var(--a-shadow); } }
@media (prefers-reduced-motion: reduce) { .a-wrap .he-row.flash { animation: none; box-shadow: 0 0 0 3px var(--a-brand); } }
@media (max-width: 720px) {
  .a-wrap .he-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "when go" "card card"; gap: 10px 14px; padding: 16px 16px 16px 18px; }
  .a-wrap .he-when { grid-area: when; }
  .a-wrap .he-card { grid-area: card; }
  .a-wrap .he-go { grid-area: go; }
}

/* ---------- a fold: "More" on the list, "More choices" on an entry ---------- */
.a-wrap .he-more { max-width: 920px; margin: 0; border: 1px solid var(--a-line); border-radius: 18px; background: var(--a-surface); box-shadow: var(--a-shadow); }
.a-wrap .he-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 18px; list-style: none; cursor: pointer; transition: background .15s; }
.a-wrap .he-more > summary::-webkit-details-marker { display: none; }
.a-wrap .he-more > summary:hover { background: var(--a-hover); }
.a-wrap .he-more > summary:focus-visible { outline: 3px solid var(--a-focus); outline-offset: 2px; }
.a-wrap .he-more > summary > span { display: grid; gap: 3px; min-width: 0; }
.a-wrap .he-more > summary b { font-size: 1.125rem; font-weight: 700; color: var(--a-ink); }
.a-wrap .he-more > summary small { font-size: .9375rem; line-height: 1.4; color: var(--a-muted); }
.a-wrap .he-more > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin: 0 4px 4px 0; border-right: 2px solid var(--a-muted); border-bottom: 2px solid var(--a-muted); transform: rotate(45deg); transition: transform .15s; }
.a-wrap .he-more[open] > summary::after { margin-top: 6px; margin-bottom: 0; transform: rotate(-135deg); }
.a-wrap .he-more[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.a-wrap .he-more-body { display: grid; gap: 26px; padding: 22px 22px 26px; border-top: 1px solid var(--a-line); }
.a-wrap .he-more-body h3 { margin: 0 0 .3em; }
.a-wrap .he-more-body p { margin: 0 0 .7em; }
.a-wrap .he-more-body p:last-child { margin-bottom: 0; }
.a-wrap .he-start { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- the roads (inside "More") ---------- */
.a-wrap .he-roads { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; align-items: stretch; }
.a-wrap .he-rd { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; border: 1px solid var(--a-line); border-left: 6px solid var(--hc); border-radius: 16px; background: var(--a-surface); }
.a-wrap .he-rd > header { display: flex; align-items: center; gap: 10px; }
.a-wrap .he-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--hc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hc) 22%, transparent); }
.a-wrap .he-rname { flex: 1; min-width: 0; min-height: 44px; font-weight: 700; }
.a-wrap .he-count { font-size: .875rem; color: var(--a-muted); white-space: nowrap; }
.a-wrap .he-rrow { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.a-wrap .he-rl { font-size: .9375rem; font-weight: 700; color: var(--a-ink); padding: 0; }
.a-wrap .he-sides { display: flex; flex-wrap: wrap; gap: 8px; }
.a-wrap .he-pill { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--a-line2); border-radius: 99px; background: var(--a-surface); color: var(--a-ink); font-weight: 600; cursor: pointer; }
.a-wrap .he-pill input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.a-wrap .he-pill:has(input:checked) { border-color: var(--a-brand); background: var(--a-brand-soft); color: var(--a-link); font-weight: 700; }
.a-wrap .he-pill:has(input:focus-visible) { outline: 3px solid var(--a-focus); outline-offset: 2px; }
.a-wrap .he-check { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; line-height: 1.4; cursor: pointer; }
.a-wrap .he-check input { margin-top: 2px; }
.a-wrap .he-check small { display: block; margin-top: 2px; font-size: .9375rem; color: var(--a-muted); }
.a-wrap .he-adv > summary { padding: 8px 0; color: var(--a-link); font-weight: 600; font-size: .9375rem; cursor: pointer; }
.a-wrap .he-adv .a-fields { margin-top: 10px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.a-wrap .he-rd > footer { margin-top: auto; }

/* ---------- one entry ---------- */
.a-wrap .he-edit { display: grid; gap: 34px; max-width: 780px; }
.a-wrap .he-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin-bottom: -10px; }
.a-wrap .he-back { appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-left: -8px; padding: 0 10px; border: 0; border-radius: 10px; background: none; color: var(--a-link); font: 700 1rem/1.2 var(--font); cursor: pointer; }
.a-wrap .he-back:hover { background: var(--a-hover); }
.a-wrap .he-saved { font-size: .9375rem; color: var(--a-muted); }
.a-wrap .he-saved.on { color: var(--a-ok); font-weight: 700; }
.a-wrap .he-saved.on::before { content: "✓ "; }
.a-wrap .he-q { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.a-wrap .he-label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 0; font: 800 1.25rem/1.25 var(--font); letter-spacing: -.015em; color: var(--a-ink); }
.a-wrap .he-label i { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--a-brand); color: var(--a-on-brand); font: 800 1rem/1 var(--font); font-style: normal; letter-spacing: 0; }
.a-wrap .he-label em { font: 500 .9375rem/1.3 var(--font); font-style: normal; letter-spacing: 0; color: var(--a-muted); }
.a-wrap .he-hint { margin: 0; color: var(--a-muted); font-size: 1rem; line-height: 1.5; }
.a-wrap .he-hint b { color: var(--a-ink2); }
.a-wrap .he-q > input, .a-wrap .he-q > textarea { font-size: 1.0625rem; }
.a-wrap .he-q > textarea { min-height: 9.5rem; }
.a-wrap .he-date { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 16px; }
.a-wrap .he-on { margin: 0; padding: 11px 16px; border-radius: 12px; background: var(--a-brand-soft); color: var(--a-ink); font-size: .96875rem; line-height: 1.4; }
.a-wrap .he-on b { font-weight: 800; }
.a-wrap .he-err { margin: 0; color: var(--a-bad); font-weight: 700; font-size: .96875rem; }
.a-wrap .he-err[hidden] { display: none; }

/* the pictures */
.a-wrap .he-photos { display: grid; gap: 14px; }
.a-wrap .he-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 14px; }
.a-wrap .he-ph { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 9px; border: 1px solid var(--a-line); border-radius: 15px; background: var(--a-surface); box-shadow: var(--a-shadow); }
.a-wrap .he-ph.first { border-color: var(--a-brand); box-shadow: 0 0 0 1px var(--a-brand), var(--a-shadow); }
.a-wrap .he-ph img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--a-hover); }
.a-wrap .he-bigtag { display: inline-flex; align-self: flex-start; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 99px; background: var(--a-brand); color: var(--a-on-brand); font-size: .8125rem; font-weight: 700; }
.a-wrap .he-bigbtn { appearance: none; -webkit-appearance: none; align-self: flex-start; min-height: 40px; padding: 4px 4px; border: 0; background: none; color: var(--a-link); font: 700 .9375rem/1.25 var(--font); text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.a-wrap .he-ph input { min-height: 42px; padding: .45em .7em; font-size: .9375rem; }
.a-wrap .he-phtools { display: grid; grid-template-columns: 44px 44px minmax(0, 1fr); gap: 6px; }
.a-wrap .he-phtools button { appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 8px; border: 1px solid var(--a-line2); border-radius: 11px; background: var(--a-surface); color: var(--a-ink); font: 700 1.125rem/1 var(--font); cursor: pointer; transition: background .15s, border-color .15s; }
.a-wrap .he-phtools button:hover:not(:disabled) { background: var(--a-hover); border-color: color-mix(in srgb, var(--a-ink) 28%, transparent); }
.a-wrap .he-phtools button:disabled { opacity: .35; cursor: not-allowed; }
.a-wrap .he-phtools button.danger { font-size: .9375rem; color: var(--a-bad); border-color: var(--a-bad-line); background: var(--a-bad-soft); }
.a-wrap .he-addrow { display: flex; flex-wrap: wrap; gap: 12px; }
.a-wrap .he-photos > .he-count { margin: 0; white-space: normal; }

/* which road: buttons, not a list */
.a-wrap .he-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.a-wrap .he-chip { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px 0 14px; border: 1.5px solid var(--a-line2); border-radius: 99px; background: var(--a-surface); color: var(--a-ink); font: 600 1rem/1.2 var(--font); cursor: pointer; transition: background .15s, border-color .15s; }
.a-wrap .he-chip > span { display: inline-flex; align-items: center; gap: 10px; }
.a-wrap .he-chip i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--hc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hc) 24%, transparent); }
.a-wrap .he-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.a-wrap .he-chip:hover { background: var(--a-hover); }
.a-wrap .he-chip:has(input:checked) { border-color: var(--hc); background: color-mix(in srgb, var(--hc) 15%, var(--a-surface)); box-shadow: 0 0 0 1.5px var(--hc); font-weight: 800; }
.a-wrap .he-chip:has(input:focus-visible), .a-wrap .he-chip.add:focus-visible { outline: 3px solid var(--a-focus); outline-offset: 2px; }
.a-wrap .he-chip.add { padding: 0 18px; border-style: dashed; background: transparent; color: var(--a-link); font-weight: 700; }

/* the things that are rarely needed, inside "More choices" */
.a-wrap .he-opt { display: grid; gap: 8px; }
.a-wrap .he-roadcol { display: contents; }
.a-wrap .he-edit .he-more-body .c-field > small { display: block; font-size: .9375rem; }
.a-wrap .he-edit .ps-ed-move { margin: 0; }

/* French and Portuguese of an entry (decision 132): the same fold as the other lists, dressed like the entry's own "More choices"; its place leaves no gap while it has nothing to show (the title is still empty) */
.a-wrap .he-tr { display: contents; }
.a-wrap .he-edit details.a-trf { max-width: 920px; border-radius: 18px; box-shadow: var(--a-shadow); }
.a-wrap .he-edit details.a-trf > summary { min-height: 0; padding: 18px 22px; border-radius: 18px; }
.a-wrap .he-edit details.a-trf[open] > summary { border-radius: 18px 18px 0 0; }
.a-wrap .he-edit details.a-trf > summary b { font-size: 1.125rem; font-weight: 700; }
.a-wrap .he-edit .a-trf-note { padding: 18px 22px 0; }
.a-wrap .he-edit .a-trf-body { padding: 18px 22px 24px; }

/* Save: on a big screen it stays in view (never lost at the bottom of a long entry); on a phone or a tablet, where the floating bar of the Admin sits at the bottom, it follows the last question */
.a-wrap .he-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
@media (min-width: 861px) {
  .a-wrap .he-foot { position: sticky; bottom: 0; z-index: 4; padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--a-bg) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--a-line); }
}
@media (max-width: 640px) {
  .a-wrap .he-date { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 12px; }
  .a-wrap .he-label { font-size: 1.125rem; }
  .a-wrap .he-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .a-wrap .he-more > summary, .a-wrap .he-more-body { padding-left: 16px; padding-right: 16px; }
  .a-wrap .he-edit details.a-trf > summary, .a-wrap .he-edit .a-trf-note, .a-wrap .he-edit .a-trf-body { padding-left: 16px; padding-right: 16px; }
  .a-wrap .he-foot .btn { flex: 1 1 100%; }
}
/* ============ Bible Institute: the students' area (decision 124) ============
   The public side is /courses (src/js/62-students.js): a small card that asks for the password, then the lessons, each with the site's own round play button
   (the player of Pastor Luigi's recording, 30-home-final.css). The Admin side is Admin > Institute students (core/live.js): the password and the list of audio files.
   Everything follows the site's colours in the light and in the dark; the Admin part is scoped to .a-wrap and uses the Admin's own variables (60-admin.css). */

/* ---- the button on the Bible Courses page ---- */
.st-btn{display:inline-flex;align-items:center;gap:.55em}

/* ---- the page ---- */
.c-page.pp.st-page{gap:clamp(22px,3vw,40px)}
.st-wait{margin:2em 0}

/* the card that asks for the password (and the one that says the area is not open yet) */
.st-card{display:grid;gap:14px;width:min(100%,480px);margin:clamp(6px,2vw,24px) auto 0;padding:clamp(26px,4vw,40px);text-align:center}
.st-card h2{margin:0;font-size:clamp(1.4rem,2.4vw,1.75rem);line-height:1.15;letter-spacing:-.025em}
.st-card p{margin:0;color:var(--muted);line-height:1.5}
.st-ic{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 4px;border-radius:50%;background:color-mix(in srgb,var(--link) 11%,var(--surface));color:var(--link)}
.st-ic svg{width:30px;height:30px}
.st-gate .c-field{margin-top:6px;text-align:left}
.st-gate .btn{width:100%;min-height:48px}
.st-card .st-err{margin:-4px 0 0;color:#b3261e;font-weight:600;font-size:.95rem}
.st-card .st-err[hidden]{display:none}
.st-about{margin-top:4px;font-size:.95rem}
.st-about a{color:var(--link);text-decoration:none}.st-about a:hover{text-decoration:underline}
.st-closed .p-btns{margin-top:6px}
@media (prefers-color-scheme:dark){.st-card .st-err{color:#ff9d95}}

/* the lessons: a bar of one thin line, then each course as a rounded block of lessons; each lesson is its name on top (a small note under it) and its player below, on one left edge */
.st-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;min-height:44px;padding:0}
.st-bar p{margin:0;max-width:60ch;color:var(--muted);font-size:.98rem;line-height:1.45}
.st-bar p a{color:var(--link);font-weight:600}
.st-bar .btn{min-height:38px;padding:0 1em;font-size:.9rem}
.st-course .p-sh{margin:0 0 14px}
.st-list{list-style:none;margin:0;padding:0;overflow:hidden;border-radius:var(--radius);background:var(--surface);box-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(15,23,48,.06)}
.st-item{display:grid;gap:12px;padding:18px clamp(16px,2.4vw,26px) 20px;border-top:1px solid var(--line)}
.st-item:first-child{border-top:0}
.st-t{display:grid;gap:3px;min-width:0}
.st-t b{font-size:1.12rem;font-weight:700;line-height:1.3;color:var(--ink);overflow-wrap:anywhere}
.st-t small{color:var(--muted);font-size:.92rem;line-height:1.4}
.st-nosound{color:var(--muted);font-size:.9rem}
.st-page .c-empty{padding:clamp(34px,6vw,60px) 24px;text-align:center;color:var(--muted);border:1.5px dashed var(--line);border-radius:var(--radius)}
.st-page .c-empty b{display:block;margin-bottom:4px;color:var(--ink);font-size:1.1rem}
.st-page .c-empty p{margin:0}
/* the player inside a line: the same round button, thin position line and time, but flat (no pill around it) */
.st-item .c-audio{width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:none;gap:14px}
.st-item .au-btn{width:44px;height:44px}
.st-item .au-btn svg{width:20px;height:20px}
@media (max-width:720px){
  .st-item{padding:16px 16px 18px}
  .st-bar{flex-direction:column;align-items:flex-start}
}

/* ---- the other kinds of lesson (decision 127): video, photo, YouTube link, and files read in the reader or saved ---- */
.st-video-w{display:grid;gap:8px;width:100%;max-width:760px}
.st-video{display:block;width:100%;aspect-ratio:16/9;border-radius:12px;background:#000;color-scheme:light dark}
.st-vfail{margin:0;color:#b3261e;font-size:.92rem;font-weight:600}
.st-vfail a{color:var(--link);font-weight:700}
.st-photo{display:block;width:min(100%,420px);padding:0;border:0;border-radius:12px;overflow:hidden;background:var(--soft);cursor:zoom-in;line-height:0;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.st-photo img{display:block;width:100%;height:auto;max-height:340px;object-fit:cover}
.st-photo:focus-visible,.st-yt:focus-visible{outline:3px solid var(--link);outline-offset:3px}
.st-yt{display:block;width:min(100%,520px);margin:0;padding:0;background:none;border:0;text-align:left;cursor:pointer}
.st-yt .c-thumb{margin:0}
.st-file{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:color-mix(in srgb,var(--surface) 60%,var(--soft))}
.st-fi{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:color-mix(in srgb,var(--link) 12%,var(--surface));color:var(--link)}
.st-fi svg{width:24px;height:24px}
.st-fm{display:grid;gap:2px;min-width:0}
.st-fm b{font-size:.98rem;line-height:1.25;color:var(--ink)}
.st-fm small{color:var(--muted);font-size:.88rem}
.st-fb{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.st-fb .btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;min-height:42px;padding:0 1.1em;font-size:.93rem}
.st-fb .btn svg{width:18px;height:18px}
@media (max-width:720px){
  .st-file{grid-template-columns:auto minmax(0,1fr)}
  .st-fb{grid-column:1/-1;justify-content:stretch}
  .st-fb .btn{flex:1}
}
@media (prefers-color-scheme:dark){.st-vfail{color:#ff9d95}}

/* ---- the Admin: Institute students ---- */
.a-wrap .sa-pass{margin:0 0 .7em}
.a-wrap .sa-state{display:inline-flex;align-items:center;gap:.4em;min-height:32px;padding:0 1em;border-radius:99px;font-size:.9375rem;font-weight:700}
.a-wrap .sa-state.on{background:var(--a-ok-soft);color:var(--a-ok)}
.a-wrap .sa-state.off{background:var(--a-warn-soft);color:var(--a-warn)}
.a-wrap .sa-btns{display:flex;flex-wrap:wrap;gap:10px;margin:1.1em 0 .9em}
.a-wrap .sa-btns .btn{margin:0}
.a-wrap .sa-sounds h3 small{display:inline-grid;place-items:center;min-width:28px;height:28px;margin-left:.45em;padding:0 .55em;border-radius:99px;background:var(--a-hover);color:var(--a-muted);font:700 .9rem/1 var(--font);vertical-align:2px}
.a-wrap .sa-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;margin:18px 0}
.a-wrap .sa-top .btn{min-height:48px;margin:0}
.a-wrap .sa-notice{display:grid;gap:8px;margin:0 0 14px;padding:14px 16px;font-size:.9375rem;line-height:1.5}
.a-wrap .sa-notice ul{margin:0;padding-left:1.2em}
.a-wrap .sa-notice li+li{margin-top:6px}
.a-wrap .sa-notice .btn{justify-self:start;margin:0;color:inherit}
.a-wrap .sa-up{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,200px) 46px;align-items:center;gap:14px;margin:0 0 10px;padding:12px 16px;border:1px solid var(--a-line);border-radius:14px;background:var(--a-hover)}
.a-wrap .sa-up span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.a-wrap .sa-bar{display:block;height:8px;overflow:hidden;border-radius:99px;background:var(--a-line)}
.a-wrap .sa-bar>i{display:block;width:var(--w,0%);height:100%;border-radius:inherit;background:var(--a-brand);transition:width .2s}
.a-wrap .sa-up b{text-align:right;font-size:.9375rem;font-variant-numeric:tabular-nums}
.a-wrap .sa-list{list-style:none;display:grid;gap:14px;margin:18px 0;padding:0}
.a-wrap .sa-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:18px 20px;border:1px solid var(--a-line);border-radius:16px;background:var(--a-surface)}
.a-wrap .sa-f{display:grid;gap:14px;min-width:0}
.a-wrap .sa-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.a-wrap .sa-row audio{width:100%;height:44px;color-scheme:light dark}
.a-wrap .sa-meta{margin:0;color:var(--a-muted);font-size:.875rem}
/* the buttons of a line share its top and bottom edges: the arrows at the top, Remove at the bottom */
.a-wrap .sa-x{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;gap:12px}
.a-wrap .sa-mv{display:flex;gap:8px}
.a-wrap .sa-mv .btn{min-width:44px;margin:0}
.a-wrap .sa-end{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.a-wrap .sa-end .btn{margin:0}
.a-wrap .sa-saved{min-height:1.25em;color:var(--a-ok);font-size:.875rem;font-weight:700}
@media (max-width:720px){
  .a-wrap .sa-top{grid-template-columns:minmax(0,1fr)}
  .a-wrap .sa-top .btn{width:100%}
  .a-wrap .sa-row{grid-template-columns:minmax(0,1fr);padding:16px}
  .a-wrap .sa-x{flex-direction:row;align-items:center}
  .a-wrap .sa-end{flex-direction:row;align-items:center}
}

/* ---- the Admin: every kind of item (decision 127) ---- */
.a-wrap .sa-adds{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.a-wrap .sa-ytf{display:grid;gap:12px;margin:0 0 18px;padding:16px 18px;border:1px solid var(--a-line);border-radius:14px;background:var(--a-hover)}
.a-wrap .sa-ytf .muted{margin:0;font-size:.875rem;line-height:1.5}
.a-wrap .sa-ytb{display:flex;flex-wrap:wrap;gap:10px}
.a-wrap .sa-ytb .btn{min-height:46px;margin:0}
.a-wrap .sa-limits{margin:14px 0 4px;border:1px solid var(--a-line);border-radius:14px;background:var(--a-surface)}
.a-wrap .sa-limits summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:0 16px;border-radius:14px;cursor:pointer;list-style:none;color:var(--a-ink);font-weight:700}
.a-wrap .sa-limits summary::-webkit-details-marker{display:none}
.a-wrap .sa-limits summary::after{content:"";flex:none;width:14px;height:9px;background:var(--a-chev) center/contain no-repeat;transition:transform .2s}
.a-wrap .sa-limits[open] summary::after{transform:rotate(180deg)}
.a-wrap .sa-limits summary:focus-visible{outline:3px solid var(--a-focus);outline-offset:-3px}
.a-wrap .sa-limits ul{display:grid;gap:8px;margin:0;padding:2px 18px 8px 36px;color:var(--a-ink2);font-size:.9375rem;line-height:1.45}
.a-wrap .sa-limits p{margin:0;padding:0 18px 16px}
.a-wrap .sa-chip{display:inline-block;margin-right:.7em;padding:2px .75em;border-radius:99px;background:var(--a-brand-soft);color:var(--a-link);font-size:.8125rem;font-weight:700;line-height:1.4}
.a-wrap .sa-video{display:block;width:min(100%,380px);aspect-ratio:16/9;border-radius:12px;background:#000;color-scheme:light dark}
.a-wrap .sa-photo{display:block;width:min(100%,240px);overflow:hidden;border:1px solid var(--a-line);border-radius:12px;background:var(--a-hover);line-height:0}
.a-wrap .sa-photo img{display:block;width:100%;height:160px;object-fit:cover}
.a-wrap .sa-yt{display:block;width:min(100%,280px);margin:0;padding:0;border:0;background:none;cursor:pointer}
.a-wrap .sa-yt:focus-visible{outline:3px solid var(--a-focus);outline-offset:3px;border-radius:12px}
.a-wrap .sa-file{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;padding:10px 12px;border:1px solid var(--a-line);border-radius:14px;background:var(--a-hover)}
.a-wrap .sa-fi{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:11px;background:var(--a-brand-soft);color:var(--a-link)}
.a-wrap .sa-fi svg{width:22px;height:22px}
.a-wrap .sa-fn{flex:1 1 160px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--a-ink);font-weight:600}
.a-wrap .sa-file .btn{margin:0}
/* The Admin gives the second of two buttons side by side a 4px and 6px margin (".a-card .btn + .btn", church/final/src/css/60-admin.css), which beat the resets above: the second button of each pair was shorter, 6px higher at the foot and 4px narrower (the order arrows, Cancel, Download, the YouTube button). Here every pair is straight: the same height, the same top and the same foot. */
.a-wrap .a-card :is(.sa-btns,.sa-adds,.sa-ytb,.sa-mv,.sa-file,.sa-end,.sa-top,.sa-notice) .btn{margin:0}
@media (max-width:720px){
  .a-wrap .sa-fn{flex-basis:calc(100% - 60px)}
  .a-wrap .sa-ytb .btn,.a-wrap .sa-btns .btn{flex:1 1 100%}
}
