/* Sharjah City Assembly of God — colours taken from the SCAG logo.
   Navy + maroon. Maitree for headings and reading, Familjen Grotesk for menus, labels and buttons. */

:root {
  --night: #141C3F;      /* deep navy: dark sections, footer */
  --indigo: #1F2B5C;     /* logo navy */
  --indigo-2: #2E3F7F;   /* brighter navy: links */
  --flame: #7A1517;      /* logo maroon: buttons, highlights */
  --flame-dark: #5C0F11; /* maroon hover */
  --flame-soft: #F2D4CF; /* rose tint: accent text on navy */
  --ember: #8E2E2B;      /* maroon text on white */
  --mist: #F3F4F9;
  --paper: #FFFFFF;
  --ink: #1A2142;
  --muted: #525A78;
  --line: #DCDFEA;

  --serif: "Maitree", Georgia, "Times New Roman", serif;
  --sans: "Familjen Grotesk", "Segoe UI", system-ui, sans-serif;

  --s-1: .875rem; --s0: 1rem; --s1: 1.25rem; --s2: 1.5625rem; --s3: 1.953rem; --s4: 2.441rem; --s5: 3.052rem;
  --wrap: 1180px;
  --r-sm: 6px; --r-md: 14px; --r-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--serif); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ember); }
:focus-visible { outline: 3px solid #C0443F; outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; font-family: var(--serif); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; color: var(--night); }
p { margin: 0 0 1.1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--flame); color: #fff; padding: .6rem 1rem; z-index: 100; font-family: var(--sans); }
.skip:focus { left: 1rem; }
.hp { position: absolute; left: -9999px; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1; padding: .95rem 1.4rem; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--flame { background: var(--flame); color: #fff; }
.btn--flame:hover { background: var(--flame-dark); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--ink { background: var(--night); color: #fff; }
.btn--ink:hover { background: var(--indigo-2); color: #fff; }
.text-link { font-family: var(--sans); font-weight: 600; color: var(--indigo-2); text-decoration: underline; text-underline-offset: 4px; }
.link-btn { font: 600 .9375rem var(--sans); background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; }

/* ---------- Flame mark ---------- */
.flame { width: 1em; height: 1.5em; display: block; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--night); color: #C7CEE6; font-family: var(--sans); font-size: var(--s-1); }
.topbar__in { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--flame-soft); }
.topbar__contact { display: flex; flex-wrap: wrap; gap: .25rem 1rem; justify-content: center; }

.site-header { background: var(--indigo); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand__flame { font-size: 1.85rem; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; }
.brand__sub { font-family: var(--sans); font-size: .875rem; color: var(--flame-soft); letter-spacing: .01em; }

.nav { display: flex; align-items: center; gap: 1rem; font-family: var(--sans); }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: .1rem; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { color: #E6E9F4; text-decoration: none; font-weight: 500; font-size: .96875rem; padding: .55rem .6rem; border-radius: var(--r-sm); white-space: nowrap; }
.nav__link:hover, .nav__item:focus-within > .nav__link { color: #fff; background: rgba(255,255,255,.08); }
.nav__item.is-active > .nav__link { color: #fff; box-shadow: inset 0 -2px 0 var(--flame); border-radius: 0; }
.sub-toggle { display: none; }
.sub { list-style: none; margin: 0; padding: .5rem; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border-radius: var(--r-md); box-shadow: 0 18px 40px -12px rgba(18,21,58,.35); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav__item:hover > .sub, .nav__item:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: .55rem .8rem; color: var(--ink); text-decoration: none; border-radius: var(--r-sm); font-size: .9375rem; }
.sub a:hover { background: var(--mist); color: var(--indigo); }
.nav__cta { background: var(--flame); color: #fff; text-decoration: none; font-weight: 600; font-size: .9375rem; padding: .6rem 1rem; border-radius: 999px; white-space: nowrap; }
.nav__cta:hover { background: var(--flame-dark); color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 1160px) {
  .nav__cta { display: none; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .6rem; background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; font: 600 .9375rem var(--sans); padding: .55rem .9rem; border-radius: 999px; cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .nav { position: fixed; inset: 76px 0 0 0; background: var(--indigo); flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__link { flex: 1; font-size: 1.125rem; padding: .95rem .25rem; }
  .nav__item.is-active > .nav__link { box-shadow: none; color: var(--flame); }
  .sub-toggle { display: grid; place-items: center; width: 48px; height: 48px; background: none; border: 0; color: #fff; cursor: pointer; }
  .sub-toggle svg { width: 14px; transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(0,0,0,.18); display: none; margin-bottom: .75rem; }
  .sub.is-open { display: block; }
  .nav__item:hover > .sub { display: none; }
  .nav__item > .sub.is-open { display: block; }
  .sub a { color: #E6E9F4; }
  .sub a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .nav__cta { display: block; text-align: center; margin-top: 1.5rem; padding: 1rem; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 640px) {
  .topbar__venue { display: none; }
  .topbar__in { justify-content: center; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 30%, var(--indigo-2) 0%, var(--indigo) 40%, var(--night) 100%); color: #fff; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 0; }
.hero__glow { position: absolute; right: 8%; top: 18%; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(160,40,42,.45), rgba(122,21,23,.15) 45%, transparent 70%); filter: blur(10px); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: center; gap: 2rem; }
.hero__kicker { font-family: var(--sans); font-weight: 500; color: var(--flame-soft); margin-bottom: 1rem; font-size: 1.0625rem; }
.hero__title { color: #fff; font-weight: 700; font-size: clamp(2.6rem, 6.4vw, 5.25rem); line-height: .98; letter-spacing: -.035em; margin-bottom: 1.75rem; max-width: 14ch; text-wrap: balance; }
.hero__verse { margin: 0 0 2.25rem; padding-left: 1.25rem; border-left: 3px solid #C0443F; max-width: 46ch; }
.hero__verse p { font-style: normal; font-size: 1.1875rem; line-height: 1.6; color: #E6E9F4; margin: 0 0 .4rem; }
.hero__verse cite { font-family: var(--sans); font-style: normal; color: var(--flame-soft); font-size: .9375rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__mark { display: grid; place-items: center; }
.hero__flame { font-size: clamp(9rem, 19vw, 15rem); filter: drop-shadow(0 20px 60px rgba(190,60,60,.45)); }
.hero__flame .f-outer, .hero__flame .f-inner { transform-box: fill-box; transform-origin: 50% 100%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__flame .f-outer { animation: flicker 3.6s ease-in-out infinite; }
  .hero__flame .f-inner { animation: flicker 2.4s ease-in-out infinite reverse; }
}
@keyframes flicker {
  0%, 100% { transform: scale(1, 1) skewX(0deg); }
  30% { transform: scale(.97, 1.04) skewX(-1.5deg); }
  60% { transform: scale(1.02, .97) skewX(1.2deg); }
}

.sunday { position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "label time go" "label place go"; column-gap: 2rem; align-items: center; margin-top: clamp(2.5rem, 6vw, 4.5rem); background: #fff; color: var(--ink); text-decoration: none; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 1.5rem 2rem; font-family: var(--sans); }
.sunday:hover { color: var(--ink); }
.sunday__label { grid-area: label; font-weight: 600; color: var(--ember); font-size: 1.0625rem; padding-right: 2rem; border-right: 1px solid var(--line); align-self: stretch; display: flex; align-items: center; }
.sunday__time { grid-area: time; font-family: var(--serif); font-weight: 700; font-size: var(--s3); color: var(--night); line-height: 1.1; letter-spacing: -.02em; }
.sunday__place { grid-area: place; color: var(--muted); }
.sunday__go { grid-area: go; font-weight: 600; color: var(--indigo-2); text-decoration: underline; text-underline-offset: 4px; }
.sunday:hover .sunday__go { color: var(--ember); }

@media (max-width: 820px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__mark { position: absolute; right: -1rem; top: -1rem; opacity: .25; }
  .hero__glow { right: -30%; }
  .sunday { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "time" "place" "go"; row-gap: .25rem; padding: 1.4rem 1.4rem; }
  .sunday__label { border: 0; padding: 0; }
  .sunday__go { margin-top: .5rem; }
}

/* ---------- Section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem 1.5rem; margin-bottom: 2rem; }
.section-head h2 { font-size: var(--s4); margin: 0; }
.section-head p { margin: 0; color: var(--muted); font-family: var(--sans); }
.section-head__more { font-family: var(--sans); font-weight: 600; }

/* ---------- Week strip ---------- */
.week { background: #fff; padding: 3rem 0 4.5rem; }
.week__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 2px solid var(--night); }
.day { padding: 1rem .85rem 1.25rem; border-right: 1px solid var(--line); min-height: 220px; font-family: var(--sans); }
.day:last-child { border-right: 0; }
.day__name { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--night); letter-spacing: 0; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.day__short { display: none; }
.day__today { display: none; font-size: .75rem; font-weight: 600; background: var(--ember); color: #fff; padding: .15rem .5rem; border-radius: 999px; }
.day.is-today { background: linear-gradient(180deg, #F8ECEB, #fff 70%); box-shadow: inset 0 3px 0 var(--flame); }
.day.is-today .day__today { display: inline-block; }
.day--empty .day__name { color: #9AA2C0; }
.day__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.ev { display: grid; gap: .1rem; font-size: .9375rem; line-height: 1.35; }
.ev strong { font-family: var(--serif); font-weight: 700; font-size: 1.0625rem; color: var(--night); line-height: 1.25; }
.ev__when { color: var(--ember); font-weight: 600; font-size: .875rem; }
.ev__time { color: var(--ink); }
.ev__where { color: var(--muted); }
.ev--main { background: var(--night); color: #fff; padding: .85rem; border-radius: var(--r-md); }
.ev--main strong { color: #fff; }
.ev--main .ev__time { color: var(--flame-soft); font-weight: 600; }
.ev--main .ev__where { color: #C7CEE6; }

@media (max-width: 960px) {
  .week__grid { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .day { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; min-height: 0; border-right: 0; border-top: 1px solid var(--line); padding: 1rem .5rem; }
  .day__name { margin: 0; flex-direction: column; align-items: flex-start; }
  .day--empty { display: none; }
}

/* ---------- Story ---------- */
.story { background: var(--mist); padding: clamp(3.5rem, 7vw, 6rem) 0; overflow: hidden; }
.story__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
.story__year { font-family: var(--serif); font-weight: 700; font-size: clamp(6rem, 16vw, 13rem); line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--indigo-2); }
.story__text h2 { font-size: var(--s4); max-width: 18ch; }
.story__text p { max-width: 60ch; }
.story__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-family: var(--sans); font-weight: 600; margin-top: 1.5rem; }
@media (max-width: 820px) { .story__in { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }

/* ---------- Activities ---------- */
.acts { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.acts__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.25rem 1.5rem; }
.act a { display: block; text-decoration: none; color: inherit; }
.act h3 { font-size: var(--s1); margin: 1rem 0 .35rem; }
.act p { font-size: .96875rem; line-height: 1.55; color: var(--muted); margin: 0; }
.act a:hover h3 { color: var(--ember); }
@media (max-width: 960px) { .acts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .acts__grid { gap: 1.75rem 1rem; } .act h3 { font-size: 1.0625rem; margin-top: .6rem; } .act p { font-size: .875rem; } }

/* Image frame with flame fallback */
.img-frame { display: block; position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--indigo); aspect-ratio: 16 / 10; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame.is-missing { background: radial-gradient(circle at 50% 120%, rgba(160,40,42,.6), transparent 60%), linear-gradient(160deg, var(--indigo-2), var(--night)); }
.img-frame.is-missing::after { content: ""; position: absolute; left: 50%; bottom: 18%; width: 34px; height: 50px; transform: translateX(-50%); background: url("../img/favicon.svg") center / contain no-repeat; opacity: .9; }

/* ---------- Reading (pastor + articles) ---------- */
.reading { background: var(--night); color: #E6E9F4; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.reading h2 { color: #fff; font-size: var(--s3); }
.reading__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
.reading__pastor blockquote { margin: 0 0 2rem; }
.reading__pastor blockquote p { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.4; color: #fff; font-style: normal; }
.reading__pastor cite { font-family: var(--sans); font-style: normal; color: var(--flame-soft); }
.reading .btn--ink { background: #fff; color: var(--flame); }
.reading .btn--ink:hover { background: var(--flame-soft); color: var(--flame-dark); }
.article-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.article-list li + li { border-top: 1px solid rgba(255,255,255,.12); }
.article-list a { display: grid; grid-template-columns: 96px 1fr; gap: 1.1rem; padding: 1.1rem 0; text-decoration: none; color: inherit; align-items: center; }
.article-list .img-frame { aspect-ratio: 1; }
.article-list strong { display: block; color: #fff; font-size: 1.125rem; line-height: 1.3; margin-bottom: .25rem; }
.article-list em { font-size: .9375rem; color: #B6BEDB; line-height: 1.5; display: block; }
.article-list a:hover strong { color: var(--flame-soft); }
.reading .text-link { color: var(--flame-soft); }
@media (max-width: 860px) { .reading__in { grid-template-columns: minmax(0, 1fr); gap: 3rem; } }

/* ---------- Notice (announcements, downloads, prayer) ---------- */
.notice { padding: clamp(3.5rem, 7vw, 6rem) 0; background: #fff; }
.notice__in { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 4rem; }
.notice h2 { font-size: var(--s3); }
.ann-list { list-style: none; margin: 0; padding: 0; font-family: var(--sans); }
.ann-list li { padding: .85rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .15rem; }
.ann-list > li > a { font-family: var(--serif); font-weight: 700; color: var(--night); text-decoration: none; font-size: 1.0625rem; line-height: 1.3; }
.ann-list > li > a:hover { color: var(--ember); }
.ann-list span { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.dl-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem 1.5rem; font-family: var(--sans); }
.dl-list a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.dl-list a:hover { color: var(--ember); }
.dl-list a[href="#"] { color: #9AA2C0; pointer-events: none; }
.yt-card { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: var(--r-md); background: var(--mist); color: var(--ink); text-decoration: none; font-family: var(--sans); }
.yt-card svg { width: 40px; height: 40px; color: #E62117; flex: none; }
.yt-card strong { display: block; font-size: 1.0625rem; }
.yt-card em { font-style: normal; color: var(--muted); font-size: .9375rem; }
.yt-card:hover strong { color: var(--ember); }
.prayer-band { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "flame title btn" "flame text btn"; column-gap: 1.75rem; align-items: center; padding: 2rem 2.25rem; border-radius: var(--r-lg); background: linear-gradient(120deg, var(--indigo) 0%, var(--night) 100%); color: #fff; text-decoration: none; overflow: hidden; }
.prayer-band:hover { color: #fff; }
.prayer-band__flame { grid-area: flame; font-size: 3rem; }
.prayer-band__title { grid-area: title; font-family: var(--serif); font-weight: 700; font-size: var(--s3); line-height: 1.1; }
.prayer-band__text { grid-area: text; color: #C7CEE6; font-style: normal; }
.prayer-band .btn { grid-area: btn; }
.prayer-band .btn { background: #fff; color: var(--flame); }
.prayer-band:hover .btn { background: var(--flame-soft); color: var(--flame-dark); }
@media (max-width: 860px) {
  .notice__in { grid-template-columns: minmax(0, 1fr); }
  .prayer-band { grid-template-columns: auto 1fr; grid-template-areas: "flame title" "text text" "btn btn"; row-gap: .75rem; padding: 1.75rem; }
  .prayer-band .btn { justify-self: start; margin-top: .5rem; }
}
@media (max-width: 420px) { .dl-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner pages ---------- */
.page-hero { background: radial-gradient(90% 140% at 100% 0%, var(--indigo-2), var(--indigo) 45%, var(--night)); color: #fff; padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 5vw, 3.75rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: 6%; bottom: -30px; width: 120px; height: 180px; background: var(--hero-sym, url("../img/favicon.svg")) center / contain no-repeat; opacity: .16; }
.page-hero[data-hero-sym]::after { width: 150px; height: 150px; bottom: -12px; }   /* page symbol (includes/hero-symbols.php) */
@media (max-width: 640px) { .page-hero[data-hero-sym]::after { width: 104px; height: 104px; bottom: -8px; } }
.page-hero h1 { color: #fff; font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0; max-width: 24ch; }
.page-hero__lead { margin: .9rem 0 0; color: var(--flame-soft); font-family: var(--sans); font-size: 1.125rem; max-width: 60ch; }
.crumbs { font-family: var(--sans); font-size: .9375rem; margin-bottom: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; color: #9AA2C0; }
.crumbs a { color: #C7CEE6; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; padding-top: 3rem; padding-bottom: 4.5rem; align-items: start; }
.page-body--wide { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .page-body { grid-template-columns: minmax(0, 1fr); gap: 3rem; } }

.prose { max-width: 68ch; font-size: 1.125rem; line-height: 1.75; }
.prose h2 { font-size: var(--s2); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--ember); }
.prose__img { max-width: 420px; margin-bottom: 2rem; }
.prose__img.is-missing { display: none; }
.dropcap::first-letter { float: left; font-weight: 700; font-size: 4.1em; line-height: .82; margin: .06em .1em 0 0; color: var(--indigo); }
.scripture { margin: 0 0 2rem; padding: 1.5rem 1.75rem; background: var(--mist); border-radius: var(--r-md); border-left: 4px solid var(--flame); }
.scripture p { font-style: normal; font-size: 1.25rem; line-height: 1.55; color: var(--night); margin: 0 0 .5rem; }
.scripture cite { font-family: var(--sans); font-style: normal; font-weight: 600; color: var(--ember); font-size: .9375rem; }
.callout { font-size: 1.1875rem; font-weight: 500; color: var(--night); padding-top: 1.25rem; border-top: 2px solid var(--flame); margin-top: 2rem; }
.signature { font-style: normal; color: var(--muted); }
.pillars { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .5rem; }
.pillars li { font-family: var(--sans); font-size: .9375rem; font-weight: 500; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; margin: 0; }
.beliefs { counter-reset: b; list-style: none; padding: 0 !important; }
.beliefs li { counter-increment: b; display: grid; grid-template-columns: 2.5rem 1fr; padding: .7rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.beliefs li::before { content: counter(b); font-family: var(--sans); font-weight: 700; color: var(--ember); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 1rem; margin: 0 0 2rem; }
.facts div { background: var(--mist); border-radius: var(--r-md); padding: 1rem 1.2rem; }
.facts dt { font-family: var(--sans); color: var(--muted); font-size: .875rem; }
.facts dd { margin: .2rem 0 0; font-weight: 700; color: var(--night); line-height: 1.4; }
.facts dd a { display: block; font-family: var(--sans); font-weight: 600; font-size: .9375rem; margin-top: .3rem; }
.contact-list { list-style: none; padding: 0 !important; }
.contact-list li { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.contact-list a { font-family: var(--sans); font-weight: 600; }
.print-row { margin-top: 3rem; display: flex; gap: 1.5rem; align-items: center; }
.map { margin-top: 2rem; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist); }
.map iframe, .video iframe { width: 100%; height: 100%; border: 0; display: block; }
.map--wide { aspect-ratio: 21 / 8; margin-top: 3.5rem; }
@media (max-width: 700px) { .map--wide { aspect-ratio: 4 / 3; } }
.video { aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; margin: 1.5rem 0; }

/* Officials */
.people { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: .75rem; margin-bottom: 1rem; }
.people .person { margin: 0; }
.person { display: flex; gap: .85rem; align-items: center; padding: .85rem; border: 1px solid var(--line); border-radius: var(--r-md); margin: 0; }
.person__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo); color: var(--flame-soft); font-family: var(--sans); font-weight: 700; font-size: .9375rem; }
.person__body { display: grid; line-height: 1.35; font-family: var(--sans); }
.person__body strong { font-family: var(--serif); color: var(--night); font-size: 1.0625rem; }
.person__body span { color: var(--muted); font-size: .9375rem; }
.person__body a { font-size: .9375rem; }
.people--one .person { background: var(--night); border-color: var(--night); max-width: 420px; }
.people--one .person__avatar { background: var(--flame); color: #fff; }
.people--one .person__body strong { color: #fff; }
.people--one .person__body span { color: #C7CEE6; }
.people--one .person__body a { color: var(--flame-soft); }

/* Activities list page */
.act-rows { list-style: none; margin: 0; padding: 0; }
.act-row a { display: grid; grid-template-columns: 220px 1fr; gap: 1.75rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; align-items: center; }
.act-row:first-child a { padding-top: 0; }
.act-row h2 { font-size: var(--s2); margin-bottom: .3rem; }
.act-row p { color: var(--muted); margin-bottom: .6rem; }
.act-row a:hover h2 { color: var(--ember); }
@media (max-width: 560px) { .act-row a { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }

/* Articles list */
.article-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.article-card a { display: grid; grid-template-columns: 180px 1fr; gap: 1.75rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.article-card:first-child a { padding-top: 0; }
.article-card .img-frame { aspect-ratio: 1 / 1; }
.article-card h2 { font-size: var(--s2); margin-bottom: .25rem; }
.article-card__by { display: block; font-family: var(--sans); color: var(--ember); font-weight: 600; font-size: .9375rem; margin-bottom: .6rem; }
.article-card p { color: var(--muted); margin-bottom: .6rem; }
.article-card a:hover h2 { color: var(--ember); }
@media (max-width: 560px) { .article-card a { grid-template-columns: 96px 1fr; gap: 1rem; } .article-card h2 { font-size: var(--s1); } }

/* Gallery */
.album + .album { margin-top: 3rem; }
.album h2 { font-size: var(--s3); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 1rem; }
.gallery__link { display: block; text-decoration: none; color: var(--ink); }
.gallery__img { aspect-ratio: 4 / 3; }
.gallery__cap { display: block; font-family: var(--sans); font-size: .9375rem; padding-top: .5rem; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); }
.lightbox::backdrop { background: rgba(18,21,58,.9); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--r-md); }
.lightbox__cap { color: #fff; text-align: center; font-family: var(--sans); margin-top: .75rem; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer; }

/* ---------- Sidebar ---------- */
.sidebar { display: grid; gap: 1.5rem; position: sticky; top: 100px; }
@media (max-width: 960px) { .sidebar { position: static; } }
.side-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem 1.4rem 1.1rem; font-family: var(--sans); }
.side-card__title { font-family: var(--serif); font-size: var(--s1); margin-bottom: .35rem; }
.side-card__venue { color: var(--muted); font-size: .9375rem; margin-bottom: .75rem; }
.prog-list { list-style: none; margin: 0; padding: 0; }
.prog-list li { padding: .6rem 0; border-top: 1px solid var(--line); display: grid; line-height: 1.4; }
.prog-list strong { font-weight: 600; color: var(--night); font-size: .96875rem; }
.prog-list span { color: var(--muted); font-size: .875rem; }
.side-card .ann-list li:last-child { border-bottom: 0; }
.side-card .ann-list > li > a { font-size: 1rem; }
.side-prayer { display: grid; gap: .4rem; padding: 1.6rem 1.4rem; border-radius: var(--r-md); background: linear-gradient(150deg, var(--indigo), var(--night)); color: #fff; text-decoration: none; position: relative; overflow: hidden; }
.side-prayer:hover { color: #fff; }
.side-prayer__flame { font-size: 1.8rem; }
.side-prayer__title { font-family: var(--serif); font-weight: 700; font-size: var(--s2); line-height: 1.1; margin-top: .25rem; }
.side-prayer__text { color: #C7CEE6; font-size: .96875rem; line-height: 1.5; }
.side-prayer__btn { justify-self: start; margin-top: .6rem; font-family: var(--sans); font-weight: 600; background: #fff; color: var(--flame); padding: .65rem 1.1rem; border-radius: 999px; font-size: .9375rem; }
.side-prayer:hover .side-prayer__btn { background: var(--flame-soft); color: var(--flame-dark); }
.side-card--thought { background: var(--mist); border-color: var(--mist); }
.side-card--thought blockquote { margin: 0; }
.side-card--thought p { font-family: var(--serif); font-style: normal; font-size: 1.1875rem; line-height: 1.45; color: var(--night); margin-bottom: .5rem; }
.side-card--thought footer { color: var(--muted); font-size: .9375rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; font-family: var(--sans); }
.form__row { display: grid; gap: .35rem; }
.form__row--half { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form__row--half > div { display: grid; gap: .35rem; }
@media (max-width: 560px) { .form__row--half { grid-template-columns: minmax(0, 1fr); } }
.form label { font-weight: 600; font-size: .9375rem; color: var(--night); }
.form .btn { justify-self: start; margin-top: .25rem; }
.form__error { background: #FCEBE7; color: #8E2A18; padding: .8rem 1rem; border-radius: 10px; margin: 0; }
.form-done { display: flex; gap: 1rem; align-items: center; background: var(--mist); padding: 1.5rem; border-radius: var(--r-md); font-family: var(--sans); }
.form-done p { margin: 0; }
.form-done__flame { font-size: 2rem; flex: none; }
.prayer-form { max-width: 640px; font-family: var(--sans); }
.prayer-form > p { color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 3.5rem; }
.contact__people { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; }
.contact-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.4rem; font-family: var(--sans); }
.contact-card h2 { font-size: var(--s1); margin-bottom: .1rem; }
.contact-card__role { color: var(--ember); font-weight: 600; margin-bottom: .6rem; }
.contact-card ul { list-style: none; margin: 0; padding: 0; }
.contact-card li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); }
.contact-card li span { color: var(--muted); }
.contact-card li a { font-weight: 600; text-decoration: none; }
.contact__form h2 { font-size: var(--s3); }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Visit band & footer ---------- */
.visit { background: var(--flame); color: #fff; padding: 2.5rem 0; }
.visit h2 { color: #fff; }
.visit__in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; }
.visit h2 { font-size: var(--s3); margin-bottom: .3rem; }
.visit p { margin: 0; font-family: var(--sans); font-size: 1.0625rem; max-width: 52ch; }
.visit__actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.visit .btn--flame { background: #fff; color: var(--flame); }
.visit .btn--flame:hover { background: var(--flame-soft); color: var(--flame-dark); }
.visit .btn--ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.visit .btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }

.site-footer { background: var(--night); color: #B6BEDB; font-family: var(--sans); font-size: .96875rem; padding-top: 3.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.1fr .8fr 1.6fr; gap: 2.5rem 3rem; padding-bottom: 2.5rem; }
.site-footer a { color: #E6E9F4; text-decoration: none; }
.site-footer a:hover { color: var(--flame-soft); text-decoration: underline; }
.brand--footer { margin-bottom: 1rem; }
.site-footer__about p { max-width: 40ch; line-height: 1.6; }
.site-footer__h { font-family: var(--sans); color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: .9rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; line-height: 1.4; }
.site-footer__list--cols { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; }
.yt { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.yt svg { width: 22px; height: 22px; color: #FF4E45; }
.site-footer__base { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0 1.5rem; font-size: .875rem; color: #9AA2C0; }
.site-footer__base p { margin: 0; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__links { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } .site-footer__list--cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .sidebar, .visit, .site-footer, .print-row, .page-hero::after { display: none !important; }
  .page-hero { background: none; color: #000; padding: 0 0 1rem; }
  .page-hero h1 { color: #000; }
  .page-body { display: block; padding: 0; }
  body { font-size: 12pt; }
}

/* =========================================================
   Update 2: sticky call button, WhatsApp, new programme,
   officials portraits
   ========================================================= */

/* Sticky header call button */
.site-header__in { gap: 1rem; }
.nav { margin-left: auto; }
.call-pill { display: inline-flex; align-items: center; gap: .6rem; background: var(--flame); color: var(--night); text-decoration: none; padding: .4rem 1rem .4rem .4rem; border-radius: 999px; font-family: var(--sans); line-height: 1.05; flex: none; }
.call-pill:hover { background: var(--flame-soft); color: var(--night); }
.call-pill__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--night); color: var(--flame); display: grid; place-items: center; }
.call-pill__icon svg { width: 18px; height: 18px; }
.call-pill__text { display: grid; }
.call-pill__hint { font-size: .75rem; font-weight: 600; opacity: .8; }
.call-pill__num { font-size: 1.125rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .call-pill { animation: ring 4s ease-out 1.2s 2; }
}
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 40%, 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
.nav__cta, .nav__wa { display: none; }
@media (min-width: 1021px) and (max-width: 1240px) {
  .nav__link { padding: .55rem .4rem; font-size: .9375rem; }
  .brand__sub { display: none; }
  .call-pill__hint { display: none; }
}
@media (max-width: 1020px) {
  .nav { margin-left: 0; }
  .call-pill { margin-left: auto; padding: .3rem .85rem .3rem .3rem; }
  .call-pill__icon { width: 32px; height: 32px; }
  .call-pill__hint { display: none; }
  .call-pill__num { font-size: 1rem; }
  .nav__cta { display: block; }
  .nav__wa { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .75rem; padding: 1rem; border-radius: 999px; background: #25D366; color: #06331A; font-weight: 700; text-decoration: none; }
  .nav__wa svg { width: 22px; height: 22px; }
}
@media (max-width: 480px) {
  .site-header__in { gap: .5rem; min-height: 66px; }
  .nav { inset: 66px 0 0 0; }
  .brand__flame { font-size: 1.5rem; }
  .brand__name { font-size: 1.05rem; }
  .brand__sub { font-size: .75rem; }
  .nav-toggle { padding: .55rem .7rem; }
  .nav-toggle__label { display: none; }
}
@media (max-width: 360px) { .brand__text { display: none; } }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 60; display: flex; align-items: center; gap: .55rem; background: #25D366; color: #fff; text-decoration: none; font-family: var(--sans); font-weight: 700; border-radius: 999px; padding: .7rem; box-shadow: 0 10px 28px -6px rgba(0,0,0,.35); }
.wa-float:hover { background: #1EBE5A; color: #fff; }
.wa-float .wa-icon { width: 34px; height: 34px; }
.wa-float__label { padding-right: .5rem; }
@media (max-width: 700px) { .wa-float__label { display: none; } .wa-float .wa-icon { width: 36px; height: 36px; } }
body.nav-open .wa-float { display: none; }
.site-footer__base { padding-bottom: 5.5rem; }

/* Home: programme */
.prog { position: relative; background: var(--night); color: #E6E9F4; padding: clamp(3.5rem, 7vw, 5.5rem) 0; overflow: hidden; }
.prog__glow { position: absolute; left: -10%; bottom: -40%; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(150,35,38,.35), transparent); pointer-events: none; }
.prog__in { position: relative; }
.prog__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 2rem; margin-bottom: 2rem; }
.prog__head h2 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 0; }
.prog__head p { margin: 0; font-family: var(--sans); color: #B6BEDB; font-size: 1.0625rem; }

.daily { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding: 1.4rem 1.75rem; border-radius: var(--r-lg); background: linear-gradient(100deg, rgba(122,21,23,.55), rgba(122,21,23,.18) 60%, rgba(255,255,255,.03)); border: 1px solid rgba(242,212,207,.35); margin-bottom: 1.5rem; }
.daily__flame { font-size: 2.6rem; }
.daily__name { color: #fff; font-size: var(--s3); margin: 0 0 .1rem; }
.daily__when { margin: 0; font-family: var(--sans); font-size: 1.125rem; color: #E6E9F4; }
.daily__when strong { color: #fff; font-size: 1.35rem; }
.daily__status { margin: .35rem 0 0; font-family: var(--sans); font-size: .9375rem; color: var(--flame-soft); display: flex; align-items: center; gap: .5rem; min-height: 1.2em; }
.daily.is-live .daily__status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3BE07A; box-shadow: 0 0 0 4px rgba(59,224,122,.25); }
@media (max-width: 700px) {
  .daily { grid-template-columns: auto 1fr; padding: 1.25rem; gap: 1rem; }
  .daily__btn { grid-column: 1 / -1; justify-self: stretch; }
}

.days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dcard { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; }
.dcard__day { color: #fff; font-size: var(--s3); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.dcard__today { display: none; font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .02em; background: #fff; color: var(--flame); padding: .2rem .55rem; border-radius: 999px; }
.dcard.is-today { border-color: var(--flame-soft); box-shadow: 0 0 0 1px var(--flame-soft) inset; }
.dcard.is-today .dcard__today { display: inline-block; }
.dcard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.dev { display: grid; gap: .15rem; }
.dev__time { font-family: var(--sans); font-weight: 700; font-size: 1.0625rem; color: var(--flame-soft); }
.dev__name { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.25; color: #fff; }
.dev__meta { font-family: var(--sans); font-size: .9375rem; color: #B6BEDB; line-height: 1.4; }
.dev__meta:empty { display: none; }
.dcard--sun { background: var(--flame); border-color: var(--flame); color: #fff; }
.dcard--sun .dcard__day { color: #fff; font-size: var(--s4); }
.dcard--sun .dev__time { color: var(--flame-soft); font-size: 1.25rem; }
.dcard--sun .dev:first-child .dev__time { font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: #fff; letter-spacing: -.02em; }
.dcard--sun .dev__name { color: #fff; }
.dcard--sun .dev:first-child .dev__name { font-size: 1.4rem; }
.dcard--sun .dev__meta { color: #EBCFCB; }
.dcard--sun.is-today { box-shadow: 0 0 0 3px #fff inset; }
.dcard__go { margin-top: auto; padding-top: 1.25rem; font-family: var(--sans); font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.dcard__go:hover { color: var(--flame-soft); }
@media (max-width: 1020px) { .days { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .days { grid-template-columns: minmax(0, 1fr); } .dcard__day { font-size: var(--s2); } .dcard--sun .dcard__day { font-size: var(--s3); } }

/* Sidebar programme extras */
.prog-list__daily strong { color: var(--ember) !important; }
.side-card__link { display: block; margin-top: .6rem; padding-top: .8rem; border-top: 1px solid var(--line); font-weight: 600; font-size: .9375rem; color: #0E7A3F; }

/* Contact: WhatsApp card */
.wa-card { display: flex; align-items: center; gap: 1rem; background: #25D366; color: #06331A; text-decoration: none; border-radius: var(--r-md); padding: 1.2rem 1.4rem; font-family: var(--sans); }
.wa-card:hover { background: #1EBE5A; color: #06331A; }
.wa-card__icon { width: 44px; height: 44px; flex: none; color: #fff; }
.wa-card__text { display: grid; line-height: 1.3; }
.wa-card__text strong { font-size: 1.125rem; }

/* Officials: passport photos */
.leaders { margin-bottom: 1rem; }
.portraits { list-style: none; padding: 0 !important; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 1.25rem; }
.portrait { margin: 0; display: grid; gap: .75rem; font-family: var(--sans); }
.portrait__photo { display: block; width: 100%; aspect-ratio: 7 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--mist); border: 1px solid var(--line); }
.portrait__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait__photo.is-empty { display: grid; place-items: center; background: linear-gradient(160deg, var(--indigo-2), var(--night)); border-color: transparent; }
.portrait__photo.is-empty span { font-family: var(--serif); font-weight: 700; font-size: 2.6rem; color: var(--flame-soft); }
.portrait__body { display: grid; line-height: 1.35; }
.portrait__body strong { font-family: var(--serif); font-size: 1.1875rem; color: var(--night); }
.portrait__body > span { color: var(--muted); font-size: .9375rem; }
.portrait__wa { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; font-weight: 700; color: #0E7A3F; text-decoration: none; }
.portrait__wa svg { width: 20px; height: 20px; }
.portraits--pastor { grid-template-columns: minmax(0, 240px) 1fr; align-items: end; }
.portraits--pastor .portrait { grid-template-columns: 240px 1fr; grid-column: 1 / -1; align-items: end; gap: 1.5rem; }
.portraits--pastor .portrait__body strong { font-size: var(--s3); line-height: 1.15; }
.portraits--pastor .portrait__body > span { font-size: 1.0625rem; color: var(--ember); font-weight: 600; }
@media (max-width: 560px) {
  .portraits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .portraits--pastor .portrait { grid-template-columns: 150px 1fr; gap: 1rem; }
  .portraits--pastor .portrait__body strong { font-size: var(--s2); }
}
.page-body--wide .prose { max-width: none; }

/* =========================================================
   Update 3: logo header, sticky number bar, navy + maroon
   ========================================================= */

/* Sticky stack: number bar + header stay on screen while scrolling */
.site-top { position: sticky; top: 0; z-index: 50; }
.site-header { position: static; background: #fff; color: var(--indigo); box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(20,28,63,.35); }
.topbar { background: var(--night); color: #C7CEE6; }
.topbar__in { align-items: center; padding: .45rem 0; }
.topbar__contact { align-items: center; }
.topbar__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: 1rem; color: #fff; background: var(--flame); padding: .25rem .8rem .25rem .6rem; border-radius: 999px; }
.topbar__phone svg { width: 15px; height: 15px; }
.topbar a.topbar__phone:hover { background: var(--flame-dark); color: #fff; }
@media (max-width: 640px) {
  .topbar__mail { display: none; }
  .topbar__in { padding: .35rem 0; }
}

/* Brand: logo + name */
.site-header__in { min-height: 74px; }
.brand { color: var(--indigo); gap: .75rem; }
.brand:hover { color: var(--indigo); }
.brand__logo { width: auto; height: 58px; }
.brand .brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.375rem; letter-spacing: -.01em; color: var(--indigo); white-space: nowrap; }

/* Desktop menu on white */
.nav__link { color: var(--indigo); font-weight: 600; }
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--flame); background: var(--mist); }
.nav__item.is-active > .nav__link { color: var(--flame); box-shadow: inset 0 -3px 0 var(--flame); }
.sub { border: 1px solid var(--line); }
.sub a:hover { background: var(--mist); color: var(--flame); }
@media (min-width: 1021px) and (max-width: 1240px) {
  .brand .brand__name { font-size: 1.15rem; }
  .brand__logo { height: 50px; }
}
@media (min-width: 1021px) and (max-width: 1120px) { .brand .brand__name { display: none; } }

/* Mobile menu: white panel */
@media (max-width: 1020px) {
  .nav-toggle { border-color: var(--line); color: var(--indigo); margin-left: auto; }
  .nav { top: var(--top-h, 120px); inset-inline: 0; bottom: 0; background: #fff; }
  .nav__item { border-bottom-color: var(--line); }
  .nav__link { color: var(--indigo); }
  .nav__link:hover { background: transparent; }
  .nav__item.is-active > .nav__link { color: var(--flame); box-shadow: none; }
  .sub-toggle { color: var(--indigo); }
  .sub { background: var(--mist); border: 0; }
  .sub a { color: var(--ink); }
  .sub a:hover { background: #fff; color: var(--flame); }
}
@media (max-width: 480px) {
  .site-header__in { min-height: 64px; }
  .brand__logo { height: 46px; }
  .brand .brand__name { font-size: 1.125rem; }
  .nav { top: var(--top-h, 100px); }
}
@media (max-width: 340px) { .brand .brand__name { font-size: 1rem; } }
.sidebar { top: 150px; }

/* Home spotlight: call the pastor */
.hero .call-pill { display: inline-flex; margin: 0 0 1.25rem; background: #fff; color: var(--indigo); padding: .5rem 1.4rem .5rem .5rem; }
.hero .call-pill:hover { background: var(--flame-soft); color: var(--indigo); }
.hero .call-pill__icon { width: 46px; height: 46px; background: var(--flame); color: #fff; }
.hero .call-pill__icon svg { width: 22px; height: 22px; }
.hero .call-pill__hint { display: block; font-size: .8125rem; color: var(--ember); opacity: 1; }
.hero .call-pill__num { font-size: 1.5rem; color: var(--indigo); }
@media (prefers-reduced-motion: no-preference) { .hero .call-pill { animation: ring 3.5s ease-out 1s 3; } }
.hero .btn--flame { box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.hero__kicker { color: var(--flame-soft); }

/* Programme: Zoom button on maroon band */
.daily__btn.btn--flame { background: #fff; color: var(--flame); }
.daily__btn.btn--flame:hover { background: var(--flame-soft); color: var(--flame-dark); }
.prog-list__daily strong { color: var(--ember) !important; }

/* Page banners & dark sections: navy, with a maroon glow */
.page-hero { background: radial-gradient(70% 140% at 100% 0%, rgba(122,21,23,.55), transparent 60%), linear-gradient(135deg, var(--indigo) 0%, var(--night) 100%); }
.hero { background: radial-gradient(60% 80% at 82% 35%, rgba(122,21,23,.55), transparent 70%), linear-gradient(160deg, var(--indigo-2) 0%, var(--indigo) 40%, var(--night) 100%); }
.story__year { -webkit-text-stroke-color: var(--flame); }

/* Footer logo */
.footer-logo { display: inline-flex; align-items: center; gap: .9rem; margin-bottom: 1rem; color: #fff; text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 1.25rem; }
.footer-logo img { width: 72px; height: auto; background: #fff; border-radius: 12px; padding: 6px; }
.site-footer a.footer-logo:hover { color: #fff; text-decoration: none; }

/* WhatsApp button: always show "Contact Now" */
.wa-float { padding: .6rem 1.1rem .6rem .6rem; }
.wa-float__label { display: inline !important; padding-right: 0; font-size: 1rem; }
.wa-float .wa-icon { width: 32px !important; height: 32px !important; }

/* Maitree has no italic: quotes use colour and quote marks instead */
.hero__verse p, .scripture p, .reading__pastor blockquote p, .side-card--thought p { font-weight: 500; }

/* No maroon-over-navy blends (they read as purple): solid colours only */
.hero { background: linear-gradient(165deg, #24356F 0%, var(--indigo) 45%, var(--night) 100%); }
.hero__glow, .prog__glow { display: none; }
.hero__flame { filter: drop-shadow(0 18px 40px rgba(0,0,0,.35)); }
.page-hero { background: linear-gradient(135deg, var(--indigo) 0%, var(--night) 100%); border-bottom: 4px solid var(--flame); }
.page-hero::after { opacity: .35; }
.daily { background: var(--flame); border-color: var(--flame); }
.daily__status { color: #F7DEDA; }
.img-frame.is-missing { background: linear-gradient(160deg, var(--indigo), var(--night)); }
.hero__verse { border-left-color: var(--flame-soft); }
.hero .btn--flame { box-shadow: none; }
.prayer-band, .side-prayer { background: var(--indigo); }
.daily__flame { filter: brightness(0) invert(1); opacity: .9; }

/* =========================================================
   Update 4
   ========================================================= */
/* Top bar: plain, right-aligned number on mobile */
@media (max-width: 640px) {
  .topbar__in { justify-content: flex-end; }
  .topbar__contact { justify-content: flex-end; }
  .topbar__phone { background: none; padding: 0; font-size: 1rem; }
  .topbar a.topbar__phone:hover { background: none; color: var(--flame-soft); }
}
@media (max-width: 400px) { .brand .brand__name { font-size: 1rem; } }

/* Home spotlight welcome */
.hero__welcome { font-family: var(--sans); font-size: 1.1875rem; line-height: 1.6; color: #fff; max-width: 46ch; margin: 0 0 2rem; padding: 1rem 1.25rem; background: rgba(255,255,255,.07); border-radius: var(--r-md); }
.hero__welcome strong { font-family: var(--serif); font-size: 1.375rem; display: block; margin-bottom: .2rem; color: var(--flame-soft); }

/* Daily prayer now sits below the day cards */
.daily { margin: 1.5rem 0 0; }

/* Footer social icons */
.social { list-style: none; margin: .5rem 0 0; padding: 0; display: flex; gap: .6rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; }
.social a:hover { background: var(--flame); color: #fff; }
.social svg { width: 20px; height: 20px; }
.social__handle { margin: .6rem 0 0; color: #9AA2C0; font-size: .9375rem; }

/* Officials: founder + senior pastor centred at the top, name below photo */
.leaders--pastors { margin-bottom: 2.5rem; }
.portraits--pastor { display: flex; justify-content: center; flex-wrap: wrap; gap: 2.5rem; grid-template-columns: none; }
.portraits--pastor .portrait { grid-template-columns: minmax(0, 1fr); grid-column: auto; width: 230px; text-align: center; justify-items: center; align-items: start; gap: .9rem; }
.portraits--pastor .portrait__body { justify-items: center; }
.portraits--pastor .portrait__body strong { font-size: var(--s2); }
.portraits--pastor .portrait__wa { justify-content: center; }
@media (max-width: 560px) {
  .portraits--pastor { gap: 1rem; }
  .portraits--pastor .portrait { width: calc(50% - .5rem); grid-template-columns: minmax(0, 1fr); }
  .portraits--pastor .portrait__body strong { font-size: 1.1875rem; }
}

/* Events */
.ev-tabs { display: inline-flex; gap: .25rem; padding: .3rem; background: var(--mist); border-radius: 999px; margin-bottom: 2.5rem; font-family: var(--sans); }
.ev-tabs a { padding: .6rem 1.2rem; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--indigo); }
.ev-tabs a[aria-current="page"] { background: var(--indigo); color: #fff; }
.ev-empty { padding: 2rem; border: 1px dashed var(--line); border-radius: var(--r-md); font-family: var(--sans); }
.event { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 2rem; background: #fff; }
.event__main { display: grid; grid-template-columns: 140px 1fr; }
.event__date { background: var(--flame); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem .5rem; font-family: var(--sans); text-align: center; }
.event__month { font-size: 1.125rem; font-weight: 700; letter-spacing: .04em; }
.event__day { font-family: var(--serif); font-size: 3.5rem; font-weight: 700; line-height: 1; margin: .15rem 0; }
.event__year { font-size: .9375rem; color: var(--flame-soft); }
.event__body { padding: 1.75rem 2rem 2rem; }
.event__title { font-size: var(--s3); margin-bottom: 1rem; }
.event__facts { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin: 0 0 1.1rem; font-family: var(--sans); }
.event__facts dt { color: var(--muted); font-size: .875rem; }
.event__facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.event__summary { max-width: 65ch; }
.event__details { margin: 0 0 1.5rem; padding-left: 1.2em; }
.event__details li::marker { color: var(--ember); }
.event__actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.btn--outline { border-color: var(--indigo); color: var(--indigo); }
.btn--outline:hover { background: var(--indigo); color: #fff; }
.event__gallery { border-top: 1px solid var(--line); padding: 1.5rem 2rem 2rem; background: var(--mist); }
.event__gallery h3 { font-size: var(--s1); margin-bottom: 1rem; }
.gallery--event { grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: .75rem; }
.event__nophotos { margin: 0; color: var(--muted); font-family: var(--sans); }
@media (max-width: 640px) {
  .event__main { grid-template-columns: minmax(0, 1fr); }
  .event__date { flex-direction: row; gap: .5rem; padding: .8rem 1.25rem; justify-content: flex-start; }
  .event__day { font-size: 1.125rem; margin: 0; font-family: var(--sans); }
  .event__body, .event__gallery { padding: 1.25rem; }
  .gallery--event { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.portraits--pastor { align-items: flex-start; }
.ev-tabs { justify-self: start; width: fit-content; }
.page-body--wide { row-gap: 0; }

/* =========================================================
   Update 5
   ========================================================= */
:root { --sec: clamp(3.5rem, 7vw, 5.5rem); }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* Submenu icons */
.sub a { display: flex; align-items: center; gap: .65rem; }
.sub__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--mist); color: var(--flame); flex: none; }
.sub__ico svg { width: 16px; height: 16px; }
.sub a:hover .sub__ico { background: var(--flame); color: #fff; }
@media (max-width: 1020px) { .sub__ico { background: #fff; } }

/* ---- Spotlight ---- */
.hero { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.hero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__mark { display: none; }
.hero__kicker { margin-bottom: .9rem; }
.hero__title { max-width: none; font-size: clamp(2.5rem, 5.4vw, 4.4rem); line-height: 1.04; margin-bottom: 1.25rem; }
.hero__name { display: block; font-family: var(--sans); font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; letter-spacing: 0; color: var(--flame-soft); margin-bottom: .6rem; }
.hero__lead { font-family: var(--sans); font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.65; color: #E6E9F4; max-width: 50ch; margin: 0 0 1.5rem; }
.hero__verse { margin-bottom: 2rem; }
.hero__verse p { font-size: 1.125rem; }
.btn--light { background: #fff; color: var(--flame); }
.btn--light:hover { background: var(--flame-soft); color: var(--flame-dark); }
.hero__art { position: relative; margin: 0; align-self: end; }
.hero__art img { width: 100%; height: auto; max-height: 560px; object-fit: contain; object-position: bottom; }
.legacy-seal { position: absolute; left: -6%; top: 14%; width: 132px; height: 132px; border-radius: 50%; background: var(--flame); color: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 0 0 6px var(--indigo), 0 0 0 8px var(--flame-soft); font-family: var(--sans); line-height: 1.1; padding: .5rem; }
.legacy-seal__num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.legacy-seal__txt { font-size: .8125rem; font-weight: 600; margin-top: .2rem; }
.legacy-seal__since { font-size: .75rem; color: var(--flame-soft); margin-top: .25rem; }
@media (max-width: 860px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 420px; margin: 0 auto; width: 100%; }
  .legacy-seal { left: 0; top: 8%; width: 108px; height: 108px; }
  .legacy-seal__num { font-size: 2.1rem; }
}

/* Sunday card: compact, one line on desktop */
.sunday { margin-top: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; padding: 1.1rem 1.75rem; grid-template-areas: none; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.sunday__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--flame); color: #fff; display: grid; place-items: center; flex: none; }
.sunday__icon svg { width: 24px; height: 24px; }
.sunday__text { display: grid; gap: .1rem; }
.sunday__label { border: 0; padding: 0; font-size: .9375rem; color: var(--ember); display: block; align-self: auto; }
.sunday__time { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.sunday__place { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: 1rem; }
.sunday__pin { color: var(--flame); }
.sunday__go { margin-left: auto; }
@media (max-width: 820px) { .sunday { padding: 1rem 1.25rem; } .sunday__go { margin-left: 0; width: 100%; } }

/* ---- Programme: one consistent row per day ---- */
.prog { padding: var(--sec) 0; }
.prog__head { margin-bottom: 1.75rem; }
.ptable { list-style: none; margin: 0; padding: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.prow { display: grid; grid-template-columns: 170px minmax(0, 1fr); align-items: start; gap: 0 1.5rem; padding: 1.1rem 1.5rem; background: rgba(255,255,255,.04); }
.prow + .prow { border-top: 1px solid rgba(255,255,255,.1); }
.prow__day { color: #fff; font-size: var(--s2); margin: 0; padding-top: .15rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.prow__today { display: none; font-family: var(--sans); font-size: .75rem; font-weight: 700; background: #fff; color: var(--flame); padding: .2rem .55rem; border-radius: 999px; }
.prow.is-today .prow__today { display: inline-block; }
.prow.is-today { box-shadow: inset 4px 0 0 var(--flame-soft); }
.prow__events { list-style: none; margin: 0; padding: 0; display: grid; }
.pev { display: grid; grid-template-columns: 190px minmax(0, 1fr) 210px; gap: .25rem 1.25rem; align-items: baseline; padding: .55rem 0; }
.pev + .pev { border-top: 1px dashed rgba(255,255,255,.14); }
.pev__time { font-family: var(--sans); font-weight: 700; color: var(--flame-soft); font-size: 1rem; white-space: nowrap; }
.pev__main strong { display: block; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.3; color: #fff; font-weight: 600; }
.pev__meta { display: block; font-family: var(--sans); font-size: .9375rem; color: #B6BEDB; }
.pev__count { font-family: var(--sans); font-size: .8125rem; color: #B6BEDB; text-align: right; }
.countdown.is-live { color: #8EF0B4; font-weight: 700; }
.prow--sun { background: var(--flame); }
.prow--sun .pev__time { color: #fff; }
.prow--sun .pev__meta, .prow--sun .pev__count { color: var(--flame-soft); }
.prow--sun .pev + .pev { border-top-color: rgba(255,255,255,.25); }
.prow--daily { grid-template-columns: 170px minmax(0, 1fr) auto; align-items: center; background: rgba(255,255,255,.08); }
.prow__btn { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--sans); font-weight: 600; font-size: .9375rem; color: var(--flame); background: #fff; padding: .6rem 1rem; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.prow__btn:hover { background: var(--flame-soft); color: var(--flame-dark); }
.prog__foot { margin: 1.25rem 0 0; font-family: var(--sans); }
.prog__foot a { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 600; }
.prog__foot a:hover { color: var(--flame-soft); }
@media (max-width: 1020px) {
  .pev { grid-template-columns: 170px minmax(0, 1fr); }
  .pev__count { grid-column: 2; text-align: left; }
}
@media (max-width: 680px) {
  .prow, .prow--daily { grid-template-columns: minmax(0, 1fr); gap: .5rem; padding: 1rem 1.1rem; }
  .pev { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .pev__count { grid-column: 1; }
  .prow__btn { justify-self: start; margin-top: .25rem; }
}

/* Sidebar programme */
.prog-list li { gap: .1rem; }
.prog-list__name { font-weight: 700 !important; }
.prog-list__venue { color: var(--muted); font-size: .875rem; }
.prog-list__venue b { color: var(--ink); font-weight: 700; }
.prog-list small { font-size: .78rem; color: var(--ember); }
.prog-list small.is-live { color: #0E7A3F; }
.side-card__venue strong { color: var(--ink); }

/* Share buttons */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); font-family: var(--sans); }
.share__label { font-weight: 700; color: var(--ink); margin-right: .25rem; }
.share__btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: var(--indigo); text-decoration: none; }
.share__btn:hover { color: #fff; filter: brightness(1.15); }
.share__btn--wa { background: #25D366; }
.share__btn--fb { background: #1877F2; }
.share__btn--x { background: #111; }
.share__copy, .share__native { background: var(--mist); color: var(--indigo); }
.share__copy:hover, .share__native:hover { color: var(--indigo); filter: brightness(.95); }
.share__ico { width: 20px; height: 20px; }
.share__done { font-size: .9375rem; color: #0E7A3F; font-weight: 600; }
.sunday__text > * { grid-area: auto; }
.sunday .sunday__time { line-height: 1.15; }
/* Officials: male / female placeholder pictures */
.person__avatar { object-fit: cover; object-position: 50% 20%; background: var(--mist); }
.portrait__photo.is-empty { background: var(--indigo); }
.portrait__photo.is-empty img { width: 100%; height: 100%; object-fit: cover; }

/* Page illustrations: full width of the text column */
.prose__img { max-width: none; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 2rem; border-radius: var(--r-lg); background: var(--mist); }
.prose__img img { object-fit: cover; object-position: 50% 60%; }
.img-frame img[src$=".svg"] { background: var(--mist); }
.act__img, .act-row__img, .article-card__img, .article-list__img, .study-card__img { background: var(--mist); }

/* Overview timeline */
.timeline { list-style: none; padding: 0 !important; margin: 1.5rem 0 2rem; border-left: 3px solid var(--flame-soft); }
.timeline li { position: relative; margin: 0; padding: 0 0 1.25rem 1.5rem; display: grid; gap: .15rem; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: .45em; width: 15px; height: 15px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 3px #fff; }
.timeline strong { font-family: var(--sans); color: var(--flame); font-size: .9375rem; }
.timeline span { line-height: 1.6; }

/* Study extras */
.questions { counter-reset: q; list-style: none; padding: 0 !important; }
.questions li { counter-increment: q; position: relative; padding: .75rem 1rem .75rem 3.1rem; background: var(--mist); border-radius: var(--r-md); margin: 0 0 .6rem; }
.questions li::before { content: counter(q); position: absolute; left: 1rem; top: .75rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--indigo); color: #fff; font: 700 .8125rem/1.5rem var(--sans); text-align: center; }
.aside { font-family: var(--sans); font-size: 1rem; background: color-mix(in srgb, var(--flame) 8%, white); border-radius: var(--r-md); padding: .9rem 1.1rem; color: var(--flame-dark); }
.studies { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 1.5rem; }
.study-card a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: border-color .15s; }
.study-card a:hover { border-color: var(--indigo-2); }
.study-card .img-frame { border-radius: 0; }
.study-card__body { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.study-card__tag { display: inline-flex; align-items: center; gap: .35rem; font-family: var(--sans); font-size: .875rem; font-weight: 600; color: var(--ember); }
.study-card h2 { font-size: var(--s2); margin: 0; }
.study-card p { color: var(--muted); margin: 0; flex: 1; }
.study-card a:hover h2 { color: var(--flame); }
.next-link a { display: grid; gap: .1rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; margin-top: 1.5rem; }
.next-link span { font-family: var(--sans); font-size: .875rem; color: var(--muted); }
.next-link strong { font-size: 1.1875rem; color: var(--indigo); }
.next-link a:hover strong { color: var(--flame); }
.back-link a { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--sans); font-weight: 600; text-decoration: none; }
.back-link a:hover { text-decoration: underline; }
.back-link--end { margin-top: 2rem; }
.note { font-family: var(--sans); color: var(--muted); background: var(--mist); padding: .75rem 1rem; border-radius: var(--r-md); }
.note-inline { font-family: var(--sans); font-size: .875rem; color: var(--muted); font-weight: 400; }

/* Albums */
.albums { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 1.5rem; }
.album-card a { display: block; text-decoration: none; color: inherit; }
.album-card__cover { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); box-shadow: 8px 8px 0 -2px var(--flame-soft), 16px 16px 0 -4px var(--mist); }
.album-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.album-card a:hover .album-card__cover img { transform: scale(1.03); }
.album-card__count { position: absolute; left: .75rem; bottom: .75rem; display: inline-flex; align-items: center; gap: .35rem; background: rgba(20,28,63,.82); color: #fff; font: 600 .875rem var(--sans); padding: .35rem .7rem; border-radius: 999px; }
.album-card__body { display: block; padding: 1.4rem .25rem 0; }
.album-card h2 { font-size: var(--s1); margin: 0; }
.album-card__date { font-family: var(--sans); font-size: .9375rem; color: var(--muted); }
.album-card a:hover h2 { color: var(--flame); }
.gallery--album { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: .75rem; margin: 1.5rem 0 0; }
.gallery__img { cursor: zoom-in; }
.gallery__link:hover img { filter: brightness(1.06); }

/* Photo slider */
.slider { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,16,38,.96); color: #fff; }
.slider::backdrop { background: rgba(12,16,38,.9); }
.slider[open] { display: grid; grid-template-rows: 1fr auto; }
.slider__stage { display: grid; place-items: center; padding: 4rem 4.5rem 0; min-height: 0; }
.slider__img { max-width: 100%; max-height: calc(100vh - 9rem); width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
@media (prefers-reduced-motion: no-preference) { .slider__img.is-in { animation: slideIn .25s ease-out; } }
@keyframes slideIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
.slider__bar { margin: 0; padding: 1rem 1.5rem 1.5rem; text-align: center; font-family: var(--sans); display: flex; justify-content: center; gap: 1rem; }
.slider__count { color: #B6BEDB; }
.slider__btn, .slider__close { position: fixed; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.slider__btn { top: 50%; width: 52px; height: 52px; transform: translateY(-50%); }
.slider__btn svg { width: 26px; height: 26px; }
.slider__prev { left: 1rem; } .slider__next { right: 1rem; }
.slider__close { top: 1rem; right: 1rem; width: 46px; height: 46px; }
.slider__btn:hover, .slider__close:hover { background: var(--flame); }
.slider.is-single .slider__btn { display: none; }
@media (max-width: 640px) { .slider__stage { padding: 4rem .75rem 0; } .slider__btn { top: auto; bottom: 1rem; transform: none; } .slider__bar { padding-bottom: 5rem; } }

/* Audio sermons */
.sermons { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.sermon { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.5rem; }
.sermon__title { font-size: var(--s2); margin: 0; }
.sermon__meta { font-family: var(--sans); color: var(--ember); font-weight: 600; margin: .15rem 0 .5rem; }
.sermon__text { color: var(--muted); margin-bottom: 1rem; }
.player { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; background: var(--mist); border-radius: 999px; padding: .5rem .9rem .5rem .5rem; font-family: var(--sans); }
.player__play { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--flame); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.player__play:hover { background: var(--flame-dark); }
.player__play svg { width: 20px; height: 20px; }
.player__i-pause, .player.is-playing .player__i-play { display: none; }
.player.is-playing .player__i-pause { display: contents; }
.player__time { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.player__seek { flex: 1; min-width: 120px; accent-color: var(--flame); height: 6px; }
.player__speed { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .35rem .7rem; font: 600 .8125rem var(--sans); color: var(--indigo); cursor: pointer; }
.player__dl { color: var(--indigo); display: grid; place-items: center; }
.player__dl svg { width: 20px; height: 20px; }
.player__msg { flex-basis: 100%; margin: 0 0 0 .5rem; font-size: .875rem; color: var(--ember); }
.player__msg:empty { display: none; }
.player.is-missing { border-radius: var(--r-md); }

/* Video sermons */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 1.25rem; margin-bottom: 1rem; }
.video-card { margin: 0; }
.video-card figcaption { font-family: var(--sans); font-weight: 600; margin-top: .5rem; }
.fb-page { max-width: 500px; height: 700px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); margin-bottom: 1rem; background: var(--mist); }
.fb-page iframe { width: 100%; height: 100%; border: 0; }

/* Events: picture */
.event__main { grid-template-columns: 140px minmax(0, 1fr) minmax(0, 340px); }
.event__art { background: var(--mist); }
.event__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .event__main { grid-template-columns: 120px minmax(0, 1fr); } .event__art { display: none; } }
@media (max-width: 640px) { .event__main { grid-template-columns: minmax(0, 1fr); } .event__art { display: block; order: -1; aspect-ratio: 16 / 9; } }

/* Documents sign-in */
.login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 3rem; align-items: center; max-width: 980px; }
.login__img { aspect-ratio: 3 / 2; border-radius: var(--r-lg); }
.login__form { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; background: #fff; }
.login__form h2 { display: flex; align-items: center; gap: .5rem; font-size: var(--s2); margin: 0; }
.login__note, .login__help { color: var(--muted); font-size: .9375rem; margin: 0; }
@media (max-width: 820px) { .login { grid-template-columns: minmax(0, 1fr); } .login__art { display: none; } }

/* =========================================================
   Spacing pass: one rhythm for sections, pages and text
   ========================================================= */
.story, .acts, .reading, .notice, .prog { padding: var(--sec) 0; }
.section-head, .prog__head { margin-bottom: 2rem; }
.section-head h2, .prog__head h2, .story__text h2, .reading h2, .notice h2 { margin-bottom: 0; }
.story__text h2, .reading h2, .notice h2 { margin-bottom: 1.25rem; }
.page-hero { padding: clamp(2.25rem, 5vw, 3.5rem) 0; }
.page-hero h1 { line-height: 1.12; }
.crumbs { margin-bottom: .85rem; }
.page-body { padding-top: clamp(2.25rem, 5vw, 3.5rem); padding-bottom: var(--sec); gap: clamp(2.5rem, 5vw, 4rem); }

/* Text column */
.prose { font-size: 1.0625rem; line-height: 1.8; }
.prose > * { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose dl { margin-bottom: 1.25rem; }
.prose h2 { font-size: var(--s2); margin: 2.5rem 0 .85rem; line-height: 1.25; }
.prose h2:first-child, .prose .img-frame + h2 { margin-top: 0; }
.prose li { margin-bottom: .4rem; }
.prose li:last-child { margin-bottom: 0; }
.prose .callout { margin-top: 2.5rem; }
.prose .scripture { margin: 2rem 0; }
.prose .print-row { margin-top: 2rem; }
.prose .share + .print-row { margin-top: 1rem; }

/* Cards and lists */
.side-card { padding: 1.4rem; }
.side-card__title { margin-bottom: .4rem; }
.prog-list li { padding: .7rem 0; }
.acts__grid { gap: 2rem 1.5rem; }
.act h3 { margin: 1rem 0 .3rem; }
.act-row a, .article-card a { padding: 1.5rem 0; }
.people, .portraits { margin-bottom: 2rem; }
.prose h2 + .people, .prose h2 + .portraits { margin-top: 0; }
.site-footer__grid { padding-bottom: 2.5rem; }
.site-footer__list { gap: .55rem; }
.visit { padding: 2.25rem 0; }
.page-body > .prose { max-width: 760px; }

/* =========================================================
   Update 6: light home sections, header caption, kids block
   ========================================================= */
/* Header caption under the name */
.brand__text { display: flex; flex-direction: column; line-height: 1.15; white-space: normal; }
.brand__caption { font-family: var(--sans); font-size: .75rem; font-weight: 500; color: var(--ember); letter-spacing: .01em; margin-top: .15rem; }
@media (min-width: 1021px) and (max-width: 1240px) { .brand__caption { font-size: .6875rem; max-width: 220px; } }
@media (min-width: 1021px) and (max-width: 1120px) { .brand__caption { display: none; } }
@media (max-width: 480px) { .brand__caption { font-size: .625rem; line-height: 1.3; max-width: 190px; } }
@media (max-width: 340px) { .brand__caption { display: none; } }

/* Light sections between spotlight and footer: soft grey fading to white */
.home main > section:not(.hero) { background: linear-gradient(180deg, #EEF0F6 0%, #FFFFFF 70%); }
.home .story { background: linear-gradient(180deg, #EEF0F6 0%, #FFFFFF 70%); }
.home .reading { color: var(--ink); }
.home .reading h2 { color: var(--night); }
.home .reading__pastor blockquote p { color: var(--night); }
.home .reading__pastor cite { color: var(--ember); }
.home .reading .btn--ink { background: var(--flame); color: #fff; }
.home .reading .btn--ink:hover { background: var(--flame-dark); color: #fff; }
.home .article-list li + li { border-top-color: var(--line); }
.home .article-list strong { color: var(--night); }
.home .article-list em { color: var(--muted); }
.home .article-list a:hover strong { color: var(--flame); }
.home .reading .text-link { color: var(--indigo-2); }
.home .reading__pastor { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; border-top: 4px solid var(--flame); }

/* Programme on light background */
.home .prog { color: var(--ink); }
.prog__head h2 { color: var(--night); }
.prog__head p { color: var(--muted); }
.ptable { border-color: var(--line); background: #fff; box-shadow: 0 14px 40px -28px rgba(20,28,63,.35); }
.prow { background: #fff; }
.prow + .prow { border-top-color: var(--line); }
.prow__day { color: var(--night); }
.pev + .pev { border-top-color: var(--line); }
.pev__time { color: var(--flame); }
.pev__main strong { color: var(--night); }
.pev__meta, .pev__count { color: var(--muted); }
.countdown.is-live { color: #0E7A3F; }
.prow--sun { background: var(--flame); }
.prow--sun .prow__day, .prow--sun .pev__main strong, .prow--sun .pev__time { color: #fff; }
.prow--sun .pev__meta, .prow--sun .pev__count { color: #F6DAD6; }
.prow--sun .countdown.is-live { color: #fff; }
.prow--extra { background: #FBF4F3; }
.prow--extra .prow__day { color: var(--flame); }
.prow--daily { background: var(--mist); }
.prow.is-today:not(.prow--sun) { box-shadow: inset 4px 0 0 var(--flame); }
.prow__today { background: var(--flame); color: #fff; }
.prow--sun .prow__today { background: #fff; color: var(--flame); }
.prow__btn { background: var(--flame); color: #fff; }
.prow__btn:hover { background: var(--flame-dark); color: #fff; }
.prog__foot a { color: var(--indigo-2); }
.prog__foot a:hover { color: var(--flame); }

/* Children's Church showcase */
.kids__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.kids__art { position: relative; margin: 0; }
.kids__art img { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: 0 24px 50px -30px rgba(20,28,63,.5); }
.kids__badge { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .45rem; background: #fff; color: var(--night); font: 700 .9375rem var(--sans); padding: .55rem .9rem; border-radius: 999px; box-shadow: 0 6px 18px rgba(20,28,63,.2); }
.kids__badge .ico { color: var(--flame); }
.kids__eyebrow { font-family: var(--sans); font-weight: 700; color: var(--flame); margin: 0 0 .5rem; }
.kids__text h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
.kids__lead { font-family: var(--sans); font-size: 1.125rem; line-height: 1.65; color: var(--muted); margin-bottom: 1.25rem; }
.kids__benefits { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.25rem; font-family: var(--sans); font-weight: 500; }
.kids__benefits li { display: flex; align-items: center; gap: .6rem; }
.kids__benefits .ico { width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #F8E9E7; color: var(--flame); box-sizing: border-box; }
.kids__facts { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.75rem; font-family: var(--sans); }
.kids__facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: .6rem .9rem; }
.kids__facts dt { font-size: .8125rem; color: var(--muted); }
.kids__facts dd { margin: 0; font-weight: 700; color: var(--night); }
.kids__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn .ico { width: 1.2em; height: 1.2em; }
@media (max-width: 900px) { .kids__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .kids__benefits { grid-template-columns: minmax(0, 1fr); } }

/* Announcements with dates */
.ann-list__date { font-size: .8125rem !important; font-weight: 700; color: var(--ember) !important; }
.ann-list__link { display: inline-flex; align-items: center; gap: .35rem; font-size: .9375rem; font-weight: 600; margin-top: .25rem; width: fit-content; }
.ann-list__link--wa { color: #0E7A3F; }

/* Today's Verse */
.side-card--verse { background: linear-gradient(160deg, var(--indigo) 0%, var(--night) 100%); border: 0; color: #fff; }
.side-card--verse .side-card__title { color: #fff; display: flex; align-items: center; gap: .5rem; }
.side-card--verse .side-card__title .ico { color: var(--flame-soft); }
.votd__date { font-size: .875rem; color: #B6BEDB; margin: 0 0 .75rem; }
.votd { margin: 0 0 1rem; }
.votd p { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.55; font-weight: 500; color: #fff; margin: 0 0 .6rem; }
.votd footer { font-size: .9375rem; color: var(--flame-soft); }
.votd cite { font-style: normal; font-weight: 700; }
.votd__ver { color: #9AA2C0; font-size: .8125rem; margin-left: .25rem; }
.votd__share { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 600; font-size: .9375rem; }
.votd__share:hover { color: var(--flame-soft); }

/* Children's / Youth page extras */
.facts--four { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.benefits { list-style: none; padding: 0 !important; display: grid; gap: .75rem; }
.benefits li { display: flex; gap: .85rem; align-items: flex-start; margin: 0; }
.benefits .ico { width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: #F8E9E7; color: var(--flame); flex: none; box-sizing: border-box; }
.cta-box { background: var(--mist); border-radius: var(--r-lg); padding: 1.75rem; margin: 2.5rem 0; border-left: 5px solid var(--flame); }
.cta-box h2 { margin-top: 0 !important; }
.join-list { list-style: none; padding: 0 !important; }
.join-list li { padding: .5rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.faq { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.faq summary { cursor: pointer; padding: 1rem 1.15rem; font-family: var(--sans); font-weight: 700; color: var(--night); list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--flame); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.15rem 1rem; margin: 0; }

/* Committee: 4 in a row on desktop */
@media (min-width: 900px) { .leaders:not(.leaders--pastors) .portraits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Accessibility fixes from the audit */
.wa-float { background: #0E7A3F; }
.wa-float:hover { background: #0B6534; }
.share__btn { width: 44px; height: 44px; }
.dl-list a { min-height: 44px; display: flex; align-items: center; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.side-card__link, .portrait__wa, .share__done, .prog-list small.is-live { color: #0E7A3F; }
.kids { padding: var(--sec) 0; }
.page-body.page-body--wide > .prose { max-width: none; }
@media (min-width: 900px) { .leaders:not(.leaders--pastors) .portraits { grid-template-columns: repeat(4, minmax(0, 200px)); gap: 1.5rem; } }

/* =========================================================
   Update 7
   ========================================================= */
/* Programme: one row per programme */
.prow, .prow--daily { grid-template-columns: 150px minmax(0, 1fr) auto; align-items: center; gap: .5rem 1.5rem; padding: 1rem 1.5rem; }
.prow__day { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1.25; margin: 0; }
.prow .pev { grid-template-columns: 200px minmax(0, 1fr) 220px; padding: 0; align-items: center; }
.pev__name { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.3; font-weight: 600; color: var(--night); margin: 0; }
.prow--sun .pev__name { color: #fff; }
.prow__btn { padding: .55rem .95rem; }
.prow:not(:has(.prow__btn)) .pev { grid-column: 2 / span 2; }
@media (max-width: 1100px) {
  .prow .pev { grid-template-columns: 180px minmax(0, 1fr); }
  .prow .pev__count { grid-column: 2; text-align: left; }
}
@media (max-width: 680px) {
  .prow, .prow--daily { grid-template-columns: minmax(0, 1fr); padding: 1rem 1.1rem; gap: .35rem; }
  .prow .pev { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .prow .pev__count { grid-column: 1; }
  .prow:not(:has(.prow__btn)) .pev { grid-column: auto; }
  .prow__day { font-size: 1.0625rem; color: var(--flame); }
  .prow--sun .prow__day { color: #F6DAD6; }
}

/* Never break short labels mid-way */
.pev__time, .sunday__time, .prow__day, .ann-list__date, .kids__facts dd, .event__facts dd, .facts dd, .player__time, .btn, .nav__link { white-space: nowrap; }
.kids__facts dd, .facts dd { white-space: normal; }

/* Sunday card: bigger venue */
.sunday__place { font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); font-weight: 600; color: var(--night); gap: .5rem; flex: 1; }
.sunday__pin { width: 1.4em; height: 1.4em; }

/* Mobile sub-menu: alternating light grey / white */
@media (max-width: 1020px) {
  .sub { padding: .25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
  .sub li:nth-child(odd) a { background: #F1F3F8; }
  .sub li:nth-child(even) a { background: #fff; }
  .sub a { padding: .8rem .75rem; min-height: 48px; }
  .sub__ico { background: #fff; }
  .sub li:nth-child(even) .sub__ico { background: #F1F3F8; }
}

/* Social icons: brand colours on hover */
.social a { transition: background-color .15s, color .15s; }
.social a[href*="facebook"]:hover { background: #1877F2; }
.social a[href*="instagram"]:hover { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.social a[href*="x.com"]:hover { background: #000; }
.social a[href*="youtube"]:hover { background: #FF0000; }

/* Gentle reveal while scrolling (only when the script is running and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js-reveal .reveal.is-visible { opacity: 1; transform: none; }
}
.ann-list > li > a.ann-list__link { font-family: var(--sans); font-size: .9375rem; font-weight: 600; color: var(--indigo-2); text-decoration: underline; text-underline-offset: 3px; }
.ann-list > li > a.ann-list__link--wa { color: #0E7A3F; }

/* =========================================================
   Update 8
   ========================================================= */
/* Programme: Programme | Day | Time | Next meeting | Zoom */
.ptable__head, .prow, .prow--daily { display: grid; grid-template-columns: minmax(0, 1.7fr) 150px 190px 210px 120px; gap: .5rem 1.25rem; align-items: center; }
.ptable__head { padding: 0 1.5rem .6rem; font-family: var(--sans); font-size: .8125rem; font-weight: 700; color: var(--muted); }
.prow, .prow--daily { padding: 1rem 1.5rem; }
.prow__prog { display: grid; gap: .1rem; min-width: 0; }
.prow__day { font-family: var(--sans); font-size: 1rem; font-weight: 700; color: var(--night); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.prow .pev__time { margin: 0; font-family: var(--sans); font-weight: 700; color: var(--flame); }
.prow .pev__count { text-align: left; }
.prow__act { justify-self: end; }
.prow__k { display: none; }
.prow--sun .prow__day, .prow--sun .pev__time { color: #fff; }
@media (max-width: 1100px) {
  .ptable__head { display: none; }
  .prow, .prow--daily { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "prog act" "day act" "time act" "count act"; gap: .15rem 1rem; }
  .prow__prog { grid-area: prog; margin-bottom: .25rem; }
  .prow__day { grid-area: day; } .prow .pev__time { grid-area: time; } .prow .pev__count { grid-area: count; } .prow__act { grid-area: act; align-self: center; }
  .prow__k { display: inline-block; min-width: 3.2rem; font-weight: 500; font-size: .8125rem; color: var(--muted); }
  .prow--sun .prow__k { color: #F6DAD6; }
  .prow__day { font-size: .9375rem; }
}
@media (max-width: 560px) {
  .prow, .prow--daily { grid-template-columns: minmax(0, 1fr); grid-template-areas: "prog" "day" "time" "count" "act"; }
  .prow__act { justify-self: start; margin-top: .5rem; }
  .prow__act:empty { display: none; }
}

/* Children's Church block: picture fills the full height of the text */
.kids__in { align-items: stretch; }
.kids__art { display: flex; }
.kids__art img { height: 100%; min-height: 420px; object-fit: cover; object-position: 50% 60%; }
@media (max-width: 900px) { .kids__art img { min-height: 0; height: auto; aspect-ratio: 3 / 2; } }

/* Team cards: wider, name on one line */
.people { grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); }
.person__body strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.person__body { min-width: 0; }

/* Committee centred, like the pastors */
.leaders:not(.leaders--pastors) h2 { text-align: center; }
.leaders:not(.leaders--pastors) .portraits { justify-content: center; }
.leaders:not(.leaders--pastors) .portrait { text-align: center; justify-items: center; }
.leaders:not(.leaders--pastors) .portrait__body { justify-items: center; }
/* Video Gallery */
.vgrid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 1.5rem; }
.vcard__link { display: grid; gap: .5rem; text-decoration: none; color: inherit; }
.vcard__thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--indigo); }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vcard__link:hover .vcard__thumb img { transform: scale(1.04); }
.vcard__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(122,21,23,.92); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.vcard__play svg { width: 26px; height: 26px; margin-left: 3px; }
.vcard__title { font-family: var(--serif); font-weight: 600; font-size: 1.125rem; line-height: 1.35; color: var(--night); }
.vcard__link:hover .vcard__title { color: var(--flame); }
.vcard__date { font-family: var(--sans); font-size: .875rem; color: var(--muted); }
.vgrid__more { margin-top: 2rem; }
.vplayer { width: min(100vw - 2rem, 1100px); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.vplayer::backdrop { background: rgba(12,16,38,.92); }
.vplayer__frame { aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-md); overflow: hidden; }
.vplayer__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vplayer__title { color: #fff; font-family: var(--sans); text-align: center; margin: .9rem 0 0; }
.kids__art img { object-position: 50% 100%; }
@media (max-width: 900px) { .kids__art img { aspect-ratio: 4 / 3; } }
/* Event videos */
.event__videos { border-top: 1px solid var(--line); padding: 1.5rem 2rem 2rem; }
.event__videos h3 { font-size: var(--s1); margin-bottom: 1rem; }
.vgrid--event { margin: 0; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 1rem; }
.vgrid--event .vcard__title { font-size: 1rem; }
.event__facts dd { white-space: normal; }
@media (max-width: 640px) { .event__videos { padding: 1.25rem; } }
/* Contact: WhatsApp broadcast */
.broadcast { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem 1.75rem; align-items: center; margin-top: 3rem; padding: 1.75rem 2rem; border-radius: var(--r-lg); background: #EAF7EF; border: 1px solid #C9EBD6; }
.broadcast__icon { width: 64px; height: 64px; border-radius: 50%; background: #0E7A3F; color: #fff; display: grid; place-items: center; }
.broadcast__icon .ico { width: 34px; height: 34px; }
.broadcast h2 { font-size: var(--s2); margin: 0 0 .35rem; }
.broadcast p { margin: 0 0 .6rem; font-family: var(--sans); color: var(--ink); }
.broadcast__steps { margin: 0; padding-left: 1.2rem; font-family: var(--sans); font-size: .9375rem; color: var(--muted); }
.btn--wa { background: #0E7A3F; color: #fff; }
.btn--wa:hover { background: #0B6534; color: #fff; }
@media (max-width: 760px) { .broadcast { grid-template-columns: minmax(0, 1fr); padding: 1.4rem; } .broadcast .btn { justify-self: start; } }
.reviews-link { margin: 1.5rem 0 0; font-family: var(--sans); font-weight: 600; }
.reviews-link span, .footer-reviews span { color: #F4B400; letter-spacing: .1em; }
.footer-reviews { display: inline-flex; gap: .4rem; margin-top: .75rem; font-family: var(--sans); font-size: .9375rem; }
.event__year--big { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: #fff; }
.broadcast { margin-top: 2rem; }
@media (max-width: 640px) { .event__year--big { font-size: 1.125rem; font-family: var(--sans); } }
.facts--four { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }

/* =========================================================
   Update 9
   ========================================================= */
/* Bigger church name in the spotlight */
.hero__name { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 700; line-height: 1.15; color: var(--flame-soft); margin-bottom: .75rem; letter-spacing: -.01em; }
.hero .btn .ico { width: 1.15em; height: 1.15em; }

/* Small gallery boxes under the YouTube card */
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .75rem; }
.mini-card { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--sans); }
.mini-card:hover { border-color: var(--flame); color: var(--ink); }
.mini-card__ico { width: 40px; height: 40px; border-radius: 10px; background: #F8E9E7; color: var(--flame); display: grid; place-items: center; flex: none; }
.mini-card strong { display: block; font-size: 1rem; }
.mini-card em { font-style: normal; font-size: .8125rem; color: var(--muted); }
.mini-card:hover strong { color: var(--flame); }
@media (max-width: 420px) { .mini-cards { grid-template-columns: minmax(0, 1fr); } }

/* Photo / Video gallery switch (top right) */
.gal-switch { justify-self: end; display: inline-flex; gap: .25rem; padding: .3rem; background: var(--mist); border-radius: 999px; font-family: var(--sans); margin-bottom: 1.5rem; }
.gal-switch a { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--indigo); min-height: 44px; }
.gal-switch a[aria-current="page"] { background: var(--indigo); color: #fff; }
@media (max-width: 560px) { .gal-switch { justify-self: stretch; } .gal-switch a { flex: 1; justify-content: center; padding: .55rem .6rem; } }

/* Review stars */
.stars { color: #F4B400; letter-spacing: .1em; }
.footer-reviews { display: block; margin: .75rem 0 0; font-family: var(--sans); font-size: .9375rem; color: #B6BEDB; }
.footer-reviews a { text-decoration: underline; }

/* Smaller WhatsApp button on phones */
@media (max-width: 700px) {
  .wa-float { right: 12px; bottom: 12px; padding: .4rem .8rem .4rem .4rem; gap: .4rem; font-size: .8125rem; }
  .wa-float .wa-icon { width: 24px !important; height: 24px !important; }
  .wa-float__label { font-size: .8125rem; }
}

/* Header: fit the longer menu */
@media (min-width: 1021px) and (max-width: 1320px) { .nav__link { padding: .55rem .45rem; font-size: .9375rem; } }
@media (min-width: 1021px) and (max-width: 1200px) { .brand__caption { display: none; } .nav__link { font-size: .875rem; padding: .5rem .35rem; } }
/* Sidebar: add to calendar */
.remind { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .8125rem; margin-top: .15rem; }
.remind .ico { width: 14px; height: 14px; color: var(--indigo-2); }
.remind a { color: var(--indigo-2); font-weight: 600; }
.remind span { color: var(--muted); }
.remind-all { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: .75rem; padding: .65rem .9rem; border-radius: 999px; background: var(--indigo); color: #fff; font-weight: 600; font-size: .9375rem; text-decoration: none; min-height: 44px; }
.remind-all:hover { background: var(--indigo-2); color: #fff; }
.form__privacy { margin: 0; font-size: .875rem; color: var(--muted); }
@media (min-width: 1201px) and (max-width: 1500px) { .brand__caption { font-size: .6875rem; white-space: nowrap; } }
@media (min-width: 1501px) { .brand__caption { white-space: nowrap; } }
.brand picture, .brand__logo { flex: none; } .brand__logo { width: auto; min-width: 44px; } .brand { min-width: 0; } .brand__text { min-width: 0; }
@media (min-width: 1201px) and (max-width: 1500px) { .brand__caption { white-space: normal; max-width: 290px; font-size: .6875rem; } }
/* Form Inbox (private) */
.inbox-bar { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--sans); }
.inbox-test { margin: 0 0 1.5rem; }
.note--ok { background: #EAF7EF; color: #0B5A2F; }
.inbox-log pre { white-space: pre-wrap; font-size: .8125rem; background: var(--mist); padding: 1rem; border-radius: var(--r-md); }
.inbox { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.inbox__item { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.25rem; font-family: var(--sans); }
.inbox__meta { margin: 0 0 .5rem; color: var(--muted); }
.inbox__item dl { margin: 0; display: grid; gap: .35rem; }
.inbox__item dt { font-size: .8125rem; color: var(--muted); }
.inbox__item dd { margin: 0; }
.inbox .ok { color: #0E7A3F; font-weight: 700; } .inbox .bad { color: #B42318; font-weight: 700; }
/* Cookie consent bar */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 70; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent__in { width: min(100%, 1000px); display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.25rem; box-shadow: 0 20px 50px -20px rgba(20,28,63,.45); font-family: var(--sans); }
.consent__text { margin: 0; flex: 1 1 420px; font-size: .9375rem; line-height: 1.5; }
.consent__text strong { display: block; color: var(--night); margin-bottom: .15rem; }
.consent__btns { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent__btns .btn { padding: .7rem 1.1rem; font-size: .9375rem; }
@media (max-width: 560px) { .consent { left: .5rem; right: .5rem; bottom: .5rem; } .consent__btns { width: 100%; } .consent__btns .btn { flex: 1; } }
body:has(.consent:not([hidden])) .wa-float { bottom: 9.5rem; }
@media (max-width: 560px) { body:has(.consent:not([hidden])) .wa-float { bottom: 13rem; } }

/* Frames waiting for consent */
.cframe { position: relative; width: 100%; height: 100%; min-height: 220px; background: var(--mist); }
.cframe iframe { width: 100%; height: 100%; min-height: inherit; border: 0; display: block; }
.cframe__ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .75rem; padding: 1rem; text-align: center; font-family: var(--sans); color: var(--muted); }
.cframe__ph p { margin: 0; max-width: 34ch; }
.fb-page .cframe { min-height: 700px; }

/* Footer legal links */
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; align-items: center; }
.legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.legal-links a, .legal-links .link-btn { color: #C7CEE6; font-size: .875rem; font-family: var(--sans); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.legal-links a:hover, .legal-links .link-btn:hover { color: #fff; }
.form__check { display: flex; gap: .65rem; align-items: flex-start; font-family: var(--sans); font-size: .9375rem; color: var(--ink); }
.form__check input { width: 22px; height: 22px; margin-top: .1rem; flex: none; accent-color: var(--flame); }
.form__check label { font-weight: 400; color: var(--ink); }

/* ===== Update 14: site search ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.search-toggle { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--indigo); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.search-toggle:hover, .search-toggle[aria-expanded="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.search-toggle .ico { width: 20px; height: 20px; }
.search-toggle__close { display: none; }
.search-toggle[aria-expanded="true"] .search-toggle__open { display: none; }
.search-toggle[aria-expanded="true"] .search-toggle__close { display: block; }
.site-header__in > .search-toggle { margin-left: -.5rem; }
@media (max-width: 1020px) {
  .site-header__in > .search-toggle { order: 2; margin-left: auto; }
  .site-header__in > .nav-toggle { order: 3; margin-left: 0; }
  .site-header__in > .nav { order: 4; }
}
@media (max-width: 400px) { .search-toggle { width: 42px; height: 42px; } }

.search-panel { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(20,28,63,.35); padding: 1rem 0 1.1rem; }
.search-panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .search-panel:not([hidden]) { animation: searchIn .18s ease-out; } }
@keyframes searchIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.search-box { position: relative; display: flex; align-items: center; gap: .6rem; max-width: 760px; margin: 0 auto; }
.search-box__ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #6B7290; pointer-events: none; display: grid; }
.search-box__ico .ico { width: 20px; height: 20px; }
.search-box__input { flex: 1; min-width: 0; height: 52px; padding: 0 1rem 0 2.9rem; border: 2px solid var(--line); border-radius: 999px; font: 400 1.0625rem var(--sans); color: var(--ink); background: var(--mist, #F5F6FA); outline: none; transition: border-color .15s, background .15s; -webkit-appearance: none; appearance: none; }
.search-box__input:focus { border-color: var(--indigo); background: #fff; }
.search-box__input::-webkit-search-cancel-button { cursor: pointer; }
.search-box__go { flex: none; height: 52px; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--flame); color: #fff; font: 600 1rem var(--sans); cursor: pointer; }
.search-box__go:hover { background: var(--flame-dark); }
@media (max-width: 560px) { .search-box__go { display: none; } .search-box__input { height: 48px; font-size: 1rem; } .search-panel { padding: .75rem 0 .85rem; } }

.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + .45rem); background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 48px -20px rgba(20,28,63,.4); padding: .4rem; z-index: 5; max-height: min(70vh, 520px); overflow-y: auto; }
.search-suggest[hidden] { display: none; }
.search-suggest__head { margin: .35rem .75rem .3rem; font: 600 .75rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #6B7290; }
.search-suggest__item { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem .8rem; border-radius: 12px; color: var(--ink); text-decoration: none; cursor: pointer; }
.search-suggest__item:hover, .search-suggest__item[aria-selected="true"] { background: color-mix(in srgb, var(--indigo) 8%, white); }
.search-suggest__ico { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--flame-soft); color: var(--flame); }
.search-suggest__ico .ico { width: 18px; height: 18px; }
.search-suggest__body { min-width: 0; display: grid; gap: .1rem; }
.search-suggest__title { font: 600 1rem/1.3 var(--sans); color: var(--indigo); }
.search-suggest__title mark, .search-suggest__snip mark { background: none; color: var(--flame); font-weight: 700; }
.search-suggest__snip { font: 400 .875rem/1.4 var(--sans); color: #4A4F66; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-suggest__type { font: 600 .7rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ember); }
.search-suggest__all { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .25rem; padding: .75rem .8rem; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; font: 600 .9375rem var(--sans); color: var(--flame); text-decoration: none; }
.search-suggest__all:hover, .search-suggest__all[aria-selected="true"] { background: color-mix(in srgb, var(--flame) 8%, white); }
.search-suggest__all .ico { width: 16px; height: 16px; }
.search-suggest__empty { padding: .9rem .8rem; font: 400 .9375rem var(--sans); color: #4A4F66; }
.search-suggest__empty a { color: var(--flame); font-weight: 600; }

/* Search results page */
.search-page__form { position: relative; display: flex; gap: .6rem; align-items: center; margin-bottom: 1.25rem; }
.search-page__ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #6B7290; display: grid; pointer-events: none; }
.search-page__ico .ico { width: 20px; height: 20px; }
.search-page__form input { flex: 1; min-width: 0; height: 54px; padding: 0 1rem 0 2.9rem; border: 2px solid var(--line); border-radius: 999px; font: 400 1.0625rem var(--sans); color: var(--ink); background: #fff; -webkit-appearance: none; appearance: none; }
.search-page__form input:focus { outline: none; border-color: var(--indigo); }
.search-page__form .btn { height: 54px; }
.search-page__count { font-family: var(--sans); color: #4A4F66; margin: 0 0 1.5rem; }
.search-results { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: .9rem; }
.search-result { padding: 1.2rem 1.35rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s, box-shadow .15s; }
.search-result:hover { border-color: color-mix(in srgb, var(--indigo) 25%, white); box-shadow: 0 12px 26px -18px rgba(20,28,63,.4); }
.search-result__type { font: 600 .72rem var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ember); }
.search-result__title { font-size: 1.25rem; margin: .25rem 0 .35rem; line-height: 1.3; }
.search-result__title a { color: var(--indigo); text-decoration: none; }
.search-result__title a:hover { text-decoration: underline; }
.search-result__title a::after { content: ""; position: absolute; inset: 0; }
.search-result { position: relative; }
.search-result__snip { margin: 0; font-family: var(--sans); font-size: .95rem; line-height: 1.55; color: #4A4F66; }
.search-results mark { background: var(--flame-soft); color: inherit; padding: 0 .1em; border-radius: 3px; }
.search-popular__title { font-size: 1.1rem; margin: 0 0 .75rem; }
.search-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.search-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--indigo); font: 500 .9375rem var(--sans); text-decoration: none; }
.search-chips a:hover { border-color: var(--indigo); background: color-mix(in srgb, var(--indigo) 8%, white); }
@media (max-width: 560px) { .search-page__form .btn { padding-inline: 1.1rem; } }

/* ===== Update 15: chat assistant ===== */
.chat__launch { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: var(--chat-bottom, 86px); z-index: 61; display: inline-flex; align-items: center; gap: .5rem; height: 52px; padding: 0 1.15rem 0 .9rem; border: 0; border-radius: 999px; background: var(--indigo); color: #fff; font: 700 1rem var(--sans); cursor: pointer; box-shadow: 0 10px 28px -6px rgba(20,28,63,.5); transition: background .15s, transform .15s; }
.chat__launch:hover { background: var(--indigo-2); }
.chat__launch .ico { width: 24px; height: 24px; }
.chat__launch-close { display: none; }
.chat__launch[aria-expanded="true"] .chat__launch-open { display: none; }
.chat__launch[aria-expanded="true"] .chat__launch-close { display: block; }
body.nav-open .chat__launch, body.nav-open .chat__hint { display: none; }
@media (max-width: 700px) {
  .chat__launch { right: 12px; height: 40px; padding: 0 .85rem 0 .65rem; gap: .35rem; font-size: .8125rem; }
  .chat__launch .ico { width: 20px; height: 20px; }
}

.chat__hint { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(var(--chat-bottom, 86px) + 62px); z-index: 61; width: min(300px, calc(100vw - 32px)); margin: 0; padding: .75rem 2.3rem .75rem .75rem; display: flex; align-items: flex-start; gap: .7rem; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); border: 1px solid rgba(20,28,63,.08); border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(20,28,63,.5); font: 500 .88rem/1.4 var(--sans); cursor: pointer; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .25s ease, transform .25s ease; }
.chat__hint.is-in { opacity: 1; transform: none; }
.chat__hint::after { content: ""; position: absolute; right: 26px; bottom: -7px; width: 14px; height: 14px; background: inherit; border-right: 1px solid rgba(20,28,63,.08); border-bottom: 1px solid rgba(20,28,63,.08); transform: rotate(45deg); }
.chat__hint[hidden] { display: none; }
.chat__hint-ai { position: relative; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #1E2A5E, #7A1626); color: #fff; box-shadow: 0 6px 14px -6px rgba(30,42,94,.7); }
.chat__hint-ai > .ico { width: 22px; height: 22px; }
.chat__hint-spark { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #F2B33D; color: #3A2500; box-shadow: 0 0 0 2px #fff; }
.chat__hint-spark .ico { width: 12px; height: 12px; }
.chat__hint-body { display: grid; gap: .1rem; min-width: 0; }
.chat__hint-title { font-size: .78rem; letter-spacing: .02em; text-transform: uppercase; color: #7A1626; }
.chat__hint-x { position: absolute; top: .3rem; right: .3rem; display: grid; place-items: center; width: 30px; height: 30px; border: 0; background: none; color: #6B7290; cursor: pointer; border-radius: 50%; }
.chat__hint-x:hover { background: var(--mist); }
.chat__hint-x .ico { width: 16px; height: 16px; }
@media (max-width: 700px) { .chat__hint { right: 12px; bottom: calc(var(--chat-bottom, 70px) + 54px); } }
@media (prefers-reduced-motion: reduce) { .chat__hint { transition: none; } }

.chat__panel { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(var(--chat-bottom, 86px) + 64px); z-index: 72; width: min(400px, calc(100vw - 36px)); height: min(640px, calc(100vh - var(--chat-bottom, 86px) - 64px - 24px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 70px -24px rgba(20,28,63,.55); overflow: hidden; font-family: var(--sans); }
.chat__panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .chat__panel:not([hidden]) { animation: chatIn .2s ease-out; transform-origin: bottom right; } }
@keyframes chatIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .chat__panel { inset: 0; width: auto; height: auto; height: 100dvh; border-radius: 0; border: 0; }
  body.chat-open { overflow: hidden; }
  body.chat-open .chat__launch, body.chat-open .wa-float { display: none; }
}

.chat__head { display: flex; align-items: center; gap: .7rem; padding: .85rem .8rem .85rem 1rem; background: var(--indigo); color: #fff; padding-top: max(.85rem, env(safe-area-inset-top)); }
.chat__avatar { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 50%; padding: 4px; flex: none; }
.chat__who { flex: 1; min-width: 0; }
.chat__title { margin: 0; font: 600 1.05rem/1.2 var(--serif, Maitree, serif); color: #fff; }
.chat__sub { margin: .1rem 0 0; font-size: .8rem; color: color-mix(in srgb, var(--indigo) 22%, white); }
.chat__icon-btn { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.chat__icon-btn:hover { background: rgba(255,255,255,.14); }
.chat__icon-btn .ico { width: 20px; height: 20px; }

.chat__log { flex: 1; overflow-y: auto; padding: 1rem 1rem .5rem; background: #F6F7FB; display: flex; flex-direction: column; gap: .7rem; overscroll-behavior: contain; }
.chat__msg { max-width: 88%; padding: .7rem .9rem; border-radius: 16px; font-size: .95rem; line-height: 1.5; overflow-wrap: anywhere; }
.chat__msg p { margin: 0 0 .5rem; } .chat__msg p:last-child { margin-bottom: 0; }
.chat__msg ul { margin: .25rem 0 .5rem; padding-left: 1.1rem; } .chat__msg ul:last-child { margin-bottom: 0; }
.chat__msg li { margin: .15rem 0; }
.chat__msg--bot { align-self: flex-start; background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat__msg--bot a { color: var(--flame); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.chat__msg--bot strong { color: var(--indigo); }
.chat__msg--user { align-self: flex-end; background: var(--flame); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.chat__typing { display: inline-flex; gap: 4px; padding: .2rem 0; }
.chat__typing span { width: 7px; height: 7px; border-radius: 50%; background: #9AA0B8; }
@media (prefers-reduced-motion: no-preference) {
  .chat__typing span { animation: chatDot 1s infinite ease-in-out; }
  .chat__typing span:nth-child(2) { animation-delay: .15s; } .chat__typing span:nth-child(3) { animation-delay: .3s; }
}
@keyframes chatDot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: -.1rem 0 .2rem; }
.chat__chip { min-height: 36px; padding: .35rem .8rem; border: 1px solid color-mix(in srgb, var(--indigo) 25%, white); border-radius: 999px; background: #fff; color: var(--indigo); font: 500 .85rem var(--sans); cursor: pointer; text-align: left; }
.chat__chip:hover { border-color: var(--indigo); background: color-mix(in srgb, var(--indigo) 8%, white); }
.chat__chip--wa { border-color: #0E7A3F; color: #0E7A3F; text-decoration: none; display: inline-flex; align-items: center; }

.chat__form { display: flex; align-items: flex-end; gap: .5rem; padding: .7rem .8rem; border-top: 1px solid var(--line); background: #fff; }
.chat__input { flex: 1; min-width: 0; resize: none; max-height: 120px; min-height: 44px; padding: .6rem .9rem; border: 2px solid var(--line); border-radius: 22px; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--mist); outline: none; }
.chat__input:focus { border-color: var(--indigo); background: #fff; }
.chat__send { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--flame); color: #fff; cursor: pointer; }
.chat__send:hover { background: var(--flame-dark); }
.chat__send:disabled { opacity: .5; cursor: default; }
.chat__send .ico { width: 20px; height: 20px; }
.chat__note { margin: 0; padding: 0 .9rem .7rem; padding-bottom: max(.7rem, env(safe-area-inset-bottom)); background: #fff; font-size: .75rem; line-height: 1.4; color: #5A607A; }
.chat__note a { color: #5A607A; text-decoration: underline; }
.chat__launch { box-shadow: 0 0 0 2px #fff, 0 10px 28px -6px rgba(20,28,63,.5); }

/* ===== Update 16 ===== */
.map-head { margin: 2.25rem 0 1rem; }
.map-head__title { display: flex; align-items: center; gap: .55rem; margin: 0 0 .35rem; }
.map-head__title .ico { width: 26px; height: 26px; color: var(--flame); }
.map-head__addr { margin: 0; font-family: var(--sans); color: #4A4F66; }
.map-head__addr a { color: var(--flame); font-weight: 600; }

/* Search: icon on desktop; a search box inside the menu on phones and tablets */
.nav__search { display: none; }
@media (max-width: 1020px) {
  .site-header__in > .search-toggle { display: none; }
  .search-panel { display: none !important; }
  .site-header__in > .nav-toggle { margin-left: auto; }
  .nav__search { display: flex; align-items: center; gap: .5rem; margin: .25rem 0 1rem; }
  .nav__search input { flex: 1; min-width: 0; height: 48px; padding: 0 1rem; border: 2px solid var(--line); border-radius: 999px; font: 400 1rem var(--sans); color: var(--ink); background: var(--mist); -webkit-appearance: none; appearance: none; }
  .nav__search input:focus { outline: none; border-color: var(--indigo); background: #fff; }
  .nav__search button { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--indigo); color: #fff; cursor: pointer; }
  .nav__search button .ico { width: 20px; height: 20px; }
}

/* ===== Update 17: modern gradients that respond to scrolling ===== */
.topbar { background: linear-gradient(90deg, var(--night) 0%, var(--indigo) 55%, color-mix(in srgb, var(--flame-dark) 70%, var(--night)) 100%); }
.site-header { position: relative; isolation: isolate; background: transparent; transition: box-shadow .3s ease; }
/* frosted-glass background on a separate layer, so the phone menu (position: fixed) is not trapped inside the header */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); transition: background .3s ease; }
.site-header__in { transition: min-height .3s ease; }
.brand__logo { transition: height .3s ease; }
body.is-scrolled .site-header { box-shadow: 0 1px 0 var(--line), 0 14px 30px -18px rgba(20,28,63,.45); }
body.is-scrolled .site-header::before, body.nav-open .site-header::before { background: rgba(255,255,255,.97); }
@media (min-width: 1021px) {
  body.is-scrolled .site-header__in { min-height: 64px; }
  body.is-scrolled .brand__logo { height: 48px; }
}
/* reading progress line under the header */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--indigo-2), var(--flame) 45%, color-mix(in srgb, var(--flame-soft) 65%, var(--flame)) 70%, var(--flame)); transform: scaleX(var(--scroll-p, 0)); transform-origin: left center; pointer-events: none; }

/* Home hero: soft moving mesh gradient; turns a little warmer as you scroll */
.home .hero { background: var(--night); isolation: isolate; }
.home .hero::before, .home .hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.home .hero::before {
  inset: -15%;
  background:
    radial-gradient(38% 46% at 12% 18%, color-mix(in srgb, var(--indigo-2) 90%, white 10%), transparent 70%),
    radial-gradient(34% 42% at 88% 20%, color-mix(in srgb, var(--flame) 70%, transparent), transparent 70%),
    radial-gradient(42% 50% at 72% 92%, color-mix(in srgb, var(--flame) 45%, transparent), transparent 70%),
    radial-gradient(48% 56% at 22% 88%, color-mix(in srgb, var(--indigo) 95%, transparent), transparent 72%),
    radial-gradient(30% 34% at 52% 48%, color-mix(in srgb, var(--flame-soft) 10%, transparent), transparent 70%),
    linear-gradient(160deg, color-mix(in srgb, var(--indigo) 80%, var(--indigo-2)) 0%, var(--indigo) 45%, var(--night) 100%);
  background-size: 150% 150%;
  transform: translate3d(0, calc(var(--hp, 0) * 70px), 0) scale(calc(1 + var(--hp, 0) * .06));
}
.home .hero::after { background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--flame-dark) calc(var(--hp, 0) * 55%), transparent) 100%); }
@media (prefers-reduced-motion: no-preference) {
  .home .hero::before { animation: heroMesh var(--mesh-t, 13s) ease-in-out infinite alternate; }
  .home .hero__art img { transform: translate3d(0, calc(var(--hp, 0) * -40px), 0); will-change: transform; }
  .home .hero__text { transform: translate3d(0, calc(var(--hp, 0) * 24px), 0); }
}
@keyframes heroMesh { 0% { background-position: 0% 0%; } 50% { background-position: 100% 40%; } 100% { background-position: 40% 100%; } }
:root { --mesh-t: 13s; }   /* banner gradient speed: Website Settings › Banner colour movement (includes/video-style.php) */
.hero__grad { background: linear-gradient(95deg, #FFFFFF 0%, #FFFFFF 35%, var(--flame-soft) 70%, color-mix(in srgb, var(--flame-soft) 65%, var(--flame)) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@media (forced-colors: active) { .hero__grad { color: CanvasText; -webkit-text-fill-color: currentColor; background: none; } }
.home .hero .btn--light { box-shadow: 0 12px 30px -12px rgba(0,0,0,.45); }
.home .sunday { box-shadow: 0 24px 50px -24px rgba(20,28,63,.55); }

/* ===== Admin area (Church Documents) and Website Guide ===== */
.btn--sm { min-height: 40px; padding: .4rem 1rem; font-size: .9rem; }
.admin__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: 0 0 1.25rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-family: var(--sans); }
.admin__bar span { display: inline-flex; align-items: center; gap: .45rem; }
.admin__bar .ico { width: 18px; height: 18px; }
.admin__tiles { list-style: none; margin: 0 0 2.25rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1rem; }
.admin-tile { display: grid; gap: .35rem; height: 100%; padding: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; font-family: var(--sans); transition: border-color .15s, box-shadow .15s, transform .15s; }
.admin-tile:hover { border-color: color-mix(in srgb, var(--indigo) 25%, white); box-shadow: 0 16px 32px -20px rgba(20,28,63,.45); transform: translateY(-2px); text-decoration: none; }
.admin-tile__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--flame-soft); color: var(--flame); margin-bottom: .35rem; }
.admin-tile__ico .ico { width: 22px; height: 22px; }
.admin-tile strong { font-size: 1.1rem; color: var(--indigo); }
.admin-tile span:last-child { color: #4A4F66; font-size: .95rem; line-height: 1.45; }
.docs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.docs-list__item { display: flex; align-items: center; gap: .9rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-family: var(--sans); }
.docs-list__type { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--indigo); color: #fff; font-weight: 700; font-size: .75rem; letter-spacing: .04em; }
.docs-list__body { flex: 1; min-width: 0; display: grid; gap: .1rem; }
.docs-list__body a { color: var(--indigo); font-weight: 600; overflow-wrap: anywhere; }
.docs-list__body small { color: #5A607A; }
.docs-list__dl { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--flame); }
.docs-list__dl:hover { background: color-mix(in srgb, var(--flame) 8%, white); }
.docs-list__dl .ico { width: 20px; height: 20px; }

.guide { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.guide__toc { position: sticky; top: calc(var(--top-h, 120px) + 1rem); padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-family: var(--sans); max-height: calc(100vh - var(--top-h, 120px) - 2rem); overflow-y: auto; }
.guide__toc h2 { font-size: 1rem; margin: 0 0 .6rem; }
.guide__toc ol { margin: 0 0 .9rem; padding-left: 1.3rem; display: grid; gap: .3rem; font-size: .92rem; }
.guide__toc a { color: var(--indigo); }
.guide__body h2 { scroll-margin-top: calc(var(--top-h, 120px) + 1rem); padding-top: .5rem; border-top: 1px solid var(--line); margin-top: 2.25rem; }
.guide__body h2:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.guide__body code { font-size: .88em; background: color-mix(in srgb, var(--indigo) 8%, white); color: var(--indigo); padding: .1em .35em; border-radius: 5px; overflow-wrap: anywhere; }
@media (max-width: 900px) { .guide { grid-template-columns: minmax(0, 1fr); } .guide__toc { position: static; max-height: none; } }
.map-head + .map, .map-head + .map--wide { margin-top: 0; }
.admin-tile { align-content: start; }

/* ===== Website Settings (admin) ===== */
.settings__sec { margin: 0 0 1.75rem; padding: 1.4rem 1.4rem .6rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; scroll-margin-top: calc(var(--top-h, 120px) + 1rem); }
.settings__sec legend { float: left; width: 100%; margin: 0 0 1rem; padding: 0; font: 700 1.35rem/1.2 var(--serif); color: var(--night); }
.settings__sec legend + * { clear: both; }
.settings__help { display: block; margin-top: .35rem; color: var(--muted); font: 400 .85rem/1.45 var(--sans); }
.settings__check { margin: .25rem 0 1.1rem; }
.settings__check small { display: block; color: var(--muted); font-size: .85rem; margin-top: .2rem; }
.settings textarea { width: 100%; }
.ann-list { display: grid; gap: .9rem; margin-bottom: 1rem; }
.ann-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; padding: 1rem 1rem .25rem; border: 1px dashed color-mix(in srgb, var(--indigo) 25%, white); border-radius: 14px; background: var(--mist); }
.ann-row .form__row { margin-bottom: .75rem; }
.ann-row__wide { grid-column: 1 / -1; }
.ann-row__opts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: .75rem; font-family: var(--sans); }
@media (max-width: 640px) { .ann-row { grid-template-columns: minmax(0, 1fr); } }
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 1rem; margin: .5rem 0 1.25rem; }
.color-field label { display: block; font: 600 .95rem var(--sans); color: var(--ink); margin-bottom: .35rem; }
.color-field label small { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.color-field__in { display: flex; align-items: center; gap: .5rem; }
.color-field__in input[type=color] { flex: none; width: 48px; height: 44px; padding: 2px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.color-field__hex { width: 100%; height: 44px; padding: 0 .75rem; border: 1px solid var(--line); border-radius: 10px; font: 500 1rem ui-monospace, Menlo, Consolas, monospace; text-transform: uppercase; }
.theme-preview { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 1.25rem; font-family: var(--sans); }
.theme-preview__top { padding: .7rem 1rem; background: #fff; color: var(--p-indigo); font: 700 1.05rem var(--serif); border-bottom: 3px solid var(--p-flame); }
.theme-preview__hero { display: grid; gap: .35rem; padding: 1.4rem 1rem; background: linear-gradient(160deg, var(--p-indigo), var(--p-night)); color: #fff; }
.theme-preview__name { color: var(--p-soft); font: 600 .95rem var(--serif); }
.theme-preview__hero strong { font: 700 1.6rem/1.1 var(--serif); }
.theme-preview__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.theme-preview__btn1 { padding: .45rem .9rem; border-radius: 999px; background: #fff; color: var(--p-flame); font-weight: 600; font-size: .9rem; }
.theme-preview__btn2 { padding: .45rem .9rem; border-radius: 999px; background: var(--p-flame); color: #fff; font-weight: 600; font-size: .9rem; }
.theme-preview__body { padding: .9rem 1rem; background: #fff; }
.theme-preview__body p { margin: 0; color: #1A2142; }
.theme-preview__body u { color: var(--p-indigo2); }
.theme-preview__body em { color: var(--p-ember); font-style: normal; font-weight: 600; }
.settings__fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 640px) { .settings__fonts { grid-template-columns: minmax(0, 1fr); } }
.settings__bar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: .9rem 1rem; margin: 0 -.25rem 1rem; background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 -10px 24px -18px rgba(20,28,63,.4); font-family: var(--sans); }
.settings__last { color: var(--muted); font-size: .9rem; }
.settings__reset { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; font-family: var(--sans); color: var(--muted); }
.settings-page .chat__launch, .settings-page .wa-float { display: none; }
.theme-preview__mist { padding: .7rem 1rem; background: var(--p-mist); border-top: 1px solid var(--line); }
.theme-preview__mist p { margin: 0; color: #1A2142; font-size: .9rem; }

/* ===== Update 18 ===== */
/* Buttons that sit side by side are the same width (the widest one sets it); they stack full width on small screens */
.hero__actions, .visit__actions, .kids__actions, .event__actions, .story__links, .btn-eq { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .75rem; align-items: stretch; max-width: 100%; }
.hero__actions > .btn, .visit__actions > .btn, .kids__actions > .btn, .event__actions > .btn, .story__links > .btn, .btn-eq > .btn { justify-content: center; text-align: center; width: 100%; }
.btn-eq { margin: .25rem 0 .5rem; }
@media (max-width: 560px) {
  .hero__actions, .visit__actions, .kids__actions, .event__actions, .story__links, .btn-eq { display: grid; grid-auto-flow: row; grid-auto-columns: auto; width: 100%; }
}
.sub__all { display: none; }
@media (max-width: 1020px) { .sub__all { display: block; } .sub__all a { font-weight: 600; } }

/* Loading animation: only appears if a page takes longer than about half a second */
.page-loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s linear .25s; }
html:not(.is-loaded) .page-loader { animation: loaderIn .25s ease .5s forwards; }
html.is-leaving .page-loader { opacity: 1; visibility: visible; transition: opacity .25s ease .35s, visibility 0s linear .35s; }
@keyframes loaderIn { to { opacity: 1; visibility: visible; } }
.page-loader__in { position: relative; display: grid; place-items: center; width: 128px; height: 128px; }
.page-loader__in img { position: relative; width: 72px; height: auto; }
.page-loader__ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--flame), var(--indigo), var(--flame-soft), var(--flame)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); }
.page-loader__in::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: #fff; box-shadow: 0 14px 34px -14px rgba(20,28,63,.45); }
@media (prefers-reduced-motion: no-preference) {
  .page-loader__ring { animation: loaderSpin 1.1s linear infinite; }
  .page-loader__in img { animation: loaderPulse 1.6s ease-in-out infinite; }
}
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* Our Programme: cards */
.prog--cards { background: var(--mist); }
.prog--cards .prog__head { text-align: center; max-width: 640px; margin: 0 auto 2.25rem; }
.prog--cards .eyebrow { margin: 0 0 .35rem; font: 700 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 1.1rem; }
.pcard { position: relative; display: flex; gap: 1rem; padding: 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 12px 30px -24px rgba(20,28,63,.45); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(20,28,63,.55); border-color: color-mix(in srgb, var(--indigo) 25%, white); }
.pcard__badge { flex: none; display: grid; align-content: center; justify-items: center; gap: .15rem; width: 84px; min-height: 84px; padding: .5rem; border-radius: 16px; background: linear-gradient(160deg, var(--indigo), var(--night)); color: #fff; text-align: center; }
.pcard__badge strong { font: 700 1.05rem/1.15 var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.pcard__badge span { font: 500 .7rem/1.2 var(--sans); color: var(--flame-soft); }
.pcard--main .pcard__badge, .pcard--daily .pcard__badge { background: linear-gradient(160deg, var(--flame), var(--flame-dark)); }
.pcard--main .pcard__badge span, .pcard--daily .pcard__badge span { color: #fff; }
.pcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pcard__when { margin: 0 0 .15rem; font: 600 .78rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ember); }
.pcard__today { display: none; margin-left: .35rem; padding: .1rem .5rem; border-radius: 999px; background: var(--flame); color: #fff; font-size: .7rem; letter-spacing: .04em; vertical-align: 1px; }
.pcard.is-today { border-color: var(--flame); box-shadow: 0 0 0 2px color-mix(in srgb, var(--flame) 25%, transparent), 0 18px 36px -24px rgba(20,28,63,.5); }
.pcard.is-today .pcard__today { display: inline-block; }
.pcard__name { margin: 0 0 .55rem; font-size: 1.2rem; line-height: 1.25; color: var(--night); }
.pcard__facts { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .3rem; font: 500 .95rem/1.35 var(--sans); color: var(--ink); }
.pcard__facts li { display: flex; align-items: flex-start; gap: .45rem; }
.pcard__facts .ico { flex: none; width: 17px; height: 17px; margin-top: .1rem; color: var(--indigo-2); }
.pcard__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .7rem; border-top: 1px dashed var(--line); }
.pcard__count { font: 600 .82rem var(--sans); color: var(--indigo); background: color-mix(in srgb, var(--indigo) 8%, white); padding: .3rem .65rem; border-radius: 999px; }
.pcard__btn { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--flame); color: var(--flame); font: 600 .85rem var(--sans); text-decoration: none; }
.pcard__btn:hover { background: var(--flame); color: #fff; }
.pcard__btn .ico { width: 15px; height: 15px; }
.prog--cards .prog__foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.75rem; margin-top: 1.75rem; }
.prog--cards .prog__foot a { display: inline-flex; align-items: center; gap: .4rem; font: 600 .95rem var(--sans); color: var(--indigo); }
.prog--cards .prog__foot .ico { width: 18px; height: 18px; }
@media (max-width: 400px) { .pcards { grid-template-columns: minmax(0, 1fr); } .pcard__badge { width: 70px; min-height: 70px; } }

/* Our Journey timeline */
.journey { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 1.5rem; }
.journey::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; margin-left: -2px; border-radius: 4px; background: linear-gradient(180deg, var(--flame-soft), var(--flame) 30%, var(--indigo) 75%, var(--flame)); }
.journey__item { position: relative; display: grid; grid-template-columns: 1fr 120px 1fr; align-items: center; }
.journey__pic { grid-column: 2; grid-row: 1; justify-self: center; position: relative; z-index: 1; width: 120px; height: 120px; border-radius: 50%; padding: 5px; background: #fff; box-shadow: 0 0 0 4px var(--flame-soft), 0 16px 34px -16px rgba(20,28,63,.6); }
.journey__pic img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.journey__card { grid-row: 1; grid-column: 1; margin-right: 1.5rem; position: relative; padding: 1.15rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 14px 34px -26px rgba(20,28,63,.5); }
.journey__item:nth-child(even) .journey__card { grid-column: 3; margin: 0 0 0 1.5rem; }
.journey__card::after { content: ""; position: absolute; top: 50%; right: -9px; width: 16px; height: 16px; margin-top: -8px; background: #fff; border-right: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.journey__item:nth-child(even) .journey__card::after { right: auto; left: -9px; transform: rotate(-135deg); }
.journey__year { display: inline-block; margin-bottom: .35rem; padding: .2rem .7rem; border-radius: 999px; background: var(--flame); color: #fff; font: 700 .9rem var(--sans); letter-spacing: .04em; }
.journey__title { margin: 0 0 .35rem; font-size: 1.2rem; color: var(--night); }
.journey__card p { margin: 0; font-size: 1rem; line-height: 1.6; }
.journey__link { display: inline-flex; align-items: center; gap: .35rem; margin-top: .55rem; font: 600 .92rem var(--sans); color: var(--flame); }
.journey__link .ico { width: 16px; height: 16px; }
.journey__item--now .journey__card { background: linear-gradient(150deg, var(--indigo), var(--night)); border-color: transparent; color: #E6E9F4; }
.journey__item--now .journey__card::after { background: var(--indigo); border-color: transparent; }
.journey__item--now .journey__title { color: #fff; }
.journey__item--now .journey__year { background: var(--flame-soft); color: var(--night); }
@media (max-width: 760px) {
  .journey::before { left: 40px; }
  .journey__item, .journey__item:nth-child(even) { grid-template-columns: 80px 1fr; align-items: start; }
  .journey__pic { grid-column: 1; width: 80px; height: 80px; padding: 3px; }
  .journey__card, .journey__item:nth-child(even) .journey__card { grid-column: 2; margin: 0 0 0 1rem; }
  .journey__card::after, .journey__item:nth-child(even) .journey__card::after { left: -9px; right: auto; top: 32px; transform: rotate(-135deg); }
}
.journey-sec { padding: var(--sec) 0; background: linear-gradient(180deg, #fff, var(--mist)); }
.journey-sec__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.journey-sec__head .eyebrow { margin: 0 0 .35rem; font: 700 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }

/* Rich footer */
@media (min-width: 1021px) { .site-footer__grid--rich { grid-template-columns: 1.35fr 1fr 1fr 1fr; } }
.site-footer__grid--rich .site-footer__h + .site-footer__list { margin-bottom: 1.4rem; }
.site-footer__about p a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--flame-soft) 60%, transparent); }
.site-footer__times li { display: grid; gap: .05rem; margin-bottom: .45rem; }
.site-footer__times strong { font-weight: 600; color: #fff; }
.site-footer__times span { font-size: .88rem; opacity: .85; }
.site-footer__seo { padding-top: 1.25rem; margin-top: .5rem; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__seo p { margin: 0; font-size: .9rem; line-height: 1.65; opacity: .85; }
.site-footer__seo a { color: inherit; }

/* 404 page */
.nf { padding: clamp(3rem, 8vw, 6rem) 0; background: radial-gradient(60% 80% at 15% 20%, color-mix(in srgb, var(--indigo) 8%, white), transparent), #fff; }
.nf__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.nf__num { display: inline-flex; align-items: center; font: 800 clamp(6rem, 18vw, 11rem)/1 var(--sans); color: var(--indigo); letter-spacing: -.04em; }
.nf__zero { display: inline-grid; place-items: center; width: .82em; height: .82em; margin: 0 .04em; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .06em var(--flame), 0 24px 50px -24px rgba(20,28,63,.6); }
.nf__zero img { width: 52%; height: auto; }
@media (prefers-reduced-motion: no-preference) { .nf__zero { animation: nfFloat 4s ease-in-out infinite; } }
@keyframes nfFloat { 50% { transform: translateY(-8px); } }
.nf .eyebrow { margin: 0 0 .35rem; font: 700 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.nf__search { margin: 1.25rem 0 1.4rem; }
.nf__links { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: .6rem; }
.nf__links a { display: flex; align-items: center; gap: .55rem; min-height: 48px; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--indigo); font: 600 .95rem var(--sans); text-decoration: none; }
.nf__links a:hover { border-color: var(--indigo); background: color-mix(in srgb, var(--indigo) 6%, white); }
.nf__links .ico { width: 20px; height: 20px; color: var(--flame); flex: none; }
.nf__help { font-family: var(--sans); color: var(--muted); }
@media (max-width: 860px) { .nf__in { grid-template-columns: minmax(0, 1fr); text-align: left; } .nf__art { text-align: center; } }

/* Maintenance page */
.maint-page { min-height: 100vh; margin: 0; background: radial-gradient(70% 60% at 20% 10%, color-mix(in srgb, var(--indigo-2) 70%, transparent), transparent), radial-gradient(60% 60% at 90% 90%, color-mix(in srgb, var(--flame) 55%, transparent), transparent), var(--night); }
.maint { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1.25rem; }
.maint__card { max-width: 560px; padding: 2.5rem 2rem; text-align: center; background: rgba(255,255,255,.96); border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.maint__logo { margin: 0 auto 1rem; }
.maint__card .eyebrow { margin: 0 0 .3rem; font: 700 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.maint__card h1 { margin: 0 0 .75rem; }
.maint__actions { display: grid; gap: .65rem; margin: 1.5rem 0 1rem; }
.maint__small { margin: 0; font: 400 .9rem var(--sans); color: var(--muted); }

/* Pictures admin */
.settings__title { margin: 0 0 .5rem; font-size: 1.35rem; }
.pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 1.1rem; margin-top: 1rem; }
.pic { display: grid; gap: .5rem; align-content: start; padding: .75rem; border: 1px solid var(--line); border-radius: 14px; background: var(--mist); }
.pic__prev { position: relative; display: grid; place-items: center; max-height: 220px; overflow: hidden; border-radius: 10px; background: #fff; }
.pic__prev img { width: 100%; height: 100%; object-fit: cover; }
.pic__prev span { font: 500 .85rem var(--sans); color: var(--muted); }
.pic__tag { position: absolute; top: .4rem; left: .4rem; padding: .1rem .5rem; border-radius: 999px; background: var(--flame); color: #fff !important; font: 700 .7rem var(--sans) !important; }
.pic__name { margin: 0; font: 600 .95rem/1.3 var(--sans); color: var(--night); }
.pic__name small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); overflow-wrap: anywhere; }
.pic__form { display: grid; gap: .45rem; }
.pic__form input[type=file], .pic__multi input[type=file] { font: 400 .85rem var(--sans); max-width: 100%; }
.pic__remove { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ember); font: 600 .88rem var(--sans); text-decoration: underline; cursor: pointer; }
.pic__multi { display: grid; gap: .25rem; max-width: 520px; margin: .75rem 0 1.25rem; }
.pic__album { margin: 1.25rem 0 .5rem; font-size: 1.05rem; }
.pic__thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(110px, 100%), 1fr)); gap: .5rem; }
.pic__thumbs li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--mist); }
.pic__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pic__thumbs form { position: absolute; top: .3rem; right: .3rem; margin: 0; }
.pic__thumbs button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--flame); cursor: pointer; }
.pic__thumbs .ico { width: 16px; height: 16px; }

/* Uploaded background photos (dark colour layer keeps text readable) */
.has-bg-home .hero { background: var(--night) var(--bg-home) center / cover no-repeat; }
.has-bg-home .hero::before { opacity: .78; }
.has-bg-page .page-hero { background: linear-gradient(100deg, color-mix(in srgb, var(--night) 92%, transparent), color-mix(in srgb, var(--indigo) 78%, transparent)), var(--bg-page) center / cover no-repeat; }
.has-bg-footer .site-footer { background: linear-gradient(180deg, color-mix(in srgb, var(--night) 93%, transparent), color-mix(in srgb, var(--night) 97%, transparent)), var(--bg-footer) center / cover no-repeat; }

/* Programme editor */
.prog-edit { display: grid; gap: 0; }
.prog-edit__row legend { font-size: 1.15rem; }
.prog-edit__row--new { border-style: dashed; }
.prog-edit__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 1rem; }
.prog-edit__wide { grid-column: span 2; }
.prog-edit__grid .form__row { margin-bottom: .9rem; }
.prog-edit__days { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0 0 .9rem; padding: 0; border: 0; font-family: var(--sans); }
.prog-edit__days legend { float: left; width: 100%; margin-bottom: .35rem; font: 600 .95rem var(--sans); }
.prog-edit__opts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: .9rem; font-family: var(--sans); }
@media (max-width: 760px) { .prog-edit__grid { grid-template-columns: 1fr 1fr; } .prog-edit__wide { grid-column: 1 / -1; } }
.sermon__extra { margin: -.25rem 0 .75rem; font: 500 .9rem var(--sans); display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.sermon__lang { padding: .1rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--indigo) 10%, white); color: var(--indigo); font-weight: 600; font-size: .78rem; }

/* Articles admin */
.art-admin { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 960px) { .art-admin { grid-template-columns: minmax(0, 1fr); } }
.art-admin__two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.art-admin__body { font: 400 1rem/1.6 var(--sans); min-height: 360px; }
.art-admin__thumb { margin-top: .5rem; max-width: 220px; border-radius: 10px; }
.art-admin__state { width: auto; min-width: 82px; height: 30px; border-radius: 999px; font-size: .72rem; }
.art-admin__state--draft { background: #6B7290; }
.art-admin__state--scheduled { background: var(--indigo-2); }
.art-admin__state--live { background: #1E7A45; }
.art-admin__old { margin: 0; padding-left: 1.2rem; font: 400 .95rem/1.6 var(--sans); }
.settings__sec code { font-size: .85em; background: color-mix(in srgb, var(--indigo) 8%, white); padding: .05em .3em; border-radius: 4px; }
.sermon-ai { margin: .25rem 0 1rem; padding: .9rem 1rem; border: 1px dashed color-mix(in srgb, var(--indigo) 30%, white); border-radius: 14px; background: var(--mist); font-family: var(--sans); }
.sermon-ai summary { cursor: pointer; font-weight: 600; color: var(--indigo); }
.sermon-admin audio { width: 100%; max-width: 360px; height: 36px; margin: .4rem 0; }
.sermon-admin__link { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .85rem; }

/* Logs */
.logs__tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.logs__tabs a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .4rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--indigo); font: 600 .95rem var(--sans); text-decoration: none; }
.logs__tabs a[aria-current] { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.logs__tabs .ico { width: 18px; height: 18px; }
.logs__filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; padding: 1rem; margin-bottom: 1rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.logs__filter .form__row { margin: 0; }
.logs__stats { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-start; margin-bottom: 1rem; font-family: var(--sans); }
.logs__stats p { margin: 0; } .logs__stats strong { font-size: 1.4rem; color: var(--indigo); }
.logs__top ol { margin: .3rem 0 0; padding-left: 1.2rem; font-size: .9rem; } .logs__top span { color: var(--muted); }
.logs__table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.logs__table { width: 100%; border-collapse: collapse; font: 400 .88rem/1.45 var(--sans); }
.logs__table th, .logs__table td { padding: .6rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.logs__table th { background: var(--mist); font-weight: 600; white-space: nowrap; }
.logs__table small { display: block; color: var(--muted); font-size: .78rem; }
.logs__q { min-width: 280px; max-width: 460px; }
.logs__q details summary { cursor: pointer; color: var(--indigo-2); font-size: .82rem; }
.logs__tag { padding: 0 .4rem; border-radius: 999px; background: var(--flame); color: #fff; font-size: .7rem; }

/* Chat voice */
.chat__mic, .chat__lang { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--indigo); cursor: pointer; font: 700 .85rem var(--sans); }
.chat__mic .ico { width: 20px; height: 20px; }
.chat__lang { width: 36px; height: 36px; align-self: center; font-size: .8rem; }
.chat__mic.is-listening { background: var(--flame); border-color: var(--flame); color: #fff; }
@media (prefers-reduced-motion: no-preference) { .chat__mic.is-listening { animation: micPulse 1.2s ease-in-out infinite; } }
@keyframes micPulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--flame) 55%, transparent); } 50% { box-shadow: 0 0 0 10px transparent; } }
.chat__speak .chat__speak-on { display: none; }
.chat__speak.is-on .chat__speak-on { display: block; }
.chat__speak.is-on .chat__speak-off { display: none; }
.chat__speak.is-on { background: rgba(255,255,255,.18); }
.chat__form { gap: .4rem; }
mark.find-hl { background: color-mix(in srgb, var(--flame-soft) 85%, #FFE08A); color: inherit; padding: .05em .15em; border-radius: 4px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--flame) 30%, transparent); transition: background 1.2s ease, box-shadow 1.2s ease; }
mark.find-hl--fade { background: color-mix(in srgb, var(--flame-soft) 45%, transparent); box-shadow: none; }

/* Follow us page */
.social-cards { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 1rem; }
.social-card { display: grid; gap: .25rem; height: 100%; padding: 1.2rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--sans); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.social-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 18px 34px -22px rgba(20,28,63,.5); text-decoration: none; }
.social-card__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: .45rem; border-radius: 14px; background: var(--brand); color: #fff; }
.social-card__ico svg { width: 26px; height: 26px; }
.social-card strong { font-size: 1.1rem; color: var(--night); }
.social-card span { font-size: .92rem; color: var(--muted); }
.social-card .social-card__handle { margin-top: .35rem; font-weight: 600; color: var(--brand); }
.social-sec { margin-bottom: 2.5rem; }
.social-sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem; margin-bottom: 1rem; }
.social-sec__head h2 { margin: 0; }
.social-sec__head a { display: inline-flex; align-items: center; gap: .3rem; font: 600 .95rem var(--sans); color: var(--flame); }
.social-sec__head .ico { width: 16px; height: 16px; }
.social-feeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 2rem; }
.social-feeds .cframe { min-height: 260px; border-radius: 16px; overflow: hidden; }
.social-feeds .cframe iframe { width: 100%; height: 640px; border: 0; }
.social-posts { display: grid; gap: 1rem; }
.social-posts .cframe iframe { height: 560px; }

/* ===== Update 19 ===== */
/* Tablets (e.g. iPad): keep the worship details and phone together on the right */
@media (min-width: 641px) and (max-width: 1180px) {
  .topbar__in { justify-content: flex-end; text-align: right; gap: .25rem 1.25rem; }
  .topbar__venue { margin-left: auto; }
  .topbar__contact { justify-content: flex-end; margin-left: auto; }
}

/* Announcement pop-up */
.ann-pop { width: min(560px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: 22px; background: #fff; color: var(--ink); overflow: auto; box-shadow: 0 40px 90px -30px rgba(10,14,40,.7); }
.ann-pop--media { width: auto; max-width: min(720px, calc(100vw - 2rem)); background: transparent; box-shadow: none; overflow: visible; }
.ann-pop::backdrop { background: rgba(12,16,40,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (prefers-reduced-motion: no-preference) {
  .ann-pop[open] { animation: popZoom .38s cubic-bezier(.2,.9,.3,1.2); }
  .ann-pop[open]::backdrop { animation: popFade .3s ease; }
  .ann-pop.is-closing { animation: popOut .22s ease forwards; }
}
@keyframes popZoom { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }
@keyframes popOut { to { opacity: 0; transform: scale(.9); } }
@keyframes popFade { from { opacity: 0; } }
.ann-pop__close { position: absolute; top: .6rem; right: .6rem; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--night); cursor: pointer; box-shadow: 0 6px 18px -6px rgba(0,0,0,.4); }
.ann-pop__close .ico { width: 20px; height: 20px; }
.ann-pop__media img { display: block; width: 100%; height: auto; max-height: 70vh; object-fit: contain; background: #fff; }
.ann-pop--media .ann-pop__media img { border-radius: 18px; max-height: calc(100vh - 3rem); }
.ann-pop__video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ann-pop--media .ann-pop__video { width: min(720px, calc(100vw - 2rem)); border-radius: 18px; overflow: hidden; }
.ann-pop__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ann-pop__body { padding: 1.4rem 1.5rem 1.6rem; }
.ann-pop__title { margin: 0 0 .5rem; font-size: 1.5rem; padding-right: 2.5rem; }
.ann-pop__media + .ann-pop__body .ann-pop__title { padding-right: 0; }
.ann-pop__text { font-size: 1rem; line-height: 1.6; } .ann-pop__text p { margin: 0 0 .7rem; }
.ann-pop__btn { margin-top: .5rem; }

/* "Happening now" */
.live-pop { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 65; display: flex; align-items: flex-start; gap: .75rem; width: min(360px, calc(100vw - 32px)); padding: 1rem 2.6rem 1rem 1rem; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--flame); border-radius: 16px; box-shadow: 0 24px 50px -20px rgba(20,28,63,.55); font-family: var(--sans); opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease; }
.live-pop.is-in { opacity: 1; transform: none; }
.live-pop__dot { flex: none; width: 12px; height: 12px; margin-top: .3rem; border-radius: 50%; background: #D11F2E; box-shadow: 0 0 0 0 rgba(209,31,46,.6); }
@media (prefers-reduced-motion: no-preference) { .live-pop__dot { animation: liveDot 1.4s ease-out infinite; } }
@keyframes liveDot { 70% { box-shadow: 0 0 0 10px rgba(209,31,46,0); } 100% { box-shadow: 0 0 0 0 rgba(209,31,46,0); } }
.live-pop__label { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #B0182A; }
.live-pop__text { margin: .2rem 0 .6rem; font-size: .98rem; line-height: 1.4; color: var(--ink); }
.live-pop__close { position: absolute; top: .4rem; right: .4rem; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.live-pop__close .ico { width: 18px; height: 18px; }
@media (max-width: 560px) { .live-pop { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 120px); } }
.pic__alt { display: grid; gap: .25rem; font: 600 .8rem var(--sans); color: var(--muted); }
.pic__alt-row { display: flex; gap: .35rem; }
.pic__alt-row input { flex: 1; min-width: 0; height: 38px; padding: 0 .6rem; border: 1px solid var(--line); border-radius: 8px; font: 400 .85rem var(--sans); }
.sizes td:first-child { font-weight: 600; }
.settings__secbar { display: flex; flex-wrap: wrap; gap: .6rem; padding: .9rem 0 .4rem; margin-top: .4rem; border-top: 1px dashed var(--line); }
.sheet-steps { font: 400 .95rem/1.6 var(--sans); padding-left: 1.3rem; }
.sheet-code { max-height: 320px; overflow: auto; padding: .9rem; background: #0F172A; color: #E2E8F0; border-radius: 10px; font: 400 .78rem/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre; }
.entry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .5rem 0 0; }
.entry__actions form { margin: 0 0 0 auto; }
.pic { min-width: 0; }
.pic__alt-row { flex-wrap: wrap; }
.pic__alt-row input { flex: 1 1 140px; }
.settings-page .page-body { scroll-padding-top: calc(var(--top-h, 120px) + 1rem); }
.live-pop[hidden] { display: none; }
.pcard__count.is-live { background: #E3F6EA; color: #0B5E30; }

/* ===== Update 20 ===== */
.wa-alt { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.5rem; padding: .9rem 1rem; border: 1px solid #BFE3CC; border-radius: 16px; background: #EEF9F2; color: #0B5E30; font: 500 .98rem/1.4 var(--sans); text-decoration: none; }
.wa-alt:hover { background: #E1F4E8; color: #08492A; text-decoration: none; }
.wa-alt__ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #0E7A3F; color: #fff; }
.wa-alt__ico svg { width: 22px; height: 22px; }
.wa-alt > .ico { flex: none; width: 18px; height: 18px; margin-left: auto; }
.subscribe__form { display: grid; gap: .1rem; max-width: 560px; margin-top: 1rem; }
.subscribe__phone { display: grid; grid-template-columns: 200px 1fr; gap: 0 .75rem; }
@media (max-width: 520px) { .subscribe__phone { grid-template-columns: minmax(0, 1fr); } }
.subscribe__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.subscribe .form__check { margin: .3rem 0 .9rem; font-size: .92rem; }
.subscribe .btn--wa { justify-self: start; }
.sub-actions { display: flex; gap: .8rem; margin: 0; }
.subscribe { align-items: start; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.25rem 0 1rem; }
.pn__link { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--night); font: 600 1rem/1.3 var(--sans); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.pn__link:hover { border-color: var(--flame); box-shadow: 0 14px 30px -20px rgba(20,28,63,.5); transform: translateY(-2px); text-decoration: none; color: var(--night); }
.pn__link small { display: block; margin-bottom: .2rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ember); }
.pn__link .ico { flex: none; width: 22px; height: 22px; color: var(--flame); }
.pn__link--next { justify-content: flex-end; text-align: right; }
@media (max-width: 560px) { .pn { grid-template-columns: minmax(0, 1fr); } }
.pages-list__row { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-family: var(--sans); }
.pages-list__row:last-child { border-bottom: 0; }
.pages-list__row.is-hidden label { color: var(--muted); text-decoration: line-through; }
.pages-list__view { margin-left: auto; font-size: .8rem; color: var(--muted); }
.pages-list__row small { flex-basis: 100%; color: var(--muted); }
.link-hidden { color: inherit; }
.send-ways { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 0 0 1rem; }
.send-ways .wa-alt { margin: 0; }
@media (max-width: 700px) { .send-ways { grid-template-columns: minmax(0, 1fr); } }
.wa-alt--mail { border-color: #C9D3EA; background: #F1F4FB; color: var(--navy, #13294B); }
.wa-alt--mail:hover { background: #E6EBF7; color: var(--navy, #13294B); }
.wa-alt--mail .wa-alt__ico { background: var(--navy, #13294B); }
.wa-alt--mail .wa-alt__ico .ico { width: 20px; height: 20px; }
.wa-alt strong { display: block; }
.send-ways__or { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.2rem; color: var(--muted); font: 500 .85rem var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.send-ways__or::before, .send-ways__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* =========================================================
   PRINT: clean A4 layout with a church header and footer
   Author: Vishnu Salim - Media Coordinator
   ========================================================= */
.print-head, .print-foot { display: none; }
@media print {
  @page { size: A4; margin: 16mm 15mm 18mm; }
  html, body { background: #fff !important; color: #000 !important; }
  body { font: 11.5pt/1.55 Georgia, "Times New Roman", serif; }
  .topbar, .site-header, .sidebar, .visit, .site-footer, .print-row, .page-loader, .chat, .chat-fab, .chat-launch, .ann-pop, .live-pop, .consent, .cookie, .scroll-top, .to-top, .share, .pn, .crumbs, .sticky-call, .wa-float, .send-ways, .send-ways__or, form, video, iframe, .btn, .skip-link, .search, .nav, .mnav { display: none !important; }
  .page-hero, .page-hero::before, .page-hero::after { background: none !important; color: #000 !important; padding: 0 0 6mm !important; min-height: 0 !important; box-shadow: none !important; }
  .page-hero h1 { color: #000 !important; font-size: 22pt; margin: 0 0 2mm; }
  .page-hero__lead { color: #333 !important; }
  .page-body, .wrap { display: block !important; max-width: none !important; width: auto !important; padding: 0 !important; margin: 0 !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; box-shadow: none !important; text-shadow: none !important; }
  [data-reveal], .reveal, .is-hidden-until { opacity: 1 !important; transform: none !important; }
  a { color: #000; text-decoration: underline; }
  .prose a[href^="http"]:not([href*="wa.me"]):not([href*="/maps"]):not([href*="mailto"])::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; word-break: break-all; }
  h1, h2, h3 { break-after: avoid; page-break-after: avoid; color: #000 !important; }
  img, figure, blockquote, table, .card, li, dl > div, .pcard, .tl__item { break-inside: avoid; page-break-inside: avoid; }
  img { max-width: 100% !important; height: auto !important; }
  .print-head { display: flex !important; align-items: center; gap: 4mm; padding: 0 0 4mm; margin: 0 0 6mm; border-bottom: 2pt solid #7A1C2E; font-family: Arial, sans-serif; }
  .print-head strong { display: block; font-size: 15pt; color: #13294B; }
  .print-head span { display: block; font-size: 9pt; color: #333; }
  .print-head__tel { margin-left: auto; text-align: right; }
  .print-foot { display: block !important; margin-top: 10mm; padding-top: 3mm; border-top: 1pt solid #999; font: 8.5pt/1.5 Arial, sans-serif; color: #444; text-align: center; }
  .print-foot span { display: block; }
}
/* Picture-only pop-up: the picture at its own size, no card */
.ann-pop--media { width: fit-content; max-width: calc(100vw - 2rem); max-height: calc(100vh - 2rem); padding: 0; }
.ann-pop--media .ann-pop__media { line-height: 0; }
.ann-pop--media .ann-pop__media img { width: auto; max-width: calc(100vw - 2rem); max-height: calc(100vh - 2rem); background: transparent; box-shadow: 0 40px 90px -30px rgba(10,14,40,.7); }
.ann-pop--media .ann-pop__close { top: -.6rem; right: -.6rem; }
@media (max-width: 600px) { .ann-pop--media .ann-pop__close { top: .4rem; right: .4rem; } }
.ann-pop__text img { max-width: 100%; height: auto; border-radius: 10px; }
.ann-pop__text table { width: 100%; border-collapse: collapse; } .ann-pop__text td, .ann-pop__text th { border: 1px solid var(--line); padding: .4rem .6rem; }
/* Admin: photo manager, album list */
.pm-up { display: grid; gap: .5rem; margin: .5rem 0 1.2rem; padding: 1rem; border: 1px dashed var(--line); border-radius: 14px; background: #FAFBFD; font-family: var(--sans); }
.pm-up .btn { justify-self: start; }
.pm-up small, .pm-empty { color: var(--muted); font-family: var(--sans); }
.pm-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: .8rem; }
.pm-grid__item { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.pm-grid__item.is-cover { outline: 3px solid var(--flame, #C8102E); outline-offset: -3px; }
.pm-grid__item img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pm-grid__badge { position: absolute; top: .4rem; left: .4rem; padding: .1rem .5rem; border-radius: 999px; background: var(--night, #13294B); color: #fff; font: 600 .72rem var(--sans); }
.pm-grid__btns { display: flex; justify-content: space-between; gap: .2rem; padding: .35rem; }
.pm-grid__btns button { flex: 1; display: grid; place-items: center; min-height: 36px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; }
.pm-grid__btns button:hover:not([disabled]) { background: #F1F4FB; }
.pm-grid__btns button[disabled] { opacity: .35; cursor: default; }
.pm-grid__btns button.is-danger, .link-btn.is-danger { color: #A0182C; }
.pm-grid__btns .ico { width: 16px; height: 16px; }
.pm-del { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.pm-del .link-btn { display: inline-flex; align-items: center; gap: .4rem; }
.alb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.alb-list__item a { display: flex; align-items: center; gap: .8rem; padding: .45rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-family: var(--sans); }
.alb-list__item a:hover, .alb-list__item.is-current a { border-color: var(--flame, #C8102E); background: #FFF8F8; }
.alb-list__item img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
.alb-list__item strong { display: block; } .alb-list__item small { color: var(--muted); }
.ev-admin__after { margin: 1rem 0; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
.ev-admin__after legend { padding: 0 .4rem; font: 600 .95rem var(--sans); }
.ev-admin__cover { display: block; max-width: 220px; margin-top: .5rem; border-radius: 10px; border: 1px solid var(--line); }
.badge { display: inline-block; padding: .1rem .55rem; border-radius: 999px; background: #EEF0F5; color: var(--muted); font: 600 .75rem var(--sans); vertical-align: middle; }
.badge--up { background: #E6F5EC; color: #0B5E30; }
/* Admin forms: consistent, comfortable fields */
.settings-page .form__row { margin-bottom: .9rem; }
.settings-page .form__row > label { font: 600 .92rem var(--sans); color: var(--ink); }
.settings-page .art-admin__two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .settings-page .art-admin__two { grid-template-columns: minmax(0, 1fr); } }
.settings-page .form__check { margin: .2rem 0 .9rem; font-family: var(--sans); }
.guide__meta { margin: .4rem 0 0; opacity: .8; font: 500 .9rem var(--sans); }
.guide__dl { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.guide__dl .btn { display: inline-flex; align-items: center; gap: .45rem; }
.guide__dl .ico { width: 18px; height: 18px; }
.btn--light { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.btn--light:hover { background: rgba(255,255,255,.12); color: #fff; }
.guide__table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .95rem; margin: 1rem 0 1.4rem; }
.guide__table th, .guide__table td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide__table th { background: #F3F5FA; font-weight: 600; }
.guide__author { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font: 500 .85rem var(--sans); }
@media print {
  .guide-page .guide { display: block !important; }
  .guide-page .guide__toc { display: block !important; position: static !important; break-after: page; border: 0; }
  .guide-page .guide__toc p, .guide__dl { display: none !important; }
  .guide-page .guide__body h2 { break-before: auto; margin-top: 8mm; font-size: 15pt; border-bottom: 1pt solid #ccc; padding-bottom: 1mm; }
  .guide-page .guide__body a::after { content: none !important; }
  .guide__table th { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .guide__meta { color: #333 !important; opacity: 1; }
  .callout { border: 1pt solid #999 !important; background: none !important; }
}

/* =========================================================
   HOME SPOTLIGHT (Nov 2026): full-height hero with video, picture or gradient background,
   transparent menu over it that turns white when scrolling, and the Silver Jubilee emblem.
   Author: Vishnu Salim - Media Coordinator
   ========================================================= */
body.hero-over .site-top { position: fixed; left: 0; right: 0; top: 0; }
.home .hero--full { min-height: min(100vh, 980px); min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--top-h0, var(--top-h, 124px)) + clamp(2rem, 6vh, 4.5rem)) 0 0; }
.home .hero--full .hero__in { flex: 1; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; padding-bottom: clamp(2rem, 5vh, 3.5rem); }
/* background layers */
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--night); }
.hero__bgimg, .hero__video, .hero__yt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero.is-playing .hero__video { opacity: 1; }
.hero__yt { pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hero.is-playing .hero__yt { opacity: 1; }
.hero__yt iframe { position: absolute; top: 50%; left: 50%; width: 177.78vh; height: 56.25vw; min-width: 100%; min-height: 100%; transform: translate(-50%, -50%); border: 0; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(8,12,34,calc(var(--hero-dim, .6) + .15)) 0%, rgba(8,12,34,var(--hero-dim, .6)) 45%, rgba(8,12,34,calc(var(--hero-dim, .6) - .15)) 100%),
  linear-gradient(180deg, rgba(8,12,34,.55) 0%, transparent 28%, transparent 65%, rgba(8,12,34,.7) 100%); }
.home .hero--media:not(.hero--video)::before, .home .hero--media:not(.hero--video)::after,
.home .hero--video.hero--has-img::before, .home .hero--video.hero--has-img::after { display: none; }
/* Spotlight video: the colour gradient shows until the video really plays (slow connection, blocked autoplay,
   saving data, an error), then the video fades in over it */
.home .hero--video:not(.hero--has-img) .hero__bg { background: transparent; }
.home .hero--video:not(.hero--has-img) .hero__bg::after { opacity: 0; transition: opacity 1.2s ease; }
.home .hero--video:not(.hero--has-img).is-playing .hero__bg::after { opacity: 1; }
.home .hero--video.is-playing::after { opacity: 0; transition: opacity 1.2s ease; }
.home .hero--video.is-playing::before { visibility: hidden; animation-play-state: paused; transition: visibility 0s 1.4s; }
/* never any play button or video controls in the spotlight or page banners */
.hero__video, .hero__yt, .hero__yt iframe { pointer-events: none; }
.hero__video::-webkit-media-controls, .hero__video::-webkit-media-controls-enclosure, .hero__video::-webkit-media-controls-panel,
.hero__video::-webkit-media-controls-play-button, .hero__video::-webkit-media-controls-start-playback-button,
.hero__video::-webkit-media-controls-overlay-play-button, .hero__video::-webkit-media-controls-overlay-enclosure { display: none !important; -webkit-appearance: none; opacity: 0 !important; }
/* text */
.hero__eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1.1rem; padding: .4rem .95rem; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font: 600 .82rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.hero__eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--flame-soft); }
.home .hero--full .hero__title { font-size: clamp(2.7rem, 6.6vw, 5.6rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 1.3rem; max-width: 14.5ch; color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.home .hero--full .hero__lead { color: rgba(255,255,255,.9); }
.home .hero--full .hero__verse p { color: rgba(255,255,255,.88); }
@media (prefers-reduced-motion: no-preference) {
  .home .hero--full .hero__eyebrow, .home .hero--full .hero__title, .home .hero--full .hero__lead, .home .hero--full .hero__verse, .home .hero--full .hero__actions { animation: heroRise .9s cubic-bezier(.2,.7,.2,1) both; }
  .home .hero--full .hero__title { animation-delay: .1s; } .home .hero--full .hero__lead { animation-delay: .22s; } .home .hero--full .hero__verse { animation-delay: .32s; } .home .hero--full .hero__actions { animation-delay: .42s; }
  .jubilee { animation: heroRise 1.1s .35s cubic-bezier(.2,.7,.2,1) both; }
  .jubilee__ring { animation: jbSpin 60s linear infinite; }
}
@keyframes heroRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes jbSpin { to { transform: rotate(360deg); } }
/* scroll cue */
.hero__scroll { position: absolute; left: 50%; bottom: calc(var(--sunday-h, 0px) + 1.2rem); transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; }
@media (prefers-reduced-motion: no-preference) { .hero__scroll span { animation: cue 1.8s ease-in-out infinite; } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Silver Jubilee emblem */
.jubilee { position: relative; justify-self: center; width: clamp(240px, 26vw, 340px); aspect-ratio: 1; display: grid; place-items: center; color: #fff; }
.jubilee::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.16), rgba(255,255,255,.04) 60%); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(243,223,162,.35), 0 30px 80px -30px rgba(0,0,0,.6); }
.jubilee__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.jubilee__ringtext { fill: #F1DDA0; font: 700 11px var(--sans, sans-serif); }
.jubilee__core { position: relative; display: grid; justify-items: center; text-align: center; gap: .25rem; padding: 0 18%; }
.jubilee__num { font-family: var(--serif); font-weight: 700; font-size: clamp(4rem, 7.5vw, 6.2rem); line-height: .9; letter-spacing: -.04em; background: linear-gradient(135deg, #FBF0CC 0%, #E2C06A 40%, #FFF6D8 55%, #C99A3B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgba(217,180,90,.35)); }
.jubilee__label { font: 600 .82rem/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; max-width: 15ch; }
.jubilee__since { margin-top: .35rem; padding-top: .45rem; border-top: 1px solid rgba(241,221,160,.45); font: 500 .78rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #F1DDA0; }
@media (max-width: 1020px) {
  .home .hero--full .hero__in { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .jubilee { width: 200px; justify-self: start; order: -1; margin: 0 0 .5rem -12px; }
  .jubilee__num { font-size: 3.4rem; }
  .jubilee__label { font-size: .66rem; }
  .jubilee__since { font-size: .62rem; }
}
@media (max-width: 600px) {
  .home .hero--full { min-height: 0; padding-top: calc(var(--top-h0, var(--top-h, 110px)) + 1.5rem); }
  .jubilee { width: 150px; }
  .jubilee__num { font-size: 2.6rem; }
  .jubilee__label { font-size: .56rem; letter-spacing: .03em; }
  .jubilee__since { display: none; }
  .hero__eyebrow-place, .hero__eyebrow-dot { display: none; }
  .hero__eyebrow { font-size: .72rem; }
}
@media (min-width: 1021px) and (min-height: 760px) { .hero__scroll { display: block; } }

/* Menu over the spotlight: transparent with white text at the top, white when scrolling (as before) */
body.hero-over .topbar, body.hero-over .site-header::before, body.hero-over .site-header { transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
body.hero-over:not(.is-scrolled):not(.nav-open) .topbar { background: transparent; border-bottom: 0; box-shadow: none; }
body.hero-over:not(.is-scrolled):not(.nav-open) .site-header::before { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.hero-over:not(.is-scrolled):not(.nav-open) .site-header { box-shadow: none; }
body.hero-over:not(.is-scrolled):not(.nav-open) .site-header::after { opacity: 0; }
body.hero-over:not(.is-scrolled):not(.nav-open) .brand .brand__name { color: #fff; }
body.hero-over:not(.is-scrolled):not(.nav-open) .brand__caption { color: rgba(255,255,255,.82); }
body.hero-over:not(.is-scrolled):not(.nav-open) .brand picture { display: inline-block; background: #fff; border-radius: 14px; padding: 2px; box-shadow: 0 6px 20px -8px rgba(0,0,0,.5); }
body.hero-over:not(.is-scrolled):not(.nav-open) .nav__item > .nav__link { color: #fff; }
body.hero-over:not(.is-scrolled):not(.nav-open) .nav__item > .nav__link:hover, body.hero-over:not(.is-scrolled):not(.nav-open) .nav__item:focus-within > .nav__link { color: #fff; background: rgba(255,255,255,.14); }
body.hero-over:not(.is-scrolled):not(.nav-open) .nav__item.is-active > .nav__link { color: #fff; box-shadow: inset 0 -2px 0 var(--flame-soft); }
body.hero-over:not(.is-scrolled):not(.nav-open) .sub-toggle { color: #fff; }
body.hero-over:not(.is-scrolled):not(.nav-open) .search-toggle { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); }
body.hero-over:not(.is-scrolled):not(.nav-open) .nav-toggle { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }

/* =========================================================
   PHOTO GALLERY: tile (mosaic) layout for albums and photos
   ========================================================= */
.tiles { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 210px); grid-auto-flow: dense; gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: 18px; background: var(--night); min-height: 0; }
.tile.t-big { grid-column: span 2; grid-row: span 2; }
.tile.t-wide { grid-column: span 2; }
.tile.t-tall { grid-row: span 2; }
.tile > a { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.tile:hover img, .tile:focus-within img { transform: scale(1.07); }
.tile__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,12,34,0) 35%, rgba(8,12,34,.85) 100%); transition: opacity .4s ease; }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.1rem 1.1rem; display: grid; gap: .2rem; }
.tile__title { margin: 0; color: #fff; font-size: 1.15rem; line-height: 1.2; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.tile.t-big .tile__title { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.tile__date { font: 500 .85rem var(--sans); color: rgba(255,255,255,.85); }
.tile__go { display: inline-flex; align-items: center; gap: .35rem; margin-top: .3rem; font: 600 .85rem var(--sans); color: var(--flame-soft); opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.tile__go .ico { width: 16px; height: 16px; }
.tile:hover .tile__go, .tile:focus-within .tile__go { opacity: 1; transform: none; }
.tile__count { position: absolute; top: .7rem; right: .7rem; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(8,12,34,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 600 .78rem var(--sans); }
.tile__count .ico { width: 14px; height: 14px; }
.tile > a:focus-visible { outline: 3px solid var(--flame-soft); outline-offset: -3px; border-radius: 18px; }
/* album photos */
.tiles--photos { grid-auto-rows: clamp(140px, 13vw, 190px); }
.tiles--photos .tile { border-radius: 14px; }
.tiles--photos .gallery__link { position: absolute; inset: 0; }
.tiles--photos .img-frame, .tiles--photos .gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; margin: 0; }
.tiles--photos .tile::after { content: ""; position: absolute; inset: 0; background: rgba(8,12,34,0); transition: background .3s ease; pointer-events: none; }
.tiles--photos .tile:hover::after { background: rgba(8,12,34,.15); }
@media (prefers-reduced-motion: no-preference) {
  .tiles .tile { animation: tileIn .6s cubic-bezier(.2,.7,.2,1) both; }
  .tiles .tile:nth-child(2) { animation-delay: .05s; } .tiles .tile:nth-child(3) { animation-delay: .1s; } .tiles .tile:nth-child(4) { animation-delay: .15s; } .tiles .tile:nth-child(5) { animation-delay: .2s; } .tiles .tile:nth-child(n+6) { animation-delay: .25s; }
}
@keyframes tileIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .tile { border-radius: 12px; }
  .tile.t-big { grid-column: span 2; grid-row: span 2; }
  .tile__title { font-size: 1rem; } .tile__go { display: none; }
  .tile__body { padding: .7rem .8rem; }
}

/* =========================================================
   LEADERSHIP cards and "Read more" pop-up
   ========================================================= */
.lead-sec { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.lead-sec__head { text-align: center; max-width: 640px; margin: 0 auto 2.2rem; }
.lead-sec__head h2 { margin: .3rem 0 .5rem; }
.lead-sec__head p:last-child { color: var(--muted); font-family: var(--sans); margin: 0; }
.lead-sec__all { text-align: center; margin: 2rem 0 0; font-family: var(--sans); }
.lcards { list-style: none; margin: 0 0 2rem; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 1.1rem; }
.lcards--lead { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 340px)); }
.lcards--home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lcards--home .lcard--lead { grid-column: span 2; }
.lcard { margin: 0; }
.lcard__in { all: unset; box-sizing: border-box; display: flex; flex-direction: column; width: 100%; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-family: var(--sans); color: var(--ink); transition: transform .3s ease, box-shadow .3s ease; }
button.lcard__in { cursor: pointer; }
button.lcard__in:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(20,28,63,.55); }
button.lcard__in:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; }
.lcard__photo { display: block; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--indigo-2, #2B3A78), var(--night, #0E1433)); overflow: hidden; }
.lcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.lcard__photo.is-empty img { object-fit: cover; object-position: center; }
button.lcard__in:hover .lcard__photo img { transform: scale(1.05); }
.lcard--lead .lcard__in { flex-direction: row; }
.lcard--lead .lcard__photo { flex: 0 0 46%; aspect-ratio: auto; min-height: 260px; }
.lcard__body { display: grid; align-content: start; gap: .2rem; padding: 1rem 1.1rem 1.15rem; }
.lcard--lead .lcard__body { align-content: center; padding: 1.4rem; }
.lcard__name { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; color: var(--indigo); }
.lcard--lead .lcard__name { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.lcard__role { font-weight: 600; font-size: .9rem; color: var(--flame); }
.lcard__more { display: inline-flex; align-items: center; gap: .3rem; margin-top: .5rem; font-weight: 600; font-size: .88rem; color: var(--indigo); }
.lcard__more .ico { width: 15px; height: 15px; transition: transform .25s ease; }
button.lcard__in:hover .lcard__more .ico { transform: translateX(3px); }
@media (max-width: 900px) { .lcards--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .lcards, .lcards--lead { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .lcards--home .lcard--lead, .lcards--lead .lcard { grid-column: 1 / -1; }
  .lcard--lead .lcard__photo { flex-basis: 42%; min-height: 200px; }
  .lcard__name { font-size: 1.02rem; } .lcard__body { padding: .8rem; }
}
/* pop-up */
.bio-pop { width: min(640px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -30px rgba(10,14,40,.7); overflow: auto; }
.bio-pop::backdrop { background: rgba(12,16,40,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (prefers-reduced-motion: no-preference) { .bio-pop[open] { animation: popZoom .38s cubic-bezier(.2,.9,.3,1.2); } }
.bio-pop__close { position: absolute; top: .8rem; right: .8rem; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--mist, #F1F3F8); color: var(--night); cursor: pointer; }
.bio-pop__close .ico { width: 20px; height: 20px; }
.bio-pop__head { display: flex; align-items: center; gap: 1.2rem; padding: 1.6rem 3.6rem 1.2rem 1.6rem; background: linear-gradient(160deg, #F4F6FB, #fff); border-bottom: 1px solid var(--line); }
.bio-pop__photo { flex: none; width: 112px; height: 136px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, var(--indigo-2, #2B3A78), var(--night, #0E1433)); }
.bio-pop__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.bio-pop__photo.is-empty img { object-fit: cover; object-position: center; }
.bio-pop__role { margin: 0 0 .2rem; font: 700 .8rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--flame); }
.bio-pop__name { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); color: var(--indigo); }
.bio-pop__text { padding: 1.3rem 1.6rem .4rem; font-size: 1.05rem; }
.bio-pop__act { padding: 0 1.6rem 1.6rem; margin: 0; }
.bio-pop__act .btn { display: inline-flex; align-items: center; gap: .5rem; }
.bio-pop__act svg { width: 20px; height: 20px; }
@media (max-width: 480px) { .bio-pop__head { padding: 1.2rem; gap: .9rem; } .bio-pop__photo { width: 84px; height: 104px; } .bio-pop__text { padding: 1rem 1.2rem .3rem; } .bio-pop__act { padding: 0 1.2rem 1.2rem; } }
.lead-adm { display: flex; align-items: center; gap: .4rem; }
.lead-adm > a { flex: 1; min-width: 0; }
.lead-adm img { object-fit: cover; object-position: center 20%; }
.lead-adm__btns { display: flex; gap: .2rem; }
.lead-adm__btns button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; color: var(--ink); }
.lead-adm__btns button .ico { width: 15px; height: 15px; transform: rotate(90deg); }
.lead-adm__btns button.is-danger .ico { transform: none; }
.lead-adm__btns button.is-danger { color: #A0182C; }

/* Leadership: the photo opens the pop-up, with a "Know more" overlay */
.lcard__in { cursor: default; }
button.lcard__photo { all: unset; box-sizing: border-box; position: relative; display: block; cursor: pointer; overflow: hidden; background: linear-gradient(160deg, var(--indigo-2, #2B3A78), var(--night, #0E1433)); aspect-ratio: 4 / 5; }
.lcard--lead button.lcard__photo { flex: 0 0 46%; aspect-ratio: auto; min-height: 260px; }
button.lcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.lcard__know { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: center; padding: 2.2rem .8rem .9rem; background: linear-gradient(180deg, transparent, rgba(8,12,34,.82)); color: #fff; font: 600 .95rem var(--sans); letter-spacing: .02em; opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; }
.lcard__know::after { content: "→"; margin-left: .4rem; }
button.lcard__photo:hover img, button.lcard__photo:focus-visible img { transform: scale(1.06); }
button.lcard__photo:hover .lcard__know, button.lcard__photo:focus-visible .lcard__know { opacity: 1; transform: none; }
button.lcard__photo:focus-visible { outline: 3px solid var(--flame); outline-offset: -3px; }
.lcard.has-bio .lcard__in:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(20,28,63,.55); }
.lcard__in { transition: transform .3s ease, box-shadow .3s ease; }
@media (hover: none) { .lcard__know { opacity: 1; transform: none; padding-top: 1.6rem; font-size: .85rem; } }
/* Sign-in security code */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha__row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.captcha__img { display: block; width: 220px; height: 70px; border: 1px solid var(--line); border-radius: 10px; background: #F4F6FB; }
.captcha__new { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--indigo); font: 600 .88rem var(--sans); cursor: pointer; }
.captcha__new:hover { background: var(--mist, #F1F3F8); }
.captcha__new .ico { width: 16px; height: 16px; }
#d-cap { text-transform: uppercase; letter-spacing: .2em; font-weight: 600; }
.captcha__hint { color: var(--muted); font-family: var(--sans); }

/* =========================================================
   HOME PROGRAMME TABLE (Nov 2026): Service | Day | Time | Venue | Next meeting | Zoom
   ========================================================= */
.prog--table { background: var(--mist); }
.prog--table .prog__head { display: block; text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.prog--table .prog__head h2 { color: var(--night); margin: 0 0 .4rem; }
.prog--table .prog__head p { color: var(--muted); }
.ptab-wrap { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 50px -34px rgba(20,28,63,.45); overflow: hidden; }
.ptab { width: 100%; border-collapse: collapse; font-family: var(--sans); }
.ptab thead th { padding: .95rem 1.1rem; text-align: left; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--night); }
.ptab td, .ptab tbody th { padding: 1rem 1.1rem; text-align: left; vertical-align: middle; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink); }
.ptab tbody tr:first-child td, .ptab tbody tr:first-child th { border-top: 0; }
.ptab__name { font-family: var(--serif); font-weight: 600; font-size: 1.08rem !important; color: var(--night) !important; }
.ptab__time { font-weight: 700; color: var(--flame) !important; white-space: nowrap; }
.ptab__venue .ico { width: 16px; height: 16px; margin-right: .35rem; vertical-align: -3px; color: var(--muted); }
.ptab__next { color: var(--muted) !important; font-size: .88rem !important; }
.ptab__next .countdown.is-live { color: #0B6E37; font-weight: 700; }
.ptab__act { text-align: right !important; white-space: nowrap; }
.ptab__btn { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .85rem; border-radius: 999px; background: var(--flame); color: #fff; font: 600 .85rem var(--sans); text-decoration: none; }
.ptab__btn:hover { background: var(--flame-dark); color: #fff; }
.ptab__btn .ico { width: 15px; height: 15px; }
.ptab__today { display: none; margin-left: .4rem; padding: .12rem .5rem; border-radius: 999px; background: var(--flame); color: #fff; font: 700 .7rem var(--sans); vertical-align: 2px; }
.ptab__row.is-today .ptab__today { display: inline-block; }
.ptab__row.is-today > * { background: #FFF7F6; }
.ptab__row.is-today > th { box-shadow: inset 4px 0 0 var(--flame); }
.ptab__row--main > * { background: #FBF3F2; }
.ptab__row--daily > * { background: #F6F8FC; }
@media (max-width: 960px) {
  .ptab thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ptab, .ptab tbody, .ptab tr, .ptab td, .ptab tbody th { display: block; }
  .ptab tr { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); padding: 1rem 1.1rem; border-top: 1px solid var(--line); }
  .ptab tbody tr:first-child { border-top: 0; }
  .ptab td, .ptab tbody th { border: 0; padding: .18rem 0; grid-column: 2; background: transparent !important; box-shadow: none !important; }
  .ptab tbody th { grid-column: 1 / -1; padding-bottom: .45rem; }
  .ptab td[data-k] { display: contents; }
  .ptab td[data-k]::before { content: attr(data-k); grid-column: 1; padding: .18rem 0; font: 600 .78rem/1.6 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
  .ptab td[data-k] > *, .ptab td[data-k] { font-size: .93rem; }
  .ptab__act { grid-column: 1 / -1 !important; text-align: left !important; padding-top: .55rem !important; }
  .ptab__act:empty { display: none; }
  .ptab tr.ptab__row--main { background: #FBF3F2; } .ptab tr.ptab__row--daily { background: #F6F8FC; } .ptab tr.is-today { background: #FFF7F6; box-shadow: inset 4px 0 0 var(--flame); }
}
/* Jubilee emblem only where it fits beside the heading */
@media (max-width: 1020px) { .home .hero--full .jubilee { display: none; } }
/* Spotlight starts at the very top on phones too (behind the see-through menu) */
.home.hero-over main > .hero--full:first-child { margin-top: 0; }
/* Church Officials: founder, pastors and committee centred */
.leaders { text-align: center; }
.leaders > h2 { text-align: center; }
.leaders .lcards { display: flex; flex-wrap: wrap; justify-content: center; text-align: left; }
.leaders .lcards > .lcard { flex: 0 1 220px; }
.leaders .lcards--lead > .lcard { flex: 0 1 280px; }
@media (max-width: 560px) { .leaders .lcards > .lcard { flex: 0 1 calc(50% - .35rem); } .leaders .lcards--lead > .lcard { flex-basis: calc(50% - .35rem); } }
/* Follow us: real platform logos in their own colours */
.social-card__ico--logo { background: transparent; width: 52px; height: 52px; border-radius: 0; }
.social-card__ico--logo svg { width: 52px; height: 52px; }
@media (max-width: 960px) { .ptab td[data-k] > span { grid-column: 2; padding: .18rem 0; } }
.leaders .lcards > .lcard { display: flex; } .leaders .lcard__in { flex: 1; }
/* Back to top (appears at the very bottom of the page) */
.to-top { position: fixed; left: 50%; bottom: 1.2rem; z-index: 60; display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1.2rem; border-radius: 999px; background: var(--night); color: #fff; font: 600 .95rem var(--sans); text-decoration: none; box-shadow: 0 16px 34px -14px rgba(10,14,40,.6); opacity: 0; transform: translate(-50%, 14px); transition: opacity .3s ease, transform .3s ease; }
.to-top.is-on { opacity: 1; transform: translate(-50%, 0); }
.to-top:hover, .to-top:focus-visible { background: var(--flame); color: #fff; }
.to-top[hidden] { display: none; }
.to-top .ico { width: 18px; height: 18px; }
@media (max-width: 600px) { .to-top { left: 1rem; transform: translate(0, 14px); bottom: 1rem; } .to-top.is-on { transform: none; } }

/* =========================================================
   PAGE BANNERS: picture / video / YouTube behind inner page titles
   ========================================================= */
.page-hero--media { background: var(--night) !important; isolation: isolate; }
.page-hero--media::after { display: none; }
.page-hero--media > .wrap { position: relative; z-index: 1; }
.page-hero--media .hero__bg { z-index: 0; }
.page-hero--media h1, .page-hero--media .page-hero__lead, .page-hero--media .crumbs, .page-hero--media .crumbs a { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.page-hero--color::after { opacity: .35; }
.page-hero--light, .page-hero--light h1, .page-hero--light .page-hero__lead, .page-hero--light .crumbs, .page-hero--light .crumbs a { color: #141C3F; text-shadow: none; }
.page-hero--tall { padding-top: clamp(4rem, 10vw, 7.5rem) !important; padding-bottom: clamp(4rem, 10vw, 7.5rem) !important; }
.hero__yt iframe { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.page-hero.is-playing .hero__video, .page-hero.is-playing .hero__yt { opacity: 1; }
.ban-tips { font-family: var(--sans); padding-left: 1.2rem; }
.ban-tips li { margin-bottom: .5rem; }
.ban-list ul { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .3rem; }
.ban-list a { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font: 500 .93rem var(--sans); }
.ban-list a:hover, .ban-list li.is-current a { border-color: var(--flame); background: #FFF8F8; }
.ban-chip { flex: none; padding: .1rem .55rem; border-radius: 999px; background: #E6F5EC; color: #0B5E30; font: 600 .75rem var(--sans); }
/* Chat header on phones: buttons stacked on the right, title and subtitle centred top-to-bottom using the rest of the width */
@media (max-width: 600px) {
  .chat__head { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-rows: auto auto auto; grid-template-areas: "av who cl" "av who sp" "av who rs"; column-gap: .7rem; row-gap: .3rem; align-items: center; padding: max(.6rem, env(safe-area-inset-top)) .6rem .6rem 1rem; }
  .chat__avatar { grid-area: av; align-self: center; }
  .chat__who { grid-area: who; align-self: center; }
  .chat__close { grid-area: cl; } .chat__speak { grid-area: sp; } .chat__reset { grid-area: rs; }
  .chat__icon-btn { width: 34px; height: 34px; }
  .chat__title { font-size: 1.1rem; line-height: 1.25; }
  .chat__sub { line-height: 1.35; }
}
/* "Our Programme" heading with a small icon on the same line */
.prog__title { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; white-space: nowrap; }
.prog__title-ico { flex: none; display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--flame); color: #fff; box-shadow: 0 8px 18px -8px rgba(139,26,43,.6); }
.prog__title-ico .ico { width: .8em; height: .8em; }
@media (max-width: 380px) { .prog__title { font-size: 1.7rem; } }

/* =========================================================
   RICHER LOOK: soft shadow when hovering any block, light shadow between home page sections
   ========================================================= */
:is(.act > a, .article-card > a, .act-row > a, .event, .journey__card, .mini-card, .sermon, .study-card, .vcard, .yt-card, .side-card, .contact-card, .dcard, .social-card, .video-card, .wa-card, .sunday, .lcard__in, .admin-tile, .alb-list__item > a, .ptab-wrap, .subscribe, .pm-grid__item, .tile, .ban-list a, .settings__sec) { transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease; }
:is(.act > a, .article-card > a, .act-row > a, .event, .journey__card, .mini-card, .sermon, .study-card, .vcard, .yt-card, .side-card, .contact-card, .dcard, .social-card, .video-card, .wa-card, .sunday, .lcard__in, .admin-tile, .alb-list__item > a, .subscribe, .pm-grid__item, .ban-list a):hover { box-shadow: 0 18px 40px -22px rgba(20,28,63,.42), 0 2px 8px rgba(20,28,63,.06); }
.tile:hover { box-shadow: 0 22px 44px -22px rgba(10,14,40,.6); }
.ptab tbody tr { transition: background-color .2s ease; }
.ptab tbody tr:hover > * { background-color: #F7F8FC; }
.home main > section + section, .home main > section + .prog, .home main > .prog + section { box-shadow: inset 0 18px 22px -20px rgba(20,28,63,.22); }
.home main > section { position: relative; }
.story__pic { margin: 0; align-self: start; }
.story__pic img { display: block; width: 100%; max-width: 420px; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px -32px rgba(20,28,63,.55); outline: 6px solid #fff; }
.spot-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); gap: .8rem; margin: 0 0 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 14px; }
.spot-pics legend { padding: 0 .4rem; font: 600 .92rem var(--sans); }
.spot-pics__one { display: grid; gap: .35rem; font-family: var(--sans); font-size: .88rem; }
.spot-pics__one img, .spot-pics__empty { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.spot-pics__empty { display: grid; place-items: center; background: #F4F6FB; color: var(--muted); }
.spot-pics__one input[type=file] { font-size: .8rem; max-width: 100%; }
/* Chat logs: one row per visitor, open to read the whole conversation */
.logs__view { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.logs__view a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font: 600 .88rem var(--sans); }
.logs__view a[aria-current] { background: var(--night); border-color: var(--night); color: #fff; }
.logs__view .ico { width: 16px; height: 16px; }
.convs { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .6rem; }
.conv { border: 1px solid var(--line); border-radius: 14px; background: #fff; font-family: var(--sans); transition: box-shadow .3s ease; }
.conv:hover { box-shadow: 0 14px 34px -22px rgba(20,28,63,.45); }
.conv summary { list-style: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) auto; align-items: center; gap: .8rem; padding: .8rem 1rem; cursor: pointer; }
.conv summary::-webkit-details-marker { display: none; }
.conv summary:focus-visible { outline: 3px solid var(--flame); outline-offset: 2px; border-radius: 14px; }
.conv__who { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.conv__who strong { display: block; font-size: .95rem; }
.conv__who small, .conv__meta small { display: block; color: var(--muted); font-size: .8rem; }
.conv__avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #EEF1F8; color: var(--indigo); }
.conv__avatar .ico { width: 18px; height: 18px; }
.conv__first { color: var(--ink); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv__meta { text-align: right; font-size: .9rem; }
.conv[open], .conv details[open] { }
.conv details[open] summary { border-bottom: 1px solid var(--line); }
.conv__body { padding: 1rem; background: #F6F7FB; border-radius: 0 0 14px 14px; display: flex; flex-direction: column; gap: .55rem; }
.conv__info { margin: 0 0 .3rem; color: var(--muted); font-size: .82rem; }
.conv__msg { max-width: 85%; padding: .6rem .85rem; border-radius: 14px; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; }
.conv__msg--q { align-self: flex-end; background: var(--indigo); color: #fff; border-bottom-right-radius: 4px; }
.conv__msg--a { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.conv__time { display: block; margin-bottom: .2rem; font-size: .72rem; opacity: .75; }
@media (max-width: 700px) { .conv summary { grid-template-columns: 1fr auto; } .conv__first { grid-column: 1 / -1; grid-row: 2; white-space: normal; } }
/* Admin bar: always a way back to the admin home */
.adminbar { position: sticky; top: var(--top-h, 0px); z-index: 40; background: #FFF8E6; border-bottom: 1px solid #F0DFB0; font-family: var(--sans); }
.adminbar__in { display: flex; align-items: center; gap: 1rem; min-height: 48px; }
.adminbar a { display: inline-flex; align-items: center; gap: .35rem; color: var(--night); text-decoration: none; font-weight: 600; font-size: .9rem; }
.adminbar a:hover { color: var(--flame); }
.adminbar .ico { width: 17px; height: 17px; }
.adminbar__home { padding: .35rem .8rem; border-radius: 999px; background: var(--night); color: #fff !important; }
.adminbar__home:hover { background: var(--flame); }
.adminbar__here { flex: 1; min-width: 0; color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adminbar__links { display: flex; gap: 1rem; }
@media (max-width: 640px) { .adminbar__links span, .adminbar__here { display: none; } .adminbar__links { margin-left: auto; } }
.spot-pics legend { float: left; width: 100%; grid-column: 1 / -1; margin-bottom: .2rem; font-weight: 500; }
.spot-pics__one { min-width: 0; }
.spot-pics__one img, .spot-pics__empty { box-sizing: border-box; }
.spot-pics { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.spot-pics__one { overflow: hidden; }
.spot-pics__one img, .spot-pics__empty { width: 100% !important; max-width: 100% !important; height: auto; display: block; }
.spot-pics__empty { display: grid !important; }

/* =========================================================
   FORM FIELDS: one consistent style for every form on the website and in the admin area
   (low priority with :where(), so special fields like the chat box keep their own look)
   ========================================================= */
:where(main, .site-footer) :where(input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]):not([type=range]):not([type=submit]):not([type=button]):not([type=reset]):not([type=color]), select, textarea) {
  box-sizing: border-box; display: block; width: 100%; max-width: 100%; min-height: 48px; margin: 0;
  padding: .7rem .95rem; border: 1.5px solid #D3D9E6; border-radius: 12px; background-color: #fff; color: var(--ink);
  font: 400 1rem/1.4 var(--sans); box-shadow: 0 1px 2px rgba(20,28,63,.04); transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  -webkit-appearance: none; appearance: none;
}
:where(main, .site-footer) :where(textarea) { min-height: 0; resize: vertical; line-height: 1.55; }
:where(main, .site-footer) :where(select) {
  padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23525B76' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 18px;
}
:where(main, .site-footer) :where(select[multiple]) { background-image: none; padding-right: .95rem; min-height: 120px; }
:where(main, .site-footer) :where(input, select, textarea):hover:not(:focus):not([disabled]) { border-color: #B8C1D6; }
:where(main, .site-footer) :where(input, select, textarea):focus { outline: none; border-color: var(--indigo-2, #2E3F7F); box-shadow: 0 0 0 4px rgba(46,63,127,.16); }
:where(main, .site-footer) :where(input, textarea)::placeholder { color: #8A92A8; opacity: 1; }
:where(main, .site-footer) :where(input, select, textarea)[disabled] { background-color: #F3F5F9; color: var(--muted); cursor: not-allowed; }
:where(main, .site-footer) :where(input, select, textarea):user-invalid { border-color: #C0392B; box-shadow: 0 0 0 4px rgba(192,57,43,.12); }
:where(main, .site-footer) :where(input[type=date], input[type=time]) { min-width: 0; }
/* File pickers */
:where(main) :where(input[type=file]) { display: block; width: 100%; max-width: 100%; padding: .45rem; border: 1.5px dashed #C9D0E0; border-radius: 12px; background: #FAFBFD; color: var(--muted); font: 400 .9rem var(--sans); cursor: pointer; box-sizing: border-box; }
:where(main) :where(input[type=file])::file-selector-button { margin-right: .8rem; padding: .5rem 1rem; border: 0; border-radius: 8px; background: var(--night, #141C3F); color: #fff; font: 600 .88rem var(--sans); cursor: pointer; transition: background .2s ease; }
:where(main) :where(input[type=file]):hover::file-selector-button { background: var(--flame, #8B1A2B); }
:where(main) :where(input[type=file]):focus-visible { outline: 3px solid var(--indigo-2, #2E3F7F); outline-offset: 2px; }
/* Tick boxes and choices */
:where(main, .site-footer) :where(input[type=checkbox], input[type=radio]) { width: 20px; height: 20px; margin: .15rem 0 0; flex: none; accent-color: var(--flame, #8B1A2B); cursor: pointer; }
/* Labels: same clean font everywhere */
:where(main, .site-footer) :where(.form__row > label, .form__label, .form label:not(.form__check label)) { display: block; margin: 0 0 .4rem; font: 600 .92rem/1.35 var(--sans); color: var(--ink); letter-spacing: 0; }
:where(main, .site-footer) :where(.form__check) { display: flex; align-items: flex-start; gap: .6rem; font: 400 .93rem/1.5 var(--sans); color: var(--ink); }
:where(main, .site-footer) :where(.form__check label) { cursor: pointer; }
:where(main, .site-footer) :where(.form__row) { margin: 0 0 1rem; }
:where(main) :where(fieldset) { min-width: 0; }

/* Daily devotion sign-up: tidy layout */
.subscribe__form { max-width: 620px; }
.subscribe__phone { display: grid; grid-template-columns: minmax(150px, 210px) minmax(0, 1fr); gap: 0 .9rem; align-items: end; }
@media (max-width: 520px) { .subscribe__phone { grid-template-columns: minmax(0, 1fr); } }
.subscribe__form .form__check { margin: .2rem 0 1.1rem; }
.subscribe__form .form__row > label { color: var(--night); }
.pic__alt-row input { min-height: 38px; }
/* Logo over the home spotlight: the whole logo sits inside a white rounded card (no cut corners) */
body.hero-over:not(.is-scrolled):not(.nav-open) .brand picture { padding: 6px 7px; border-radius: 14px; line-height: 0; }
body.hero-over:not(.is-scrolled):not(.nav-open) .brand picture img { border-radius: 4px; }
.logo-up__row { display: flex; gap: 1rem; align-items: flex-start; }
.logo-up__row img { flex: none; width: 80px; height: auto; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.logo-up__row > div { flex: 1; min-width: 0; display: grid; gap: .4rem; }

/* Cards: room around the text, so the hover shadow frames the whole card neatly */
.act > a { height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; padding-bottom: 1.15rem; }
.act > a .act__img, .act > a .img-frame, .act > a > img { border-radius: 0 !important; margin: 0; }
.act h3, .act p { padding: 0 1.15rem; }
.acts__grid > .act { display: flex; }
.article-card > a, .act-row > a { padding-left: 1.1rem !important; padding-right: 1.1rem !important; border-radius: 18px; border-bottom-color: transparent !important; }
.article-card + .article-card > a, .act-row + .act-row > a { box-shadow: inset 0 1px 0 var(--line); }
.article-card > a:hover, .act-row > a:hover { background: #fff; box-shadow: 0 18px 40px -22px rgba(20,28,63,.42), 0 2px 8px rgba(20,28,63,.06); }
.article-card:first-child > a, .act-row:first-child > a { padding-top: 1.1rem !important; }
@media (max-width: 520px) { .act h3, .act p { padding: 0 .8rem; } .act > a { padding-bottom: .9rem; } }
.sb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: .8rem; margin: 0 0 1rem; }
.sb-item { padding: .8rem; border: 1px solid var(--line); border-radius: 12px; font-family: var(--sans); }
.sb-item > label { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .9rem; }
.sb-item__row { display: flex; align-items: center; gap: .7rem; }
.sb-item input[type=color] { width: 56px; height: 40px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.sb-item .form__check { margin: 0; }
.cp-link { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1.4rem; padding: .9rem 1rem; border: 1px solid #CFE6D6; border-radius: 14px; background: #F1FAF4; font-family: var(--sans); }
.cp-link__label { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.cp-link__label .ico { width: 17px; height: 17px; }
main .cp-link__url { flex: 1 1 320px; width: auto; min-height: 40px; padding: .45rem .7rem; font-size: .92rem; background: #fff; }
.cp-link .btn { display: inline-flex; align-items: center; gap: .35rem; }
.cp-link .btn .ico { width: 16px; height: 16px; }
.cp-list small { display: block; color: var(--muted); font-size: .78rem; }
.ban-chip--draft { background: #FFF3D6; color: #7A5200; }
/* Admin: menu editor */
.menu-ed { display: grid; gap: .8rem; margin: 0 0 1rem; }
.menu-card { border: 1px solid var(--line); border-radius: 14px; padding: .8rem; background: #fff; }
.menu-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: .6rem; align-items: end; }
.menu-row .menu-field { min-width: 0; }
.menu-row .menu-field label { font-size: .8rem !important; margin-bottom: .25rem !important; }
.menu-row input { min-height: 42px !important; padding: .5rem .75rem !important; font-size: .95rem !important; }
.menu-tools { display: flex; gap: .3rem; }
.menu-btn { display: inline-grid; place-items: center; min-width: 40px; height: 42px; padding: 0 .6rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: 600 .95rem var(--sans); cursor: pointer; }
.menu-btn:hover { background: #F1F4FB; }
.menu-btn.is-danger { color: #A0182C; }
.menu-btn--add { justify-self: start; height: 38px; margin-top: .3rem; border-style: dashed; color: var(--indigo); font-size: .88rem; }
.menu-sub { display: grid; gap: .5rem; margin: .7rem 0 0 1.2rem; padding-left: .9rem; border-left: 3px solid #E6E9F2; }
.menu-sub__h { margin: 0; font: 600 .78rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.menu-form[data-kind=footer] .menu-card > .menu-row { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 700px) { .menu-row { grid-template-columns: minmax(0, 1fr); } .menu-sub { margin-left: .3rem; } }
/* On / Off switches (Menus & pages) */
.onoff { display: inline-flex; align-items: center; gap: .4rem; height: 42px; padding: 0 .8rem; border: 1px solid #BFE3CC; border-radius: 999px; background: #E9F7EE; color: #0B5E30; font: 700 .85rem var(--sans); cursor: pointer; white-space: nowrap; }
.onoff__dot { width: 10px; height: 10px; border-radius: 50%; background: #1B9E54; }
.onoff.is-off { border-color: #F0C9CE; background: #FCEDEF; color: #9B1C2E; }
.onoff.is-off .onoff__dot { background: #C0392B; }
.onoff[hidden] { display: none; }
.onoff-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .4rem; }
.onoff-list li { display: flex; align-items: center; gap: .8rem; padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 12px; font-family: var(--sans); }
.onoff-list__name { flex: 1; min-width: 0; font-weight: 600; }
.onoff-list__name small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.onoff-list__view { font-size: .85rem; }
.onoff-list .onoff { height: 36px; }
/* Anything marked hidden stays hidden (the field styles above must not show it) */
[hidden] { display: none !important; }
.menu-field label { display: block; font: 600 .8rem/1.3 var(--sans); color: var(--muted); }
/* Colours and fonts: live font preview, website preview, your own themes and fonts */
.theme-preview { font-family: var(--p-sans, var(--sans)); }
.theme-preview__top, .theme-preview__name, .theme-preview__hero strong { font-family: var(--p-serif, var(--serif)) !important; }
.theme-preview__body p { font-family: var(--p-serif, var(--serif)); }
.theme-preview__btn1, .theme-preview__btn2, .theme-preview__mist p { font-family: var(--p-sans, var(--sans)); }
.look-actions { display: grid; gap: .35rem; margin: .4rem 0 1rem; }
.look-actions .btn { justify-self: start; display: inline-flex; align-items: center; gap: .4rem; }
.look-actions .ico { width: 16px; height: 16px; }
.look-add { margin: 0 0 1rem; border: 1px solid var(--line); border-radius: 14px; background: #FAFBFD; font-family: var(--sans); }
.look-add summary { padding: .8rem 1rem; font-weight: 600; cursor: pointer; }
.look-add__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding: 0 1rem 1rem; }
.look-add h4 { margin: .2rem 0 .6rem; font: 700 .95rem var(--sans); }
.look-add__list { margin: .8rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .88rem; }
.look-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .3rem .2rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.look-chip button { border: 0; background: none; color: #A0182C; cursor: pointer; padding: .1rem .35rem; font-size: .8rem; }
@media (max-width: 760px) { .look-add__grid { grid-template-columns: minmax(0, 1fr); } }
.look-pv { position: sticky; top: var(--top-h, 0px); z-index: 45; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding: .6rem 1.2rem; background: #FFF3C4; border-bottom: 1px solid #E8D27A; color: #3D3200; font: 500 .92rem var(--sans); }
.look-pv a { color: #3D3200; font-weight: 700; }
.look-pv__end { margin-left: auto; padding: .25rem .8rem; border-radius: 999px; background: #3D3200; color: #fff !important; text-decoration: none; }

/* =========================================================
   VIDEO SERMONS: Facebook video gallery (plays in the pop-up player)
   ========================================================= */
.fbv-admin { list-style: none; margin: 0; padding: 0; counter-reset: fbv; display: grid; gap: .45rem; }
.fbv-admin li { counter-increment: fbv; display: flex; align-items: center; gap: .5rem; padding: .55rem .6rem .55rem .75rem; border: 1px solid var(--line); border-radius: 12px; font-family: var(--sans); }
.fbv-admin li::before { content: counter(fbv); flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #EEF1F8; font-weight: 700; font-size: .85rem; color: var(--indigo); }
.fbv-admin li:first-child::before { background: #0866FF; color: #fff; }
.fbv-admin li.is-current { border-color: var(--flame); background: #FFF8F8; }
.fbv-admin__main { flex: 1; min-width: 0; color: var(--ink); text-decoration: none; }
.fbv-admin__main strong { display: block; font-size: .95rem; }
.fbv-admin__main small { display: block; color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fbv-admin .lead-adm__btns button .ico, .fbv-admin .lead-adm__btns button { transform: none !important; }
.fbv-admin .lead-adm__btns button[disabled] { opacity: .35; cursor: default; }
.fbv-admin__open { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.fbv-admin__open .ico { width: 15px; height: 15px; }

.fbgrid { margin-top: 1rem; }
.fbcard .vcard__thumb { background: radial-gradient(circle at 28% 22%, #2E3F7F, #141C3F 72%); }
.fbcard__ph { position: absolute; inset: 0; display: grid; place-items: center; }
.fbcard__ph { justify-items: end; align-items: end; padding: 0 1rem .6rem 0; }
.fbcard__ph svg { width: 38%; height: auto; color: #fff; opacity: .12; stroke-width: 1.3; }
.fbcard__badge { position: absolute; left: .65rem; top: .65rem; display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .55rem .22rem .3rem; border-radius: 999px; background: rgba(255,255,255,.94); color: #1b2a5c; font: 600 .72rem/1 var(--sans); }
.fbcard__badge svg { width: 16px; height: 16px; color: #0866FF; }
.fbcard__tag { position: absolute; right: .65rem; top: .65rem; padding: .22rem .5rem; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font: 600 .7rem/1 var(--sans); }
.fbcard .vcard__title { font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.fbcard__by { font-family: var(--sans); font-size: .875rem; color: var(--muted); line-height: 1.4; }
.fbcard__by strong { color: var(--ink, #2b3150); font-weight: 600; }
.fbcard__desc { font: 400 .875rem/1.5 var(--sans); color: var(--ink, #2b3150); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* a video without a cover picture: a church-coloured card with the title, speaker and date */
.fbcard__poster { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: .2rem; padding: 2.2rem 1.1rem 1rem; color: #fff; text-align: left; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(232, 194, 122, .28), transparent 55%), linear-gradient(135deg, #1F2B5C, #141C3F 70%); }
.fbcard__poster::after { content: ""; position: absolute; right: -6%; bottom: -14%; width: 46%; aspect-ratio: 3 / 4; opacity: .16;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-40 -64 80 104'%3E%3Cpath fill='%23fff' d='M0 -60C30 -25 38 0 22 26C14 38 -14 38 -22 26C-34 6 -18 -14 -6 -24C-8 -8 2 0 8 -8C12 -28 4 -44 0 -60Z'/%3E%3C/svg%3E"); }
.fbcard__poster--1 { background: radial-gradient(120% 90% at 100% 0%, rgba(255, 180, 162, .3), transparent 55%), linear-gradient(135deg, #7A1517, #3D0A0C 72%); }
.fbcard__poster--2 { background: radial-gradient(120% 90% at 100% 0%, rgba(143, 163, 224, .35), transparent 55%), linear-gradient(135deg, #2E3F7F, #1F2B5C 70%); }
.fbcard__poster--3 { background: radial-gradient(120% 90% at 100% 0%, rgba(232, 194, 122, .3), transparent 55%), linear-gradient(135deg, #3B1530, #141C3F 72%); }
.fbcard__pk { position: relative; z-index: 1; font: 700 .72rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #E8C27A; }
.fbcard__pn { position: relative; z-index: 1; font: 700 clamp(1.05rem, 2.2vw, 1.35rem)/1.2 var(--serif); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 78%; }
.fbcard__pd { position: relative; z-index: 1; font: 500 .8125rem/1.3 var(--sans); opacity: .85; }
.fbcard__pc { position: absolute; left: 1.1rem; bottom: .7rem; font: 600 .68rem/1 var(--sans); letter-spacing: .04em; opacity: .7; }
.fbcard .vcard__thumb:has(.fbcard__poster) .vcard__play { width: 48px; height: 48px; inset: auto 1rem 1rem auto; margin: 0; }
.fbcard .vcard__thumb:has(.fbcard__poster) .vcard__play svg { width: 20px; height: 20px; }
.vplayer__info { max-width: 52rem; margin: 0 auto; text-align: center; }
.vplayer__by { color: #E8C27A; font: 600 .9375rem/1.4 var(--sans); margin: .35rem 0 0; }
.vplayer__desc { color: rgba(255, 255, 255, .86); font: 400 .9375rem/1.55 var(--sans); margin: .5rem auto 0; max-width: 46rem; }
.vplayer.is-vertical { width: min(100vw - 2rem, 420px); }
.vplayer.is-vertical .vplayer__frame { aspect-ratio: 9 / 16; max-height: calc(100vh - 7rem); margin: 0 auto; }
.fbv-admin__thumb { width: 64px; height: 36px; border-radius: 6px; object-fit: cover; flex: none; background: #141C3F; }

/* Venue to be announced: WhatsApp link from 3 hours before the meeting until it ends */
.tba__wa { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .65rem .2rem .45rem; border-radius: 999px; background: #E7F8EE; color: #0B6B35 !important; font-family: var(--sans); font-weight: 600; font-size: .85em; line-height: 1.3; text-decoration: none; border: 1px solid #BFE8CF; }
.tba__wa svg { width: 1.05em; height: 1.05em; flex: none; color: #128C4A; }
.tba__wa:hover, .tba__wa:focus-visible { background: #D3F2E0; text-decoration: underline; }
.tba__wa[hidden], .tba__txt[hidden] { display: none !important; }
.sb-item__img { display: grid; gap: .3rem; margin-top: .7rem; padding-top: .65rem; border-top: 1px dashed var(--line); }
.sb-item__img img { width: 120px; height: 68px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.sb-item__sub { font-size: .82rem; font-weight: 600; color: var(--muted); }
.sb-item__img input[type=file] { font-size: .82rem; max-width: 100%; }
.sb-item__img select { max-width: 160px; }

/* =========================================================
   HOME: "From 3 people to hundreds" with a short journey on the left (year + title).
   It stretches to the height of the text and never goes beyond it. Phones: the full journey section below (without descriptions).
   ========================================================= */
.story--journey .story__in { align-items: stretch; grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr); }
.sj { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 1.2rem 1.2rem 1rem; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -36px rgba(20,28,63,.5); }
.sj__eyebrow { margin: 0 0 .6rem; font: 700 .78rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ember, var(--flame)); }
.sj__list { position: relative; list-style: none; margin: 0; padding: 4px 0; flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; justify-content: space-between; gap: .3rem; overflow: hidden; }
.sj__list::before { content: ""; position: absolute; left: 21px; top: 18px; bottom: 18px; width: 3px; margin-left: -1.5px; border-radius: 3px; background: linear-gradient(180deg, var(--flame-soft), var(--flame) 35%, var(--indigo) 80%); }
.sj__item { position: relative; display: flex; align-items: center; gap: .75rem; min-height: 0; }
.sj__pic { position: relative; z-index: 1; flex: none; width: 42px; height: 42px; border-radius: 50%; padding: 2px; background: #fff; box-shadow: 0 0 0 2px var(--flame-soft); }
.sj__pic img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.sj__txt { display: grid; gap: .05rem; min-width: 0; font-family: var(--sans); line-height: 1.25; }
.sj__year { font-weight: 800; font-size: .78rem; letter-spacing: .05em; color: var(--flame); }
.sj__title { font-weight: 600; font-size: .95rem; color: var(--night); }
.sj__item--now .sj__pic { box-shadow: 0 0 0 2px var(--flame); }
.sj__item--now .sj__year { color: var(--indigo); }
.sj__more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .75rem; font: 600 .9rem var(--sans); color: var(--flame); }
.sj__more .ico { width: 15px; height: 15px; }
.home .journey-sec--home { display: none; }
@media (max-width: 820px) {
  .story--journey .sj { display: none; }
  .story--journey .story__in { grid-template-columns: minmax(0, 1fr); }
  .home .journey-sec--home { display: block; }
  .journey-sec--home .journey__card p { display: none; }
  .journey-sec--home .journey__title { margin-bottom: 0; }
}

/* =========================================================
   HOME: "Our Programme" card deck. Front card in the middle; the others half-visible behind on the left and right.
   Cards are as tall as their content (a card with a picture is taller). Positions: main.js (data-pos -3…3).
   ========================================================= */
.prog--deck { overflow: hidden; }
.pdeck { --cw: 330px; --x1: 58%; --x2: 104%; --x3: 142%; position: relative; }
.pdeck__stage { position: relative; height: 560px; max-width: 1240px; margin: 0 auto; touch-action: pan-y; }
.pc { position: absolute; left: 50%; top: 50%; width: var(--cw); margin-left: calc(var(--cw) / -2); translate: 0 -50%;
      border-radius: 24px; overflow: hidden; color: #fff; background: #141C3F; isolation: isolate;
      box-shadow: 0 30px 60px -28px rgba(10,14,40,.6), 0 2px 6px rgba(10,14,40,.12);
      transition: transform .45s cubic-bezier(.22,.8,.3,1), opacity .35s ease; will-change: transform; cursor: pointer; user-select: none; contain: layout paint; }
.pc.is-front { cursor: default; user-select: auto; box-shadow: 0 40px 80px -30px rgba(10,14,40,.7); }
.pc[data-pos="0"] { transform: translateX(var(--dx, 0px)) scale(1); z-index: 10; }
.pc[data-pos="1"] { transform: translateX(calc(var(--x1) + var(--dx, 0px))) scale(.88); z-index: 8; }
.pc[data-pos="-1"] { transform: translateX(calc(var(--x1) * -1 + var(--dx, 0px))) scale(.88); z-index: 8; }
.pc[data-pos="2"] { transform: translateX(calc(var(--x2) + var(--dx, 0px))) scale(.77); z-index: 6; }
.pc[data-pos="-2"] { transform: translateX(calc(var(--x2) * -1 + var(--dx, 0px))) scale(.77); z-index: 6; }
.pc[data-pos="3"] { transform: translateX(calc(var(--x3) + var(--dx, 0px))) scale(.67); z-index: 4; }
.pc[data-pos="-3"] { transform: translateX(calc(var(--x3) * -1 + var(--dx, 0px))) scale(.67); z-index: 4; }
.pc[data-pos="far"] { transform: scale(.5); opacity: 0; z-index: 1; pointer-events: none; }
/* cards behind are dimmed with a light layer (much cheaper to animate on phones than a filter) */
.pc::after { content: ""; position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: rgba(8,12,30,.26); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.pc:not(.is-front)::after { opacity: 1; }
.pc:not(.is-front):hover::after { opacity: .4; }
.pdeck__stage.is-drag .pc { transition: none; }
.pc:not(.is-front) .pc__body > * { pointer-events: none; }
.pc__mark { position: absolute; right: -24px; top: 18px; width: 170px; height: 170px; opacity: .1; color: #fff; z-index: -1; pointer-events: none; }
.pc__mark svg { width: 100%; height: 100%; stroke-width: 1.2; }
.pc--navy   { background: radial-gradient(120% 90% at 20% 0%, #3A4C93 0%, #1E2A5E 45%, #10173A 100%); }
.pc--maroon { background: radial-gradient(120% 90% at 20% 0%, #A3324A 0%, #7A1C2E 45%, #3D0C17 100%); }
.pc--indigo { background: radial-gradient(120% 90% at 20% 0%, #5161B8 0%, #2E3F7F 50%, #161F4A 100%); }
.pc--plum   { background: radial-gradient(120% 90% at 20% 0%, #8A4B8C 0%, #5B2A63 50%, #2B1231 100%); }
.pc--teal   { background: radial-gradient(120% 90% at 20% 0%, #2F8C8A 0%, #1C5C66 50%, #0E2E38 100%); }
.pc--ember  { background: radial-gradient(120% 90% at 20% 0%, #C0603A 0%, #8A3524 50%, #431510 100%); }
.pc--night  { background: radial-gradient(120% 90% at 20% 0%, #44507A 0%, #252D52 50%, #0F142E 100%); }

.pc__body { position: relative; display: flex; flex-direction: column; gap: .85rem; padding: 1.15rem 1.15rem 1.05rem; min-width: 0; font-family: var(--sans); }
.pc__top { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; min-height: 26px; }
.pc__chip { padding: .28rem .65rem; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.pc__kind { margin-left: auto; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; white-space: nowrap; }
.pc.is-today .pc__today { display: inline-block; margin: 0; }
.pc__name { margin: 0; font-family: var(--serif, Georgia, serif); font-weight: 700; font-size: 1.55rem; line-height: 1.15; color: inherit; letter-spacing: -.005em; }
.pc--main .pc__name { font-size: 1.75rem; }
.pc__facts { list-style: none; margin: 0; padding: .2rem .8rem; display: grid; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pc__facts li { display: flex; align-items: flex-start; gap: .6rem; padding: .55rem 0; font-size: .9rem; line-height: 1.35; font-weight: 500; }
.pc__facts li + li { border-top: 1px solid rgba(255,255,255,.16); }
.pc__facts .ico { flex: none; width: 17px; height: 17px; margin-top: .08rem; opacity: .9; }
.pc__facts .tba__wa { font-size: .8rem; }
.pc__notes { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.pc__note { display: flex; align-items: flex-start; gap: .5rem; padding: .5rem .7rem; border-radius: 12px; font-size: .84rem; font-weight: 600; line-height: 1.35; background: #FFF4D6; color: #5A3B00; box-shadow: 0 6px 16px -12px rgba(0,0,0,.5); }
.pc__note .ico { flex: none; width: 16px; height: 16px; margin-top: .05rem; }
.pc__note--lords { background: #FFFFFF; color: #7A1626; }
.prog-list__note { display: block; margin: .25rem 0; padding: .3rem .55rem; border-radius: 8px; background: #FFF4D6; color: #5A3B00; font-size: .82rem; font-weight: 600; }
.prog-list__note--lords { background: #FBEFF1; color: #7A1626; }
.pc__pic { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 900 / 560; background: rgba(0,0,0,.2); box-shadow: 0 10px 24px -16px rgba(0,0,0,.6); }
.pc__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc__bottom { display: grid; gap: .55rem; justify-items: stretch; }
.pc__next { margin: 0; text-align: center; font-size: .82rem; }
.pc__next .countdown { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: rgba(0,0,0,.26); color: #fff; font-weight: 600; white-space: nowrap; }
.pc__next .countdown.is-live { background: #E8B04B; color: #1a1300; }
.pc__btn { display: flex; align-items: center; justify-content: center; gap: .45rem; padding: .72rem .9rem; border-radius: 999px; background: rgba(255,255,255,.96); color: #141C3F !important; font-weight: 700; font-size: .92rem; line-height: 1.2; white-space: nowrap; text-decoration: none; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.pc__btn:hover, .pc__btn:focus-visible { background: #fff; text-decoration: underline; }
.pc__btn .ico { width: 17px; height: 17px; flex: none; }
.pc__cal { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; color: inherit !important; font-size: .82rem; font-weight: 600; opacity: .92; white-space: nowrap; }
.pc__cal .ico { width: 15px; height: 15px; }
/* a light card colour chosen in the admin: dark text */
.pc--light { color: #141C3F; }
.pc--light .pc__mark { color: #141C3F; opacity: .07; }
.pc--light .pc__chip { background: rgba(20,28,63,.07); border-color: rgba(20,28,63,.14); }
.pc--light .pc__facts { background: rgba(255,255,255,.55); border-color: rgba(20,28,63,.1); }
.pc--light .pc__facts li + li { border-top-color: rgba(20,28,63,.1); }
.pc--light .pc__next .countdown { background: rgba(20,28,63,.08); color: #141C3F; }
.pc--light .pc__btn { background: #141C3F; color: #fff !important; }

.pdeck__nav { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: .4rem; }
.pdeck__arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--night); cursor: pointer; box-shadow: 0 8px 20px -14px rgba(20,28,63,.5); }
.pdeck__arrow svg { width: 20px; height: 20px; }
.pdeck__arrow:hover { border-color: var(--indigo); }
.pdeck__dots { display: flex; gap: .45rem; }
.pdeck__dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: #C9CEDF; cursor: pointer; transition: width .3s ease, background .3s ease; }
.pdeck__dot.is-on { width: 26px; background: var(--flame); }
.pdeck__dot:focus-visible, .pdeck__arrow:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.prog--deck .prog__foot { text-align: center; }
.prog--deck .prog__foot a { margin: 0 .6rem; }

@media (max-width: 1180px) { .pdeck { --x1: 54%; --x2: 94%; --x3: 126%; } }
@media (max-width: 960px)  { .pdeck { --cw: 300px; --x1: 50%; --x2: 84%; --x3: 108%; } }
/* Phones: one card in front, its neighbours peeking out; swipe or use the arrows */
@media (max-width: 640px) {
  .pdeck { --cw: min(80vw, 320px); --x1: 46%; }
  .pc[data-pos="2"], .pc[data-pos="-2"], .pc[data-pos="3"], .pc[data-pos="-3"] { opacity: 0; pointer-events: none; transform: scale(.7); }
  .pc[data-pos="1"] { transform: translateX(calc(var(--x1) + var(--dx, 0px))) scale(.86); }
  .pc[data-pos="-1"] { transform: translateX(calc(var(--x1) * -1 + var(--dx, 0px))) scale(.86); }
  .pc__body { padding: 1rem .95rem .95rem; gap: .75rem; }
  .pc__name { font-size: 1.4rem; overflow-wrap: anywhere; hyphens: auto; }
  .pc__facts { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.14); }
  .pc { top: 12px; translate: none; box-shadow: 0 22px 40px -24px rgba(10,14,40,.6); }
  .pc__btn { font-size: .88rem; padding: .7rem .7rem; }
  .pdeck__dots { gap: .35rem; }
  .prog--deck .prog__foot a { display: flex; justify-content: center; margin: .3rem 0; }
}
@media (prefers-reduced-motion: reduce) { .pc, .pdeck__stage { transition: none; } }

/* Story links: each link on one line (no equal-width columns), wrapping only when there is no room */
.story__links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; width: auto; }
.story__links > a { white-space: nowrap; }

/* =========================================================
   HOME SPOTLIGHT EMBLEM: bigger, and four styles (Website Settings › Home page spotlight › Emblem style)
   ========================================================= */
.jubilee { width: clamp(290px, 31vw, 430px); }
.jubilee::before { inset: 8%; }
.jubilee__core { padding: 0 12%; gap: .35rem; }
.jubilee__num { font-size: clamp(5.2rem, 9.4vw, 8.4rem); line-height: .85; }
.jubilee__label { font-size: clamp(.82rem, 1.05vw, 1rem); max-width: 17ch; }
.jubilee__since { font-size: .82rem; }
.jubilee__ringtext { font-size: 11.5px; }
/* counting number / changing words / picture: a soft glowing halo and a turning dotted ring */
.jubilee__halo { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(226,192,106,.38) 0%, rgba(226,192,106,0) 68%); animation: jbGlow 4s ease-in-out infinite; pointer-events: none; }
.jubilee__dash { animation: jbSpin 40s linear infinite; }
.jubilee__arc { stroke-dashoffset: 100; animation: jbArc 2.2s .3s cubic-bezier(.3,.7,.2,1) forwards; transform: rotate(-90deg); transform-origin: 100px 100px; }
@keyframes jbGlow { 0%, 100% { transform: scale(.94); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes jbArc { to { stroke-dashoffset: 0; } }
.jubilee--words .jubilee__label--top { margin-bottom: .2rem; }
.jubilee__words { position: relative; display: grid; min-height: 1.15em; font-family: var(--serif); font-weight: 700; font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1.05; }
.jubilee__word { grid-area: 1 / 1; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .6s ease, transform .6s ease; background: linear-gradient(135deg, #FBF0CC 0%, #E2C06A 45%, #FFF6D8 60%, #C99A3B 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jubilee__word.is-on { opacity: 1; transform: none; }
.jubilee--picture::before { display: none; }
.jubilee__pic { position: relative; width: 84%; height: 84%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(243,223,162,.55), 0 30px 70px -30px rgba(0,0,0,.7); animation: jbFloat 6s ease-in-out infinite; }
@keyframes jbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1180px) and (min-width: 1021px) { .jubilee { width: clamp(270px, 28vw, 360px); } }
@media (prefers-reduced-motion: reduce) { .jubilee__halo, .jubilee__dash, .jubilee__pic { animation: none; } .jubilee__arc { animation: none; stroke-dashoffset: 0; } .jubilee__word { transition: none; } }

/* =========================================================
   VIDEO CARDS (Video Gallery, Video Sermons, events): one look everywhere, text always left-aligned with the same inner spacing
   ========================================================= */
.vgrid > li { margin: 0; padding: 0; text-align: left; }
.vgrid > li::before, .vgrid > li::marker { content: none; }
.vcard { display: flex; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 14px 30px -26px rgba(20,28,63,.45); }
.vcard__link { width: 100%; display: flex; flex-direction: column; align-items: stretch; gap: .3rem; padding-bottom: 1rem; text-align: left; }
.vcard__thumb { border-radius: 0; margin-bottom: .55rem; }
.vcard__link > :not(.vcard__thumb) { display: block; padding: 0 1rem; margin: 0; text-align: left; }
.vcard__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard__date, .fbcard__by { margin-top: auto; }
.fbcard .vcard__title, .vgrid--event .vcard__title { font-size: 1rem; }
.vgrid { gap: 1.25rem; }
/* the pop-up player: a little smaller */
.vplayer { width: min(100vw - 2rem, 860px); }
.vplayer.is-vertical { width: min(100vw - 2rem, 360px); }
.vplayer.is-vertical .vplayer__frame { max-height: calc(100vh - 8rem); }

/* Home journey: a picture card pops out beside each milestone on mouse-over (or keyboard focus) */
.sj, .sj__list { overflow: visible; }
.sj { z-index: 2; }
.sj__item { cursor: default; border-radius: 12px; outline: none; transition: background .2s ease; margin: 0 -.4rem; padding: 0 .4rem; }
.sj__item:hover, .sj__item:focus-visible { background: rgba(122,28,46,.06); }
.sj__item:focus-visible { box-shadow: 0 0 0 3px var(--indigo); }
.sj__item:hover .sj__pic, .sj__item:focus-visible .sj__pic { transform: scale(1.12); }
.sj__pic { transition: transform .25s ease; }
.sj__pop { position: absolute; left: calc(100% + 18px); top: 50%; z-index: 30; width: 300px; display: grid; border-radius: 18px; overflow: hidden; background: #fff; color: var(--ink); border: 1px solid var(--line);
           box-shadow: 0 30px 60px -24px rgba(20,28,63,.45); opacity: 0; visibility: hidden; pointer-events: none;
           transform: translate(-12px, -50%) scale(.92); transform-origin: left center; transition: opacity .25s ease, transform .35s cubic-bezier(.2,.8,.25,1.15), visibility 0s .35s; }
.sj__pop::before { content: ""; position: absolute; left: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: #fff; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.sj__item:hover .sj__pop, .sj__item:focus-visible .sj__pop { opacity: 1; visibility: visible; transform: translate(0, -50%) scale(1); transition-delay: 0s; }
.sj__popimg { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.sj__popimg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform .8s ease; }
.sj__item:hover .sj__popimg img { transform: scale(1); }
.sj__popbody { display: grid; gap: .2rem; padding: .8rem 1rem 1rem; font-family: var(--sans); }
.sj__popyear { font-size: .74rem; font-weight: 800; letter-spacing: .08em; color: var(--flame); }
.sj__poptitle { font-family: var(--serif); font-size: 1.05rem; line-height: 1.25; color: var(--night); }
.sj__poptext { font-size: .86rem; line-height: 1.5; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .sj__pop, .sj__popimg img { transition: none; } }

/* =========================================================
   HOME: your own blocks (Church Documents › Home page blocks)
   ========================================================= */
.hb { padding: clamp(3rem, 6vw, 5rem) 0; }
.hb__eyebrow { margin: 0 0 .5rem; font: 700 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--flame); }
.hb__title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.hb__text p, .hb__head p { max-width: 62ch; }
.hb__actions { margin-top: 1.4rem; }
.hb__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hb__split--right .hb__pic { order: 2; }
.hb__split--noimg { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.hb__pic { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(20,28,63,.55); }
.hb__pic img { width: 100%; height: auto; display: block; }
.hb__video .cframe, .hb__video iframe { aspect-ratio: 16 / 9; width: 100%; border-radius: 20px; overflow: hidden; }
.hb--cta, .home main > section.hb--cta { padding: clamp(2.2rem, 4vw, 3.2rem) 0; background: linear-gradient(120deg, #7A1C2E, #4E0F1C); color: #fff; }
.hb--cta .hb__title, .hb--cta .hb__eyebrow { color: #fff; }
.hb__cta { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; }
.hb__lead { margin: 0; font-size: 1.1rem; opacity: .92; }
.hb__head { margin-bottom: 1.5rem; }
.hb__head--center { text-align: center; }
.hb__head--center .hb__title { margin-inline: auto; }
.hb__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 1.1rem; }
.hb__card { display: flex; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 16px 34px -28px rgba(20,28,63,.5); }
.hb__cardin { display: flex; flex-direction: column; width: 100%; padding: 1.3rem 1.3rem 1.2rem; color: inherit; text-decoration: none; }
a.hb__cardin:hover h3 { color: var(--flame); }
.hb__card h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.hb__card p { margin: 0 0 .6rem; color: var(--muted); font-size: .97rem; line-height: 1.6; }
.hb__more { margin-top: auto; display: inline-flex; align-items: center; gap: .35rem; font: 600 .9rem var(--sans); color: var(--flame); }
.hb__more .ico { width: 15px; height: 15px; }
.hb__verse { display: grid; justify-items: center; text-align: center; gap: .8rem; max-width: 900px; }
.hb__flame { width: 34px; height: 34px; }
.hb__verse blockquote { margin: 0; }
.hb__verse p { margin: 0; font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1.4; color: var(--night); font-style: italic; }
.hb__verse cite { display: block; margin-top: .8rem; font: 700 .9rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--flame); font-style: normal; }
.hb__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 1rem; }
.hb__stats li { display: grid; justify-items: center; gap: .3rem; padding: 1.4rem 1rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-align: center; }
.hb__num { font-family: var(--serif); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--flame); }
.hb__lab { font: 600 .92rem/1.4 var(--sans); color: var(--muted); }
@media (max-width: 820px) {
  .hb__split { grid-template-columns: minmax(0, 1fr); }
  .hb__split--right .hb__pic { order: 0; }
  .hb__cta { flex-direction: column; align-items: flex-start; }
}

/* Admin: Home page blocks */
.hb-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; counter-reset: hb; }
.hb-list__item { display: flex; align-items: center; gap: .7rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-family: var(--sans); transition: opacity .2s ease, background .2s ease; }
.hb-list__item.is-off { background: #F7F7FA; }
.hb-list__item.is-off .hb-list__name { color: #4A5160; text-decoration: line-through; text-decoration-color: #9AA0AC; }
.hb-list__item.is-off .hb-list__name small { color: #5A6170; }
.hb-list__item--fixed { background: #F4F6FA; border-style: dashed; }
.hb-list__move { display: inline-flex; gap: .25rem; }
.hb-list__btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--night); cursor: pointer; }
.hb-list__btn svg { width: 18px; height: 18px; }
.hb-list__btn:hover { border-color: var(--indigo); }
.hb-list__name { flex: 1; min-width: 0; font-weight: 600; }
.hb-list__name small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.hb-list__edit, .hb-list__del { font: 600 .85rem var(--sans); }
.hb-list__del { border: 0; background: none; color: #9B1C2E; cursor: pointer; text-decoration: underline; padding: 0; }
.hb-switch { position: relative; display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; font: 700 .82rem var(--sans); white-space: nowrap; }
.hb-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hb-switch__ui { position: relative; width: 44px; height: 24px; border-radius: 999px; background: #C9CEDF; transition: background .2s ease; }
.hb-switch__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s ease; }
.hb-switch input:checked + .hb-switch__ui { background: #1B9E54; }
.hb-switch input:checked + .hb-switch__ui::after { transform: translateX(20px); }
.hb-switch input:focus-visible + .hb-switch__ui { outline: 3px solid var(--indigo); outline-offset: 2px; }
.hb-switch__txt { min-width: 3.6em; color: var(--muted); }
.hb-admin__h { font-size: 1.3rem; margin: 0 0 .3rem; }
.hb-admin__img { width: 200px; height: auto; border-radius: 10px; display: block; margin-bottom: .4rem; }
.hb-tpls { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: .9rem; }
.hb-tpl { display: grid; gap: .35rem; height: 100%; padding: .9rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; font-family: var(--sans); }
.hb-tpl:hover, .hb-tpl:focus-visible { border-color: var(--flame); box-shadow: 0 14px 30px -24px rgba(20,28,63,.5); }
.hb-tpl strong { color: var(--night); }
.hb-tpl > span:last-child { font-size: .84rem; color: var(--muted); line-height: 1.45; }
.hb-tpl__art { display: grid; gap: 5px; height: 78px; padding: 8px; border-radius: 10px; background: #F1F3F9; margin-bottom: .3rem; }
.hb-tpl__art i { display: block; border-radius: 4px; background: #CBD1E4; }
.hb-tpl__art--text_image { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; }
.hb-tpl__art--text_image i:first-child { grid-row: 1 / 4; background: #9AA6CF; }
.hb-tpl__art--text_image i:nth-child(4) { display: none; }
.hb-tpl__art--cta { background: #7A1C2E; grid-template-columns: 2fr 1fr; align-items: center; }
.hb-tpl__art--cta i { background: rgba(255,255,255,.45); height: 10px; }
.hb-tpl__art--cta i:nth-child(2) { background: #fff; height: 18px; border-radius: 999px; }
.hb-tpl__art--cta i:nth-child(n+3) { display: none; }
.hb-tpl__art--cards { grid-template-columns: repeat(4, 1fr); }
.hb-tpl__art--cards i { background: #fff; border: 1px solid #CBD1E4; }
.hb-tpl__art--video { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr 1fr; }
.hb-tpl__art--video i:first-child { grid-row: 1 / 4; background: #141C3F; }
.hb-tpl__art--video i:nth-child(4) { display: none; }
.hb-tpl__art--verse { place-items: center; }
.hb-tpl__art--verse i { width: 70%; height: 8px; }
.hb-tpl__art--verse i:nth-child(1) { width: 85%; } .hb-tpl__art--verse i:nth-child(4) { width: 30%; background: #B5687A; }
.hb-tpl__art--stats { grid-template-columns: repeat(4, 1fr); }
.hb-tpl__art--stats i { background: #fff; border: 1px solid #CBD1E4; position: relative; }
.hb-tpl__art--stats i::after { content: "25"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 .8rem var(--serif); color: #7A1C2E; }

/* Your own home blocks: same hover shadow as every other block, and the soft shadow between home sections */
.hb__card, .hb__stats li, .hb__pic, .hb-alert__box, .sbk { transition: box-shadow .3s ease, transform .3s ease; }
.hb__card:hover, .hb__stats li:hover, .hb-alert__box:hover, .sbk:hover { box-shadow: 0 18px 40px -22px rgba(20,28,63,.42), 0 2px 8px rgba(20,28,63,.06); }
.hb__pic:hover { box-shadow: 0 36px 70px -34px rgba(20,28,63,.6); }
.home main > .hb { box-shadow: inset 0 18px 22px -20px rgba(20,28,63,.22); }
/* Numbers block: tidy equal boxes; long numbers shrink, labels stop at two lines */
.hb__stats { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 1rem; max-width: 1040px; margin: 0 auto; }
.hb__stats li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; min-height: 150px; padding: 1.4rem 1rem; min-width: 0; overflow: hidden;
               background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 30px -26px rgba(20,28,63,.45); }
.hb__num { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: clamp(2.2rem, 4.2vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hb__lab { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 22ch; overflow-wrap: anywhere; text-align: center; }
.hb__card h3 { overflow-wrap: anywhere; }
.hb__card p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 520px) { .hb__stats { grid-template-columns: 1fr 1fr; } .hb__stats li { min-height: 120px; padding: 1rem .6rem; } .hb__num { font-size: 2rem; } }
/* One consistent way back on every admin page: the "Admin home" button in the yellow bar under the menu */
.adminbar a.adminbar__home { padding: .4rem .85rem .4rem .65rem; border-radius: 999px; background: var(--night); color: #fff; }
.adminbar a.adminbar__home:hover, .adminbar a.adminbar__home:focus-visible { background: var(--flame); color: #fff; }
.prog-edit__card { margin-top: .4rem; padding: .9rem 1rem; border: 1px dashed var(--line); border-radius: 14px; background: #FAFBFD; }
.prog-edit__cardtitle { margin: 0 0 .5rem; font: 700 .85rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--flame); }
.prog-edit__cardgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: .8rem 1.2rem; }
.prog-edit__pic { width: 150px; height: auto; border-radius: 10px; display: block; margin-bottom: .4rem; }
.prog-edit__swatch { display: flex; align-items: flex-end; width: 150px; height: 64px; margin: .45rem 0 .2rem; padding: .45rem .6rem; border-radius: 12px; color: #fff; font: 700 .78rem/1.2 var(--sans); box-shadow: 0 10px 20px -14px rgba(0,0,0,.5); background-image: linear-gradient(160deg, rgba(255,255,255,.22), rgba(0,0,0,.25)) !important; background-blend-mode: overlay; }
.prog-edit__swatch.is-auto::after { content: "Automatic"; margin-left: auto; font-weight: 600; opacity: .8; }

/* Special announcement block: an eye-catching notice */
.hb--alert { padding: clamp(2rem, 4vw, 3rem) 0; }
.hb-alert--important { --al: #B42318; --al-bg: #FFF3F1; --al-soft: #FDD8D3; }
.hb-alert--notice { --al: #1D4ED8; --al-bg: #F1F5FF; --al-soft: #D5E0FF; }
.hb-alert--celebrate { --al: #A16207; --al-bg: #FFF9EB; --al-soft: #FBE7B5; }
.hb-alert__box { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.4rem; align-items: start; padding: clamp(1.2rem, 3vw, 2rem); border-radius: 24px;
                 background: var(--al-bg); border: 1px solid var(--al-soft); box-shadow: inset 8px 0 0 var(--al), 0 24px 50px -36px rgba(20,28,63,.5); overflow: hidden; padding-left: calc(clamp(1.2rem, 3vw, 2rem) + 8px); }
.hb-alert__box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--al-soft), transparent 70%); opacity: .7; pointer-events: none; }
.hb-alert__box--img { grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; }
.hb-alert__icon { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--al); color: #fff; box-shadow: 0 12px 24px -12px var(--al); }
.hb-alert__icon svg { width: 28px; height: 28px; position: relative; }
.hb-alert__ping { position: absolute; inset: 0; border-radius: 18px; background: var(--al); opacity: .45; animation: hbPing 2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes hbPing { 75%, 100% { transform: scale(1.45); opacity: 0; } }
.hb-alert__text { position: relative; z-index: 1; min-width: 0; }
.hb-alert__tag { display: inline-flex; margin: 0 0 .45rem; padding: .2rem .65rem; border-radius: 999px; background: var(--al); color: #fff; font: 800 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.hb-alert__title { margin: 0 0 .45rem; font-size: clamp(1.45rem, 2.6vw, 2rem); color: var(--night); overflow-wrap: anywhere; }
.hb-alert__text p:not(.hb-alert__tag) { margin: 0 0 .6rem; max-width: 62ch; }
.hb-alert__actions { margin: 1rem 0 0 !important; }
.hb-alert__btn { background: var(--al); color: #fff !important; border-color: var(--al); }
.hb-alert__btn:hover, .hb-alert__btn:focus-visible { filter: brightness(.92); }
.hb-alert__pic { position: relative; z-index: 1; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 34px -22px rgba(20,28,63,.6); }
.hb-alert__pic img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: cover; }
@media (max-width: 760px) {
  .hb-alert__box, .hb-alert__box--img { grid-template-columns: minmax(0, 1fr); }
  .hb-alert__icon { width: 48px; height: 48px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) { .hb-alert__ping { animation: none; opacity: 0; } }
/* Home page blocks admin: colour & picture panels, quick links */
.hb-list__item { flex-wrap: wrap; }
.hb-look { flex-basis: 100%; margin: .2rem 0 0 calc(34px * 2 + .95rem); }
.hb-look summary { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; font: 600 .85rem var(--sans); color: var(--indigo); }
.hb-look summary .ico { width: 16px; height: 16px; }
.hb-look__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); display: inline-block; }
.hb-look__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: .8rem; margin-top: .6rem; }
.hb-look .sb-item { padding: .8rem; border: 1px solid var(--line); border-radius: 12px; background: #FAFBFD; }
.sb-item__title { margin: 0 0 .4rem; font: 700 .85rem var(--sans); }
.hb-list__item--fixed .hb-look { margin-left: 0; }
.hb-admin__links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.hb-admin__links a { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; font: 600 .85rem var(--sans); text-decoration: none; color: var(--night); background: #fff; }
.hb-admin__links a:hover { border-color: var(--flame); color: var(--flame); }
.hb-admin__links .ico { width: 16px; height: 16px; }
.hb-tpl__art--alert { grid-template-columns: 22px 1fr; grid-template-rows: 1fr 1fr 1fr; background: #FFF3F1; border-left: 5px solid #B42318; }
.hb-tpl__art--alert i:first-child { grid-row: 1 / 3; background: #B42318; border-radius: 6px; }
.hb-tpl__art--alert i:nth-child(2) { background: #E9A39A; } .hb-tpl__art--alert i:nth-child(4) { width: 50%; background: #B42318; border-radius: 999px; }

/* Admin home: tiles grouped by kind of work */
.admin-groups { display: grid; gap: 1.6rem; }
.admin-group__title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
.admin-group__title .ico { width: 20px; height: 20px; color: var(--flame); }
.admin-tile--help { background: linear-gradient(135deg, #FFF8E6, #fff); border-color: #F0DFB0; }

/* Admin helper */
.help__form { display: flex; align-items: center; gap: .6rem; padding: .5rem .5rem .5rem 1rem; border: 2px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 16px 36px -28px rgba(20,28,63,.5); max-width: 860px; }
.help__form:focus-within { border-color: var(--indigo); }
.help__ico svg { width: 22px; height: 22px; color: var(--flame); display: block; }
.help__form input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent !important; font: 500 1.05rem var(--sans); padding: .55rem 0 !important; outline: none; }
.help__chips { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: .9rem 0 1.4rem; padding: 0; max-width: 960px; }
.help__chips a { display: inline-block; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--night); font: 500 .85rem var(--sans); text-decoration: none; }
.help__chips a:hover { border-color: var(--flame); color: var(--flame); }
.help__answer { display: grid; gap: .9rem; max-width: 860px; font-family: var(--sans); }
.help__you { margin: 0; font-size: 1.05rem; font-weight: 600; color: var(--night); }
.help__you span { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.help__card { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; line-height: 1.6; }
.help__card p { margin: 0 0 .5rem; }
.help__card ol, .help__card ul { margin: .2rem 0 .6rem; padding-left: 1.3rem; }
.help__card li { margin: .25rem 0; }
.help__card--ai { border-color: #F0DFB0; background: linear-gradient(135deg, #FFFBF0, #fff); }
.help__label { display: flex; align-items: center; gap: .4rem; font: 700 .8rem var(--sans) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--flame); }
.help__label .ico { width: 16px; height: 16px; }
.help__rows { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: .5rem; }
.help__rows li { display: grid; gap: .1rem; padding: .55rem .7rem; border-radius: 10px; background: #F7F8FC; }
.help__links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .6rem !important; }
.help__more, .help__note { margin: 0; font-size: .88rem; color: var(--muted); }

/* =========================================================
   SIDEBAR: your own blocks (Church Documents › Sidebar blocks)
   ========================================================= */
.sbk { overflow: hidden; overflow-wrap: anywhere; }
.sbk__title { margin-bottom: .45rem; }
.sbk__text { margin: 0 0 .8rem; font-family: var(--sans); font-size: .95rem; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.sbk__btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; width: 100%; padding: .65rem 1rem; border: 0; border-radius: 999px; background: var(--flame); color: #fff !important; font: 700 .92rem var(--sans); text-decoration: none; cursor: pointer; text-align: center; white-space: normal; }
.sbk__btn:hover, .sbk__btn:focus-visible { filter: brightness(1.08); text-decoration: underline; }
.sbk__pic { margin: -1.4rem -1.4rem 1rem; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night); }
.sbk__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sbk__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: .75rem; border-radius: 16px; background: rgba(122,28,46,.09); color: var(--flame); }
.sbk__icon svg { width: 28px; height: 28px; }
.sbk__icon--sm { width: 44px; height: 44px; border-radius: 14px; }
.sbk--cta { background: linear-gradient(135deg, var(--night), #2E3F7F); color: #fff; border-color: transparent; }
.sbk--cta .sbk__title { color: #fff; }
.sbk--cta .sbk__icon { background: rgba(255,255,255,.14); color: #fff; }
.sbk--cta .sbk__btn { background: #fff; color: var(--night) !important; }
.sbk__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; font-family: var(--sans); }
.sbk__links li { border-bottom: 1px solid var(--line); }
.sbk__links li:last-child { border-bottom: 0; }
.sbk__links a { display: flex; align-items: center; gap: .5rem; padding: .55rem 0; color: var(--night); font-weight: 600; text-decoration: none; }
.sbk__links a:hover { color: var(--flame); }
.sbk__links .ico { width: 15px; height: 15px; flex: none; color: var(--flame); }
.sbk__video { margin: .2rem 0 .7rem; border-radius: 12px; overflow: hidden; }
.sbk__video .cframe, .sbk__video iframe { aspect-ratio: 16 / 9; width: 100%; }
.sbk__video .cframe__ph { padding: .8rem; font-size: .85rem; }
/* a colour or background picture chosen in the admin */
.sbk--custom { border-color: transparent; }
.sbk--dark, .sbk--dark .sbk__title, .sbk--dark .sbk__text, .sbk--dark .sbk__links a, .sbk--dark .sbk-poll__q, .sbk--dark .sbk-poll__total { color: #fff; }
.sbk--dark .sbk__text { color: rgba(255,255,255,.88); }
.sbk--dark .sbk__icon { background: rgba(255,255,255,.14); color: #fff; }
.sbk--dark .sbk__links li { border-color: rgba(255,255,255,.2); }
.sbk--dark .sbk__links .ico { color: #fff; }
.sbk--dark .sbk__btn { background: #fff; color: var(--night) !important; }
/* poll */
.sbk-poll fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sbk-poll__q { padding: 0; margin: 0 0 .6rem; font: 600 1rem/1.4 var(--sans); color: var(--night); }
.sbk-poll__opt { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .2rem .55rem; padding: .5rem .65rem; margin-bottom: .4rem; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-family: var(--sans); font-size: .92rem; background: rgba(255,255,255,.6); }
.sbk-poll__opt:has(input:checked) { border-color: var(--flame); box-shadow: 0 0 0 1px var(--flame); }
.sbk-poll__lab { min-width: 0; color: var(--ink, #2b3150); }
.sbk-poll__bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: #ECEEF5; overflow: hidden; display: none; }
.sbk-poll__bar i { display: block; height: 100%; background: var(--flame); border-radius: 6px; transition: width .6s ease; }
.sbk-poll__pc { font-weight: 700; font-size: .85rem; color: var(--flame); display: none; }
.sbk-poll.is-done .sbk-poll__bar { display: block; }
.sbk-poll.is-done .sbk-poll__pc { display: inline; }
.sbk-poll.is-done input, .sbk-poll.is-done .sbk__btn { display: none; }
.sbk-poll.is-done .sbk-poll__opt { cursor: default; grid-template-columns: 1fr auto; }
.sbk-poll__total { margin: .5rem 0 0; font: 500 .82rem var(--sans); color: var(--muted); text-align: center; }

/* Sidebar blocks admin */
.sbk-count { display: block; margin-top: .25rem; font: 500 .78rem var(--sans); color: var(--muted); text-align: right; }
.sbk-count.is-low { color: #9B1C2E; font-weight: 700; }
.sbk-icons { border: 0; padding: 0; margin: 0 0 1rem; }
.sbk-icons legend { font: 600 .95rem var(--sans); margin-bottom: .4rem; }
.sbk-icons__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46px, 100%), 1fr)); gap: .4rem; max-width: 640px; }
.sbk-icons__one { position: relative; cursor: pointer; }
.sbk-icons__one input { position: absolute; opacity: 0; }
.sbk-icons__one > span { display: grid; place-items: center; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--night); }
.sbk-icons__one svg { width: 22px; height: 22px; }
.sbk-icons__one input:checked + span { border-color: var(--flame); background: #FBEFF1; color: var(--flame); box-shadow: 0 0 0 2px var(--flame); }
.sbk-icons__one input:focus-visible + span { outline: 3px solid var(--indigo); outline-offset: 2px; }
.sbk-lookset, .sbk-pages { border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem 1rem; margin: 0 0 1rem; }
.sbk-lookset legend, .sbk-pages legend { font: 600 .95rem var(--sans); padding: 0 .3rem; }
.sbk-pages .form__check { display: flex; margin: .2rem 0; }
.sbk-pages__box { margin-top: .6rem; }
.sbk-pages__filter { width: 100%; max-width: 360px; margin-bottom: .5rem; }
.sbk-pages__list { list-style: none; margin: 0; padding: .4rem .6rem; max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 0 1rem; }
.sbk-tpl__art { display: grid; gap: 5px; height: 78px; padding: 8px 30% 8px 8px; border-radius: 10px; background: #F1F3F9 linear-gradient(90deg, transparent 70%, #DDE2EF 70%); margin-bottom: .3rem; align-content: start; }
.sbk-tpl__art i { display: block; height: 9px; border-radius: 4px; background: #CBD1E4; }
.sbk-tpl__art i:first-child { height: 12px; width: 70%; background: #9AA6CF; }
.sbk-tpl__art--text_image i:first-child { height: 26px; width: 100%; }
.sbk-tpl__art--icon i:first-child, .sbk-tpl__art--cta i:first-child { width: 22px; height: 22px; border-radius: 7px; background: #B5687A; }
.sbk-tpl__art--cta { background: #26336B linear-gradient(90deg, transparent 70%, #DDE2EF 70%); }
.sbk-tpl__art--cta i:last-child { background: #fff; height: 12px; border-radius: 999px; }
.sbk-tpl__art--poll i:not(:first-child) { height: 11px; border: 1px solid #B9C1DA; background: #fff; }
.sbk-tpl__art--video i:first-child { height: 34px; width: 100%; background: #141C3F; }
.sbk-tpl__art--links i:not(:first-child) { width: 80%; background: #D9DEEC; }

/* Long button labels never push the page wider than the phone screen */
.btn { max-width: 100%; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; line-height: 1.3; } }
.wa-card > *, .contact-card > *, .mini-card > *, .yt-card > * { min-width: 0; overflow-wrap: anywhere; }

/* Admin lists: long titles shrink with "…" instead of widening the page */
.art-admin > *, .fbv-admin, .fbv-admin li, .onoff-list li, .hb-list__item { min-width: 0; }
.fbv-admin__main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) {
  .onoff-list li { flex-wrap: wrap; row-gap: .4rem; }
  .onoff-list__name { flex-basis: 100%; }
  .fbv-admin li { flex-wrap: wrap; }
  .fbv-admin__main { flex-basis: calc(100% - 2.5rem); }
}
fieldset { min-width: 0; }
.logs__top { min-width: 0; flex: 1 1 260px; max-width: 100%; } .logs__top li { overflow-wrap: anywhere; } .logs__stats > * { min-width: 0; }
.backup-log { white-space: pre-wrap; font-size: .8rem; max-height: 320px; overflow: auto; background: #F7F8FC; padding: .8rem; border-radius: 10px; }

/* Programme admin: this month's changes */
.pm-month__h { font-size: 1rem; margin: 1.1rem 0 .5rem; color: var(--navy, #1E2A5E); }
.pm-month__h--big { font-size: 1.25rem; margin-top: 0; }
.pm-month__list { display: grid; gap: .5rem; }
.pm-month__row { border: 1px solid #E3E6EE; border-radius: 12px; padding: .6rem .8rem; background: #fff; min-width: 0; }
.pm-month__row.is-on { border-color: #E9B949; background: #FFFBEF; }
.pm-month__row small { color: var(--muted); font-weight: 400; }
.pm-month__fields { margin-top: .6rem; display: grid; gap: .5rem; }
.pm-month__kind { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.pm-month__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); gap: .5rem .8rem; }
.pm-month__grid[hidden] { display: none; }

/* Banner editor (Page banners, Simple pages) */
.hero-ed { display: grid; gap: .2rem; min-width: 0; }
.hero-ed__part[hidden] { display: none !important; }
.hero-ed__colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: .4rem .9rem; }
.hero-ed__swatch { display: block; height: 54px; border-radius: 12px; margin: .3rem 0 .6rem; border: 1px solid rgba(0,0,0,.08); }

/* Simple pages: editor sections, photo gallery and videos on the page */
.cp-sec { border: 1px solid #E3E6EE; border-radius: 14px; padding: .8rem 1rem 1rem; margin: .8rem 0; min-width: 0; }
.cp-sec legend { display: flex; align-items: center; gap: .4rem; padding: 0 .4rem; font-weight: 700; }
.cp-sec legend .ico { width: 18px; height: 18px; }
.cp-gallery { margin-top: 1.4rem; }
.cp-gal, .cp-vids { margin: 2rem 0 1rem; }
.cp-gal h2, .cp-vids h2 { margin-bottom: .8rem; }
.cp-gal__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: .6rem; }
.cp-gal__grid .gallery__img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.cp-gal__grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.cp-gal__grid a:hover img { transform: scale(1.04); }
.cp-vids__grid { margin: 0; }
.vcard__thumb--fb { display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1877F2, #0B3E91); }
.vcard__fb { position: absolute; left: .6rem; bottom: .5rem; color: #fff; font: 700 .75rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.cp-gal__grid > li { margin: 0; padding: 0; }
.cp-gal__grid > li::before, .cp-gal__grid > li::marker { content: none; }
.prose .cp-gal__grid img { margin: 0; border-radius: 0; box-shadow: none; }

/* ===== Home announcement banner (below or overlapping the spotlight) ===== */
.hbanner { position: relative; padding: clamp(1.25rem, 3vw, 2rem) 0 0; }
.home main > section.hbanner { background: transparent; }
.hbanner__wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.hbanner--full { padding: 0; }
.hbanner--full .hbanner__wrap { width: 100%; }
.hbanner__in { position: relative; overflow: hidden; border-radius: 22px; color: #fff; background: var(--indigo); box-shadow: 0 22px 50px -30px rgba(20,28,63,.65); min-width: 0; }
.hbanner--full .hbanner__in { border-radius: 0; box-shadow: none; }
.hbanner--light .hbanner__in { color: #141C3F; }
.hbanner--overlap { padding: 0 0 clamp(1rem, 2.5vw, 1.5rem); position: relative; z-index: 2; margin-top: clamp(1.5rem, 4vw, 2.5rem); }
.hbanner--overlap .hbanner__in { box-shadow: 0 28px 60px -24px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.18); }
.hbanner--overlap.hbanner--full .hbanner__in { border: 0; }
.hbanner--overlap + .wrap .sunday { margin-top: 0; }
.hbanner__img, .hbanner__video { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.hbanner__imglink { display: block; }
.hbanner__imglink:focus-visible { outline: 3px solid var(--flame); outline-offset: -3px; }
.hbanner__yt { position: relative; aspect-ratio: 16 / 9; max-height: 560px; background: #000; }
.hbanner__yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hbanner__ytplay { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.hbanner__ytplay img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.hbanner__cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: .9rem 1.2rem; background: linear-gradient(90deg, var(--indigo), var(--night)); }
.hbanner__more { display: inline-flex; align-items: center; gap: .35rem; color: #fff; font-weight: 700; text-decoration: none; }
.hbanner__more .ico { width: 16px; height: 16px; }
.hbanner__body { position: relative; z-index: 1; display: grid; gap: .55rem; min-width: 0; }
.hbanner__title { margin: 0; color: inherit; font-size: clamp(1.25rem, 2.6vw, 1.75rem); line-height: 1.2; }
.hbanner__text { font-size: 1rem; line-height: 1.55; opacity: .95; }
.hbanner__text > :first-child { margin-top: 0; } .hbanner__text > :last-child { margin-bottom: 0; }
.hbanner__text a { color: inherit; text-decoration: underline; }
.hbanner__text h3 { color: inherit; font-size: 1.1rem; margin: .4rem 0 .2rem; }
.hbanner__btn { justify-self: start; align-self: center; display: inline-flex; align-items: center; gap: .45rem; white-space: normal; text-align: center; }
.hbanner__btn .ico { width: 16px; height: 16px; }
.hbanner .hbanner__btn { background: #fff; color: #1E2A5E; border-color: #fff; box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.hbanner .hbanner__btn:hover { background: #FFF4D6; color: #141C3F; }
.hbanner--light .hbanner__btn { background: #1E2A5E; color: #fff; border-color: #1E2A5E; }
.hbanner--text .hbanner__in { padding: clamp(1.4rem, 3.5vw, 2.4rem) clamp(1.2rem, 4vw, 3rem); }
.hbanner--card .hbanner__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(.9rem, 2.5vw, 1.75rem); padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 3vw, 2rem); }
.hbanner__thumb { display: block; width: clamp(72px, 12vw, 120px); aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.14); box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.hbanner__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hbanner__thumb--ico { display: grid; place-items: center; }
.hbanner__thumb--ico .ico, .hbanner__thumb--ico svg { width: 44%; height: 44%; }
.hbanner--cta .hbanner__in { display: grid; align-items: center; min-height: clamp(220px, 32vw, 380px); padding: clamp(1.5rem, 4vw, 3rem) clamp(1.2rem, 5vw, 3.5rem); background: var(--night); }
.hbanner--cta .hbanner__in::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,14,35,calc(var(--hb-dim, .45) + .25)) 0%, rgba(10,14,35,var(--hb-dim, .45)) 60%, rgba(10,14,35,calc(var(--hb-dim, .45) - .15)) 100%); }
.hbanner__bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hbanner--cta .hbanner__body { max-width: 640px; z-index: 2; }
.hbanner--cta .hbanner__title { font-size: clamp(1.5rem, 3.4vw, 2.25rem); text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hbanner__x { position: absolute; top: .6rem; right: .6rem; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; cursor: pointer; }
.hbanner__x .ico { width: 16px; height: 16px; }
.hbanner--light .hbanner__x { background: rgba(20,28,63,.1); color: #141C3F; }
.hbanner--text[data-hb-dismiss] .hbanner__in, .hbanner--card[data-hb-dismiss] .hbanner__in { padding-right: 3.2rem; }
.hbanner.is-closed { display: none; }
@media (max-width: 700px) {
  .hbanner__wrap { width: min(100% - 1.5rem, var(--wrap)); }
  .hbanner--card .hbanner__in { grid-template-columns: auto minmax(0, 1fr); }
  .hbanner--card .hbanner__btn { grid-column: 1 / -1; justify-self: stretch; justify-content: center; }
  .hbanner__in { border-radius: 18px; }
  .hbanner__text { font-size: .95rem; }
}
/* admin: template picker and preview */
.hb-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(170px, 100%), 1fr)); gap: .7rem; margin-bottom: .9rem; }
.hb-tpl { position: relative; display: grid; gap: .25rem; padding: .7rem; border: 2px solid #E3E6EE; border-radius: 14px; cursor: pointer; background: #fff; min-width: 0; }
.hb-tpl input { position: absolute; opacity: 0; pointer-events: none; }
.hb-tpl:has(input:checked) { border-color: var(--flame, #C0392B); box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.hb-tpl:has(input:focus-visible) { outline: 3px solid var(--indigo); outline-offset: 2px; }
.hb-tpl small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.hb-tpl__pic { position: relative; display: block; height: 62px; border-radius: 9px; overflow: hidden; background: linear-gradient(135deg, #1E2A5E, #7A1626); }
.hb-tpl__pic i, .hb-tpl__pic b, .hb-tpl__pic em { position: absolute; display: block; background: rgba(255,255,255,.85); border-radius: 3px; }
.hb-tpl__pic--image { background: linear-gradient(135deg, #8EC5FC, #E0C3FC); }
.hb-tpl__pic--image i { inset: 20% 30% 30% 20%; background: rgba(255,255,255,.5); border-radius: 50% 50% 4px 4px; }
.hb-tpl__pic--video { background: #141C3F; }
.hb-tpl__pic--video i { left: 44%; top: 30%; width: 0; height: 0; background: none; border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-radius: 0; }
.hb-tpl__pic--text i { left: 12%; top: 22%; width: 50%; height: 9px; } .hb-tpl__pic--text b { left: 12%; top: 46%; width: 72%; height: 5px; opacity: .7; } .hb-tpl__pic--text em { left: 12%; top: 62%; width: 60%; height: 5px; opacity: .7; }
.hb-tpl__pic--card i { left: 8%; top: 20%; width: 24%; height: 60%; border-radius: 6px; } .hb-tpl__pic--card b { left: 40%; top: 30%; width: 45%; height: 8px; } .hb-tpl__pic--card em { left: 40%; top: 52%; width: 35%; height: 5px; opacity: .7; }
.hb-tpl__pic--cta { background: linear-gradient(90deg, rgba(10,14,35,.85), rgba(10,14,35,.3)), linear-gradient(135deg, #F6D365, #FDA085); }
.hb-tpl__pic--cta i { left: 10%; top: 24%; width: 45%; height: 8px; } .hb-tpl__pic--cta b { left: 10%; top: 60%; width: 26%; height: 12px; background: #C0392B; border-radius: 99px; }
.hb-part[hidden] { display: none !important; }
.hb-preview { border-radius: 14px; background: #EEF0F6; padding: .5rem 0 1rem; overflow: hidden; }
.rte__bar { display: flex; flex-wrap: wrap; gap: .25rem; padding: .3rem; border: 1px solid #D5D9E4; border-bottom: 0; border-radius: 10px 10px 0 0; background: #F6F7FB; }
.rte__bar button { min-width: 34px; height: 32px; padding: 0 .5rem; border: 1px solid transparent; border-radius: 7px; background: none; color: var(--ink); cursor: pointer; font: 600 .85rem/1 var(--sans); }
.rte__bar button:hover { background: #fff; border-color: #D5D9E4; }
.rte__box { min-height: 120px; max-height: 360px; overflow: auto; padding: .7rem .8rem; border: 1px solid #D5D9E4; border-radius: 0 0 10px 10px; background: #fff; line-height: 1.5; }
.rte__box:focus { outline: 3px solid rgba(30,42,94,.25); border-color: var(--indigo); }
.rte__box > :first-child { margin-top: 0; }
.rte__count.is-over { color: #B42318; font-weight: 700; }

/* ===== App shell (phones): tab bar, back button, sheets, notification cards ===== */
.appbar, .app-back { display: none; }
.nav__item--app { display: none; }
.legal-links__app .ico { width: 15px; height: 15px; vertical-align: -2px; }
html { -webkit-tap-highlight-color: transparent; }
@media (max-width: 1020px) { .nav__item--app { display: block; } .nav__install { display: flex; align-items: center; gap: .55rem; width: 100%; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; } .nav__install .ico { width: 18px; height: 18px; } }
@media (max-width: 700px) {
  :root { --appbar-h: calc(64px + env(safe-area-inset-bottom)); --chat-bottom: calc(var(--appbar-h) + 10px); }
  body { padding-bottom: var(--appbar-h); }
  .topbar { display: none; }
  .appbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 66; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end; height: var(--appbar-h); padding: 0 max(6px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(6px, env(safe-area-inset-left)); background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-top: 1px solid rgba(20,28,63,.08); box-shadow: 0 -8px 24px -18px rgba(20,28,63,.45); user-select: none; -webkit-user-select: none; }
  .appbar__tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 64px; padding: 0; border: 0; background: none; color: #6B7290; font: 600 .68rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; }
  .appbar__tab.is-on { color: var(--indigo); }
  .appbar__ico { position: relative; display: grid; place-items: center; width: 26px; height: 26px; }
  .appbar__ico svg { width: 23px; height: 23px; }
  .appbar__tab.is-on .appbar__ico svg { stroke-width: 2.4; }
  .appbar__ai { position: relative; display: grid; place-items: center; }
  .appbar__ai > .ico { width: 23px; height: 23px; }
  .appbar__spark { position: absolute; top: -5px; right: -7px; display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: linear-gradient(135deg, #F2B33D, #E07A1F); color: #fff; box-shadow: 0 0 0 2px #fff; }
  .appbar__spark .ico { width: 9px !important; height: 9px !important; stroke-width: 2.6; }
  .appbar__tab--ask { color: var(--indigo); }
  .appbar__tab--raised .appbar__ico { width: 54px; height: 54px; margin-top: -28px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #1E2A5E, #7A1626); box-shadow: 0 10px 22px -8px rgba(30,42,94,.7), 0 0 0 4px #fff; }
  .appbar__tab--raised .appbar__ico svg, .appbar__tab--raised .appbar__ai > .ico { width: 27px; height: 27px; }
  .appbar__tab--raised.appbar__tab--contact .appbar__ico { background: linear-gradient(135deg, #25D366, #128C4A); box-shadow: 0 10px 22px -8px rgba(18,140,74,.7), 0 0 0 4px #fff; }
  .appbar__tab--raised.appbar__tab--contact .appbar__lbl { color: #128C4A; }
  .appbar__tab--raised .appbar__spark { box-shadow: 0 0 0 2px #fff; top: -4px; right: -6px; }
  .appbar__lbl { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .appbar__tab:active { transform: scale(.94); }
  .chat__launch, .wa-float, .wa-float-wrap { display: none !important; }
  body.nav-open .appbar { z-index: 80; }
  .chat__hint { left: 16px; right: 16px; width: auto; bottom: calc(var(--appbar-h) + 18px); }
  .chat__hint::after { right: auto; left: var(--arrow-x, calc(50% - 7px)); }
  .to-top { bottom: calc(var(--appbar-h) + 12px) !important; }
  .consent { bottom: calc(var(--appbar-h) + 8px); }
  .live-pop { top: max(10px, env(safe-area-inset-top)); bottom: auto !important; left: 10px; right: 10px; width: auto; border-radius: 22px; background: rgba(250,250,252,.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.45); transform: translateY(-130%); }
  .live-pop.is-in { transform: none; }
  /* app-like header and content */
  .site-header { padding-top: env(safe-area-inset-top); }
  .page-hero { border-radius: 0 0 26px 26px; }
  main#main { overscroll-behavior-y: contain; }
  .nav { padding-bottom: calc(var(--appbar-h) + 1.5rem) !important; }
}
/* opened from the Home Screen */
html.is-app body { -webkit-user-select: none; user-select: none; }
html.is-app body :is(p, li, h1, h2, h3, td, input, textarea, .prose, [contenteditable]) { -webkit-user-select: text; user-select: text; }
html.is-app .app-back { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; margin-right: .25rem; border: 0; border-radius: 12px; background: rgba(255,255,255,.14); color: inherit; cursor: pointer; }
html.is-app .app-back[hidden] { display: none; }
html.is-app .app-back .ico { width: 24px; height: 24px; }
html.is-app .page-loader { display: none; }
@media (prefers-reduced-motion: no-preference) { html.is-app main#main { animation: appIn .28s ease-out; } }
@keyframes appIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* bottom sheets (install, reminders) */
dialog.sheet { position: fixed; inset: auto 0 0 0; margin: 0 auto; width: min(520px, 100%); max-width: 100%; max-height: 88dvh; padding: .5rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); border: 0; border-radius: 26px 26px 0 0; background: #fff; color: var(--ink); box-shadow: 0 -20px 60px -20px rgba(0,0,0,.45); overflow: auto; transform: translateY(100%); transition: transform .25s ease; }
dialog.sheet.is-in { transform: none; }
dialog.sheet::backdrop { background: rgba(10,14,35,.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@media (min-width: 701px) { dialog.sheet { inset: 0; margin: auto; height: fit-content; border-radius: 22px; transform: translateY(20px); opacity: 0; transition: transform .22s ease, opacity .22s ease; } dialog.sheet.is-in { transform: none; opacity: 1; } }
.sheet__grab { width: 42px; height: 5px; margin: .2rem auto .9rem; border-radius: 99px; background: #D5D9E4; }
.sheet__head { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.sheet__head img { flex: none; width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.4); }
.sheet__head h2 { margin: 0 0 .15rem; font-size: 1.2rem; }
.sheet__head p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.sheet__bell { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, #1E2A5E, #7A1626); color: #fff; }
.sheet__bell .ico { width: 28px; height: 28px; }
.sheet__steps { list-style: none; margin: 0 0 .8rem; padding: 0; display: grid; gap: .6rem; }
.sheet__steps li { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 14px; background: #F4F6FA; line-height: 1.35; }
.sheet__n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--indigo); color: #fff; font: 700 .85rem/1 var(--sans); }
.sheet__ico { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff; color: #0A84FF; vertical-align: middle; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.sheet__ico .ico { width: 18px; height: 18px; }
.sheet__note { color: var(--muted); font-size: .86rem; margin: .4rem 0; }
.sheet__ok { display: flex; gap: .6rem; align-items: center; padding: .8rem; border-radius: 14px; background: #ECF8F0; color: #14532D; }
.sheet__ok .ico { flex: none; width: 22px; height: 22px; }
.sheet__topics { display: grid; gap: .45rem; }
.sheet__topic { display: flex; align-items: center; gap: .7rem; padding: .7rem .85rem; border-radius: 14px; background: #F4F6FA; cursor: pointer; font-weight: 600; }
.sheet__topic input { width: 22px; height: 22px; accent-color: var(--indigo); flex: none; }
.sheet__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.sheet__btns .btn { flex: 1 1 auto; justify-content: center; display: inline-flex; align-items: center; gap: .45rem; }
.sheet__btns .btn .ico { width: 18px; height: 18px; }
.sheet__btns [hidden] { display: none; }

/* in-app notice, looks like a phone notification */
.app-notice { position: fixed; top: max(12px, env(safe-area-inset-top)); left: 50%; z-index: 90; display: flex; align-items: flex-start; gap: .7rem; width: min(420px, calc(100vw - 20px)); padding: .75rem 2.4rem .75rem .75rem; border-radius: 22px; background: rgba(250,250,252,.95); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); color: #141C3F; box-shadow: 0 20px 44px -18px rgba(0,0,0,.5); transform: translate(-50%, -140%); transition: transform .32s cubic-bezier(.2,.9,.3,1.2); }
.app-notice.is-in { transform: translate(-50%, 0); }
.app-notice[hidden] { display: none; }
.app-notice__ico { flex: none; width: 38px; height: 38px; border-radius: 10px; background: #fff; }
.app-notice__body { display: grid; gap: .1rem; min-width: 0; font-size: .9rem; line-height: 1.35; }
.app-notice__app { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #6B7290; display: flex; justify-content: space-between; gap: .5rem; }
.app-notice__app span { text-transform: none; font-weight: 500; }
.app-notice__x { position: absolute; top: .45rem; right: .45rem; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: none; color: #6B7290; cursor: pointer; }
.app-notice__x .ico { width: 16px; height: 16px; }

/* "Remind me" on the programme */
.prog__remind { display: inline-flex; align-items: center; gap: .45rem; margin-top: .6rem; padding: .55rem 1rem; border: 1px solid rgba(30,42,94,.2); border-radius: 999px; background: #fff; color: var(--indigo); font: 700 .9rem/1 var(--sans); cursor: pointer; box-shadow: 0 6px 16px -12px rgba(20,28,63,.6); }
.prog__remind:hover { background: #F4F6FA; }
.prog__remind .ico { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) { .prog__remind .ico { animation: bellRing 3.5s ease-in-out 2s 2; transform-origin: 50% 10%; } }
@keyframes bellRing { 0%, 20%, 100% { transform: none; } 4% { transform: rotate(14deg); } 8% { transform: rotate(-12deg); } 12% { transform: rotate(8deg); } 16% { transform: rotate(-5deg); } }
.remind-all--push { display: flex; align-items: center; gap: .4rem; margin-top: .4rem; text-align: left; }
.remind-all--push .ico { width: 16px; height: 16px; }
.prose .cp-gal__grid, .prose .cp-vids__grid { padding-left: 0; margin-left: 0; }

/* No empty space on the right: a list with a single card or photo uses the full width */
.people > li:only-child, .gallery > li:only-child, .tiles > li:only-child, .vgrid > li:only-child { grid-column: 1 / -1; }
.cp-gal__grid { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
/* number blocks: an odd last number uses the whole row */
@media (max-width: 700px) { .hb__stats > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 481px) and (max-width: 1020px) { .facts--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sunday card: the whole card opens directions; on phones a call link sits beside "Get directions" (same row) */
.sunday { cursor: pointer; }
.sunday__acts { margin-left: auto; display: flex; align-items: center; gap: .5rem 1rem; }
.sunday__go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sunday__call { display: none; position: relative; z-index: 1; align-items: center; gap: .35rem; font-weight: 700; color: var(--flame); text-decoration: none; white-space: nowrap; }
.sunday__call svg { width: 15px; height: 15px; flex: none; }
.sunday:hover .sunday__go { color: var(--ember); }
@media (max-width: 820px) {
  .sunday__acts { margin-left: 0; width: 100%; justify-content: space-between; flex-wrap: nowrap; }
  .sunday__go { margin: 0; width: auto; }
}
@media (max-width: 700px) {
  .sunday__call { display: inline-flex; }
}
@media (max-width: 360px) { .sunday__acts { font-size: .9rem; } .sunday__call svg { display: none; } }

/* Phones: tighter space under section headings; headings never cut off */
@media (max-width: 700px) {
  .section-head, .prog__head { margin-bottom: 1.15rem; }
  .prog--cards .prog__head, .prog--table .prog__head { margin-bottom: 1.25rem; }
  .prog__head { gap: .4rem 1rem; }
  .prog__head h2 { font-size: clamp(1.65rem, 8.2vw, 2.2rem); }
  main h1, main h2, main h3, .page-hero h1 { overflow-wrap: break-word; }
  .prog__title { display: flex; align-items: center; flex-wrap: nowrap; min-width: 0; white-space: normal; }
  .pdeck__nav { margin-top: .2rem; }
}
@media (max-width: 700px) {
  .home main > section:not(.hero):not(.hbanner) { padding-top: 2.25rem; padding-bottom: 2.25rem; }
  .home main > section.hb--cta { padding-top: 1.75rem; padding-bottom: 1.75rem; }
  .page-body { padding-bottom: 2.25rem; }
}
/* Notifications admin: server check */
.nt-check { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.nt-check li { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .8rem; border-radius: 10px; background: #F6F7FB; }
.nt-check__txt { min-width: 0; overflow-wrap: anywhere; }
.nt-check small { display: block; color: var(--muted); margin-top: .15rem; }
.nt-check__dot { flex: none; margin-top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: #2E9E5B; }
.nt-check__warn .nt-check__dot { background: #E0A100; }
.nt-check__bad { background: #FDECEC !important; }
.nt-check__bad .nt-check__dot { background: #C62828; }
/* Installed app (full screen): a little room between the phone's status bar and the logo/menu */
html.is-app .site-header { padding-top: calc(env(safe-area-inset-top, 0px) + 4px); }
html.is-app body.is-scrolled .site-header__in { min-height: 60px; }

/* ===== Website memories (admin list and viewer, public page) ===== */
.mem-top { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.mem-top .btn { display: inline-flex; align-items: center; gap: .45rem; }
.mem-top .ico { width: 17px; height: 17px; }
.mem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mem-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: .5rem .9rem; padding: .5rem .7rem; border: 1px solid #E3E6EE; border-radius: 12px; background: #fff; }
.mem-row__pic { display: grid; place-items: center; width: 64px; height: 44px; border-radius: 8px; overflow: hidden; background: #EEF1F7; color: #9AA0B8; }
.mem-row__pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mem-row__pic .ico { width: 20px; height: 20px; }
.mem-row__main { display: grid; min-width: 0; }
.mem-row__title { font-weight: 700; color: var(--night); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mem-row__title:hover { text-decoration: underline; }
.mem-row small { color: var(--muted); }
@media (max-width: 600px) { .mem-row { grid-template-columns: 56px minmax(0, 1fr); } .mem-row__pub, .mem-row > .btn { grid-column: 2; justify-self: start; } }
.mem-view__bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .7rem; }
.mem-view__bar .settings__title { margin: 0; }
.mem-view__tabs { display: inline-flex; gap: .35rem; }
.mem-view__tabs .is-on { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.mem-view__links { display: inline-flex; flex-wrap: wrap; gap: .3rem 1rem; margin-left: auto; font-size: .9rem; }
.mem-view__links a { display: inline-flex; align-items: center; gap: .3rem; }
.mem-view__links .ico { width: 14px; height: 14px; }
.mem-view__frame { position: relative; height: min(70vh, 720px); border: 1px solid #D5D9E4; border-radius: 14px; overflow: hidden; background: #F4F6FA url("../img/favicon.svg") center / 40px no-repeat; }
.mem-view__frame iframe { width: 100%; height: 100%; border: 0; background: transparent; }
/* public page */
.mem-intro { max-width: 760px; margin-bottom: 1.5rem; font-size: 1.05rem; }
.mem-group { margin: 2rem 0 1rem; }
.mem-group__title { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0 0 1rem; }
.mem-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 1.1rem; }
.mem-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #E3E6EE; box-shadow: 0 16px 34px -26px rgba(20,28,63,.5); min-width: 0; }
.mem-card__shots { list-style: none; margin: 0; padding: 0; }
.mem-card__shots > li { margin: 0; }
.mem-card__shots > li::before { content: none; }
.mem-card__more { display: none; }
.mem-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #EEF1F7; border-bottom: 1px solid #E3E6EE; }
.mem-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .4s ease; }
.mem-card a:hover .mem-card__img img { transform: scale(1.03); }
.mem-card__body { display: grid; gap: .45rem; padding: 1rem 1.1rem 1.1rem; }
.mem-card__body h3 { margin: 0; font-size: 1.15rem; }
.mem-card__years { display: inline-flex; align-items: center; gap: .35rem; margin: 0; color: var(--ember); font-weight: 600; font-size: .88rem; }
.mem-card__years .ico { width: 15px; height: 15px; }
.mem-card__note { color: var(--ink); font-size: .95rem; line-height: 1.55; }
.mem-card__note > :first-child { margin-top: 0; } .mem-card__note > :last-child { margin-bottom: 0; }
.mem-card__links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: center; margin: .2rem 0 0; font-size: .88rem; color: var(--muted); }
.mem-card__links a { display: inline-flex; align-items: center; gap: .3rem; }
.mem-card__links .ico { width: 14px; height: 14px; }
/* a memory alone in its row: picture beside the text, no empty space */
@media (min-width: 701px) {
  .mem-card:only-child, .mem-card[data-fill] { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .mem-card:only-child .mem-card__img, .mem-card[data-fill] .mem-card__img { height: 100%; min-height: 240px; max-height: 380px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid #E3E6EE; }
  .mem-card:only-child .mem-card__body, .mem-card[data-fill] .mem-card__body { align-content: center; padding: 1.4rem 1.6rem; }
  .mem-card:only-child:not(:has(.mem-card__shots)), .mem-card[data-fill]:not(:has(.mem-card__shots)) { display: flex; }
}
.mem-group { margin: 1.5rem 0 1rem; }
.mem-intro + .mem-group, .note + .mem-group { margin-top: .5rem; }
.mem-grid > .mem-card:only-child { grid-column: 1 / -1; }
.mem-intro > :last-child { margin-bottom: 0; }
.mem-card .mem-card__shots { display: block; } .mem-card__shots > li > a { display: block; height: 100%; } .mem-card__shots > li:first-child { height: 100%; }

/* ===== Notifications admin and desk ===== */
.nt-box { border: 1px solid #E3E6EE; border-radius: 16px; padding: 1.1rem 1.2rem; margin: 0 0 1.1rem; background: #fff; }
.nt-box__title { display: flex; align-items: center; gap: .5rem; font-size: 1.2rem; margin: 0 0 .8rem; }
.nt-box__title .ico { width: 22px; height: 22px; color: var(--flame); }
.nt-box__label { margin: 1rem 0 .4rem; font-weight: 700; font-size: .92rem; }
.nt-leads { display: flex; flex-wrap: wrap; gap: .45rem; }
.nt-chip { position: relative; display: inline-flex; cursor: pointer; }
.nt-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nt-chip span { display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .85rem; border: 1.5px solid #D5D9E4; border-radius: 999px; background: #fff; font-weight: 600; font-size: .9rem; line-height: 1.2; }
.nt-chip input:checked + span { border-color: var(--indigo); background: var(--indigo); color: #fff; }
.nt-chip input:checked + span::before { content: "✓"; font-weight: 700; }
.nt-chip input:focus-visible + span { outline: 3px solid var(--flame); outline-offset: 2px; }
.nt-switch { display: flex; align-items: center; gap: .8rem; cursor: pointer; padding: .7rem .9rem; border-radius: 14px; background: #F4F6FA; }
.nt-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nt-switch__ui { flex: none; position: relative; width: 52px; height: 30px; border-radius: 999px; background: #C9CEDF; transition: background .2s ease; }
.nt-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .2s ease; }
.nt-switch input:checked + .nt-switch__ui { background: #2E9E5B; }
.nt-switch input:checked + .nt-switch__ui::after { transform: translateX(22px); }
.nt-switch input:focus-visible + .nt-switch__ui { outline: 3px solid var(--flame); outline-offset: 2px; }
.nt-switch small { display: block; color: var(--muted); font-weight: 400; }
.nt-sched { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .45rem; }
.nt-sched li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .6rem .8rem; border-radius: 12px; background: #F4F6FA; }
.nt-sched li.is-past { opacity: .6; }
.nt-sched__main { display: grid; min-width: 0; }
.nt-sched__main small { color: var(--muted); }
.desk { max-width: 860px; }
.desk__login { max-width: 460px; margin: 0 auto; }
.desk__jump { position: sticky; top: calc(var(--top-h, 70px) + 6px); z-index: 5; display: flex; gap: .4rem; overflow-x: auto; padding: .4rem; margin: 0 0 1rem; border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: 0 8px 20px -14px rgba(20,28,63,.5); }
.desk__jump a { flex: none; display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .8rem; border-radius: 10px; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--indigo); }
.desk__jump a:hover { background: #F4F6FA; }
.desk__jump .ico { width: 17px; height: 17px; }
.desk .nt-box { scroll-margin-top: calc(var(--top-h, 70px) + 70px); }
/* fingerprint / Face ID */
.pk-login { display: grid; gap: .5rem; margin-bottom: .6rem; }
.pk-login__btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .85rem 1rem; }
.pk-login__btn[hidden] { display: none; }
.pk-login__btn[hidden] ~ .pk-login__or { display: none; }
.pk-login__btn .ico { width: 22px; height: 22px; }
.pk-login__msg { margin: 0; color: #B42318; font-size: .9rem; }
.pk-login__msg:empty { display: none; }
.pk-login__or { display: flex; align-items: center; gap: .6rem; margin: .3rem 0 .2rem; color: var(--muted); font-size: .85rem; }
.pk-login__or::before, .pk-login__or::after { content: ""; flex: 1; height: 1px; background: #E3E6EE; }
.pk-box__add { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .6rem 1rem; }
.pk-box__add .form__row { flex: 1 1 220px; margin: 0; }
.pk-box__add .btn { display: inline-flex; align-items: center; gap: .45rem; }
.pk-box__add .ico { width: 20px; height: 20px; }
/* notification boxes: a plain button row at the end of each box (no floating bar) */
.nt-box .settings__bar { position: static; margin: 1.1rem 0 0; padding: 0; background: none; box-shadow: none; border: 0; }
.desk .admin__bar { margin-bottom: .75rem; } .desk__jump { margin-bottom: .9rem; } .desk .nt-box { margin-top: 0; }

/* ===== Church Officials admin ===== */
.of-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.of-row { display: flex; align-items: center; gap: .7rem; padding: .5rem .7rem; border: 1px solid #E3E6EE; border-radius: 12px; background: #fff; min-width: 0; }
.of-row.is-off { background: #F7F7FA; border-style: dashed; } .of-row.is-off .of-row__main strong { color: #4A5160; } .of-row.is-off .of-row__main small { color: #5A6170; } .of-row.is-off .of-row__pics { opacity: .55; }
.of-row__faces { display: flex; flex: none; width: 74px; }
.of-row__faces img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -10px; background: #EEF1F7; }
.of-row__faces img:first-child { margin-left: 0; }
.of-row__pic { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #EEF1F7; }
.of-row__main { flex: 1; display: grid; min-width: 0; color: inherit; text-decoration: none; }
.of-row__main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.of-row__main:hover strong { text-decoration: underline; }
.of-row__main small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.of-row__move { display: flex; gap: .2rem; }
.of-row form { margin: 0; }
.of-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .8rem; }
.of-head .settings__title { margin: 0; }
.of-head .btn { display: inline-flex; align-items: center; gap: .35rem; }
.of-mem { display: flex; gap: 1.1rem; align-items: flex-start; }
.of-mem__pic img { width: 105px; height: 135px; border-radius: 12px; object-fit: cover; background: #EEF1F7; box-shadow: 0 10px 22px -14px rgba(20,28,63,.5); }
.of-mem__fields { flex: 1; min-width: 0; }
@media (max-width: 560px) { .of-mem { flex-direction: column; } .of-row { flex-wrap: wrap; } .of-row__main { flex-basis: calc(100% - 60px); } .of-row__faces { display: none; } }
.pm-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #D5D9E4; border-radius: 9px; background: #fff; color: var(--indigo); cursor: pointer; }
.pm-btn:hover:not(:disabled) { background: #F4F6FA; }
.pm-btn:disabled { opacity: .35; cursor: default; }
.pm-btn .ico { width: 17px; height: 17px; }

/* Back to the admin area (public pages, while signed in) */
.admin-fab { position: fixed; left: max(14px, env(safe-area-inset-left)); bottom: 18px; z-index: 64; }
.admin-fab__btn { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .85rem .3rem .3rem; border: 1px solid rgba(20,28,63,.12); border-radius: 999px; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #1E2A5E; font: 700 .85rem/1 var(--sans); cursor: pointer; box-shadow: 0 12px 28px -14px rgba(20,28,63,.55); }
.admin-fab__btn img { width: 30px; height: 30px; border-radius: 9px; }
.admin-fab__btn:hover { background: #fff; box-shadow: 0 14px 30px -12px rgba(20,28,63,.6); }
.admin-fab__menu { position: absolute; left: 0; bottom: calc(100% + 8px); min-width: 250px; padding: .4rem; border-radius: 16px; background: #fff; border: 1px solid #E3E6EE; box-shadow: 0 22px 44px -20px rgba(20,28,63,.55); }
.admin-fab__menu[hidden] { display: none; }
.admin-fab__menu a { display: flex; align-items: center; gap: .65rem; padding: .6rem .7rem; border-radius: 11px; color: var(--ink); text-decoration: none; font-weight: 700; }
.admin-fab__menu a:hover { background: #F4F6FA; }
.admin-fab__menu .ico { flex: none; width: 20px; height: 20px; color: var(--flame); }
.admin-fab__menu small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
@media (max-width: 700px) { .admin-fab { bottom: calc(var(--appbar-h) + 12px); } .admin-fab__btn span { display: none; } .admin-fab__btn { padding: .3rem; } }
@media print { .admin-fab { display: none; } }
.admin__acts { display: inline-flex; flex-wrap: wrap; gap: .4rem; }

#of-st, #os-st { min-width: 14rem; }

/* Notification desk accounts: what each may use */
.nt-sched li.desk-acc { flex-wrap: wrap; }
.desk-acc__can { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; padding-top: .5rem; border-top: 1px solid #E3E6EE; }
.desk-acc__lbl { font-weight: 700; font-size: .9rem; }
.desk-acc__can .check, .desk-acc__new .check { display: inline-flex; align-items: center; gap: .35rem; font-size: .92rem; }
.desk-acc__new { border: 0; padding: 0; margin: .4rem 0 .9rem; min-width: 0; display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.desk-acc__new legend { font-weight: 700; margin-bottom: .35rem; padding: 0; }
.desk-acc__new small { flex-basis: 100%; }

.nt-pic { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 1rem; }
.nt-pic__cur { display: flex; align-items: center; gap: .7rem; margin-top: .5rem; flex-wrap: wrap; }
.nt-pic__cur img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid #E3E6EE; }

/* Sunday card: venue centred in the free space on wide screens; a clear phone badge before the number on phones */
@media (min-width: 821px) { .sunday__place { justify-content: center; text-align: center; } }
.sunday__call .sunday__callico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--flame); color: #fff; flex: none; }
.sunday__call .sunday__callico svg { width: 14px; height: 14px; }
.sunday__go { white-space: nowrap; }
@media (max-width: 700px) { .sunday__acts { gap: .5rem .75rem; } .sunday__call .sunday__callico { width: 22px; height: 22px; } .sunday__call .sunday__callico svg { width: 12px; height: 12px; } }
.sunday__call .sunday__callico svg { display: block; flex: none; }
@media (max-width: 360px) { .sunday__acts { gap: .4rem .5rem; } .sunday__go, .sunday__call { font-size: .84rem; } .sunday__call { gap: .25rem; } .sunday__call .sunday__callico { width: 20px; height: 20px; } .sunday__call .sunday__callico svg { width: 11px; height: 11px; } }
.site-footer__by { white-space: nowrap; }

/* ===== Bible Activities (bible-activities.php) ===== */
.bg { font-family: var(--sans); }
.bg-panel { max-width: 860px; margin: 0 auto; }
.bg-daily { position: relative; border-radius: 22px; padding: 1.4rem 1.5rem 1.2rem; margin-bottom: 2rem; background: linear-gradient(135deg, #1E2A5E, #2B3C82 60%, #7A1517); color: #fff; box-shadow: 0 24px 50px -30px rgba(20,28,63,.8); }
.bg-daily__head { display: flex; align-items: flex-start; gap: .9rem; flex-wrap: wrap; }
.bg-daily__head > div { flex: 1 1 220px; min-width: 0; }
.bg-daily__head h2 { margin: 0; color: #fff; font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.bg-daily__head p { margin: .15rem 0 0; color: rgba(255,255,255,.8); font-size: .95rem; }
.bg-daily__ico { flex: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; }
.bg-daily__ico svg { width: 24px; height: 24px; }
.bg-streak { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .75rem; border-radius: 999px; background: #E8B04B; color: #3B2500; font-weight: 700; font-size: .9rem; }
.bg-streak svg { width: 18px; height: 18px; }
.bg-daily__q { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.35; margin: 1.1rem 0 .9rem; }
.bg-daily .bg-opt { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.bg-daily .bg-opt:hover:not(:disabled) { background: rgba(255,255,255,.2); }
.bg-daily .bg-opt__k { background: rgba(255,255,255,.18); color: #fff; }
.bg-daily .bg-feedback { color: #fff; }
.bg-daily .bg-ref { background: rgba(255,255,255,.16); color: #fff; }
.bg-muted { opacity: .8; }
.bg-hub__title { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0 0 1rem; }
.bg-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 1rem; }
.bg-card { width: 100%; height: 100%; text-align: left; display: grid; align-content: start; gap: .35rem; padding: 1.2rem 1.25rem; border-radius: 20px; border: 1px solid #E3E6EE; background: #fff; color: var(--ink); font: inherit; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.bg-card:hover, .bg-card:focus-visible { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(20,28,63,.6); border-color: #C9CEDD; }
.bg-card strong { font-family: var(--serif); font-size: 1.25rem; color: var(--night); }
.bg-card__desc { color: var(--muted); font-size: .95rem; line-height: 1.45; }
.bg-card__meta { margin-top: .35rem; font-size: .85rem; font-weight: 700; color: var(--ember); }
.bg-card__best { color: #2E7D4F; }
.bg-card__ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--flame); margin-bottom: .35rem; }
.bg-card__ico svg { width: 24px; height: 24px; }
.bg-card--who .bg-card__ico { background: #2B3C82; } .bg-card--verse .bg-card__ico { background: #2E7D4F; } .bg-card--tf .bg-card__ico { background: #B7791F; } .bg-card--song .bg-card__ico { background: #6B3FA0; } .bg-card--order .bg-card__ico { background: #1C7C8C; }
.bg-hub__note { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .92rem; margin-top: 1.2rem; }
.bg-hub__note .ico { width: 18px; height: 18px; color: #B7791F; flex: none; }
.bg-back { display: inline-flex; align-items: center; gap: .35rem; border: 0; background: none; padding: .3rem 0; color: var(--indigo-2); font: 600 .95rem var(--sans); cursor: pointer; }
.bg-back .ico { width: 18px; height: 18px; }
.bg-setup h2 { margin: .4rem 0 .2rem; }
.bg-setup__desc { color: var(--muted); margin: 0 0 1.2rem; }
.bg-fs { border: 0; padding: 0; margin: 0 0 1.1rem; min-width: 0; }
.bg-fs legend { font-weight: 700; margin-bottom: .5rem; padding: 0; }
.bg-quick { display: flex; flex-wrap: wrap; gap: .45rem; }
.bg-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .45rem .85rem; border-radius: 999px; border: 1px solid #D5D9E5; background: #fff; color: var(--ink); font: 600 .9rem var(--sans); cursor: pointer; }
.bg-chip small { color: var(--muted); font-weight: 600; }
.bg-chip:hover:not(:disabled) { border-color: var(--indigo-2); }
.bg-chip.is-on { background: var(--night); border-color: var(--night); color: #fff; }
.bg-chip.is-on small { color: rgba(255,255,255,.75); }
.bg-chip:disabled { opacity: .45; cursor: default; }
.bg-books { margin-top: .8rem; border: 1px solid #E3E6EE; border-radius: 14px; padding: .2rem .9rem; }
.bg-books summary { cursor: pointer; font-weight: 700; padding: .55rem 0; color: var(--indigo-2); }
.bg-books__g { margin: .3rem 0 .8rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.bg-books__g p { flex-basis: 100%; margin: 0 0 .15rem; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.bg-chip--book { padding: .3rem .65rem; font-size: .84rem; }
.bg-setup__row { display: flex; flex-wrap: wrap; gap: 0 2rem; }
.bg-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid #D5D9E5; border-radius: 12px; overflow: hidden; }
.bg-seg label { position: relative; cursor: pointer; }
.bg-seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.bg-seg span { display: block; padding: .5rem .95rem; font-weight: 600; font-size: .92rem; border-right: 1px solid #E3E6EE; }
.bg-seg label:last-child span { border-right: 0; }
.bg-seg input:checked + span { background: var(--night); color: #fff; }
.bg-seg input:focus-visible + span { outline: 2px solid var(--flame); outline-offset: -2px; }
.bg-avail { color: var(--muted); margin: .2rem 0 1rem; }
.bg-start { min-width: 180px; }
.bg-play__top { display: flex; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; font-weight: 600; }
.bg-play__count { margin-left: auto; color: var(--muted); }
.bg-play__score { color: #2E7D4F; }
.bg-timer { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; border-radius: 999px; background: #F1F3F8; }
.bg-timer .ico { width: 16px; height: 16px; }
.bg-timer.is-low { background: #FCEDEF; color: #9B1C2E; }
.bg-progress { height: 8px; border-radius: 99px; background: #EEF0F5; overflow: hidden; margin: .8rem 0 1.4rem; }
.bg-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--indigo-2), var(--flame)); border-radius: inherit; transition: width .4s ease; }
.bg-play__book { margin: 0 0 .35rem; font-size: .85rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ember); min-height: 1.2em; }
.bg-play__q { font-size: clamp(1.3rem, 3vw, 1.85rem); line-height: 1.3; margin: 0 0 1.3rem; outline: 0; }
.bg-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: .65rem; }
.bg-opt { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .85rem 1rem; border-radius: 14px; border: 1.5px solid #D5D9E5; background: #fff; color: var(--ink); font: 600 1rem/1.35 var(--sans); text-align: left; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.bg-opt:hover:not(:disabled) { border-color: var(--indigo-2); transform: translateY(-1px); }
.bg-opt:disabled { cursor: default; }
.bg-opt__k { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #EEF0F5; color: var(--night); font-size: .85rem; }
.bg-opt.is-right { border-color: #2E7D4F; background: #E8F5EE; color: #17402A; }
.bg-opt.is-right .bg-opt__k { background: #2E7D4F; color: #fff; }
.bg-opt.is-wrong { border-color: #B3261E; background: #FCEDEF; color: #6A1410; animation: bgShake .35s ease; }
.bg-opt.is-wrong .bg-opt__k { background: #B3261E; color: #fff; }
.bg-daily .bg-opt.is-right { background: #E8F5EE; color: #17402A; }
.bg-daily .bg-opt.is-wrong { background: #FCEDEF; color: #6A1410; }
.bg-after { margin-top: 1.2rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between; }
.bg-feedback { margin: 0; flex: 1 1 280px; min-width: 0; line-height: 1.5; }
.bg-ref { display: inline-block; margin-left: .2rem; padding: .05rem .5rem; border-radius: 99px; background: #EEF0F5; color: var(--night); font-size: .82rem; font-weight: 700; white-space: nowrap; }
.bg-order__done { list-style: none; counter-reset: bo; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1rem; min-height: 2.6rem; }
.bg-order__done li { counter-increment: bo; padding: .45rem .8rem; border-radius: 999px; background: #E8F5EE; color: #17402A; font-weight: 700; font-size: .92rem; }
.bg-order__done li::before { content: counter(bo) ". "; }
.bg-order__pool { display: flex; flex-wrap: wrap; gap: .55rem; }
.bg-chip--big { padding: .7rem 1.1rem; font-size: 1rem; border-width: 1.5px; }
.bg-chip.is-shake { animation: bgShake .35s ease; border-color: #B3261E; }
@keyframes bgShake { 0%, 100% { translate: 0; } 25% { translate: -6px; } 75% { translate: 6px; } }
.bg-result { text-align: center; }
.bg-result h2 { margin: .6rem 0 .3rem; outline: 0; }
.bg-result__score { font-size: 1.1rem; color: var(--muted); margin: 0 0 1.3rem; }
.bg-badge { display: inline-grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: #EEF0F5; color: var(--night); }
.bg-badge svg { width: 44px; height: 44px; }
.bg-badge--ok { background: linear-gradient(135deg, #F6D27A, #E8B04B); color: #5A3A00; box-shadow: 0 16px 34px -16px rgba(183,121,31,.8); animation: bgPop .6s cubic-bezier(.2,1.6,.4,1); }
@keyframes bgPop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.bg-result__acts { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.bg-cert-form { max-width: 520px; margin: 1.5rem auto 0; text-align: left; padding: 1rem 1.1rem; border-radius: 16px; background: #FFF8E8; border: 1px solid #F1DDAF; }
.bg-cert-form label { display: block; font-weight: 700; margin-bottom: .45rem; }
.bg-cert-form__row { display: flex; gap: .5rem; flex-wrap: wrap; }
.bg-cert-form__row input { flex: 1 1 200px; min-width: 0; }
.bg-review { text-align: left; margin-top: 2rem; }
.bg-review ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.bg-review li { display: grid; gap: .2rem; padding: .8rem 1rem; border-radius: 14px; background: #F6F7FA; }
.bg-review b { color: #2E7D4F; }
.bg-review small { color: var(--muted); }
.bg-review .bg-ref { justify-self: start; margin: 0; }
.bg-cert { display: none; }
.bg-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.bg-confetti i { position: absolute; top: -12px; width: 9px; height: 14px; border-radius: 2px; animation: bgFall 2.6s cubic-bezier(.3,.6,.5,1) forwards; }
@keyframes bgFall { to { top: 105%; translate: 0 0; rotate: 540deg; } }
@media (max-width: 700px) { .bg-daily { padding: 1.1rem 1.1rem 1rem; border-radius: 18px; } .bg-play__count { margin-left: 0; } .bg-after .btn { width: 100%; } }
@media print {
  body.bg-printing > *:not(main), body.bg-printing main > *:not(.bg), body.bg-printing .bg > *:not(.bg-cert) { display: none !important; }
  body.bg-printing .bg-cert { display: block !important; }
  .bg-cert__in { border: 6px double #7A1517; padding: 2.2rem 2rem; text-align: center; font-family: Georgia, serif; color: #141C3F; }
  .bg-cert__in img { width: 80px; height: auto; }
  .bg-cert__k { font-size: 26pt; letter-spacing: .06em; text-transform: uppercase; color: #7A1517; margin: .6rem 0 1rem; }
  .bg-cert__name { font-size: 30pt; font-style: italic; border-bottom: 1px solid #999; display: inline-block; min-width: 60%; margin: .4rem 0 .8rem; }
  .bg-cert__verse { font-style: italic; color: #555; margin-top: 1.4rem; }
  .bg-cert__by { margin-top: 1.4rem; font-size: 10pt; color: #555; }
}

/* Bible Activities admin */
.bga-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0 1rem; }
.bga-ans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0 1rem; }
.bga-ans label .ico { width: 16px; height: 16px; vertical-align: -3px; }
.bga-ans__ok label { color: #2E7D4F; }
.bga-ans [hidden], .bga-tf[hidden] { display: none; }
.bga-tf { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.bga-tf legend { font-weight: 700; margin-bottom: .4rem; padding: 0; }
.bga-edit { border: 2px solid var(--indigo-2); }
.bga-counts { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.bga-counts .bg-chip { text-decoration: none; }
.bga-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin: .4rem 0 1rem; align-items: center; }
.bga-filter select, .bga-filter input { width: auto; min-width: 0; flex: 1 1 150px; }
.bga-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.bga-row { display: flex; gap: .8rem; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: .75rem .9rem; border: 1px solid #E3E6EE; border-radius: 14px; background: #fff; }
.bga-row.is-off { background: #F7F7FA; border-style: dashed; }
.bga-row__main { display: grid; gap: .2rem; flex: 1 1 320px; min-width: 0; }
.bga-row__main small { color: #5A6170; }
.bga-row__a { display: flex; align-items: center; gap: .3rem; color: #2E7D4F; font-weight: 700; font-size: .92rem; flex-wrap: wrap; }
.bga-row__a .ico { width: 16px; height: 16px; }
.bga-row__w { color: #6A6F7C; font-weight: 400; }
.bga-row__acts { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.bga-row__acts form { margin: 0; }
.bga-tag { display: inline-block; padding: 0 .45rem; border-radius: 99px; background: #EEF0F5; color: var(--night); font-weight: 700; }
.bga-pages { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.bga-pages .bg-chip { text-decoration: none; min-width: 2.4rem; justify-content: center; }
.bga-h3 { margin: 1.2rem 0 .6rem; }
.bga-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: .8rem; }
.bga-mode { border: 1px solid #E3E6EE; border-radius: 14px; padding: .7rem .9rem; margin: 0; min-width: 0; }
.bga-mode legend { padding: 0 .3rem; font-weight: 700; }
.bga-mode .form__check { display: flex; margin: .2rem 0; }
.bga-table { overflow-x: auto; }
.bga-table table { border-collapse: collapse; min-width: 640px; width: 100%; font-size: .92rem; }
.bga-table th, .bga-table td { padding: .5rem .6rem; border-bottom: 1px solid #E3E6EE; text-align: left; vertical-align: top; }
.bga-table td small { display: block; color: #5A6170; }
/* Bible Activities: more activities */
.bg-hub__title .ico { width: 24px; height: 24px; vertical-align: -4px; color: #B7791F; }
.bg-hub__title { margin-top: 2rem; }
.bg-hub > .bg-hub__title:first-of-type, .bg-daily + .bg-hub__title, .bg-mv + .bg-hub__title { margin-top: 0; }
.bg-cards--feature { grid-template-columns: minmax(0, 1fr); margin-bottom: 2rem; }
.bg-cards--feature .bg-card { background: linear-gradient(135deg, #FFF8E8, #fff 60%); border-color: #F1DDAF; }
.bg-card--weekly .bg-card__ico { background: #B7791F; } .bg-card--char .bg-card__ico { background: #8E2E2B; } .bg-card--place .bg-card__ico { background: #2F6E9E; }
.bg-card--kids .bg-card__ico { background: #E86A33; } .bg-card--speed .bg-card__ico { background: #C2410C; } .bg-card--memory .bg-card__ico { background: #4C7A2B; } .bg-card--plan .bg-card__ico { background: #3B4E9C; }
.bg-mv { display: flex; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; justify-content: space-between; padding: 1.2rem 1.4rem; margin: 0 0 2rem; border-radius: 20px; background: #F2F7EE; border: 1px solid #D6E6CB; }
.bg-mv > div { flex: 1 1 360px; min-width: 0; }
.bg-mv__k { display: flex; align-items: center; gap: .4rem; margin: 0 0 .4rem; font-weight: 700; color: #4C7A2B; font-size: .92rem; text-transform: uppercase; letter-spacing: .05em; }
.bg-mv__k .ico { width: 18px; height: 18px; }
.bg-mv__v { margin: 0; padding: 0; border: 0; }
.bg-mv__v p { margin: 0 0 .3rem; font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.3rem); line-height: 1.45; color: var(--night); }
.bg-mv__v cite { font-style: normal; font-weight: 700; color: #4C7A2B; }
.bg-mv__v--plain { max-width: 620px; margin: 1.5rem auto 0; text-align: center; }
.bg-board { margin-top: 2.2rem; padding: 1.2rem 1.3rem; border-radius: 20px; border: 1px solid #E3E6EE; background: #fff; }
.bg-board .bg-hub__title { margin-top: 0; }
.bg-board__tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.bg-board__list { list-style: none; counter-reset: bb; margin: 0; padding: 0; display: grid; gap: .35rem; }
.bg-board__list li { counter-increment: bb; display: flex; align-items: center; gap: .7rem; padding: .55rem .8rem; border-radius: 12px; background: #F6F7FA; }
.bg-board__list li::before { content: counter(bb); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #E3E6EE; font-weight: 700; font-size: .85rem; }
.bg-board__list li:nth-child(1)::before { background: #E8B04B; color: #3B2500; } .bg-board__list li:nth-child(2)::before { background: #C9CED8; } .bg-board__list li:nth-child(3)::before { background: #D9A37A; }
.bg-board__list li.bg-board__empty { color: var(--muted); } .bg-board__list li.bg-board__empty::before { display: none; }
.bg-board__n { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bg-board__s { color: #2E7D4F; font-weight: 700; white-space: nowrap; }
.bg-board__note { margin: .7rem 0 0; color: var(--muted); font-size: .88rem; }
.bg-clues { margin: 0 0 1rem; padding-left: 1.4rem; display: grid; gap: .45rem; font-size: 1.1rem; line-height: 1.45; }
.bg-clues li { animation: bgPop .35s ease; }
.bg-clue-btn { margin-top: .9rem; }
.bg-clue-btn .ico { width: 18px; height: 18px; }
.bg-play__q:empty { display: none; }
.bg--kids .bg-play__q { font-size: clamp(1.5rem, 4vw, 2.1rem); }
.bg--kids .bg-opt { padding: 1.1rem 1.1rem; font-size: 1.15rem; border-radius: 18px; }
.bg--kids .bg-opt:nth-child(1) .bg-opt__k { background: #E86A33; color: #fff; } .bg--kids .bg-opt:nth-child(2) .bg-opt__k { background: #2F6E9E; color: #fff; } .bg--kids .bg-opt:nth-child(3) .bg-opt__k { background: #4C7A2B; color: #fff; } .bg--kids .bg-opt:nth-child(4) .bg-opt__k { background: #6B3FA0; color: #fff; }
.bg-memory__help { color: var(--muted); margin: -.6rem 0 1rem; }
.bg-memory__text { font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.5rem); line-height: 1.9; margin: 0 0 1.2rem; padding: 1rem 1.2rem; border-radius: 16px; background: #F6F7FA; }
.bg-memory__text .is-filled { color: #2E7D4F; font-weight: 700; }
.bg-blank { color: #B9BECB; letter-spacing: .05em; }
.bg-blank.is-next { color: var(--flame); }
.bg-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: .8rem; }
.bg-plan__opt { display: grid; gap: .3rem; text-align: left; padding: 1rem 1.1rem; border-radius: 16px; border: 1.5px solid #D5D9E5; background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.bg-plan__opt:hover { border-color: var(--indigo-2); }
.bg-plan__opt strong { font-family: var(--serif); font-size: 1.15rem; color: var(--night); }
.bg-plan__opt span { color: var(--muted); font-size: .92rem; }
.bg-plan__stats { display: flex; gap: 1rem; flex-wrap: wrap; font-weight: 700; margin-top: .4rem; }
.bg-plan__stats span:last-child { color: #C2410C; }
.bg-plan__today { padding: 1.2rem 1.3rem; border-radius: 18px; background: #F2F4FB; border: 1px solid #DCE1F1; }
.bg-plan__k { margin: 0 0 .5rem; font-weight: 700; color: var(--ember); }
.bg-plan__read { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.bg-plan__read a { display: inline-block; padding: .55rem 1rem; border-radius: 12px; background: #fff; border: 1px solid #D5D9E5; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--night); text-decoration: none; }
.bg-plan__read a:hover { border-color: var(--indigo-2); }
.bg-plan__next { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.bg-plan__next li { padding: .5rem .8rem; border-radius: 10px; background: #F6F7FA; }
.bg-plan__next span { font-weight: 700; margin-right: .6rem; color: var(--muted); }
.bg-plan__foot { margin-top: 1.2rem; }
.bg-join { max-width: 520px; margin: 1.5rem auto 0; text-align: left; padding: 1rem 1.1rem; border-radius: 16px; background: #F2F4FB; border: 1px solid #DCE1F1; }
.bg-join label { display: flex; align-items: center; gap: .4rem; font-weight: 700; margin-bottom: .45rem; }
.bg-join label .ico { width: 18px; height: 18px; color: #B7791F; flex: none; }
.bg-join__msg { margin: .5rem 0 0; font-weight: 700; color: #2E7D4F; min-height: 1.2em; }
.bg-join[hidden], .bg-cert-form[hidden] { display: none; }
.bga-board { margin: 0; padding-left: 1.3rem; display: grid; gap: .3rem; }
.bga-board li > * { vertical-align: middle; }
.bga-board li { padding: .2rem 0; }
.bga-board li form { display: inline; margin-left: .4rem; }

/* Home page: invitation to Bible Activities (in Media & Resources) */
.bg-promo { position: relative; display: grid; gap: .55rem; margin: .4rem 0 1.1rem; padding: 1.35rem 1.4rem 1.3rem; border-radius: 22px; overflow: hidden; isolation: isolate; text-decoration: none; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, rgba(232,176,75,.45), transparent 55%), linear-gradient(135deg, #1E2A5E 0%, #2B3C82 55%, #7A1517 100%);
  box-shadow: 0 22px 44px -26px rgba(20,28,63,.85); transition: transform .25s ease, box-shadow .25s ease; }
.bg-promo:hover, .bg-promo:focus-visible { color: #fff; transform: translateY(-3px); box-shadow: 0 28px 52px -24px rgba(20,28,63,.9); }
.bg-promo::after { content: ""; position: absolute; z-index: -1; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); }
.bg-promo__art { position: absolute; top: 1rem; right: 1rem; display: flex; gap: .35rem; z-index: -1; opacity: .9; }
.bg-promo__art > span { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); animation: bgFloat 4s ease-in-out infinite; }
.bg-promo__art > span:nth-child(2) { animation-delay: .6s; background: rgba(232,176,75,.3); } .bg-promo__art > span:nth-child(3) { animation-delay: 1.2s; }
.bg-promo__art svg { width: 20px; height: 20px; }
@keyframes bgFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.bg-promo__k { display: inline-flex; align-items: center; gap: .35rem; justify-self: start; padding: .25rem .65rem; border-radius: 999px; background: rgba(232,176,75,.95); color: #3B2500; font: 700 .78rem var(--sans); letter-spacing: .03em; text-transform: uppercase; }
.bg-promo__k .ico { width: 14px; height: 14px; }
.bg-promo__t { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.2; padding-right: 7.5rem; color: #fff; }
.bg-promo__x { color: rgba(255,255,255,.88); line-height: 1.5; font-size: .98rem; }
.bg-promo__chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.bg-promo__chips span { padding: .2rem .6rem; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); font-size: .8rem; font-weight: 600; }
.bg-promo__btn { justify-self: start; display: inline-flex; align-items: center; gap: .45rem; margin-top: .3rem; padding: .7rem 1.2rem; border-radius: 999px; background: #fff; color: var(--flame); font: 700 .98rem var(--sans); box-shadow: 0 10px 22px -12px rgba(0,0,0,.6); }
.bg-promo__btn .ico { width: 18px; height: 18px; transition: transform .2s ease; }
.bg-promo:hover .bg-promo__btn .ico { transform: translateX(4px); }
@media (max-width: 520px) { .bg-promo__t { padding-right: 0; } .bg-promo__art { position: static; order: -1; } .bg-promo__btn { justify-self: stretch; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .bg-promo__art > span { animation: none; } }
.bg-promo__x, .bg-promo__chips span { font-family: var(--sans); }

/* Programme cards: one line at the top, buttons at the bottom, month changes in a pop-up */
.pc { display: flex; flex-direction: column; }
.pc__body { flex: 1 1 auto; }
.pc__bottom { margin-top: auto; }
.pc__top { flex-wrap: nowrap; overflow: hidden; }
.pc__top > * { flex: none; }
.pc__top .pc__kind { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.pc__next { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35rem; }
.pc__info { position: relative; display: inline-flex; }
.pc__infobtn { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border: 0; border-radius: 999px; background: #E8B04B; color: #2B1C00; font: 700 .78rem var(--sans); cursor: pointer; }
.pc__infobtn .ico { width: 14px; height: 14px; }
.pc__pop { position: absolute; z-index: 5; bottom: calc(100% + 8px); left: 50%; translate: -50% 0; width: max-content; max-width: min(280px, 78vw); display: none; gap: .45rem; padding: .7rem .8rem; border-radius: 12px; background: #fff; color: #141C3F; text-align: left; font-size: .85rem; font-weight: 500; line-height: 1.4; white-space: normal; box-shadow: 0 16px 34px -14px rgba(10,15,40,.55); }
.pc__pop::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -7px; border: 7px solid transparent; border-top-color: #fff; }
/* the pop-up is placed against the whole row (.pc__next), which always lies inside the card, so it can never be cut off; only its arrow follows the button (--arrow-x, set by main.js) */
.pc__next { position: relative; }
.pc__next > .pc__info { position: static; }
.pc__pop { left: 50%; translate: -50% 0; max-width: min(280px, 100%); }
.pc__pop::after { left: var(--arrow-x, 50%); }
.pc__info.is-open .pc__pop { display: grid; }
.pc__popline { display: flex; gap: .45rem; align-items: flex-start; }
.pc__popline .ico { flex: none; width: 16px; height: 16px; margin-top: .1rem; color: #8E1B2B; }
.app-notice--push { overflow: hidden; }
.app-notice--push.is-in::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--flame); transform-origin: left; animation: pushBar 3s linear forwards; }
@keyframes pushBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.app-notice { font-family: var(--sans); }
.sheet__url { width: 100%; font-size: .85rem; }

/* Link picker (admin) */
.lp-wrap { display: flex; gap: .4rem; align-items: stretch; min-width: 0; }
.lp-wrap > input { flex: 1 1 auto; min-width: 0; }
.lp-btn { flex: none; display: inline-flex; align-items: center; gap: .3rem; padding: 0 .75rem; border: 1px solid #C9CEDD; border-radius: 10px; background: #F4F6FB; color: var(--night); font: 600 .88rem var(--sans); cursor: pointer; }
.lp-btn:hover { border-color: var(--indigo-2); background: #fff; }
.lp-hint { display: block; color: #2E7D4F; font-weight: 600; font-size: .82rem; margin-top: .2rem; }
.lp-hint:empty { display: none; }
.lp { width: min(640px, calc(100vw - 24px)); max-height: min(88vh, 760px); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(10,15,40,.6); }
.lp::backdrop { background: rgba(15,20,45,.5); }
.lp__in { display: flex; flex-direction: column; gap: .7rem; padding: 1.1rem 1.2rem 1.2rem; max-height: inherit; font-family: var(--sans); }
.lp__head { display: flex; align-items: center; justify-content: space-between; }
.lp__head h2 { margin: 0; font-size: 1.3rem; }
.lp__x { border: 0; background: none; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--muted); }
.lp__tabs { display: flex; gap: .4rem; flex-wrap: wrap; }
.lp__tabs button { padding: .45rem .8rem; border-radius: 999px; border: 1px solid #D5D9E5; background: #fff; font: 600 .88rem var(--sans); cursor: pointer; }
.lp__tabs button.is-on { background: var(--night); border-color: var(--night); color: #fff; }
.lp__pane { display: flex; flex-direction: column; gap: .45rem; min-height: 0; }
.lp__pane[hidden] { display: none; }
.lp__pane small { color: var(--muted); }
.lp__search { width: 100%; }
.lp__list { overflow: auto; max-height: 42vh; border: 1px solid #E3E6EE; border-radius: 12px; padding: .3rem; }
.lp__g { margin: .5rem .4rem .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ember); }
.lp__item { display: grid; width: 100%; text-align: left; padding: .45rem .6rem; border: 0; border-radius: 9px; background: none; cursor: pointer; font: inherit; }
.lp__item strong { font-weight: 600; font-size: .95rem; color: var(--ink); }
.lp__item small { color: var(--muted); font-size: .78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp__item:hover { background: #F4F6FB; }
.lp__item.is-on { background: #E8EDFB; box-shadow: inset 3px 0 0 var(--indigo-2); }
.lp__empty { color: var(--muted); padding: .6rem; margin: 0; }
.lp__chosen { margin: 0; font-size: .88rem; min-height: 1.2em; word-break: break-all; }
.lp__err { color: #B3261E; font-weight: 600; }
.lp__tab { border: 0; padding: 0; margin: 0; display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; min-width: 0; }
.lp__tab legend { font-weight: 700; margin-bottom: .3rem; padding: 0; }
.lp__tab label { display: inline-flex; align-items: center; gap: .35rem; }
.lp__btns { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ===== Bible Activities page v3: section menu, Today, featured, sections ===== */
.bg-nav { position: sticky; top: calc(var(--top-h, 70px) + 6px); z-index: 20; display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .45rem; margin: -.4rem 0 1.6rem; border-radius: 999px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 26px -18px rgba(20,28,63,.6); border: 1px solid #E3E6EE; }
.bg-nav::-webkit-scrollbar { display: none; }
.bg-nav a { flex: none; display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .95rem; border-radius: 999px; color: var(--night); font: 600 .92rem var(--sans); text-decoration: none; }
.bg-nav a:hover { background: #F1F3F9; }
.bg-nav .ico { width: 17px; height: 17px; color: var(--flame); }
.bg-nav__kids { background: linear-gradient(135deg, #FFE082, #FFAB91); }
.bg-nav__kids .ico { color: #6A1B9A; }
.bg-sec, .kz, .bg-board, .bg-today, .bg-feature { scroll-margin-top: calc(var(--top-h, 70px) + 80px); }
.bg-today { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 1.2rem; margin-bottom: 2.2rem; align-items: stretch; }
.bg-today--one { grid-template-columns: minmax(0, 1fr); }
.bg-today .bg-daily, .bg-today .bg-mv { margin: 0; }
.bg-today .bg-mv { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.bg-today .bg-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 420px) { .bg-today .bg-opts { grid-template-columns: minmax(0, 1fr); } }
.bg-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.2rem; margin-bottom: 2.2rem; }
.bg-feature .bg-cards--feature { margin: 0; }
.bg-comp { position: relative; overflow: hidden; display: grid; gap: .45rem; align-content: start; text-align: left; padding: 1.3rem 1.4rem; border: 0; border-radius: 22px; cursor: pointer; color: #fff; font: inherit;
  background: radial-gradient(110% 90% at 100% 0%, rgba(255,215,64,.55), transparent 55%), linear-gradient(135deg, #7A1517, #B71C1C 55%, #E65100); box-shadow: 0 22px 44px -26px rgba(122,21,23,.9); transition: transform .2s ease; }
.bg-comp:hover { transform: translateY(-3px); }
.bg-comp__badge { justify-self: start; display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; background: #FFD740; color: #3B2500; font: 700 .78rem var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.bg-comp__badge .ico { width: 15px; height: 15px; }
.bg-comp strong { font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.2; }
.bg-comp__x { color: rgba(255,255,255,.9); line-height: 1.45; }
.bg-comp__meta { font-size: .85rem; font-weight: 600; opacity: .9; }
.bg-comp__go { justify-self: start; display: inline-flex; align-items: center; gap: .4rem; margin-top: .3rem; padding: .6rem 1.1rem; border-radius: 999px; background: #fff; color: #B71C1C; font-weight: 700; }
.bg-comp__go .ico { width: 18px; height: 18px; }
.bg-sec { margin-bottom: 2.4rem; }
.bg-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.bg-sec__head .bg-hub__title { margin: 0; }
.bg-sec__head p { margin: 0; color: var(--muted); }
.bg-hub__title { margin-top: 0; }
.bg-card { position: relative; overflow: hidden; }
.bg-card::after { content: "Play"; position: absolute; right: 1rem; bottom: 1rem; padding: .25rem .7rem; border-radius: 999px; background: #F1F3F9; color: var(--night); font: 700 .78rem var(--sans); transition: background .2s ease, color .2s ease; }
.bg-card:hover::after, .bg-card:focus-visible::after { background: var(--flame); color: #fff; }
.bg-card__meta { padding-right: 3.5rem; color: var(--muted); font-weight: 600; }
.bg-card--scag .bg-card__ico { background: linear-gradient(135deg, #1E2A5E, #7A1517); }
.bg-cf__rules { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .45rem; }
.bg-cf__rules li { display: flex; align-items: center; gap: .5rem; }
.bg-cf__rules .ico { width: 18px; height: 18px; color: #2E7D4F; flex: none; }
.bg-cf { display: grid; gap: .4rem; max-width: 520px; }
.bg-cf .form__check { align-items: flex-start; margin: .3rem 0 .6rem; }
.bg-opt.is-picked { border-color: var(--indigo-2); background: #E8EDFB; }
.bg-review li.is-ok { border-left: 4px solid #2E7D4F; } .bg-review li.is-no { border-left: 4px solid #B3261E; }
@media (max-width: 820px) { .bg-today { grid-template-columns: minmax(0, 1fr); } }

/* ===== Kids Zone ===== */
.kz { position: relative; margin: 0 0 2.4rem; padding: 1.5rem 1.4rem 1.6rem; border-radius: 28px; background: linear-gradient(160deg, #FFF8E1 0%, #FCE4EC 45%, #E3F2FD 100%); border: 3px solid #FFE082; overflow: hidden; }
.kz__head { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; margin-bottom: 1.2rem; }
.kz__head h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.3rem); color: #6A1B9A; letter-spacing: .01em; }
.kz__head p { flex-basis: 100%; margin: 0; color: #4A3B5C; font-size: 1.05rem; }
.kz__sound { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .85rem; border: 2px solid #CE93D8; border-radius: 999px; background: #fff; color: #6A1B9A; font: 700 .85rem var(--sans); cursor: pointer; }
.kz__sound .ico { width: 18px; height: 18px; }
.kz__sound.is-off { opacity: .6; }
.kz__bubbles { position: absolute; inset: -30px -10px auto auto; width: 220px; height: 120px; pointer-events: none; }
.kz__bubbles i { position: absolute; border-radius: 50%; opacity: .45; animation: kzFloat 6s ease-in-out infinite; }
.kz__bubbles i:nth-child(1) { width: 60px; height: 60px; right: 20px; top: 20px; background: #FFAB91; }
.kz__bubbles i:nth-child(2) { width: 34px; height: 34px; right: 100px; top: 50px; background: #81D4FA; animation-delay: 1s; }
.kz__bubbles i:nth-child(3) { width: 24px; height: 24px; right: 150px; top: 10px; background: #A5D6A7; animation-delay: 2s; }
.kz__bubbles i:nth-child(4) { width: 44px; height: 44px; right: 60px; top: 80px; background: #CE93D8; animation-delay: 3s; }
.kz__bubbles i:nth-child(5) { width: 18px; height: 18px; right: 190px; top: 70px; background: #FFE082; animation-delay: 1.5s; }
@keyframes kzFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.kz__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: .9rem; }
.kz-card { width: 100%; height: 100%; display: grid; justify-items: center; align-content: start; gap: .35rem; padding: 1.1rem .9rem 1rem; border: 0; border-radius: 22px; background: #fff; box-shadow: 0 8px 0 -2px rgba(106,27,154,.12), 0 14px 28px -18px rgba(106,27,154,.45); font: inherit; text-align: center; color: #3A2350; cursor: pointer; transition: transform .2s cubic-bezier(.2,1.6,.4,1); }
.kz-card:hover, .kz-card:focus-visible { transform: translateY(-4px) rotate(-1deg); }
.kz-card__art { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; line-height: 1; background: #FFF3E0; }
.kz-card--pic .kz-card__art { background: #E8F5E9; } .kz-card--kids .kz-card__art { background: #FFFDE7; } .kz-card--match .kz-card__art { background: #E3F2FD; } .kz-card--catch .kz-card__art { background: #E0F7FA; } .kz-card--slide .kz-card__art { background: #F3E5F5; } .kz-card--words .kz-card__art { background: #FCE4EC; }
.kz-card strong { font-family: var(--sans); font-size: 1.12rem; font-weight: 800; color: #6A1B9A; }
.kz-card span:last-child { font-size: .9rem; color: #5B4A6E; line-height: 1.35; }
.kz-panel { max-width: 900px; }
.kz-top { display: flex; align-items: center; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.kz-top h2 { margin: 0; color: #6A1B9A; font-size: clamp(1.5rem, 3.5vw, 2rem); outline: 0; }
.kz-help { color: #4A3B5C; font-size: 1.05rem; margin: 0 0 1rem; }
.kz-say { min-height: 1.6em; margin: 1rem 0 0; text-align: center; font: 800 1.35rem var(--sans); }
.kz-say.is-in { animation: kzSay .5s cubic-bezier(.2,1.6,.4,1); }
.kz-say--ok { color: #2E7D32; } .kz-say--no { color: #C62828; }
@keyframes kzSay { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.kz-wobble { animation: kzWobble .5s ease; }
@keyframes kzWobble { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-10px) rotate(-3deg); } 40% { transform: translateX(10px) rotate(3deg); } 60% { transform: translateX(-6px); } 80% { transform: translateX(6px); } }
.kz-burst { position: fixed; z-index: 95; width: 0; height: 0; pointer-events: none; }
.kz-burst i { position: absolute; font-style: normal; font-size: 26px; animation: kzBurst 1s ease-out forwards; }
@keyframes kzBurst { from { transform: translate(-50%, -50%) scale(.3); opacity: 1; } to { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1.2); opacity: 0; } }
.kz-done { margin: 1.5rem auto 0; max-width: 460px; text-align: center; padding: 1.4rem; border-radius: 24px; background: #FFFDE7; border: 3px solid #FFE082; }
.kz-done__star { font-size: 4rem; animation: bgPop .7s cubic-bezier(.2,1.6,.4,1); }
.kz-done h3 { margin: .3rem 0; color: #6A1B9A; font-size: 1.6rem; }
.kz-done__btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: .8rem; }
.kz-prog { display: flex; gap: .35rem; justify-content: center; margin-bottom: 1rem; }
.kz-prog i { width: 14px; height: 14px; border-radius: 50%; background: #E1BEE7; }
.kz-prog i.is-done { background: #66BB6A; } .kz-prog i.is-now { background: #FFB300; transform: scale(1.25); }
.kz-stat { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; font: 800 1.1rem var(--sans); color: #4A3B5C; margin-bottom: .8rem; }
/* who is it */
.kz-who { text-align: center; }
.kz-who__pic { font-size: clamp(4.5rem, 16vw, 7rem); line-height: 1.1; letter-spacing: .1em; }
.kz-pop { animation: bgPop .6s cubic-bezier(.2,1.6,.4,1); }
.kz-who__clue { font-size: 1.2rem; color: #4A3B5C; margin: .4rem 0 1.2rem; font-weight: 600; }
.kz-big { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: .8rem; max-width: 720px; margin: 0 auto; }
.kz-opt { padding: 1.1rem 1rem; border: 0; border-radius: 20px; font: 800 1.3rem var(--sans); color: #fff; cursor: pointer; box-shadow: 0 6px 0 rgba(0,0,0,.18); transition: transform .15s ease; }
.kz-opt:active { transform: translateY(3px); box-shadow: 0 3px 0 rgba(0,0,0,.18); }
.kz-opt--0 { background: #EF6C00; } .kz-opt--1 { background: #1E88E5; } .kz-opt--2 { background: #43A047; }
.kz-opt.is-right { background: #2E7D32; outline: 5px solid #FFD54F; }
.kz-opt.is-wrong { background: #BDBDBD; }
/* colouring */
.kz-sheets { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: .8rem; }
.kz-sheet { flex: none; width: 74px; padding: 3px; border: 3px solid transparent; border-radius: 12px; background: #fff; cursor: pointer; }
.kz-sheet img { display: block; width: 100%; height: auto; border-radius: 8px; }
.kz-sheet.is-on { border-color: #AB47BC; }
.kz-col__tools { display: grid; gap: .6rem; margin-bottom: .7rem; }
.kz-pal { display: flex; flex-wrap: wrap; gap: .4rem; }
.kz-sw { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #D0D4DE; cursor: pointer; }
.kz-sw.is-on { box-shadow: 0 0 0 3px #6A1B9A; transform: scale(1.12); }
.kz-tools { display: flex; flex-wrap: wrap; gap: .4rem; }
.kz-tool { padding: .5rem .85rem; border-radius: 999px; border: 2px solid #E1BEE7; background: #fff; font: 700 .95rem var(--sans); color: #4A2A63; cursor: pointer; }
.kz-tool.is-on { background: #6A1B9A; border-color: #6A1B9A; color: #fff; }
.kz-canvas { border-radius: 16px; overflow: hidden; border: 3px solid #E1BEE7; background: #fff; max-width: 560px; margin: 0 auto; }
.kz-canvas canvas { display: block; width: 100%; height: auto; touch-action: none; cursor: crosshair; }
.kz-save { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: .9rem; }
/* memory match */
.kz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; max-width: 520px; margin: 0 auto; }
.kz-mc { aspect-ratio: 1; border: 0; padding: 0; background: none; perspective: 600px; cursor: pointer; }
.kz-mc__in { position: relative; display: block; width: 100%; height: 100%; transition: transform .45s ease; transform-style: preserve-3d; }
.kz-mc.is-up .kz-mc__in { transform: rotateY(180deg); }
.kz-mc__back, .kz-mc__front { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; font-size: clamp(1.8rem, 7vw, 2.6rem); }
.kz-mc__back { background: linear-gradient(135deg, #AB47BC, #5C6BC0); color: #fff; font-weight: 800; box-shadow: 0 5px 0 rgba(0,0,0,.15); }
.kz-mc__front { background: #fff; transform: rotateY(180deg); box-shadow: 0 5px 0 rgba(0,0,0,.1); }
.kz-mc.is-found .kz-mc__front { background: #E8F5E9; outline: 3px solid #66BB6A; }
/* Noah's ark */
.kz-play { position: relative; max-width: 420px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 3px solid #81D4FA; }
.kz-play canvas { display: block; width: 100%; height: auto; touch-action: none; }
.kz-play__start { position: absolute; left: 50%; top: 45%; translate: -50% -50%; font-size: 1.2rem; padding: .9rem 1.6rem; }
.kz-play__start[hidden] { display: none; }
/* picture puzzle */
.kz-pz { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; max-width: 420px; margin: 0 auto; aspect-ratio: 600 / 750; padding: 4px; border-radius: 16px; background: #E1BEE7; }
.kz-pc { border: 0; padding: 0; border-radius: 8px; background-size: 300% 300%; cursor: pointer; transition: transform .15s ease; }
.kz-pc.is-sel { outline: 4px solid #FFB300; transform: scale(.94); }
.kz-pz.is-solved { gap: 0; }
.kz-pz.is-peek::after { content: ""; position: absolute; inset: 4px; border-radius: 12px; background: var(--pic) center / cover no-repeat; }
/* word builder */
.kz-word__clue { text-align: center; font-size: 1.2rem; font-weight: 700; color: #4A3B5C; }
.kz-slots { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; margin: 1rem 0; }
.kz-slots span { width: 48px; height: 56px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 3px dashed #CE93D8; font: 800 1.8rem var(--sans); color: #6A1B9A; }
.kz-slots span.is-in { border-style: solid; border-color: #66BB6A; animation: bgPop .4s ease; }
.kz-letters { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.kz-letter { width: 56px; height: 56px; border: 0; border-radius: 16px; background: linear-gradient(135deg, #FFB74D, #FF7043); color: #fff; font: 800 1.7rem var(--sans); cursor: pointer; box-shadow: 0 5px 0 rgba(0,0,0,.18); }
.kz-letter.is-used { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .kz__bubbles i, .kz-card, .kz-say.is-in, .kz-wobble, .kz-burst i { animation: none !important; transition: none !important; } }
.bga-sheets { display: flex; flex-wrap: wrap; gap: .6rem; }
.bga-sheet { display: grid; justify-items: center; gap: .25rem; width: 110px; font-size: .8rem; text-align: center; }
.bga-sheet img { border: 1px solid #E3E6EE; border-radius: 8px; background: #fff; }
.bg > *, .bg-panel, .kz-panel { min-width: 0; }
.kz-card:hover, .kz-card:focus-visible { transform: translateY(-3px); }
.bg-panel { width: 100%; box-sizing: border-box; }
.kz-sheets { max-width: 100%; }
.admin-fab { display: flex; align-items: center; gap: .4rem; }
.admin-fab__quick { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .85rem; border-radius: 999px; background: #1E2A5E; color: #fff; font: 700 .82rem/1 var(--sans); text-decoration: none; box-shadow: 0 12px 28px -14px rgba(20,28,63,.7); }
.admin-fab__quick:hover { color: #fff; background: #2B3C82; }
.admin-fab__quick .ico { width: 15px; height: 15px; }
.admin-fab__edit { background: #F4F6FB; }
@media (max-width: 700px) { .admin-fab__quick span { display: none; } .admin-fab__quick { padding: .6rem; } }
.admin-ask { margin: 0 0 1.6rem; padding: 1.2rem 1.3rem; border-radius: 20px; background: linear-gradient(135deg, #F2F4FB, #FFF8E8); border: 1px solid #DCE1F1; }
.admin-ask h2 { display: flex; align-items: center; gap: .45rem; margin: 0 0 .25rem; font-size: 1.3rem; }
.admin-ask h2 .ico { width: 22px; height: 22px; color: #B7791F; }
.admin-ask > p { margin: 0 0 .8rem; color: var(--muted); }
.admin-ask .help__chips { margin-bottom: 0; }
.admin-fab__menu a { font-family: var(--sans); } .admin-fab__menu small { font-family: var(--sans); }
/* Kids Zone cards: the last row fills the width (no empty space on the right) */
.kz__cards { display: flex; flex-wrap: wrap; }
.kz__cards > li { flex: 1 1 190px; min-width: 0; }
@media (min-width: 1100px) { .kz__cards > li { flex-basis: 22%; } }
@media (max-width: 600px) {
  .bg-cards { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .bg-card { grid-template-columns: 44px minmax(0, 1fr); column-gap: .8rem; row-gap: .15rem; padding: .85rem 1rem; border-radius: 16px; align-items: start; }
  .bg-card__ico { grid-row: 1 / span 3; width: 44px; height: 44px; border-radius: 12px; margin: 0; }
  .bg-card__ico svg { width: 22px; height: 22px; }
  .bg-card strong { font-size: 1.08rem; }
  .bg-card__desc { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .bg-card__meta { margin-top: .1rem; font-size: .78rem; }
  .bg-card::after { bottom: .8rem; right: .8rem; }
  .kz { padding: 1.1rem .9rem 1.2rem; border-radius: 22px; }
  .kz__cards > li { flex: 1 1 140px; }
  .kz-card { padding: .9rem .6rem .8rem; border-radius: 18px; }
  .kz-card__art { width: 60px; height: 60px; font-size: 2rem; }
  .kz-card strong { font-size: 1rem; }
  .kz-card span:last-child { font-size: .8rem; }
}
.admin__role { display: inline-block; margin-left: .3rem; padding: .1rem .55rem; border-radius: 999px; background: #E8EDFB; color: #1E2A5E; font-size: .78rem; font-weight: 700; }
/* Admin users (admin-users.php) */
.au-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0 1rem; }
.au-grid > * { min-width: 0; }
.au-roles, .au-secs { min-width: 0; border: 1px solid #E3E7F2; border-radius: 12px; padding: .8rem 1rem 1rem; margin: 0 0 1rem; }
.au-roles legend, .au-secs legend { font-weight: 700; padding: 0 .3rem; }
.au-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: .6rem; }
.au-grid2 > * { min-width: 0; }
.au-role { display: flex; gap: .55rem; align-items: flex-start; min-width: 0; padding: .65rem .75rem; border: 1px solid #E3E7F2; border-radius: 10px; cursor: pointer; }
.au-role:has(input:checked) { border-color: #1E2A5E; background: #F3F5FC; }
.au-role input { margin-top: .25rem; flex: none; }
.au-role span { display: flex; flex-direction: column; min-width: 0; }
.au-role small { color: #5A6275; line-height: 1.35; margin-top: .15rem; }
.au-grid2--secs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .35rem 1rem; }
.au-secs[hidden] { display: none; }
.au-acts { display: flex; gap: .4rem; flex-wrap: wrap; }
.au-acts form { margin: 0; }
.au-table tr.is-off td { opacity: .6; }
.au-save { margin-top: 1rem; }
/* timed announcement pop-up: a thin bar that runs down until it closes (Website Settings > Pop-up timings) */
.ann-pop--timed::before { content: ""; position: sticky; top: 0; display: block; height: 4px; margin-bottom: -4px; background: var(--flame, #8B1A1A); transform-origin: left; animation: popbar var(--pop-secs, 5s) linear forwards; z-index: 3; border-radius: 22px 22px 0 0; }
@keyframes popbar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
/* Inner page banners: the theme gradient by default (same moving church colours as the home spotlight).
   "Plain church colour", "Your own colour", picture and video banners are left as they are (Page banners). */
.page-hero:not(.page-hero--media):not(.page-hero--color):not(.page-hero--plain) { background: var(--night); isolation: isolate; }
.page-hero:not(.page-hero--media):not(.page-hero--color):not(.page-hero--plain)::before {
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 70% at 10% 15%, color-mix(in srgb, var(--indigo-2) 90%, white 10%), transparent 70%),
    radial-gradient(45% 95% at 92% 8%, color-mix(in srgb, var(--flame) 85%, transparent), transparent 70%),
    radial-gradient(42% 80% at 70% 100%, color-mix(in srgb, var(--flame) 40%, transparent), transparent 70%),
    radial-gradient(48% 80% at 20% 95%, color-mix(in srgb, var(--indigo) 95%, transparent), transparent 72%),
    linear-gradient(160deg, color-mix(in srgb, var(--indigo) 80%, var(--indigo-2)) 0%, var(--indigo) 45%, var(--night) 100%);
  background-size: 150% 150%;
}
@media (prefers-reduced-motion: no-preference) { .page-hero:not(.page-hero--media):not(.page-hero--color):not(.page-hero--plain)::before { animation: heroMesh var(--mesh-t, 13s) ease-in-out infinite alternate; } }
.page-hero--plain { background: var(--indigo) !important; }
/* Plain colour / Gradient choice next to background colour pickers (assets/js/admin-bg.js) */
.bgpick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-left: .4rem; vertical-align: middle; min-width: 0; }
.bgpick select { width: auto; min-width: 8.5rem; max-width: 100%; padding: .35rem 2rem .35rem .6rem; font-size: .88rem; }
.bgpick__more { display: inline-flex; gap: .4rem; align-items: center; }
.bgpick__more[hidden] { display: none; }
.bgpick__sw { width: 2.4rem; height: 1.6rem; border-radius: 6px; border: 1px solid rgba(0,0,0,.15); flex: none; }
.has-bg-page .page-hero::before { display: none; }   /* a background photo from Pictures › Backgrounds replaces the theme gradient */
/* Bible Activities: text for visitors and search engines, colouring page gallery, questions (bible-activities.php) */
.bg-about { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #E3E7F2; min-width: 0; }
.bg-about > p { max-width: 75ch; }
.bg-about h3 { margin: 1.6rem 0 .8rem; }
.bg-about__links { display: grid; gap: .5rem; padding-left: 1.2rem; max-width: 80ch; }
.bg-colgal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (min-width: 560px) { .bg-colgal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bg-colgal { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.bg-colgal > li { min-width: 0; }
.bg-colgal__item { display: flex; flex-direction: column; align-items: center; gap: .4rem; width: 100%; padding: .6rem; border: 1px solid #E3E7F2; border-radius: 14px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.bg-colgal__item img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
.bg-colgal__item span { font-size: .85rem; font-weight: 600; text-align: center; line-height: 1.3; }
.bg-colgal__item:hover, .bg-colgal__item:focus-visible { box-shadow: 0 10px 24px -14px rgba(20,28,63,.45); transform: translateY(-2px); }
.bg-faq { max-width: 80ch; }
/* Kids Zone invitation on the main Bible Activities page (the Kids Zone is its own page: kids-bible-activities.php) */
.kz-invite { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.25rem; margin: 2rem 0; padding: 1.25rem 1.5rem; border-radius: 22px; text-decoration: none; color: #3B2463;
  background: linear-gradient(120deg, #FFF4D6 0%, #FFE3EE 50%, #E4F1FF 100%); border: 2px solid #FFD66B; box-shadow: 0 16px 36px -22px rgba(90,40,120,.45); transition: transform .2s, box-shadow .2s; }
.kz-invite:hover, .kz-invite:focus-visible { transform: translateY(-2px); box-shadow: 0 22px 44px -22px rgba(90,40,120,.55); }
.kz-invite__art { font-size: 2.4rem; letter-spacing: .1em; }
.kz-invite__txt { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.kz-invite__txt strong { font-size: 1.45rem; font-family: var(--serif, inherit); color: #5B2A86; }
.kz-invite__btn { white-space: nowrap; }
@media (max-width: 640px) { .kz-invite { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; } .kz-invite__btn { white-space: normal; } }
/* section menu on phones: every item visible (no hidden "Kids Zone" off the right edge) */
@media (max-width: 640px) {
  .bg-nav { display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .2rem !important; overflow: visible !important; padding: .35rem !important; border-radius: 18px !important; }
  .bg-nav a { flex-direction: column; justify-content: center; gap: .15rem !important; padding: .4rem .2rem !important; font-size: .74rem !important; text-align: center; white-space: normal !important; min-width: 0; line-height: 1.15; }
  .bg-nav a .ico { margin: 0 !important; }
}
/* Photo colour tone preview (Website Settings > Photo colour tone) */
.tone-pv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; max-width: 640px; }
.tone-pv figure { margin: 0; min-width: 0; }
.tone-pv img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; display: block; }
.tone-pv figcaption { font-size: .85rem; color: #5A6275; margin-top: .3rem; text-align: center; }
/* Pictures page: find a picture */
.pic-find { margin: 0 0 1.5rem; max-width: 34rem; }
.pic-find label { display: flex; align-items: center; gap: .4rem; font-weight: 700; margin-bottom: .35rem; }
.pic.is-target { outline: 3px solid var(--flame); outline-offset: 4px; border-radius: 14px; }
/* Light video placeholder (main.js facade): the player loads only when tapped */
.vlite { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: inherit; background: #0E1430; cursor: pointer; overflow: hidden; color: #fff; }
.vlite img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.vlite:hover img { transform: scale(1.03); }
.vlite__play { position: absolute; inset: 0; display: grid; place-items: center; }
.vlite__play svg { filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); transition: transform .2s; }
.vlite:hover .vlite__play svg, .vlite:focus-visible .vlite__play svg { transform: scale(1.1); }
.vlite__t { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .7rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); font-weight: 600; text-align: left; font-size: .95rem; }
.vlite--fb { background: linear-gradient(135deg, #1E2A5E, #3b5998); }
.vlite__fb { position: absolute; top: .8rem; left: .9rem; font-weight: 700; opacity: .85; }
.vlite--fb .vlite__play path:first-child { fill: #1877F2; }
/* Website speed (admin-speed.php) */
.speed-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.speed-stats p { margin: 0; padding: .9rem 1rem; border-radius: 14px; background: #F3F5FC; display: flex; flex-direction: column; min-width: 0; }
.speed-stats strong { font-size: 1.6rem; color: var(--night); }
.speed-stats .is-warn { background: #FFF3E6; } .speed-stats .is-ok { background: #EAF7EF; }
.speed-log { margin: 1rem 0; padding: .8rem 1rem; border-radius: 12px; background: #F7F8FC; max-height: 16rem; overflow: auto; }
.speed-log ul { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .88rem; }
.speed-list ol { font-size: .88rem; } .speed-list code { word-break: break-all; }
.speed-checks { list-style: none; padding: 0; display: grid; gap: .55rem; }
.speed-checks li { display: flex; gap: .5rem; align-items: flex-start; }
.speed-checks .is-ok .ico { color: #1E7A46; } .speed-checks .is-warn .ico { color: #B4561C; }
/* Certificate window (bible-games.js) */
.bg-certdlg { width: min(960px, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(10,15,40,.5); }
.bg-certdlg::backdrop { background: rgba(14,20,48,.7); }
.bg-certdlg__in { position: relative; padding: 1.2rem 1.2rem 1.4rem; text-align: center; }
.bg-certdlg h2 { margin: 0 0 .8rem; font-size: 1.3rem; }
.bg-certdlg img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); -webkit-touch-callout: default; }
.bg-certdlg__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1rem; }
.bg-certdlg__tip { font-size: .85rem; color: #5A6275; margin: .8rem 0 0; }
.bg-certdlg__x { position: absolute; top: .5rem; right: .6rem; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: #F1F3F9; font-size: 1.5rem; cursor: pointer; line-height: 1; }
/* Audio players below page and article text (includes/audio-items.php) */
.aud-list { margin: 2rem 0 1.5rem; padding: 1.2rem 1.25rem; border-radius: 18px; background: linear-gradient(135deg, #F3F5FC, #FBF4EC); border: 1px solid #E3E7F2; }
.aud-list__h { display: flex; align-items: center; gap: .45rem; margin: 0 0 .8rem; font-size: 1.25rem; }
.aud-list__item { margin: 0; padding: .7rem 0; border-top: 1px solid rgba(20,28,63,.08); }
.aud-list__item:first-of-type { border-top: 0; padding-top: 0; }
.aud-list__item figcaption { font-weight: 600; margin-bottom: .4rem; color: var(--night); }
.aud-list .player { margin: 0; }
/* Admin: audio fields and "Make an article from audio" */
.aud-admin { min-width: 0; border: 1px solid #E3E7F2; border-radius: 12px; padding: .8rem 1rem 1rem; margin: 0 0 1rem; }
.aud-admin legend { display: flex; align-items: center; gap: .35rem; font-weight: 700; padding: 0 .3rem; }
.aud-admin__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: .5rem .8rem; align-items: center; padding: .5rem 0; border-bottom: 1px dashed #E3E7F2; }
.aud-admin__row--new { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.aud-admin__row audio { width: 100%; height: 36px; }
@media (max-width: 700px) { .aud-admin__row, .aud-admin__row--new { grid-template-columns: minmax(0, 1fr); } }
.aud-admin [data-aud-more] { margin-top: .7rem; }
.fa-box { background: #FFF8E8; border: 1px solid #F1DDAF; }
.fa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 0 1rem; }
.fa-grid > * { min-width: 0; }
.fa-wait { margin-left: .6rem; color: #7A4B12; font-weight: 600; }
/* Photo Gallery: filter albums by year */
.gal-years { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.4rem; }
.gal-years a { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .95rem; border-radius: 999px; border: 1px solid #DDE2F0; background: #fff; color: var(--night); font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.gal-years a small { font-size: .75rem; padding: .05rem .45rem; border-radius: 999px; background: #EEF1FA; color: #4A5270; }
.gal-years a:hover { background: #F3F5FC; }
.gal-years a[aria-current] { background: var(--night); color: #fff; border-color: var(--night); }
.gal-years a[aria-current] small { background: rgba(255,255,255,.18); color: #fff; }
/* Upload progress (assets/js/admin-upload.js) */
.up-ov { position: fixed; inset: 0; z-index: 9999; display: none; place-items: center; background: rgba(14,20,48,.55); backdrop-filter: blur(2px); }
.up-ov.is-on { display: grid; }
.up-ov__box { width: min(420px, calc(100vw - 2rem)); padding: 1.6rem 1.5rem 1.4rem; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 30px 70px -25px rgba(0,0,0,.5); }
.up-ov__spin { width: 46px; height: 46px; margin: 0 auto .8rem; border-radius: 50%; border: 4px solid #E4E8F4; border-top-color: var(--flame); animation: upspin .9s linear infinite; }
@keyframes upspin { to { transform: rotate(360deg); } }
.up-ov__t { margin: 0 0 .8rem; font-weight: 700; font-size: 1.1rem; color: var(--night); }
.up-ov__bar { height: 12px; border-radius: 999px; background: #EEF1FA; overflow: hidden; }
.up-ov__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--indigo), var(--flame)); transition: width .25s; }
.up-ov.is-saving .up-ov__bar i { background-size: 40px 40px; background-image: linear-gradient(45deg, rgba(255,255,255,.25) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.25) 50%, rgba(255,255,255,.25) 75%, transparent 75%), linear-gradient(90deg, var(--indigo), var(--flame)); animation: upstripe .8s linear infinite; }
@keyframes upstripe { to { background-position: 40px 0, 0 0; } }
.up-ov__s { margin: .7rem 0 0; font-size: .88rem; color: #5A6275; }
/* Photo manager: drag and drop */
.pm-hint { display: flex; align-items: center; gap: .4rem; font-size: .9rem; color: #5A6275; margin: .8rem 0 .5rem; }
.pm-grid__item { position: relative; touch-action: pan-y; cursor: grab; }
.pm-grid__item:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; }
.pm-grid__drag { position: absolute; top: .35rem; right: .35rem; z-index: 2; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 8px; background: rgba(255,255,255,.92); color: var(--night); box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: grab; touch-action: none; }
.pm-grid__item.is-dragging { position: fixed; z-index: 1000; pointer-events: none; opacity: .92; transform: rotate(2deg) scale(1.04); box-shadow: 0 20px 40px -12px rgba(0,0,0,.45); cursor: grabbing; }
.pm-grid__ph { border: 2px dashed var(--flame); border-radius: 12px; background: #FFF6F0; }
.pm-grid.is-saving { opacity: .6; pointer-events: none; }
.pm-toast { margin: .3rem 0 .6rem; font-weight: 600; color: #1E7A46; }
/* Photo Gallery top row: year buttons (left) and Photo / Video switch (right), one compact row */
.gal-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; margin: 0 0 1.4rem; min-width: 0; }
.gal-bar .gal-switch { margin: 0 0 0 auto; }
.gal-bar .gal-years { margin: 0; }
.gal-years a { font: 600 .92rem var(--sans); padding: .5rem .9rem; min-height: 40px; }
@media (max-width: 560px) { .gal-bar .gal-switch { margin: 0; width: 100%; order: -1; } .gal-years { gap: .35rem; } .gal-years a { padding: .4rem .75rem; } }
.gal-yopt { margin: 0 0 1.2rem; padding: .7rem 1rem; border-radius: 12px; background: #F3F5FC; }
/* Message pages: passport-style photo with name and designation beside the text (person_card_html) */
.msg-person { float: left; width: 190px; margin: .35rem 1.8rem 1.2rem 0; text-align: center; }
.msg-person img { display: block; width: 100%; height: auto; aspect-ratio: 7 / 9; object-fit: cover; border-radius: 14px; border: 5px solid #fff; box-shadow: 0 14px 30px -14px rgba(20,28,63,.45), 0 0 0 1px #E3E7F2; background: #EEF1FA; }
.msg-person figcaption { margin-top: .7rem; line-height: 1.3; }
.msg-person strong { display: block; font-family: var(--serif, inherit); font-size: 1.12rem; color: var(--night); }
.msg-person span { display: block; font-size: .86rem; color: #5A6275; margin-top: .2rem; }
.prose::after { content: ""; display: table; clear: both; }
.prose .aud-list, .prose .share { clear: both; }
@media (max-width: 600px) { .msg-person { float: none; width: 170px; margin: 0 auto 1.4rem; } }
.cp-person-thumb { display: block; width: 90px; aspect-ratio: 7 / 9; object-fit: cover; border-radius: 8px; margin: .5rem 0; }
/* background music switch on the audio player */
.player__music { border: 1px solid #DDE2F0; background: #fff; color: #5A6275; border-radius: 999px; padding: .3rem .75rem; font: 600 .82rem var(--sans); cursor: pointer; }
.player__music.is-on { background: #FFF3E6; border-color: #F1C9A0; color: #8A4B12; }
.aud-admin__music { display: inline-flex; flex-wrap: wrap; gap: .35rem; grid-column: 1 / -1; }
.aud-admin__music select { width: auto; min-width: 0; padding: .35rem 2rem .35rem .6rem; font-size: .88rem; }
.page-body:has(> .gal-bar) { row-gap: 1.25rem; }   /* Photo Gallery: no big empty space under the top row */
.gal-bar { margin-bottom: 0; }
/* photo viewer: a small spinner while the large photo loads (the small copy is shown meanwhile) */
.slider.is-loading .slider__stage::after { content: ""; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; animation: upspin .8s linear infinite; pointer-events: none; }
.slider__stage { position: relative; }
/* Album styles (gallery.php?album=…): Mosaic (default tiles), Even grid, Collage, Slideshow */
.album { min-width: 0; }
.album__styles { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1rem; padding: .3rem; border-radius: 999px; background: var(--mist, #F1F3F9); width: max-content; max-width: 100%; }
.album__styles button { display: inline-flex; align-items: center; gap: .35rem; border: 0; background: transparent; border-radius: 999px; padding: .45rem .9rem; font: 600 .88rem var(--sans); color: var(--indigo); cursor: pointer; min-height: 40px; }
.album__styles button[aria-pressed="true"] { background: var(--indigo); color: #fff; }
@media (max-width: 560px) { .album__styles { width: 100%; border-radius: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); } .album__styles button { flex-direction: column; gap: .1rem; padding: .4rem .2rem; font-size: .72rem; } }
/* even grid: same-size squares */
.album--grid .tiles--photos { grid-auto-rows: auto; }
.album--grid .tiles--photos .tile { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1; }
/* collage: every photo in its own shape, like a pinboard */
.album--collage .tiles--photos { display: block; columns: 4 220px; column-gap: 12px; }
.album--collage .tiles--photos .tile { break-inside: avoid; margin: 0 0 12px; display: block; height: auto; }
.album--collage .tiles--photos .gallery__link { position: relative; display: block; }
.album--collage .tiles--photos .img-frame, .album--collage .tiles--photos .gallery__img { position: relative; height: auto; }
.album--collage .tiles--photos .gallery__img img { height: auto; display: block; }
.album--collage .tiles--photos .tile:nth-child(3n+1) { transform: rotate(-.6deg); } .album--collage .tiles--photos .tile:nth-child(3n+2) { transform: rotate(.5deg); }
@media (max-width: 560px) { .album--collage .tiles--photos { columns: 2; column-gap: 8px; } .album--collage .tiles--photos .tile { margin-bottom: 8px; } }
/* slideshow: one big photo, the others as a strip below */
.album__stage { position: relative; display: grid; place-items: center; background: #0B1030; border-radius: 18px; overflow: hidden; height: min(70vh, 640px); margin-bottom: .8rem; }
.album__stage[hidden] { display: none; }
.album__stage img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: opacity .35s ease; }
.album__stage.is-loading img { opacity: .55; }
.album__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--night); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
.album__nav--prev { left: .8rem; } .album__nav--next { right: .8rem; }
.album__count { position: absolute; bottom: .6rem; right: .9rem; margin: 0; padding: .2rem .6rem; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font: 600 .82rem var(--sans); }
.album--slideshow .tiles--photos { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; }
.album--slideshow .tiles--photos .tile { flex: 0 0 auto; width: 110px; height: 78px; scroll-snap-align: start; opacity: .6; transition: opacity .2s; animation: none; }
.album--slideshow .tiles--photos .tile.is-current { opacity: 1; outline: 3px solid var(--flame); outline-offset: -3px; }
@media (max-width: 560px) { .album__stage { height: 56vh; border-radius: 12px; } .album--slideshow .tiles--photos .tile { width: 84px; height: 62px; } .album__nav { width: 40px; height: 40px; } }
.album--collage .tiles--photos .img-frame img, .album--collage .tiles--photos .gallery__img img { position: static; inset: auto; width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; }
.album--collage .tiles--photos .img-frame { aspect-ratio: auto; padding: 0; }
.album--collage .tiles--photos .tile { animation: none; }
.page-body:has(> .album) { row-gap: 1.25rem; }
/* ===== Spotlight emblem: colour, speed, size, sparkles and the futuristic styles (includes/hero-badge.php) ===== */
.jubilee { --jb-c1: #E2C06A; --jb-c2: #FBF0CC; --jb-speed: 1; }
.jubilee--small { width: clamp(220px, 23vw, 300px); } .jubilee--large { width: clamp(320px, 36vw, 500px); }
.jubilee--tinted .jubilee__num, .jubilee--tinted .jubilee__word { background: linear-gradient(135deg, var(--jb-c2) 0%, var(--jb-c1) 45%, #fff 60%, var(--jb-c1) 100%); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 4px 18px color-mix(in srgb, var(--jb-c1) 45%, transparent)); }
.jubilee--tinted::before { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jb-c1) 45%, transparent), 0 30px 80px -30px rgba(0,0,0,.6); }
.jubilee--tinted .jubilee__halo { background: radial-gradient(circle, color-mix(in srgb, var(--jb-c1) 38%, transparent) 0%, transparent 68%); }
.jubilee--tinted .jubilee__ringtext { fill: var(--jb-c2); }
.jubilee--tinted .jubilee__since { border-top-color: color-mix(in srgb, var(--jb-c1) 50%, transparent); }
.jb-glow { filter: drop-shadow(0 0 4px var(--jb-c1)) drop-shadow(0 0 10px var(--jb-c1)); }
/* sparkles */
.jubilee__sparks { position: absolute; inset: -6%; pointer-events: none; overflow: visible; }
.jubilee__sparks i { position: absolute; left: var(--x); bottom: 8%; width: var(--s); height: var(--s); border-radius: 50%; background: var(--jb-c2); box-shadow: 0 0 6px var(--jb-c1), 0 0 12px var(--jb-c1); opacity: 0; animation: jbSpark calc(var(--t) * var(--jb-speed)) var(--d) ease-in infinite; }
@keyframes jbSpark { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-260%) translateY(-180px) scale(1.1); opacity: 0; } }
/* orbit */
.jb-orbit g { transform-origin: 100px 100px; }
.jb-orbit__a { animation: jbSpin calc(26s * var(--jb-speed)) linear infinite; }
.jb-orbit__b { animation: jbSpin calc(18s * var(--jb-speed)) linear infinite reverse; }
.jb-orbit__c { animation: jbSpin calc(9s * var(--jb-speed)) cubic-bezier(.6,.1,.4,.9) infinite; }
/* pulse: waves and a turning beam */
.jb-pulse { position: absolute; inset: 6%; pointer-events: none; }
.jb-pulse i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--jb-c1); opacity: 0; animation: jbWave calc(4.5s * var(--jb-speed)) ease-out infinite; }
.jb-pulse i:nth-child(2) { animation-delay: calc(1.5s * var(--jb-speed)); } .jb-pulse i:nth-child(3) { animation-delay: calc(3s * var(--jb-speed)); }
@keyframes jbWave { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.18); opacity: 0; } }
.jb-sweep { position: absolute; inset: 9%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, color-mix(in srgb, var(--jb-c1) 55%, transparent) 96%, var(--jb-c2) 100%); -webkit-mask: radial-gradient(circle, transparent 0 38%, #000 39%); mask: radial-gradient(circle, transparent 0 38%, #000 39%); animation: jbSpin calc(6s * var(--jb-speed)) linear infinite; opacity: .55; }
/* aurora: glowing colour ring */
.jb-aurora { position: absolute; inset: 5%; border-radius: 50%; padding: 4px; background: conic-gradient(from 0deg, var(--jb-c1), #6EA8FF, var(--jb-c2), #B583FF, var(--jb-c1)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: jbSpin calc(10s * var(--jb-speed)) linear infinite; filter: drop-shadow(0 0 14px var(--jb-c1)); }
.jb-aurora::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; background: conic-gradient(from 90deg, color-mix(in srgb, var(--jb-c1) 35%, transparent), transparent 30%, color-mix(in srgb, #6EA8FF 30%, transparent) 55%, transparent 80%); filter: blur(28px); z-index: -1; }
/* countdown */
.jb-cd { transform: rotate(-90deg); }
.jb-cd__bar { transition: stroke-dashoffset 1s linear; filter: drop-shadow(0 0 6px var(--jb-c1)); }
.jb-cd__sec { transform-origin: 100px 100px; }
.jubilee--countdown .jubilee__num { font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.jubilee--countdown .jb-cd__unit { opacity: .85; }
.jubilee--still *, .jubilee--still *::before, .jubilee--still *::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .jubilee *, .jubilee *::before, .jubilee *::after { animation: none !important; } .jubilee__sparks { display: none; } }
.keys-row { padding: .9rem 0; border-bottom: 1px solid #EEF1F7; } .keys-state { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; color: #8A4B12; margin-bottom: .35rem; } .keys-state.is-set { color: #1E7A46; } .keys-row input { font-family: ui-monospace, Menlo, monospace; }
/* Audio Sermons admin: the article link and music choices wrap on phones */
.docs-list__item, .docs-list__body { min-width: 0; }
.sermon-admin__link { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; min-width: 0; max-width: 100%; }
.sermon-admin__link select { min-width: 0; max-width: 100%; }
.sermon-admin__link .aud-admin__music { grid-column: auto; max-width: 100%; }
.prose .msg-title { margin-top: 0; }

/* Kids Zone cheering buddy (assets/js/kids-buddy.js) */
.kbuddy { position: fixed; left: 50%; bottom: 0; z-index: 9990; display: flex; flex-direction: column; align-items: center; pointer-events: auto; cursor: pointer;
  transform: translate(-50%, 110%); transition: transform .55s cubic-bezier(.34,1.56,.64,1); }
.kbuddy.is-in { transform: translate(-50%, 0); }
.kbuddy svg { display: block; width: 150px; height: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.18)); }
.kbuddy.is-in .kb-body { animation: kbHop .6s ease-in-out .5s 3; transform-origin: 80px 220px; }
.kbuddy.is-in .kb-shadow { animation: kbShadow .6s ease-in-out .5s 3; transform-origin: 80px 226px; }
.kbuddy .kb-wave { animation: kbWave .45s ease-in-out infinite alternate; transform-origin: 116px 142px; }
.kbuddy .kb-eyes { animation: kbBlink 3s infinite; transform-origin: 80px 78px; }
.kbuddy__say { position: relative; margin: 0 0 6px; background: #fff; color: #1E2A5E; border: 3px solid #F2C14E; border-radius: 18px; padding: .55rem 1rem; text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.15); font-family: inherit; max-width: 260px; opacity: 0; transform: scale(.6); transition: opacity .3s .45s, transform .4s cubic-bezier(.34,1.56,.64,1) .45s; }
.kbuddy.is-in .kbuddy__say { opacity: 1; transform: scale(1); }
.kbuddy__say::after { content: ""; position: absolute; left: 50%; bottom: -12px; margin-left: -9px; border: 9px solid transparent; border-top-color: #F2C14E; border-bottom: 0; }
.kbuddy__say strong { display: block; font-size: 1.15rem; line-height: 1.2; }
.kbuddy__say small { display: block; font-size: .8rem; color: #8B1A1A; margin-top: 2px; }
.kbuddy__spark { position: absolute; font-size: 1.5rem; top: 40%; left: -10px; opacity: 0; }
.kbuddy__spark--2 { left: auto; right: -14px; top: 30%; }
.kbuddy__spark--3 { left: 10px; top: 18%; }
.kbuddy.is-in .kbuddy__spark { animation: kbSpark 1.4s ease-out .6s 2; }
.kbuddy.is-in .kbuddy__spark--2 { animation-delay: .9s; }
.kbuddy.is-in .kbuddy__spark--3 { animation-delay: 1.2s; }
@keyframes kbHop { 0%,100% { transform: translateY(0) scaleY(1); } 15% { transform: translateY(0) scaleY(.92); } 50% { transform: translateY(-26px) scaleY(1.04); } }
@keyframes kbShadow { 0%,100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.6); opacity: .5; } }
@keyframes kbWave { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
@keyframes kbBlink { 0%,92%,100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes kbSpark { 0% { opacity: 0; transform: translateY(10px) scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-40px) scale(1.2); } }
@media (max-width: 600px) { .kbuddy svg { width: 116px; } .kbuddy__say strong { font-size: 1rem; } }
@media (prefers-reduced-motion: reduce) { .kbuddy, .kbuddy__say { transition: opacity .3s; } .kbuddy .kb-body, .kbuddy .kb-wave, .kbuddy .kb-eyes, .kbuddy__spark, .kbuddy .kb-shadow { animation: none !important; } }
@media (max-width: 900px) { .kbuddy { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); } }
/* Home story on wide screens: text uses its whole column (no empty band on the right), journey card a little wider */
@media (min-width: 1100px) {
  .story--journey .story__in { grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr); gap: clamp(3rem, 4vw, 4.5rem); }
  .story--journey .story__text { align-self: center; }
  .story--journey .story__text h2 { max-width: none; }
  .story--journey .story__text p { max-width: none; }
  .story--journey .sj { padding: 1.5rem 1.6rem 1.25rem; }
  .story--journey .sj__pic { width: 48px; height: 48px; }
  .story--journey .sj__list::before { left: 24px; }
  .story--journey .sj__title { font-size: 1.02rem; }
}
/* Leader photos: framing from Church Officials (--fz zoom, --fx/--fy focus point); same frame on every card */
.lcard__photo img, button.lcard__photo img, .bio-pop__photo img { object-position: var(--fx, 50%) var(--fy, 20%); transform: scale(var(--fz, 1)); transform-origin: var(--fx, 50%) var(--fy, 20%); }
/* list sections (small round photos) use the same framing (Dec 5) */
.person__pic { overflow: hidden; padding: 0; background: var(--mist); }
.person__pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 20%); transform: scale(var(--fz, 1)); transform-origin: var(--fx, 50%) var(--fy, 20%); }
button.lcard__photo:hover img, button.lcard__photo:focus-visible img, button.lcard__in:hover .lcard__photo img { transform: scale(calc(var(--fz, 1) * 1.05)); }
/* Admin: photo framing tool */
.pframe { margin: 1rem 0 .5rem; padding: 1rem; border: 1px dashed var(--line); border-radius: 14px; background: #FAFBFD; }
.pframe[hidden] { display: none; }
.pframe__title { margin: 0 0 .8rem; font-size: .92rem; }
.pframe__row { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: flex-start; }
.pframe__box { position: relative; display: block; width: 200px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #2B3A78, #0E1433); touch-action: none; cursor: grab; box-shadow: 0 10px 24px -16px rgba(20,28,63,.6); }
.pframe__box:active { cursor: grabbing; }
.pframe__box img { width: 100%; height: 100%; object-fit: cover; display: block; object-position: var(--fx, 50%) var(--fy, 20%); transform: scale(var(--fz, 1)); transform-origin: var(--fx, 50%) var(--fy, 20%); pointer-events: none; user-select: none; }
.pframe__eyes { position: absolute; left: 0; right: 0; top: 38%; height: 0; border-top: 2px dashed #F2C14E; pointer-events: none; }
.pframe__chin { position: absolute; left: 0; right: 0; top: 66%; height: 0; border-top: 1px dashed rgba(242,193,78,.55); pointer-events: none; }
.pframe__box--sm { width: 92px; border-radius: 10px; cursor: default; }
.pframe__ctl { display: grid; gap: .6rem; min-width: 0; flex: 1 1 200px; max-width: 320px; font-size: .9rem; }
.pframe__ctl label { display: grid; grid-template-columns: 1fr auto; gap: .15rem; font-weight: 600; }
.pframe__ctl label input { grid-column: 1 / -1; }
.pframe__ctl output { font: 600 .8125rem var(--sans); color: var(--muted); }
.pframe__round { display: grid; justify-items: center; gap: .3rem; }
.pframe__round .person__avatar { width: 64px; height: 64px; }
.pframe__round small { font-size: .75rem; color: var(--muted); }
.pframe__ctl input[type=range] { width: 100%; }
.pframe__ctl .btn { justify-self: start; }
.pframe__others small { display: block; margin-bottom: .35rem; color: var(--muted); }
.pframe__others > div { display: flex; flex-wrap: wrap; gap: .5rem; }

/* Admin › SEO and AI search */
.seo-top { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center; }
.seo-top__txt { flex: 1 1 320px; min-width: 0; }
.seo-top__txt .settings__title { margin-top: 0; }
.seo-ring { --c: #8A93B2; position: relative; flex: none; width: 140px; height: 140px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, #fff 78%, transparent 79% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), #E6E9F2 0); }
.seo-ring--good { --c: #1F8A4C; } .seo-ring--mid { --c: #D08A12; } .seo-ring--low { --c: #B3261E; }
.seo-ring strong { font: 800 2.6rem/1 var(--sans); color: var(--night); } .seo-ring span { font: 600 .85rem var(--sans); color: var(--muted); }
.seo-trend { margin: 0; flex: 0 1 340px; min-width: 0; color: var(--indigo); } .seo-trend svg { width: 100%; height: auto; display: block; } .seo-trend figcaption, .seo-chart figcaption { font-size: .82rem; color: var(--muted); }
.seo-bar { height: 8px; border-radius: 99px; background: #E6E9F2; overflow: hidden; margin-top: .8rem; max-width: 420px; } .seo-bar[hidden] { display: none; } .seo-bar span { display: block; height: 100%; width: 0; background: var(--flame); transition: width .3s; }
.seo-delta--up { color: #1F8A4C; } .seo-delta--down { color: #B3261E; }
.seo-issue { border: 1px solid var(--line); border-left-width: 5px; border-radius: 12px; padding: .7rem 1rem; margin: 0 0 .6rem; background: #fff; }
.seo-issue--err { border-left-color: #B3261E; } .seo-issue--warn { border-left-color: #D08A12; } .seo-issue--note { border-left-color: #5B6B9A; }
.seo-issue summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: .3rem .6rem; align-items: center; }
.seo-issue p { margin: .6rem 0; font-size: .95rem; }
.seo-issue ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .25rem; } .seo-issue li { overflow-wrap: anywhere; } .seo-issue li small { color: var(--muted); }
.seo-n { margin-left: auto; font-size: .85rem; color: var(--muted); }
.seo-lv { display: inline-block; padding: .1rem .5rem; border-radius: 99px; font: 700 .72rem var(--sans); letter-spacing: .03em; text-transform: uppercase; background: #EEF0F6; color: var(--night); white-space: nowrap; }
.seo-issue--err .seo-lv, .seo-check--err .seo-lv { background: #FBE4E2; color: #8E1D16; } .seo-issue--warn .seo-lv, .seo-check--warn .seo-lv { background: #FCEFD6; color: #7A4F05; } .seo-check--ok .seo-lv { background: #DFF3E7; color: #145C33; }
.seo-checks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.seo-check { display: flex; gap: .7rem; align-items: baseline; } .seo-check small { display: block; color: var(--muted); }
.seo-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 600; }
.seo-ping { margin-top: 1rem; display: grid; gap: .3rem; justify-items: start; }
.seo-steps { padding-left: 1.2rem; display: grid; gap: .4rem; }
.seo-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: .75rem; margin: .8rem 0 1rem; }
.seo-kpis p { margin: 0; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: grid; gap: .15rem; }
.seo-kpis strong { font: 800 1.6rem var(--sans); color: var(--night); } .seo-kpis span { font-size: .85rem; color: var(--muted); }
.seo-chart { margin: 0 0 1rem; } .seo-chart svg { width: 100%; height: auto; display: block; background: #FAFBFD; border-radius: 12px; }
.seo-key { display: inline-block; width: 18px; height: 0; border-top: 3px solid #1E2A5E; vertical-align: middle; margin: 0 .3rem 0 .6rem; } .seo-key--p { border-top: 2px dashed #B5482F; }
.seo-tables { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1.25rem; }
.seo-tables > div { min-width: 0; overflow-x: auto; } .seo-tables h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.seo-table { width: 100%; border-collapse: collapse; font-size: .9rem; } .seo-table th, .seo-table td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid var(--line); } .seo-table td:not(:first-child), .seo-table th:not(:first-child) { text-align: right; white-space: nowrap; } .seo-table td:first-child { overflow-wrap: anywhere; }
.seo-badge { display: inline-block; margin-left: .35rem; padding: .05rem .45rem; border-radius: 99px; font: 700 .72rem var(--sans); background: #EEF0F6; color: var(--night); vertical-align: middle; }
.seo-badge--good { background: #DFF3E7; color: #145C33; } .seo-badge--mid { background: #FCEFD6; color: #7A4F05; } .seo-badge--low { background: #FBE4E2; color: #8E1D16; }
/* Copy protection (assets/js/protect.js): no selection or long-press saving outside form fields */
html.no-copy body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html.no-copy :is(input, textarea, select, [contenteditable="true"], .allow-copy) { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
html.no-copy img, html.no-copy video { -webkit-user-drag: none; }
@media print { html.no-copy body { -webkit-user-select: auto; user-select: auto; } }
/* Admin › Security */
.sec-sub { margin: 1.2rem 0 .6rem; font-size: 1.05rem; }
.sec-log td small { display: block; color: var(--muted); overflow-wrap: anywhere; } .sec-log td:nth-child(4) { text-align: left; white-space: normal; max-width: 340px; overflow-wrap: anywhere; } .sec-log td:nth-child(2) { text-align: left; white-space: normal; }
.sec-bans { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; } .sec-bans li { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 12px; }
.sec-danger { padding: 1rem 1.1rem; border-radius: 14px; background: #FBE4E2; color: #5E120D; margin: 0 0 1rem; } .sec-danger ul { margin: .5rem 0 0; } .sec-danger code { overflow-wrap: anywhere; }
.sec-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.seo-issue code { overflow-wrap: anywhere; }
.admin-tile--alert { border-color: #B3261E !important; box-shadow: 0 0 0 2px rgba(179,38,30,.25); }
.sec-log th, .sec-log td { text-align: left !important; } .sec-log td:nth-child(3) { white-space: nowrap; }
.chat-know { margin: 0 0 1.2rem; padding: .9rem 1rem; border-radius: 14px; background: #F2F5FB; border: 1px solid var(--line); } .chat-know p { margin: 0 0 .5rem; } .chat-know p:last-child { margin: 0; }

/* Programme deck: soft breathing glow behind the current card (an opacity animation on its own layer, light for phones) */
.pdeck__glow { position: absolute; left: 50%; top: 50%; width: var(--cw); margin-left: calc(var(--cw) / -2); height: var(--gh, 520px); translate: 0 -50%; transform: translateX(var(--dx, 0px));
  border-radius: 24px; z-index: 9; pointer-events: none; box-shadow: 0 0 0 2px rgba(242,193,78,.55), 0 0 34px 8px rgba(242,193,78,.36), 0 0 70px 18px rgba(242,193,78,.14);
  opacity: .35; animation: pdGlow 3.4s ease-in-out infinite; transition: opacity .25s ease; will-change: opacity; }
.pdeck__glow.is-switch { animation: none; opacity: 0; }
@keyframes pdGlow { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (max-width: 700px) { .pdeck__glow { top: 12px; translate: none; } }
@media (prefers-reduced-motion: reduce) { .pdeck__glow { animation: none; opacity: .55; } }

/* ===== Bible team games (bible-team-games.php) ===== */
.tg-intro { margin-bottom: 1.2rem; }
.tg-intro p { max-width: 70ch; }
.tg-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.tg-chip { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--night); font: 600 .9rem var(--sans); cursor: pointer; }
.tg-chip.is-on { background: var(--night); color: #fff; border-color: var(--night); }
.tg-chip:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.tg-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 1rem; }
.tg-card { min-width: 0; }
.tg-card[hidden] { display: none; }
.tg-card a { position: relative; display: grid; gap: .35rem; height: 100%; padding: 1.1rem 1.1rem 1rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--night); text-decoration: none; box-shadow: 0 10px 24px -20px rgba(20,28,63,.5); transition: transform .2s ease, box-shadow .2s ease; border-top: 6px solid #5B8DEF; }
.tg-card--active a { border-top-color: #E2483D; } .tg-card--teamwork a { border-top-color: #1F7A4D; } .tg-card--calm a { border-top-color: #5B8DEF; }
.tg-card a:hover, .tg-card a:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 32px -20px rgba(20,28,63,.55); }
.tg-card a:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.tg-card__n { position: absolute; top: .8rem; right: .9rem; font: 800 .8rem var(--sans); color: var(--muted); }
.tg-card__t { font: 800 1.15rem/1.25 var(--sans); padding-right: 1.6rem; }
.tg-card__ref { color: var(--flame); font-weight: 700; font-size: .88rem; }
.tg-card__meta { display: flex; flex-wrap: wrap; gap: .3rem; }
.tg-card__meta span { font-size: .78rem; padding: .15rem .5rem; border-radius: 99px; background: #EEF1F8; }
.tg-card__go { margin-top: .3rem; display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--indigo); }
.tg-card__go .ico { width: 16px; height: 16px; }
.tg-more { margin-top: 1.5rem; }
.tg-detail { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 1.5rem 2rem; align-items: start; }
.tg-demo { grid-column: 1; grid-row: 1 / span 2; min-width: 0; }
.tg-info { grid-column: 2; grid-row: 1; min-width: 0; }
.tg-howto { grid-column: 2; grid-row: 2; min-width: 0; }
.tg-lesson { grid-column: 1; min-width: 0; }
.tg-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.tg-nav a { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; }
.tg-nav .ico { width: 16px; height: 16px; }
.tg-h { font: 800 1.25rem var(--sans); color: var(--night); margin: 0 0 .6rem; }
.tg-h3 { font: 800 1.05rem var(--sans); margin: 1rem 0 .4rem; }
.tg-stage { border-radius: 20px; overflow: hidden; background: #DDEFFF; box-shadow: 0 18px 40px -26px rgba(20,28,63,.6); aspect-ratio: 16 / 9; }
.tg-svg { display: block; width: 100%; height: 100%; }
.tg-cap { min-height: 3em; margin: .7rem 0 .4rem; font-size: 1.02rem; }
.tg-cap strong { display: inline-block; margin-right: .4rem; padding: .05rem .5rem; border-radius: 99px; background: var(--flame); color: #fff; font-size: .82rem; vertical-align: 1px; }
.tg-ctl { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.tg-ctl .ico { width: 16px; height: 16px; }
.tg-print { margin-left: auto; }
.tg-facts { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: .5rem; }
.tg-facts li { padding: .6rem .75rem; border-radius: 12px; background: #F2F5FB; font-size: .92rem; min-width: 0; }
.tg-facts strong { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tg-needs { padding-left: 1.1rem; display: grid; gap: .3rem; }
.tg-steps { counter-reset: tg; list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.tg-steps li { counter-increment: tg; position: relative; padding: .7rem .8rem .7rem 3rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); cursor: pointer; transition: background .25s, border-color .25s, box-shadow .25s; }
.tg-steps li::before { content: counter(tg); position: absolute; left: .7rem; top: .62rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: #E6E9F2; font: 800 .85rem var(--sans); color: var(--night); }
.tg-steps li.is-now { background: #FFF7E0; border-color: #F2C14E; box-shadow: 0 0 0 3px rgba(242,193,78,.35); }
.tg-steps li.is-now::before { background: var(--flame); color: #fff; }
.tg-steps li:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.tg-safe { display: flex; gap: .5rem; align-items: flex-start; padding: .7rem .9rem; border-radius: 14px; background: #E8F6EE; color: #145C33; }
.tg-safe .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.tg-verse { margin: 1rem 0; padding: 1rem 1.2rem; border-left: 5px solid var(--flame); background: #FBF6EE; border-radius: 0 14px 14px 0; }
.tg-verse p { margin: 0 0 .3rem; font-size: 1.08rem; font-style: italic; }
.tg-verse cite { font-style: normal; font-weight: 700; color: var(--flame); }
/* the demo: jointed children are moved by assets/js/team-games.js; props fade when hidden or shown */
.tg-prop, .tg-kid { transition: opacity .35s ease; }
@media (max-width: 900px) {
  .tg-detail { grid-template-columns: minmax(0, 1fr); }
  .tg-demo, .tg-info, .tg-howto, .tg-lesson { grid-column: 1; grid-row: auto; }
  .tg-print { margin-left: 0; }
}
@media print {
  .tg-page .site-header, .tg-page .site-footer, .tg-page .page-hero .crumbs, .tg-ctl, .tg-nav, .tg-page .app-shell, .tg-page .admin-fab, .tg-page .chat-fab { display: none !important; }
  .tg-detail { display: block; } .tg-stage { max-width: 520px; box-shadow: none; } .tg-steps li { break-inside: avoid; } .tg-cap { display: none; }
}
.kz-invite--team { margin-top: 1rem; background: linear-gradient(120deg, #E8F6EE, #FFF7E0); }
.page-body.tg { row-gap: 1.25rem; }
.tg-card a, .tg-facts, .tg-steps, .tg-cap { font-family: var(--sans); }
.tg-ctl .btn { width: auto; flex: none; }
@media (max-width: 900px) {
  .tg-demo { order: 1; } .tg-howto { order: 2; } .tg-info { order: 3; } .tg-lesson { order: 4; } .tg-nav { order: 5; }
  .tg-ctl [data-tg-play] { flex: 1 1 auto; }
  .tg-print { flex-basis: 100% !important; justify-content: center; }
}

/* ===== Kids Zone: Balloon Pop, Creation Days, Walls of Jericho, Find the Lost Sheep ===== */
.kz-bq { font: 800 clamp(1.15rem, 3vw, 1.5rem)/1.3 var(--sans); color: var(--night); text-align: center; margin: .6rem auto; max-width: 34ch; min-height: 2.6em; }
.kz-sky { position: relative; height: clamp(340px, 60vh, 460px); border-radius: 22px; overflow: hidden; background: linear-gradient(#8ED1FC, #E3F4FF); }
.kz-balloon { position: absolute; bottom: -150px; width: min(30%, 170px); aspect-ratio: 4 / 5; padding: .6rem; border: 0; border-radius: 50% 50% 48% 48% / 55% 55% 45% 45%; cursor: pointer;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), transparent 32%), var(--c); color: #fff; box-shadow: inset -8px -10px 0 rgba(0,0,0,.12);
  display: grid; place-items: center; text-align: center; font: 800 clamp(.82rem, 2.4vw, 1.05rem)/1.2 var(--sans); text-shadow: 0 1px 2px rgba(0,0,0,.35);
  animation: kzRise 10s linear forwards, kzBob 2.4s ease-in-out infinite alternate; }
.kz-balloon::after { content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: 70px; background: rgba(60,60,60,.45); }
.kz-balloon span { overflow-wrap: anywhere; }
.kz-balloon:focus-visible { outline: 4px solid #141C3F; outline-offset: 4px; }
.kz-balloon.is-pop { animation: kzPop .35s ease-out forwards; pointer-events: none; }
@keyframes kzRise { from { transform: translateY(0); } to { transform: translateY(calc(-1 * clamp(340px, 60vh, 460px) - 260px)); } }
@keyframes kzBob { from { margin-left: -6px; } to { margin-left: 6px; } }
@keyframes kzPop { 0% { transform: scale(1); opacity: 1; } 60% { transform: scale(1.35); opacity: .7; } 100% { transform: scale(.2); opacity: 0; } }
.kz-world { position: relative; height: 230px; border-radius: 22px; overflow: hidden; background: #0B0F24; transition: background 1s ease; margin: .4rem 0 1rem; }
.kz-world.is-lit { background: #FFF6D6; }
.kz-w { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease, transform .9s ease; transform: translateY(14px); display: flex; align-items: center; justify-content: space-around; font-size: 2.2rem; pointer-events: none; }
.kz-w--sky { background: linear-gradient(#7CC7F2, #CDEBFF 60%, transparent); }
.kz-w--sea { top: auto; height: 45%; background: #4FA9E0; }
.kz-w--land { top: auto; height: 38%; background: #7CC46A; border-radius: 60% 40% 0 0 / 30% 30% 0 0; align-items: flex-start; padding-top: .2rem; }
.kz-w--lights { bottom: auto; height: 40%; } .kz-w--fish { top: 30%; bottom: auto; height: 30%; } .kz-w--animals { top: auto; height: 34%; }
.kz-w--rest { top: auto; bottom: 8px; height: auto; font: 800 1.1rem var(--sans); color: #141C3F; justify-content: center; }
.kz-world.is-sky .kz-w--sky, .kz-world.is-sky .kz-w--sea, .kz-world.is-land .kz-w--land, .kz-world.is-lights .kz-w--lights, .kz-world.is-fish .kz-w--fish, .kz-world.is-animals .kz-w--animals, .kz-world.is-rest .kz-w--rest { opacity: 1; transform: none; }
.kz-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(130px, 100%), 1fr)); gap: .6rem; }
.kz-day { display: grid; gap: .2rem; justify-items: center; padding: .7rem .5rem; border-radius: 16px; border: 3px solid #E6E9F2; background: #fff; cursor: pointer; font: 700 .92rem var(--sans); color: var(--night); }
.kz-day span { font-size: 2rem; } .kz-day:hover { border-color: #F2C14E; }
.kz-day.is-done { background: #E8F6EE; border-color: #3C9A5F; opacity: .55; cursor: default; }
.kz-day:focus-visible, .kz-bush:focus-visible, .kz-trumpet:focus-visible, .kz-shout:focus-visible { outline: 4px solid #141C3F; outline-offset: 3px; }
.kz-city { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin: .6rem auto 1rem; border-radius: 50%; background: radial-gradient(circle, #F3D9A4 0 38%, #A8D98F 39% 100%); }
.kz-wall { position: absolute; inset: 0; }
.kz-wall i { position: absolute; left: 50%; top: 50%; width: 30px; height: 22px; margin: -11px 0 0 -15px; background: #C8955A; border: 2px solid #8A6236; border-radius: 3px; transform: rotate(var(--a)) translateY(-92px); transition: transform .9s cubic-bezier(.5,-0.3,.7,1.4), opacity .9s; }
.kz-wall.is-fall i { transform: rotate(var(--a)) translateY(-118px) rotate(80deg); opacity: .25; }
.kz-wall.is-fall i:nth-child(even) { transform: rotate(var(--a)) translateY(-104px) rotate(-70deg); }
.kz-ring { position: absolute; inset: 0; }
.kz-marcher { position: absolute; left: 50%; top: 50%; font-size: 1.7rem; margin: -.85em 0 0 -.5em; }
.kz-marcher:nth-child(1) { transform: rotate(0deg) translateY(-150px); } .kz-marcher:nth-child(2) { transform: rotate(22deg) translateY(-150px); } .kz-marcher:nth-child(3) { transform: rotate(44deg) translateY(-150px); } .kz-marcher:nth-child(4) { transform: rotate(66deg) translateY(-150px); }
.kz-ring.is-march { animation: kzMarch 1.5s ease-in-out; }
@keyframes kzMarch { to { transform: rotate(360deg); } }
.kz-jbtns { display: flex; justify-content: center; }
.kz-trumpet, .kz-shout { font-size: 1.15rem; padding: .9rem 1.4rem; }
.kz-shout { animation: kzShout .8s ease-in-out infinite alternate; }
@keyframes kzShout { to { transform: scale(1.07); } }
.kz-field { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; padding: .8rem; border-radius: 22px; background: linear-gradient(#BFE6A8, #8FCB78); }
.kz-bush { aspect-ratio: 1; border: 0; border-radius: 18px; background: rgba(255,255,255,.25); cursor: pointer; font-size: clamp(2rem, 9vw, 3.2rem); display: grid; place-items: center; }
.kz-bush.is-rustle span { display: inline-block; animation: kzRustle .45s ease-in-out; }
.kz-bush.is-empty { opacity: .45; }
.kz-bush.is-sheep { background: #FFF7E0; animation: kzJumpOut .6s ease-out; opacity: 1; }
@keyframes kzRustle { 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@keyframes kzJumpOut { 40% { transform: translateY(-18px) scale(1.15); } }
@media (prefers-reduced-motion: reduce) {
  .kz-balloon { animation: none; position: static; display: inline-grid; margin: .4rem; }
  .kz-sky { height: auto; display: flex; flex-wrap: wrap; justify-content: center; padding: 1rem; }
  .kz-ring.is-march, .kz-shout, .kz-bush.is-rustle span, .kz-bush.is-sheep { animation: none; }
}
.tg-facts li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ===== Invite cards (includes/page-cards.php): after the content or in the sidebar, three widths, colour themes ===== */
.icard { background: var(--pc-bg), var(--pc-base, #fff); background-size: 100% 100%, cover; background-position: 0% 50%, center; background-repeat: no-repeat; border-color: var(--pc-bd); color: var(--pc-tx); margin: 0; }
.icard--img { background-size: 100% 100%, cover; }
.icard--move { background-size: 300% 300%, cover; }
@media (prefers-reduced-motion: no-preference) { .icard--move { animation: icardFlow 9s ease-in-out infinite alternate; } }
@keyframes icardFlow { 0% { background-position: 0% 30%, center; } 50% { background-position: 100% 60%, center; } 100% { background-position: 40% 100%, center; } }
.icard--img .kz-invite__txt strong, .icard--img .kz-invite__txt span { text-shadow: 0 1px 10px color-mix(in srgb, var(--pc-base) 70%, transparent); }
.icard .kz-invite__txt strong { color: var(--pc-tt); }
.icard .kz-invite__txt span { color: var(--pc-tx); }
.icard__art { display: inline-flex; gap: .55rem; letter-spacing: 0; }
.icard--dark .btn--flame { background: #fff; color: #141C3F; }
.icard--dark .btn--flame .ico { color: #141C3F; }
.icards { display: grid; gap: 1.1rem; min-width: 0; }
.icards-after { padding: 1.5rem 0 2.75rem; }
.icards-after > .icards + .icards { margin-top: 1.1rem; }
.icards--narrow { max-width: 860px; }
.icards--content { margin-top: 2rem; }
.icards-li { list-style: none; grid-column: 1 / -1; }
/* full width: an edge-to-edge band, content kept in the website width */
.icards--full .icard { border-radius: 0; border-left: 0; border-right: 0; padding-left: max(1.5rem, calc((100vw - 1240px) / 2 + 1.5rem)); padding-right: max(1.5rem, calc((100vw - 1240px) / 2 + 1.5rem)); padding-top: 1.75rem; padding-bottom: 1.75rem; box-shadow: none; }
.icards--full .icard:hover, .icards--full .icard:focus-visible { transform: none; }
/* content width: a little more compact */
.icard--content { padding: 1.1rem 1.25rem; }
.icard--content .kz-invite__art { font-size: 2rem; }
.icard--content .kz-invite__txt strong { font-size: 1.25rem; }
/* sidebar: stacked, icons on top, full-width button */
.icard--sidebar { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: .6rem; padding: 1.1rem; margin-top: 1rem; border-radius: 18px; }
.icard--sidebar .kz-invite__art { font-size: 1.7rem; }
.icard--sidebar .kz-invite__txt strong { font-size: 1.15rem; }
.icard--sidebar .kz-invite__txt span { font-size: .92rem; }
.icard--sidebar .kz-invite__btn { width: 100%; justify-content: center; white-space: normal; }
.icards--sidebar { gap: 0; }
@media (max-width: 960px) { .icard--content { grid-template-columns: minmax(0, 1fr); justify-items: start; } .icard--content .kz-invite__btn { white-space: normal; } }
/* Admin › Invite cards */
.pcadmin__widths { margin: .4rem 0 0; padding-left: 1.1rem; display: grid; gap: .25rem; font-size: .93rem; }
.pcadmin__card { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin: 0 0 .8rem; }
.pcadmin__card > summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; padding: .85rem 1rem; }
.pcadmin__card > summary small { color: var(--muted); margin-left: auto; }
.pcadmin__state { font: 700 .72rem var(--sans); text-transform: uppercase; padding: .1rem .5rem; border-radius: 99px; background: #EEF0F6; color: var(--muted); }
.pcadmin__card.is-on .pcadmin__state { background: #DFF3E7; color: #145C33; }
.pcadmin__body { padding: 0 1rem 1rem; display: grid; gap: 1rem; min-width: 0; }
.pcadmin__preview { padding: 1rem; border-radius: 14px; background: #F4F6FB; min-width: 0; overflow: hidden; }
.pcadmin__preview .icard--sidebar { max-width: 300px; margin: 0; }
.pcadmin__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem 1rem; }
.pcadmin__wide { grid-column: 1 / -1; }
.pcadmin__pages { min-width: 0; margin: .4rem 0; }
.pcadmin__ticks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: .1rem .8rem; max-height: 320px; overflow: auto; padding: .4rem 0; }
.pcadmin__tools { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 700px) { .pcadmin__grid { grid-template-columns: minmax(0, 1fr); } .pcadmin__card > summary small { margin-left: 0; width: 100%; } }

/* Admin › Invite cards: where-chips, own colours, picture */
.pcadmin__where { display: inline-block; font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 99px; background: #E8ECF8; color: #1E2A5E; margin-right: .35rem; white-space: nowrap; }
.pcadmin__where--sidebar { background: #FCE7D9; color: #7A2E0E; }
.pcadmin__where--full { background: #E3D7FA; color: #4A1D7A; }
.pcadmin__where--content { background: #DDF2E6; color: #1F5A3A; }
.pcadmin__own { display: flex; flex-wrap: wrap; gap: .6rem 1rem; min-width: 0; border: 1px solid #E2E5EF; border-radius: 12px; padding: .7rem .9rem; }
.pcadmin__own[hidden] { display: none; }
.pcadmin__own label { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; }
.pcadmin__own input[type=color] { width: 2.4rem; height: 2rem; padding: 0; }
.pcadmin__img { min-width: 0; }
.pcadmin__dim { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; margin-top: .4rem; }
.pcadmin__dim input[type=range] { flex: 1 1 160px; min-width: 0; }
/* Admin › Page layout */
.pladmin__pick { max-width: 560px; }
.pladmin__own { font-size: .92rem; }
.pladmin__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 1.25rem; min-width: 0; }
.pladmin__col { min-width: 0; border: 1px solid #E2E5EF; border-radius: 14px; padding: 1rem; background: #FAFBFE; }
.pladmin__col h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.pladmin__col.is-auto .pladmin__list { opacity: .6; }
.pladmin__list { list-style: none; margin: .75rem 0; padding: 0; display: grid; gap: .45rem; counter-reset: pl; }
.pladmin__it { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .6rem; background: #fff; border: 1px solid #E2E5EF; border-left: 4px solid #1E2A5E; border-radius: 10px; padding: .45rem .55rem; counter-increment: pl; }
.pladmin__it::before { content: counter(pl); font-weight: 700; color: #6B7393; min-width: 1.2rem; text-align: center; }
.pladmin__it.is-card { border-left-color: #B2392A; }
.pladmin__name { min-width: 0; display: grid; }
.pladmin__name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pladmin__name small { color: #6B7393; font-size: .8rem; }
.pladmin__btns { display: inline-flex; gap: .25rem; }
.pladmin__btns .btn { min-width: 2.1rem; padding-left: .45rem; padding-right: .45rem; justify-content: center; }
.pladmin__add { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.pladmin__add select { flex: 1 1 200px; min-width: 0; }
.pladmin__empty { color: #6B7393; font-size: .9rem; }

/* Hidden on phones (Sidebar blocks / Invite cards / Page layout "📱 Phones") */
@media (max-width: 700px) { [data-nophone] { display: none !important; } }
.hb-phone { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; white-space: nowrap; color: var(--ink-2, #4A5160); }
.pcadmin__where--nophone { background: #F1F1F4; color: #4A5160; }
.pladmin__ph { display: inline-flex; align-items: center; gap: .25rem; font-size: .8rem; white-space: nowrap; margin-right: .2rem; }
.pladmin__it.is-nophone { background: #F7F7FA; }
/* Admin navigation: "All admin pages" menu in the yellow bar + admin home find box (includes/admin-nav.php, assets/js/admin-nav.js) */
.adminbar__all { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .75rem; border-radius: 999px; border: 1px solid #E3CB86; background: #fff; color: var(--night); font: 600 .88rem var(--sans); cursor: pointer; white-space: nowrap; }
.adminbar__all:hover, .adminbar__all[aria-expanded="true"] { border-color: var(--night); background: #FFFDF6; }
.adminbar__grp { color: #8A7A4A; font-weight: 600; }
.adminnav { position: relative; }
.adminnav__panel { position: absolute; left: 1rem; right: 1rem; top: .25rem; z-index: 60; background: #fff; border: 1px solid #E2E5EF; border-radius: 16px; box-shadow: 0 24px 48px -20px rgba(20,28,63,.45); padding: 1rem 1.1rem 1.1rem; max-height: min(72vh, 640px); overflow: auto; }
.adminnav__panel[hidden] { display: none; }
.adminnav__panel input[type=search] { width: 100%; margin-bottom: .8rem; }
.adminnav__groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: .9rem 1.2rem; min-width: 0; }
.adminnav__groups section { min-width: 0; }
.adminnav__groups section[hidden], .adminnav__groups li[hidden] { display: none; }
.adminnav__groups h3 { margin: 0 0 .35rem; font: 700 .74rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #8A7A4A; }
.adminnav__groups ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.adminnav__groups a { display: flex; align-items: center; gap: .45rem; padding: .32rem .45rem; border-radius: 8px; color: var(--night); text-decoration: none; font: 600 .9rem var(--sans); }
.adminnav__groups a:hover, .adminnav__groups a:focus-visible { background: #F3F5FB; color: var(--flame); }
.adminnav__groups a[aria-current="page"] { background: #FFF3D6; }
.adminnav__groups .ico { width: 16px; height: 16px; flex: none; }
.adminnav__none { margin: .5rem 0 0; }
@media (max-width: 640px) { .adminbar__all span { display: none; } .adminbar__all { padding: .35rem .55rem; } .adminnav__panel { left: .5rem; right: .5rem; } }
.admin-find { margin: 1.25rem 0 1.5rem; padding: 1.25rem 1.35rem; border-radius: 18px; background: linear-gradient(135deg, #F4F6FF, #FFF6E6); border: 1px solid #E6E2F2; }
.admin-find h2 { margin: 0 0 .7rem; font-size: 1.25rem; display: flex; align-items: center; gap: .45rem; }
.admin-find__hint { margin: .5rem 0 0; font-size: .88rem; color: var(--muted); }
.admin-find__none { margin: .6rem 0 0; font-weight: 600; color: var(--flame); }
.admin-recent { margin-top: .9rem; }
.admin-recent h3 { margin: 0 0 .4rem; font: 700 .76rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.admin-recent ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.admin-recent a { display: inline-block; padding: .35rem .8rem; border-radius: 999px; background: #fff; border: 1px solid #DCE0EE; color: var(--night); font: 600 .88rem var(--sans); text-decoration: none; }
.admin-recent a:hover { border-color: var(--flame); color: var(--flame); }
.admin-jump { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.admin-jump a { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid #E2E5EF; color: var(--night); font: 600 .84rem var(--sans); text-decoration: none; }
.admin-jump a[hidden] { display: none; }
.admin-jump .ico { width: 15px; height: 15px; }
.admin-group[hidden], .admin__tiles > li[hidden] { display: none; }
.admin-group__title { scroll-margin-top: calc(var(--top-h, 0px) + 1rem); }
.admin-group { scroll-margin-top: calc(var(--top-h, 0px) + 1rem); }

/* Page banners: symbol picker */
.hero-sym { min-width: 0; border: 1px solid #E2E5EF; border-radius: 12px; padding: .7rem .9rem; margin: .8rem 0; }
.hero-sym__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(112px, 100%), 1fr)); gap: .5rem; }
.hero-sym__opt { position: relative; display: grid; justify-items: center; gap: .25rem; padding: .5rem .3rem; border: 2px solid #E2E5EF; border-radius: 12px; cursor: pointer; text-align: center; font-size: .78rem; line-height: 1.2; background: #fff; }
.hero-sym__opt input { position: absolute; opacity: 0; pointer-events: none; }
.hero-sym__opt:has(input:checked) { border-color: var(--flame); background: #FFF6F3; }
.hero-sym__opt:has(input:focus-visible) { outline: 3px solid var(--indigo); outline-offset: 2px; }
.hero-sym__pic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: linear-gradient(135deg, var(--indigo), var(--night)); color: #fff; font-weight: 700; }
.hero-sym__pic img { width: 40px; height: 40px; opacity: .85; }

/* Invite cards: emoji picker */
.emoji-field { display: flex; gap: .5rem; align-items: center; min-width: 0; }
.emoji-field input { flex: 1 1 auto; min-width: 0; font-size: 1.25rem; }
.emoji-pick { margin-top: .5rem; border: 1px solid #E2E5EF; border-radius: 12px; padding: .5rem .8rem; background: #FCFCFE; }
.emoji-pick summary { cursor: pointer; font-weight: 600; }
.emoji-pick__h { margin: .7rem 0 .3rem; font: 700 .74rem var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.emoji-pick__row { display: flex; flex-wrap: wrap; gap: .3rem; }
.emoji-pick__row button { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; font-size: 1.45rem; line-height: 1; border: 1px solid #E2E5EF; border-radius: 10px; background: #fff; cursor: pointer; padding: 0; }
.emoji-pick__row button:hover, .emoji-pick__row button:focus-visible { border-color: var(--flame); background: #FFF6F3; }
/* Desktop: keep the footer's legal links (Privacy … Install the app) clear of the floating "Ask us" / WhatsApp buttons */
@media (min-width: 701px) { .legal-links { padding-right: 240px; } }
/* ===== Website inauguration page (inaugurate.php, includes/launch.php) ===== */
.inaug-page { margin: 0; min-height: 100vh; overflow: hidden; background: #0c1230; }
.inaug { position: fixed; inset: 0; font-family: var(--sans); color: #fff; }
.inaug__welcome { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; background: radial-gradient(circle at 50% 42%, #33449a 0, #141C3F 58%, #0a0e22 100%); opacity: 0; transform: scale(.96); transition: opacity 1s ease, transform 1.6s ease; }
.is-welcome .inaug__welcome { opacity: 1; transform: none; }
.inaug__welcome img { width: 110px; height: 110px; object-fit: cover; background: #fff; border-radius: 26px; padding: 0; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.inaug__welcome h2 { margin: 10px 0 0; font: 700 clamp(2rem, 5.4vw, 3.8rem)/1.1 var(--serif, Georgia, serif); background: linear-gradient(180deg, #FFF1C1, #F2B93B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inaug__welcome p { margin: 0; font-size: 1.15rem; opacity: .85; letter-spacing: .04em; }
.inaug__curtain { position: absolute; top: 0; bottom: 0; width: 51%; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,0) 26%, rgba(0,0,0,0) 70%, rgba(0,0,0,.38)), repeating-linear-gradient(90deg, #5a0c10 0, #7a1419 14px, #a3262b 30px, #7a1419 46px, #5a0c10 62px);
  transition: transform 2.6s cubic-bezier(.68, 0, .2, 1); box-shadow: inset 0 0 60px rgba(0,0,0,.35); }
.inaug__curtain--l { left: 0; } .inaug__curtain--r { right: 0; }
.is-open .inaug__curtain--l { transform: translateX(-102%); } .is-open .inaug__curtain--r { transform: translateX(102%); }
.inaug__valance { position: absolute; left: 0; right: 0; top: 0; height: 9vh; min-height: 54px; z-index: 3; background: linear-gradient(180deg, #4a0a0d, #7a1419 70%, #5a0c10); border-bottom: 6px solid #D4A63A; box-shadow: 0 6px 18px rgba(0,0,0,.45); transition: transform 1.6s ease 1s; }
.is-open .inaug__valance { transform: translateY(-110%); }
.inaug__ribbon { position: absolute; left: 0; right: 0; top: calc(50% - 20px); height: 40px; z-index: 4; pointer-events: none; }
.inaug__ribbon span { position: absolute; top: 0; height: 100%; width: 50%; background: linear-gradient(180deg, #FFF1B8, #E9BE52 45%, #B8862B 100%); box-shadow: 0 6px 16px rgba(0,0,0,.35); transition: transform 1.5s cubic-bezier(.5, 0, .9, .4), opacity 1.5s; }
.inaug__ribbon-l { left: 0; transform-origin: left center; } .inaug__ribbon-r { right: 0; transform-origin: right center; }
.is-cut .inaug__ribbon-l { transform: rotate(-38deg) translateY(30vh); opacity: 0; } .is-cut .inaug__ribbon-r { transform: rotate(38deg) translateY(30vh); opacity: 0; }
.inaug__stage { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(760px, 92vw); max-height: 92vh; overflow: auto; box-sizing: border-box; padding: 34px 40px 30px; border-radius: 28px; background: #0E1436; border: 1px solid rgba(255, 214, 107, .4); box-shadow: 0 30px 80px rgba(0,0,0,.55); text-align: center; transition: opacity .6s ease, transform .6s ease; }
.is-cut .inaug__stage { opacity: 0; transform: translate(-50%, -46%) scale(.97); pointer-events: none; }
.inaug__logo { display: block; margin: 0 auto; width: 96px; height: 96px; object-fit: cover; background: #fff; border-radius: 22px; padding: 0; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.inaug__eyebrow { margin: 16px 0 4px; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #FFD66B; }
.inaug__title { margin: 0 0 12px; font: 700 clamp(1.9rem, 4.6vw, 3rem)/1.1 var(--serif, Georgia, serif); color: #fff; }
.inaug__msg { margin: 0 auto 14px; max-width: 600px; font-size: 1.08rem; line-height: 1.6; opacity: .92; }
.inaug__verse { margin: 0 auto 18px; max-width: 560px; font: italic 1.05rem/1.55 var(--serif, Georgia, serif); opacity: .9; }
.inaug__verse cite { display: block; margin-top: 4px; font: 600 .85rem var(--sans); font-style: normal; color: #FFD66B; letter-spacing: .05em; }
.inaug__count { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 460px; margin: 4px auto 18px; }
.inaug__count[hidden] { display: none; }
.inaug__count span { padding: 10px 4px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); min-width: 0; }
.inaug__count b { display: block; font: 700 clamp(1.5rem, 4vw, 2.3rem)/1.1 var(--sans); color: #FFD66B; }
.inaug__count small { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.inaug__btn { display: inline-block; margin: 6px 0 10px; padding: 18px 40px; border: 0; border-radius: 999px; cursor: pointer; font: 700 clamp(1.05rem, 2.6vw, 1.35rem) var(--sans); color: #3A2500; background: linear-gradient(180deg, #FFE08A, #F2B93B); box-shadow: 0 10px 34px rgba(242,185,59,.45); animation: inaugPulse 2.2s ease-in-out infinite; }
.inaug__btn:disabled { opacity: .7; cursor: default; animation: none; }
.inaug__btn:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
@keyframes inaugPulse { 0%, 100% { box-shadow: 0 10px 34px rgba(242,185,59,.40); } 50% { box-shadow: 0 10px 50px rgba(242,185,59,.75); } }
.inaug__hint { margin: 0; font-size: .85rem; opacity: .7; }
.inaug__fs { background: none; border: 0; color: #FFD66B; text-decoration: underline; cursor: pointer; font: inherit; padding: 0 0 0 6px; }
.inaug__wait { margin: 8px 0 0; font-size: .95rem; opacity: .85; display: flex; align-items: center; justify-content: center; gap: 10px; }
.inaug__dot { width: 10px; height: 10px; border-radius: 50%; background: #FFD66B; flex: none; animation: inaugDot 1.4s ease-in-out infinite; }
@keyframes inaugDot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.inaug__confetti { position: absolute; inset: 0; z-index: 6; pointer-events: none; width: 100%; height: 100%; }
@media (max-width: 560px) { .inaug__stage { padding: 24px 18px 20px; border-radius: 22px; } .inaug__logo { width: 76px; height: 76px; } .inaug__btn { padding: 16px 26px; } }
@media (prefers-reduced-motion: reduce) { .inaug__curtain, .inaug__valance, .inaug__ribbon span, .inaug__stage, .inaug__welcome { transition-duration: .3s; } .inaug__btn, .inaug__dot { animation: none; } }

/* Admin › Website inauguration */
.launch-status { border-left: 6px solid #9AA3BF; }
.launch-status--on { border-left-color: #B2392A; background: #FFF6F3; }
.launch-link { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; min-width: 0; }
.launch-link input { flex: 1 1 320px; min-width: 0; font-family: ui-monospace, monospace; font-size: .85rem; }
.launch-newkey { margin-top: .7rem; }

/* Top bar (Nov 23): computers and landscape tablets (>=1024px) show Pr. Ben's number + the church number, no email;
   narrower screens keep the church number + email; phones get Pr. Ben's number in the Sunday card instead. */
.topbar__pastor { display: none; }
.topbar__who { font-weight: 600; opacity: .85; margin-right: .35rem; }
@media (min-width: 1024px) {
  .topbar__pastor { display: inline-flex; background: rgba(255,255,255,.1); }
  .topbar a.topbar__pastor:hover { background: rgba(255,255,255,.18); color: #fff; }
  .topbar__mail { display: none; }
}

/* Sunday card (Nov 23): on phones a row of call buttons, Pr. Ben V Thomas first */
.sunday__calls { display: none; }
@media (max-width: 820px) {
  .sunday__acts { flex-wrap: wrap; row-gap: .55rem; }
  .sunday__calls { display: flex; flex-wrap: wrap; gap: .45rem 1rem; width: 100%; order: -1; position: relative; z-index: 1; }
  .sunday__calls .sunday__call { display: inline-flex; }
  .sunday__callwho { font-weight: 600; color: var(--ink, #1E2A5E); margin-right: .3rem; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .topbar__venue { display: none; } .topbar__in { justify-content: flex-end; } }
/* Sunday card (Nov 23, 2): "Hall No. 3," and "Sharjah Worship Center" never break inside; the pin sits on the first line */
.nobr { white-space: nowrap; }
.sunday__place { align-items: flex-start; }
.sunday__place .sunday__pin { flex: none; margin-top: .2em; }
.sunday__placetxt { min-width: 0; }
/* phones: two call rows, names and numbers in aligned columns */
@media (max-width: 820px) {
  .sunday__calls { display: grid; grid-template-columns: max-content max-content; justify-content: start; gap: .5rem .75rem; }
  .sunday__calls .sunday__call { display: grid; grid-column: 1 / -1; grid-template-columns: max-content max-content; column-gap: .75rem; align-items: center; }
  @supports (grid-template-columns: subgrid) { .sunday__calls .sunday__call { grid-template-columns: subgrid; } }
  .sunday__calls .sunday__callwho { display: inline-flex; align-items: center; gap: .45rem; margin: 0; }
}
@media (max-width: 820px) {
  .sunday__calls { font-size: clamp(.78rem, 3.55vw, 1rem); column-gap: .6rem; }
  .sunday__calls .sunday__call { column-gap: .6rem; white-space: nowrap; }
  .sunday__calls .sunday__callico { width: 22px; height: 22px; }
  .sunday__calls .sunday__callico svg { width: 12px; height: 12px; }
  .sunday__calls .sunday__callwho { gap: .35rem; }
}
@media (max-width: 340px) {
  .sunday__calls { grid-template-columns: minmax(0, 1fr); }
  .sunday__calls .sunday__call { display: flex; flex-wrap: wrap; gap: .1rem .6rem; }
  .sunday__calls .sunday__callnum { padding-left: calc(22px + .35rem); }
}

/* ===== Admin › Digital marketing (admin-marketing.php) ===== */
.mkt-chips { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.mkt-chip { display: inline-flex; gap: .4rem; align-items: baseline; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .9rem; }
.mkt-chip span { color: #5B6478; font-size: .82rem; }
.mkt-chip--on { border-color: #2E7D4F; background: #EEF8F1; } .mkt-chip--on span { color: #1E6B3F; font-weight: 600; }
.mkt-chip--bad { border-color: #B2392A; background: #FFF4F1; } .mkt-chip--bad span { color: #B2392A; font-weight: 600; }
.mkt-how p { margin: 0 0 .6rem; } .mkt-dl { display: flex; flex-wrap: wrap; gap: .5rem; }
.mkt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1rem; align-items: start; }
.mkt-card { min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: .2rem 1rem; }
.mkt-card[open] { padding-bottom: 1rem; box-shadow: 0 6px 18px rgba(20, 33, 79, .07); }
.mkt-card summary { display: flex; justify-content: space-between; align-items: center; gap: .5rem; cursor: pointer; padding: .7rem 0; font-weight: 700; color: var(--navy, #14214F); }
.mkt-dot { width: .75rem; height: .75rem; border-radius: 50%; background: #C6CBD8; flex: none; }
.mkt-dot--on { background: #2E9A5B; } .mkt-dot--bad { background: #B2392A; }
.mkt-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; }
.mkt-evs { margin: .5rem 0; padding: .6rem .7rem; border-radius: 10px; background: #F5F6FA; }
.mkt-evs__h { margin: 0 0 .4rem; font-weight: 700; font-size: .9rem; }
.mkt-ev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; align-items: center; margin: .3rem 0; }
.mkt-ev label { font-size: .85rem; min-width: 0; } .mkt-ev input { min-width: 0; width: 100%; padding: .35rem .5rem; }
@media (max-width: 420px) { .mkt-ev { grid-template-columns: minmax(0, 1fr); gap: .15rem; } }
.mkt-where { font-size: .87rem; color: #4A5368; margin: .6rem 0 0; }
.mkt-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.mkt-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.mkt-table th, .mkt-table td { text-align: left; padding: .5rem .65rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.mkt-table thead th { background: #F5F6FA; white-space: nowrap; }
.mkt-utm { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 0 1rem; }
.mkt-utm .launch-link { grid-column: 1 / -1; }
.mkt-grow { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.mkt-grow__card { min-width: 0; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; background: #fff; }
.mkt-grow__card h3 { margin: 0 0 .4rem; font-size: 1.02rem; } .mkt-grow__card ul { margin: 0; padding-left: 1.1rem; font-size: .92rem; }

/* ===== Play together: live Bible games (play-together.php, assets/js/live-games.js) ===== */
.lg { position: relative; max-width: 960px; margin: 0 auto; }
.lg-h2 { margin: 1.6rem 0 .8rem; font-size: 1.25rem; }
.lg-join { background: linear-gradient(135deg, #14214F, #2B3A7A); color: #fff; border-radius: 20px; padding: 1.2rem 1.3rem; box-shadow: 0 10px 28px rgba(20, 33, 79, .18); }
.lg-join h2 { color: #fff; margin: 0 0 .3rem; font-size: 1.3rem; }
.lg-join p { margin: 0 0 .7rem; opacity: .9; }
.lg-join__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; max-width: 420px; }
.lg-join input { min-width: 0; font-size: 1.6rem; font-weight: 800; letter-spacing: .4em; text-transform: uppercase; text-align: center; padding: .45rem .6rem; border-radius: 12px; border: 2px solid #F2C14E; }
.lg-games { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.lg-game { min-width: 0; display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1.1rem 1.2rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(20, 33, 79, .07); }
.lg-game--quiz { background: linear-gradient(160deg, #FFF6E0, #fff 60%); }
.lg-game--match { background: linear-gradient(160deg, #E8F6EE, #fff 60%); }
.lg-game--verse { background: linear-gradient(160deg, #EEF1FF, #fff 60%); }
.lg-game__art { font-size: 2.2rem; letter-spacing: .1em; }
.lg-game h3 { margin: 0; font-size: 1.15rem; }
.lg-game p { margin: 0; }
.lg-game__who { font-size: .88rem; color: #5B6478; flex: 1; }
.lg-game .btn { align-self: flex-start; margin-top: .4rem; }
.lg-how { max-width: 960px; margin: 2rem auto 0; }
.lg-app { min-height: 340px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 10px 30px rgba(20, 33, 79, .1); padding: .9rem; position: relative; overflow: hidden; }
.lg-card { max-width: 560px; margin: 0 auto; padding: .6rem; }
.lg-center { text-align: center; padding: 2rem 1rem; }
.lg-big { font-size: 3.4rem; font-weight: 900; margin: .2rem 0; color: var(--flame); line-height: 1.1; }
.lg-small { font-size: .9rem; color: #5B6478; margin: .2rem 0; }
.lg-me__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; }
.lg-me input { min-width: 0; font-size: 1.15rem; }
.lg-avs { border: 0; padding: 0; margin: .6rem 0; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: .45rem; }
.lg-avs legend { font-weight: 700; margin-bottom: .4rem; }
.lg-av { font-size: 1.7rem; min-height: 52px; border-radius: 14px; border: 2px solid var(--line); background: #F7F8FC; cursor: pointer; }
.lg-av.is-on { border-color: var(--flame); background: #FFF3E6; box-shadow: 0 0 0 3px rgba(122, 21, 23, .15); }
.lg-err { color: #B2392A; font-weight: 600; margin: .5rem 0; }
.lg-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; justify-content: center; }
.lg-top { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; padding-bottom: .6rem; border-bottom: 1px solid var(--line); margin-bottom: .8rem; }
.lg-top__game { font-weight: 800; color: var(--navy, #14214F); flex: 1; min-width: 0; }
.lg-top__code { font-size: .9rem; color: #5B6478; } .lg-top__code b { letter-spacing: .15em; color: var(--flame); }
.lg-icon { border: 1px solid var(--line); background: #fff; border-radius: 999px; min-width: 40px; height: 40px; padding: 0 .7rem; cursor: pointer; font-size: 1rem; }
.lg-icon.is-sure { background: #B2392A; color: #fff; border-color: #B2392A; font-weight: 700; }
.lg-lobby { text-align: center; }
.lg-code { display: flex; justify-content: center; gap: .4rem; margin: .3rem 0 .8rem; }
.lg-code span { width: 3.3rem; height: 4rem; display: grid; place-items: center; font-size: 2.4rem; font-weight: 900; color: #fff; background: linear-gradient(160deg, #7A1517, #A8262A); border-radius: 14px; box-shadow: 0 6px 0 #4E0D0F; }
.lg-share { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1rem; }
.lg-players { list-style: none; margin: .5rem auto 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; max-width: 640px; }
.lg-players li { display: inline-flex; align-items: center; gap: .2rem; }
.lg-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem .3rem .35rem; border-radius: 999px; background: #F1F3FA; font-weight: 700; font-size: .95rem; max-width: 100%; }
.lg-chip.is-me { background: #FFF1D6; box-shadow: inset 0 0 0 2px #F2C14E; }
.lg-chip.is-away { opacity: .45; }
.lg-chip__av { font-size: 1.35rem; line-height: 1; }
.lg-tag { font-size: .7rem; font-weight: 700; color: #fff; background: var(--flame); border-radius: 999px; padding: .1rem .45rem; }
.lg-x { border: 0; background: transparent; color: #8A93A8; cursor: pointer; font-size: 1rem; width: 32px; height: 32px; border-radius: 50%; }
.lg-x:hover { background: #F4E4E4; color: #B2392A; }
.lg-rule { max-width: 520px; margin: .4rem auto 1rem; color: #3D465C; }
.lg-go { font-size: 1.15rem; padding: .8rem 1.6rem; }
.lg-wait { font-weight: 700; color: var(--flame); animation: lgPulse 1.6s ease-in-out infinite; }
@keyframes lgPulse { 50% { opacity: .55; } }
.lg-bar { height: 10px; background: #EEF0F6; border-radius: 999px; overflow: hidden; margin: .5rem 0 .9rem; }
.lg-bar i { display: block; height: 100%; background: linear-gradient(90deg, #1F9D55, #F2C14E); transform-origin: 0 50%; border-radius: inherit; }
.lg-bar i.is-low { background: #E2483D; }
.lg-q { font-size: clamp(1.15rem, 4.4vw, 1.6rem); margin: .2rem 0 .4rem; line-height: 1.3; }
.lg-q--ref { color: var(--flame); }
.lg-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 480px) { .lg-opts { grid-template-columns: minmax(0, 1fr); } }
.lg-opt { min-width: 0; display: flex; align-items: center; gap: .6rem; text-align: left; padding: .9rem 1rem; min-height: 64px; border: 0; border-radius: 16px; background: var(--c); color: #fff; font-weight: 800; font-size: 1.05rem; cursor: pointer; box-shadow: 0 5px 0 rgba(0, 0, 0, .18); transition: transform .12s, opacity .2s, box-shadow .2s; }
.lg-opt:not(:disabled):hover { transform: translateY(-2px); }
.lg-opt:not(:disabled):active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.lg-opt__s { font-size: 1.2rem; opacity: .85; flex: none; }
.lg-opt.is-dim { opacity: .35; }
.lg-opt.is-mine { box-shadow: 0 0 0 4px #141C3F, 0 5px 0 rgba(0, 0, 0, .18); }
.lg-opt.is-right { opacity: 1; box-shadow: 0 0 0 4px #1F9D55, 0 0 22px rgba(31, 157, 85, .55); background: #1F9D55; }
.lg-opt.is-right::after { content: '✓'; margin-left: auto; font-size: 1.4rem; }
.lg-opt.is-wrong { opacity: .8; background: #8A93A8; }
.lg-status { text-align: center; color: #5B6478; font-weight: 600; margin: .8rem 0 0; }
.lg-result { text-align: center; font-size: 1.35rem; font-weight: 900; margin: .9rem 0 .5rem; }
.lg-result.is-good { color: #1F7A4D; } .lg-result.is-bad { color: #B2392A; }
.lg-ref { display: block; font-size: .9rem; font-weight: 600; color: #5B6478; }
.lg-scores { list-style: none; margin: .6rem auto 0; padding: 0; max-width: 440px; counter-reset: lgs; }
.lg-scores li { display: flex; align-items: center; gap: .5rem; padding: .3rem .2rem; border-bottom: 1px dashed var(--line); counter-increment: lgs; }
.lg-scores li::before { content: counter(lgs); width: 1.4rem; text-align: center; font-weight: 800; color: #8A93A8; }
.lg-scores li b { margin-left: auto; font-size: 1.05rem; }
.lg-turn { text-align: center; font-size: 1.1rem; margin: 0; }
.lg-turn.is-me { color: #1F7A4D; font-size: 1.25rem; }
.lg-board { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: .5rem; max-width: 480px; margin: 0 auto; perspective: 800px; }
.lg-card2 { aspect-ratio: 1; border: 0; padding: 0; background: transparent; cursor: pointer; min-width: 0; }
.lg-card2:disabled { cursor: default; }
.lg-card2__in { position: relative; display: block; width: 100%; height: 100%; transition: transform .4s; transform-style: preserve-3d; }
.lg-card2.is-open .lg-card2__in { transform: rotateY(180deg); }
.lg-card2__back, .lg-card2__face { position: absolute; inset: 0; border-radius: 14px; display: grid; place-items: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.lg-card2__back { background: linear-gradient(135deg, #14214F, #2F5FC4); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .25), 0 4px 0 #0B1233; }
.lg-card2__back::after { content: '?'; color: #F2C14E; font-size: 1.8rem; font-weight: 900; }
.lg-card2:not(:disabled) .lg-card2__back:hover { filter: brightness(1.15); }
.lg-card2__face { transform: rotateY(180deg); background: #FFF8E7; font-size: clamp(1.6rem, 8vw, 2.6rem); box-shadow: inset 0 0 0 3px #F2C14E, 0 4px 0 #D9A73A; }
.lg-card2__face small { position: absolute; right: 4px; bottom: 2px; font-size: .9rem; }
.lg-card2.is-won .lg-card2__face { background: #E5F6EC; box-shadow: inset 0 0 0 3px #1F9D55, 0 4px 0 #157A40; }
.lg-card2.is-miss .lg-card2__face { background: #FDECEC; box-shadow: inset 0 0 0 3px #E2483D; animation: lgShake .4s; }
@keyframes lgShake { 25% { translate: -4px 0; } 75% { translate: 4px 0; } }
.lg-line { min-height: 64px; display: flex; flex-wrap: wrap; gap: .4rem; align-content: flex-start; padding: .6rem; border: 2px dashed #C9CEDF; border-radius: 16px; background: #FAFBFE; margin-bottom: .7rem; }
.lg-line.is-shake { animation: lgShake .4s; }
.lg-line__hint { color: #8A93A8; align-self: center; }
.lg-pool { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.lg-tile { border: 0; border-radius: 12px; padding: .55rem .8rem; font-weight: 700; font-size: 1.02rem; background: #2F5FC4; color: #fff; cursor: pointer; box-shadow: 0 4px 0 #1E3E86; max-width: 100%; }
.lg-tile.is-in { background: #F2C14E; color: #141C3F; box-shadow: 0 4px 0 #C99A2E; }
.lg-verse { margin: .6rem auto; max-width: 560px; padding: 1rem 1.2rem; border-left: 5px solid var(--flame); background: #FBF6EE; border-radius: 0 14px 14px 0; font-size: 1.15rem; font-style: italic; }
.lg-verse cite { display: block; margin-top: .4rem; font-style: normal; font-weight: 700; color: var(--flame); font-size: .95rem; }
.lg-end { text-align: center; }
.lg-podium { display: flex; justify-content: center; align-items: flex-end; gap: .5rem; margin: 1rem 0; }
.lg-pod { min-width: 0; flex: 1; max-width: 140px; display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.lg-pod__av { font-size: 2.4rem; }
.lg-pod b { font-size: .95rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-pod i { font-style: normal; width: 100%; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.6rem; border-radius: 12px 12px 0 0; }
.lg-pod--1 i { height: 110px; background: linear-gradient(#F2C14E, #C99A2E); }
.lg-pod--2 i { height: 80px; background: linear-gradient(#C9CEDF, #9AA3BF); }
.lg-pod--3 i { height: 60px; background: linear-gradient(#E0A070, #B87445); }
.lg-cheers { display: flex; justify-content: center; gap: .35rem; margin-top: 1rem; padding-top: .7rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.lg-cheers button { font-size: 1.4rem; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #F7F8FC; cursor: pointer; transition: transform .12s; }
.lg-cheers button:active { transform: scale(.88); }
.lg-float { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lg-pop { position: absolute; bottom: 60px; display: flex; flex-direction: column; align-items: center; font-size: .78rem; font-weight: 700; color: #141C3F; animation: lgUp 2.6s ease-out forwards; text-shadow: 0 1px 0 #fff; }
.lg-pop b { font-size: 2rem; }
@keyframes lgUp { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translateY(-20px) scale(1.1); } 100% { transform: translateY(-220px) scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lg-pop, .lg-wait, .lg-card2.is-miss .lg-card2__face, .lg-line.is-shake { animation: none; } .lg-card2__in { transition: none; } }
@media (max-width: 420px) { .lg-app { padding: .6rem; border-radius: 16px; } .lg-code span { width: 2.8rem; height: 3.4rem; font-size: 2rem; } .lg-board { gap: .35rem; } }
.lg, .lg h2, .lg h3, .lg-q, .lg-code span, .lg-chip, .lg-tile, .lg-opt { font-family: var(--sans); }
.lg-how h2, .lg-how h3 { font-family: var(--serif); }
.lg-page .chat__hint { display: none !important; }   /* no pop-up over the game buttons */
.lg-card2:disabled { color: inherit; opacity: 1; }
.kz-invite--live { margin-top: 1rem; background: linear-gradient(120deg, #EEF1FF, #FFF1F4); }
.kz-invite--love { margin-top: 1rem; background: linear-gradient(120deg, #FFF0EC, #FFF8E6); }
@media (max-width: 420px) { .lg-top__game { flex: 1 1 100%; font-size: 1.05rem; } .lg-top__code { flex: 1; } }
.lg-join__err { margin: .7rem 0 0; padding: .55rem .8rem; border-radius: 10px; background: #FFF1D6; color: #5C0F11; font-weight: 700; max-width: 520px; }
.lg-join__tip { margin: .7rem 0 0; font-size: .9rem; opacity: .85; }

/* ---------- Holy Bible (bible.php, bible-verses.php): KJV + Malayalam ---------- */
.bb { --bb-size: 1; min-width: 0; }
.page-body.bb { display: block; }
.bb :lang(ml), .bb-h1ml { font-family: "Noto Serif Malayalam", "Noto Sans Malayalam", "Manjari", "Malayalam Sangam MN", "Kartika", var(--serif); }
.bb-h1ml { display: block; font-size: .62em; font-weight: 500; margin-top: .25em; color: inherit; opacity: .85; letter-spacing: 0; }
.bb-find { display: flex; gap: .5rem; max-width: 680px; margin: 0 0 1.2rem; }
.bb-find input { flex: 1 1 auto; min-width: 0; font: 400 1.0625rem var(--sans); padding: .85rem 1.1rem; border: 2px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); }
.bb-find input:focus { border-color: var(--indigo-2); outline: none; box-shadow: 0 0 0 3px rgba(46,63,127,.15); }
.bb-pop, .bb-chips { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin: 0 0 2rem; font-family: var(--sans); }
.bb-pop > span { color: var(--muted); font-size: .9375rem; margin-right: .2rem; }
.bb-chip { display: inline-block; padding: .42rem .85rem; border-radius: 999px; border: 1px solid #CDD3E6; background: #fff; color: var(--indigo); text-decoration: none; font: 500 .9375rem/1.2 var(--sans); }
.bb-chip:hover { border-color: var(--indigo-2); background: var(--mist); color: var(--indigo); }
.bb-chip--all { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.bb-chip--all:hover { background: var(--indigo-2); color: #fff; }
.bb-testament h2, .bb-topics-teaser h2, .bb-tgroup h2, .bb-more h2 { font-size: var(--s2); margin: 2rem 0 .9rem; }
.bb-testament h2 span { display: inline-block; margin-left: .5rem; font-size: .7em; color: var(--muted); font-weight: 500; }
.bb-books { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr)); gap: .6rem; }
.bb-books a { position: relative; display: flex; flex-direction: column; gap: .1rem; min-width: 0; padding: .75rem 2.6rem .75rem .9rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.bb-books a:hover { border-color: #AEB7D6; box-shadow: 0 10px 22px -16px rgba(20,28,63,.5); transform: translateY(-1px); }
.bb-book__en { font: 600 1rem/1.25 var(--sans); color: var(--night); }
.bb-book__ml { font-size: .9375rem; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.bb-book__n { position: absolute; top: .7rem; right: .7rem; min-width: 1.7rem; padding: .1rem .35rem; border-radius: 999px; background: var(--mist); color: var(--muted); font: 600 .75rem/1.4 var(--sans); text-align: center; }
.bb-chaps ol { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: .5rem; }
.bb-chaps a { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; font: 600 1.0625rem var(--sans); color: var(--indigo); }
.bb-chaps a:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.bb-pn { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin: 2rem 0; font-family: var(--sans); }
.bb-pn a { display: inline-flex; align-items: center; padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid #CDD3E6; text-decoration: none; color: var(--indigo); font-weight: 600; background: #fff; }
.bb-pn a:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.bb-pn .bb-pn__all { border-color: transparent; background: none; color: var(--muted); font-weight: 500; }
.bb-pn .bb-pn__all:hover { background: var(--mist); color: var(--indigo); border-color: transparent; }
.bb-bar { position: sticky; top: calc(var(--top-h, 70px) + 6px); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; padding: .45rem .55rem; margin: -.4rem 0 1.4rem; border-radius: 18px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 26px -18px rgba(20,28,63,.6); border: 1px solid #E3E6EE; font-family: var(--sans); }
.bb-bar--slim { display: inline-flex; }
.bb-langs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--mist); }
.bb-langs button { border: 0; background: none; padding: .45rem .85rem; border-radius: 999px; font: 600 .9375rem var(--sans); color: var(--muted); cursor: pointer; }
.bb-langs button[lang="ml"] { font-family: "Noto Sans Malayalam", "Manjari", var(--sans); }
.bb-langs button[aria-pressed="true"] { background: var(--indigo); color: #fff; }
.bb-tools { display: inline-flex; gap: .35rem; flex-wrap: wrap; }
.bb-tool { border: 1px solid #CDD3E6; background: #fff; color: var(--indigo); padding: .42rem .7rem; border-radius: 999px; font: 600 .9375rem var(--sans); cursor: pointer; }
.bb-tool:hover { border-color: var(--indigo-2); background: var(--mist); }
.bb-tool--listen[aria-pressed="true"] { background: var(--flame); border-color: var(--flame); color: #fff; }
.bb-jump { display: inline-flex; gap: .35rem; margin-left: auto; min-width: 0; }
.bb-jump select { min-width: 0; max-width: 11rem; padding: .42rem .5rem; border: 1px solid #CDD3E6; border-radius: 10px; font: 500 .9375rem var(--sans); background: #fff; color: var(--ink); }
.bb-jump select[name="c"] { width: 4.4rem; }
.bb-tip { font: 500 .9375rem var(--sans); color: var(--ember); margin: -.8rem 0 1rem; }
.bb-verses { list-style: none; margin: 0; padding: 0; font-size: calc(1.0625rem * var(--bb-size)); line-height: 1.75; }
.bb-v { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.4rem; padding: .35rem .5rem .35rem 0; border-radius: 10px; scroll-margin-top: calc(var(--top-h, 70px) + 80px); transition: background-color .2s; }
.bb-v--p { margin-top: .9rem; }
.bb-vn { align-self: start; justify-self: end; margin-top: .3em; min-width: 1.9rem; padding: .05rem .3rem; border: 0; border-radius: 8px; background: none; color: var(--ember); font: 700 .8rem/1.5 var(--sans); cursor: pointer; }
.bb-vn:hover { background: var(--flame-soft); }
.bb-ml { line-height: 1.85; }
.bb-mlnote { font: 400 .85rem/1.5 var(--sans); color: var(--muted); }
.bb-en em { font-style: italic; }
.bb[data-lang="en"] .bb-ml, .bb[data-lang="ml"] .bb-en { display: none; }
.bb[data-lang="en"] .bb-v, .bb[data-lang="ml"] .bb-v { grid-template-columns: 2.4rem minmax(0, 1fr); max-width: 52rem; }
.bb-v.is-hl { background: #FFF6D6; }
.bb-v.is-sel { background: #E9EDF8; }
.bb-v.is-sel .bb-vn { background: var(--indigo); color: #fff; }
.bb-v.is-reading { background: #FDEBE8; }
.bb-share { position: sticky; bottom: max(.8rem, env(safe-area-inset-bottom)); z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; width: fit-content; max-width: 100%; margin: 1rem auto 0; padding: .5rem .6rem .5rem 1rem; border-radius: 999px; background: var(--night); color: #fff; box-shadow: 0 16px 34px -16px rgba(20,28,63,.8); font-family: var(--sans); }
.bb-share[hidden] { display: none; }
.bb-share__ref { font-weight: 600; margin-right: .3rem; }
.bb-share button { border: 0; border-radius: 999px; padding: .45rem .85rem; background: rgba(255,255,255,.14); color: #fff; font: 600 .9375rem var(--sans); cursor: pointer; }
.bb-share button:hover { background: rgba(255,255,255,.26); }
.bb-credit { margin-top: 2.5rem; font: 400 .8125rem/1.6 var(--sans); color: var(--muted); max-width: 60rem; }
.bb-count { font-family: var(--sans); color: var(--muted); }
.bb-results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.bb-results li { min-width: 0; overflow-wrap: anywhere; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.bb-results p { margin: .3rem 0 0; }
.bb-results__ref { font: 700 1rem var(--sans); text-decoration: none; }
.bb-results mark { background: #FFF0B3; color: inherit; padding: 0 .1em; border-radius: 3px; }
.bb[data-lang="en"] .bb-results .bb-ml, .bb[data-lang="ml"] .bb-results .bb-en { display: block; }
.bb-pages { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0; font-family: var(--sans); }
.bb-pages a, .bb-pages span { min-width: 2.4rem; text-align: center; padding: .4rem .6rem; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; }
.bb-pages span { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.bb-more { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.bb-more p { font-family: var(--sans); }
.bb-tlist { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .6rem; }
.bb-tlist a { display: flex; flex-direction: column; min-width: 0; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.bb-tlist a:hover { border-color: #AEB7D6; box-shadow: 0 10px 22px -16px rgba(20,28,63,.5); }
.bb-tlist__en { font: 600 1.0625rem var(--sans); color: var(--night); }
.bb-tlist__ml { color: var(--muted); font-size: .9375rem; }
.bb-backlink { margin: 2rem 0 0; }
.bb-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; font-size: calc(1.0625rem * var(--bb-size)); }
.bb-card { padding: 1.2rem 1.3rem 1rem; border: 1px solid var(--line); border-left: 4px solid var(--flame); border-radius: var(--r-md); background: #fff; min-width: 0; }
.bb-card blockquote { margin: 0 0 .8rem; }
.bb-card blockquote p { margin: 0 0 .3rem; }
.bb-card footer { font: 700 .9375rem var(--sans); color: var(--ember); }
.bb-card .bb-ml footer { font-family: "Noto Sans Malayalam", "Manjari", var(--sans); }
.bb-card__acts { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; font: 500 .9375rem var(--sans); }
.bb-card__acts button { border: 1px solid #CDD3E6; background: #fff; color: var(--indigo); border-radius: 999px; padding: .3rem .75rem; font: 600 .875rem var(--sans); cursor: pointer; }
.bb-card__acts button:hover { background: var(--mist); }
.bb-prayer { margin: 2rem 0 1rem; padding: 1.3rem 1.4rem; border-radius: var(--r-md); background: var(--mist); }
.bb-prayer h2 { font-size: var(--s1); margin-bottom: .5rem; }
.bb-prayer p { margin: 0 0 .6rem; font-style: italic; }
.bb-prayer .bb-prayer__help { font: normal 400 .9375rem var(--sans); margin: 0; }
@media (min-width: 900px) { .bb[data-lang="both"] .bb-cards .bb-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.6rem; } .bb[data-lang="both"] .bb-card__acts { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .bb-v { grid-template-columns: 2rem minmax(0, 1fr); column-gap: .6rem; }
  .bb-v .bb-ml { grid-column: 2; margin-top: .25rem; }
  .bb[data-lang="both"] .bb-v .bb-ml { padding-top: .25rem; border-top: 1px dashed #E3E6EE; }
  .bb-jump { margin-left: 0; width: 100%; }
  .bb-jump select[name="b"] { flex: 1 1 auto; max-width: none; }
  .bb-bar { border-radius: 16px; position: static; }
  .bb-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print { .bb-bar, .bb-share, .bb-pn, .bb-more, .bb-find, .bb-card__acts { display: none !important; } }
.search-bible { margin: 0 0 1.6rem; padding: 1.1rem 1.3rem; border: 1px solid var(--line); border-left: 4px solid var(--flame); border-radius: var(--r-md); background: #fff; }
.search-bible h2 span { display: block; font-size: .8em; color: var(--muted); font-family: "Noto Sans Malayalam", "Manjari", var(--sans); }
.search-bible blockquote { margin: .6rem 0; }
.search-bible blockquote[lang="ml"] { font-family: "Noto Serif Malayalam", "Noto Sans Malayalam", "Manjari", var(--serif); }
.search-bible p { margin: .4rem 0 0; font-family: var(--sans); }
.search-page__bible { font-family: var(--sans); }
/* Admin › Online Bible */
.bbadm-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: .4rem .8rem; font-family: var(--sans); }
.bbadm-list li { min-width: 0; padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.bbadm-list li span { display: block; font-size: .8125rem; color: var(--muted); }
.bbadm-list li.is-off { opacity: .6; }
.bbadm-prev { margin: .5rem 0 1rem; font-family: var(--sans); font-size: .9375rem; }
.bbadm-prev summary { cursor: pointer; font-weight: 600; color: var(--indigo-2); }
.bbadm-prev ol { margin: .5rem 0 0; padding-left: 1.3rem; }
.settings__inline { margin: -.5rem 0 2rem; }
.bb-tgroup:first-child h2, .bb-find + .bb-pop + .bb-testament h2 { margin-top: .5rem; }


/* ---------- Love in Action (love-in-action.php): 31 days, card maker, prayer jar, Faith at work, Family devotion ---------- */
.page-body.la { display: block; }
.la { --la-rose: #FBEDEA; --la-gold: #C8932B; min-width: 0; }
.la[data-lang="en"] .la-ml, .la[data-lang="ml"] .la-en { display: none; }
.la :lang(ml) { font-family: "Noto Sans Malayalam", "Manjari", "Malayalam Sangam MN", "Kartika", var(--sans); }
.la-top { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; position: sticky; top: var(--top-h, 70px); z-index: 20; background: rgba(255,255,255,.96); padding: .6rem 0; }
.la-tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; min-width: 0; max-width: 100%; -webkit-overflow-scrolling: touch; }
.la-tabs::-webkit-scrollbar { display: none; }
.la-tab { display: inline-flex; align-items: center; gap: .4rem; flex: 0 0 auto; padding: .55rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 .9375rem/1.2 var(--sans); text-decoration: none; white-space: nowrap; }
.la-tab .ico { width: 1.1em; height: 1.1em; color: var(--flame); }
.la-tab:hover { border-color: var(--indigo-2); }
.la-tab.is-on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.la-tab.is-on .ico { color: var(--flame-soft); }
.la--tabs .la-panel[hidden] { display: none; }
.la-panel { min-width: 0; margin-bottom: 2.5rem; }
.la-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: start; margin-bottom: 1.25rem; }
.la-head__ico { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 16px; background: var(--la-rose); color: var(--flame); }
.la-head__ico svg { width: 1.6rem; height: 1.6rem; }
.la-head h2 { margin: 0 0 .25rem; font-size: var(--s3); line-height: 1.2; color: var(--indigo); }
.la-head p { margin: 0; color: var(--muted); max-width: 46rem; }
.la-small { font: 400 .875rem/1.55 var(--sans); color: var(--muted); }
.la-small .ico { width: 1em; height: 1em; vertical-align: -2px; }
.la-c { text-align: center; }
.la-link { border: 0; background: none; padding: 0; color: var(--indigo-2); font: 600 .9rem var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.la-link--muted { color: var(--muted); font-weight: 500; }
.la-acts { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.la-acts--c { justify-content: center; }
.la-acts .btn .ico { width: 1.05em; height: 1.05em; vertical-align: -2px; }
.la-badge { display: inline-block; padding: .1rem .55rem; border-radius: 999px; background: var(--flame); color: #fff; font: 700 .75rem/1.6 var(--sans); vertical-align: middle; letter-spacing: .02em; }
.la-empty { color: var(--muted); font: 400 .9rem/1.5 var(--sans); list-style: none; }

/* verses */
.la-verse { margin: .9rem 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; min-width: 0; }
.la-verse p { overflow-wrap: anywhere; }
.la-verse blockquote { margin: 0; padding: .9rem 1.1rem; border-left: 4px solid var(--flame); background: var(--mist); border-radius: 0 var(--r-md) var(--r-md) 0; }
.la-verse blockquote p { margin: 0 0 .35rem; font-size: 1.0625rem; line-height: 1.65; }
.la-verse .la-ml p { line-height: 1.85; }
.la-verse footer { font: 700 .8125rem var(--sans); color: var(--ember); }
.la-verse footer a { color: inherit; }
.la-verse--soft blockquote { background: #FBF8F3; border-left-color: var(--la-gold); }
@media (min-width: 900px) { .la[data-lang="both"] .la-verse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* 31 days */
.la-status { font: 400 1rem/1.55 var(--sans); background: var(--la-rose); color: var(--ink); padding: .8rem 1rem; border-radius: var(--r-md); margin: 0 0 1rem; }
.la-status:empty { display: none; }
.la-status .btn { margin-left: .4rem; vertical-align: middle; }
.la-prog { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 1.25rem; font: 600 .9rem var(--sans); color: var(--muted); }
.la-prog__bar { flex: 1 1 12rem; min-width: 0; height: 10px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.la-prog__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--flame), #C2543F); border-radius: inherit; transition: width .5s ease; }
.la-thanks-all { border: 1px dashed var(--la-gold); background: #FFFBF2; border-radius: var(--r-md); padding: 1rem 1.2rem; margin-bottom: 1.25rem; }
.la-thanks-all h3 { margin: 0 0 .2rem; font-size: 1.2rem; }
.la-thanks-all ol { margin: .5rem 0 0; padding-left: 2.6rem; }
.la-thanks-all li { margin: .2rem 0; }
.la-days { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.la-day { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; min-width: 0; scroll-margin-top: calc(var(--top-h, 70px) + 5rem); }
.la-day__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: center; width: 100%; padding: .7rem .9rem; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); font: inherit; border-radius: var(--r-md); }
.la-day__n { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 12px; background: var(--mist); color: var(--indigo); line-height: 1; }
.la-day__num { font: 700 1.25rem/1 var(--sans); }
.la-day__mon { font: 600 .6875rem/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: -.7rem; }
.la-day__t { display: grid; min-width: 0; }
.la-day__t strong { font-size: 1.0625rem; line-height: 1.3; }
.la-day__ref { font: 500 .8125rem var(--sans); color: var(--muted); }
.la-day__state { font: 700 .75rem var(--sans); white-space: nowrap; }
.la-now { background: var(--flame); color: #fff; padding: .2rem .55rem; border-radius: 999px; }
.la-lock { color: var(--muted); font-weight: 600; }
.la-lock::before { content: "🔒"; font-size: 1rem; }
.la-tick { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #2F7A4A; color: #fff; font-size: 1rem; }
.la-day__body { padding: 0 1rem 1rem; min-width: 0; }
.la-day.is-today { border-color: var(--flame); box-shadow: 0 6px 22px rgba(122, 21, 23, .12); }
.la-day.is-today .la-day__n { background: var(--flame); color: #fff; }
.la-day.is-today .la-day__mon { color: var(--flame-soft); }
.la-day.is-done .la-day__n { background: #E4F2E8; color: #2F7A4A; }
.la-day.is-locked .la-day__head { cursor: default; opacity: .62; }
.la-day .btn:disabled { opacity: .5; cursor: not-allowed; }
.la-day.is-shake { animation: la-shake .4s; }
@keyframes la-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.la-do { margin: .7rem 0 0; }
.la-do__k { display: block; font: 700 .8125rem var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--flame); margin-bottom: .1rem; }
.la-do__k .ico { width: 1em; height: 1em; vertical-align: -2px; }
.la-do--pray { font-style: italic; }
.la-do--pray .la-do__k { font-style: normal; color: var(--indigo-2); }
.la-thanks { margin-top: .9rem; }
.la-thanks label { display: block; font: 700 .875rem var(--sans); color: var(--ink); margin-bottom: .3rem; }
.la-thanks textarea, .la-jar__add textarea { width: 100%; max-width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: .6rem .75rem; font: 400 1rem/1.5 var(--sans); resize: vertical; background: #FFFDF8; }
.la-thanks textarea:disabled { background: var(--mist); }
.la-finish { text-align: center; background: linear-gradient(135deg, var(--la-rose), #FFF6E3); border-radius: var(--r-lg); padding: 1.5rem 1.2rem; margin-top: 1.5rem; }
.la-finish__big { font-size: 3rem; margin: 0; line-height: 1; }
.la-finish h3 { margin: .5rem 0; color: var(--flame); }

/* card maker */
.la-maker { display: grid; gap: 1.5rem; min-width: 0; }
@media (min-width: 900px) { .la-maker { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: start; } .la-maker__out { position: sticky; top: calc(var(--top-h, 70px) + 8rem); } }
.la-maker__form { min-width: 0; }
.la-maker__form select, .la-maker__form input[type="text"], .la-maker__form input:not([type]) { width: 100%; max-width: 100%; }
.la-pick { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.la-pick legend { font: 700 .9375rem var(--sans); margin-bottom: .4rem; padding: 0; }
.la-pick--row label { display: inline-flex; align-items: center; gap: .35rem; margin: 0 .9rem .4rem 0; font: 500 .9375rem var(--sans); cursor: pointer; }
.la-vopt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; align-items: start; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; margin-bottom: .4rem; cursor: pointer; }
.la-vopt input { margin-top: .3rem; }
.la-vopt strong { display: block; font: 700 .875rem var(--sans); color: var(--ember); }
.la-vopt span span { font-size: .9375rem; line-height: 1.45; }
.la-vopt:has(input:checked) { border-color: var(--indigo-2); background: #F4F6FC; }
.la-grid2 { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .la-grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.la-sw { position: relative; }
.la-sw input { position: absolute; opacity: 0; }
.la-sw span { display: inline-block; padding: .4rem .8rem .4rem 2.1rem; border-radius: 999px; border: 2px solid var(--line); position: relative; }
.la-sw span::before { content: ""; position: absolute; left: .45rem; top: 50%; width: 1.25rem; height: 1.25rem; margin-top: -.625rem; border-radius: 50%; }
.la-sw input:checked + span { border-color: var(--indigo); box-shadow: 0 0 0 2px rgba(31, 43, 92, .15); }
.la-sw input:focus-visible + span { outline: 2px solid var(--indigo-2); outline-offset: 2px; }
.la-sw--navy span::before { background: linear-gradient(135deg, #141C3F, #2E3F7F); }
.la-sw--maroon span::before { background: linear-gradient(135deg, #4A0B0D, #8E2E2B); }
.la-sw--dawn span::before { background: linear-gradient(135deg, #FFF6EC, #F8CDB8); border: 1px solid #E5C3B0; }
.la-sw--garden span::before { background: linear-gradient(135deg, #F1F8EF, #C9E3C8); border: 1px solid #B5D3B4; }
.la-sw--sky span::before { background: linear-gradient(135deg, #EEF5FF, #BFD7F5); border: 1px solid #AFC6E6; }
.la-canvas { display: block; width: 100%; max-width: 26rem; height: auto; margin: 0 auto; border-radius: 14px; box-shadow: 0 14px 40px rgba(20, 28, 63, .22); background: var(--mist); }

/* prayer jar */
.la-jar { display: grid; gap: 1.5rem; min-width: 0; }
@media (min-width: 820px) { .la-jar { grid-template-columns: 15rem minmax(0, 1fr); align-items: start; } .la-jar__art { position: sticky; top: calc(var(--top-h, 70px) + 8rem); } }
.la-jar__art { text-align: center; }
.la-jar__svg { width: 12rem; max-width: 60%; height: auto; margin: 0 auto; overflow: visible; }
.la-jar__lid { fill: var(--flame); }
.la-jar__glass { fill: rgba(191, 215, 245, .28); stroke: var(--indigo); stroke-width: 4; }
.la-jar__shine { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 6; stroke-linecap: round; }
.la-jar.is-shake .la-jar__svg { animation: la-wobble .6s; }
.la-jar.is-drop .la-jar__svg { animation: la-bounce .5s; }
@keyframes la-wobble { 25% { transform: rotate(-6deg); } 50% { transform: rotate(5deg); } 75% { transform: rotate(-3deg); } }
@keyframes la-bounce { 40% { transform: translateY(6px) scale(1.02, .98); } }
.la-jar__count { font: 700 .9375rem var(--sans); color: var(--indigo); margin: .5rem 0 0; }
.la-jar__main { min-width: 0; }
.la-jar__add label { display: block; font: 700 .9375rem var(--sans); margin-bottom: .3rem; }
.la-jar__picked { margin: 1rem 0; padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: #FFFBF2; border: 2px solid var(--la-gold); }
.la-jar__picked.is-pop { animation: la-pop .35s ease-out; }
@keyframes la-pop { from { transform: scale(.94); opacity: .4; } }
.la-jar__k { margin: 0; font: 700 .8125rem var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--la-gold); }
.la-jar__slip { margin: .3rem 0 0; font-size: 1.25rem; line-height: 1.45; overflow-wrap: anywhere; }
.la-jar__h { font-size: 1.1rem; margin: 1.5rem 0 .5rem; color: var(--indigo); }
.la-jar__h--thanks { color: #2F7A4A; }
.la-jar__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.la-jitem { display: grid; gap: .1rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.la-jitem__t { overflow-wrap: anywhere; }
.la-jitem__m { font: 400 .8125rem var(--sans); color: var(--muted); }
.la-jitem__a { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .2rem; }
.la-jitem.is-answered { background: #F2F9F4; border-color: #CDE6D5; }

/* Faith at work */
.la-status--work { background: var(--mist); }
.la-work { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.la-sc { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.1rem 1.1rem; background: #fff; min-width: 0; }
.la-sc h3 { margin: 0 0 .35rem; font-size: 1.15rem; color: var(--indigo); display: flex; align-items: center; gap: .55rem; }
.la-sc__n { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--indigo); color: #fff; font: 700 .875rem var(--sans); flex: 0 0 auto; }
.la-sc__q { margin: 0 0 .8rem; }
.la-sc__opts { display: grid; gap: .45rem; }
.la-opt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .65rem; align-items: start; width: 100%; text-align: left; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 400 1rem/1.45 var(--sans); color: var(--ink); cursor: pointer; }
.la-opt:hover { border-color: var(--indigo-2); }
.la-opt__l { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--mist); font-weight: 700; font-size: .8125rem; }
.is-answered .la-opt.is-best { border-color: #2F7A4A; background: #F2F9F4; }
.is-answered .la-opt.is-best .la-opt__l { background: #2F7A4A; color: #fff; }
.is-answered .la-opt.is-picked:not(.is-best) { border-color: #C2543F; background: #FDF3F0; }
.la-sc__ans { margin-top: .9rem; }
.la-fb { margin: 0 0 .4rem; padding-left: 1.6rem; position: relative; font: 400 .9375rem/1.5 var(--sans); }
.la-fb::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.la-fb--best::before { content: "✓"; color: #2F7A4A; }
.la-fb--other::before { content: "•"; color: #C2543F; }
.la-sc__way { margin: .6rem 0 0; }

/* Family devotion night */
.la-fam__bar { display: flex; flex-wrap: wrap; gap: .5rem .8rem; align-items: center; margin-bottom: 1rem; }
.la-fam__bar label { font: 700 .9375rem var(--sans); flex: 1 1 100%; }
.la-fam__bar select { flex: 1 1 14rem; min-width: 0; max-width: 24rem; }
.la-fam { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.2rem 1.2rem .6rem; background: linear-gradient(180deg, #FFFDF8, #fff 12rem); min-width: 0; }
.la-fam[hidden] { display: none; }
.la-fam h3 { margin: 0 0 1rem; font-size: var(--s2); color: var(--indigo); }
.la-steps { list-style: none; margin: 0; padding: 0; counter-reset: la-step; }
.la-steps > li { position: relative; padding: 0 0 1.1rem 2.8rem; counter-increment: la-step; min-width: 0; }
.la-steps > li::before { content: counter(la-step); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--flame); color: #fff; display: grid; place-items: center; font: 700 .9375rem var(--sans); }
.la-steps > li::after { content: ""; position: absolute; left: .95rem; top: 2.2rem; bottom: .3rem; width: 2px; background: var(--line); }
.la-steps > li:last-child::after { display: none; }
.la-steps__k { display: block; font: 700 1rem var(--sans); color: var(--ink); margin: .2rem 0 .2rem; }
.la-steps__k .ico { width: 1.05em; height: 1.05em; vertical-align: -2px; color: var(--flame); }
.la-steps p { margin: 0; }
.la-qs { list-style: none; margin: .3rem 0 0; padding: 0; display: grid; gap: .45rem; }
.la-qs li { padding: .55rem .75rem; background: var(--mist); border-radius: 10px; }
.la-qs span { display: block; font: 700 .75rem var(--sans); text-transform: uppercase; letter-spacing: .05em; color: var(--ember); }
@media (max-width: 480px) {
  .la-top { position: static; }
  .la-head { grid-template-columns: minmax(0, 1fr); }
  .la-head__ico { width: 2.6rem; height: 2.6rem; }
  .la-day__head { gap: .65rem; padding: .6rem .7rem; }
  .la-day__n { width: 2.7rem; height: 2.7rem; }
  .la-day__body { padding: 0 .8rem .9rem; }
  .la-steps > li { padding-left: 2.5rem; }
  .la-fam { padding: 1rem .9rem .4rem; }
}
@media print {
  body.la-print * { visibility: hidden !important; }
  body.la-print .la-fam.is-print, body.la-print .la-fam.is-print * { visibility: visible !important; }
  body.la-print .la-fam.is-print { position: absolute; left: 0; top: 0; width: 100%; border: 0; padding: 0; background: none; }
  body.la-print .la-fam.is-print[hidden] { display: block !important; }
}

/* ---------- Kids Zone: What would Jesus do?, Fruit of the Spirit tree, Heroes of faith (assets/js/kids-love.js) ---------- */
.kl-verse { margin: .8rem 0; padding: .8rem 1rem; border-radius: 14px; background: #FFF8E1; border: 2px dashed #F2C94C; }
.kl-verse p { margin: 0 0 .25rem; font-size: 1.05rem; line-height: 1.55; overflow-wrap: anywhere; }
.kl-verse footer { font: 800 .85rem var(--sans); color: #8E5B00; }
.kl-verse__ml { margin-top: .6rem !important; font-family: "Noto Sans Malayalam", "Manjari", var(--sans); font-size: .98rem !important; line-height: 1.8 !important; color: #4A3B5C; }
.kl-verse--sm p { font-size: 1rem; }
.kl-read { border: 0; background: #EDE7F6; color: #4527A0; border-radius: 999px; padding: .45rem .9rem; font: 800 .95rem var(--sans); cursor: pointer; margin: .3rem 0 .6rem; }
.kl-read:hover { background: #D1C4E9; }
.kl-small { font: 500 .9rem var(--sans); color: #6A5C7A; }
.kl-link { border: 0; background: none; padding: 0; color: #6A5C7A; text-decoration: underline; font: inherit; cursor: pointer; }
.kl-story { max-width: 40rem; margin: 0 auto; text-align: center; min-width: 0; }
.kl-story__art { font-size: 4rem; line-height: 1; animation: kl-bob 2.4s ease-in-out infinite; }
@keyframes kl-bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
.kl-story h3 { margin: .4rem 0; font-size: 1.5rem; color: #4A1D7A; }
.kl-story__txt { font-size: 1.15rem; line-height: 1.6; }
.kl-q { font: 800 1.2rem var(--sans); color: #7A1517; margin: .8rem 0 .6rem; }
.kl-q__n { display: block; font: 700 .8rem var(--sans); color: #6A5C7A; text-transform: uppercase; letter-spacing: .05em; }
.kl-opts { display: grid; gap: .55rem; text-align: left; }
.kl-opt { width: 100%; text-align: left; padding: .85rem 1rem; border: 3px solid #E1D5F5; border-radius: 16px; background: #fff; font: 700 1.05rem/1.4 var(--sans); color: #33204F; cursor: pointer; transition: transform .12s, border-color .12s; }
.kl-opt:hover:not(:disabled) { border-color: #9575CD; transform: translateY(-2px); }
.kl-opt.is-yes { border-color: #43A047; background: #E8F5E9; }
.kl-opt.is-no { border-color: #EF9A9A; background: #FFEBEE; opacity: .7; }
.kl-why { margin-top: 1rem; padding: 1rem; border-radius: 18px; background: #F3E5F5; text-align: left; }
.kl-why p { margin: 0 0 .5rem; }
.kl-why .btn { margin-top: .4rem; }
/* fruit tree */
.kl-tree { display: grid; gap: 1rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .kl-tree { grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); } }
.kl-tree__svg { width: 100%; max-width: 18rem; height: auto; margin: 0 auto; display: block; }
.kl-tree__f.is-pop { animation: kl-pop .7s cubic-bezier(.2, 1.6, .4, 1); transform-box: fill-box; transform-origin: center; }
@keyframes kl-pop { from { transform: scale(0); } }
.kl-tree__count { font: 700 1.1rem var(--sans); color: #2E7D32; margin: 0; }
.kl-fruits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(9.5rem, 100%), 1fr)); gap: .5rem; margin: 1rem 0; }
.kl-chip { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: .5rem; align-items: center; text-align: left; padding: .55rem .7rem; border: 3px solid #E0E0E0; border-radius: 16px; background: #fff; cursor: pointer; font-family: var(--sans); min-width: 0; }
.kl-chip.is-on { border-color: var(--kl-c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--kl-c) 25%, transparent); }
.kl-chip.is-grown { background: #F1F8E9; }
.kl-chip__e { grid-row: span 2; font-size: 1.8rem; }
.kl-chip__n { font-weight: 800; color: #33204F; font-size: .95rem; }
.kl-chip__d { display: flex; gap: 3px; }
.kl-chip__d i { width: 10px; height: 10px; border-radius: 50%; background: #E0E0E0; }
.kl-chip__d i.on { background: var(--kl-c); }
.kl-chip__wk { position: absolute; top: -.55rem; right: .4rem; background: #7A1517; color: #fff; font: 800 .65rem/1.6 var(--sans); padding: 0 .45rem; border-radius: 999px; }
.kl-fruit { border-radius: 20px; background: #fff; border: 3px solid #EDE7F6; padding: 1rem; min-width: 0; }
.kl-fruit__head { display: flex; align-items: center; gap: .8rem; }
.kl-fruit__e { font-size: 3rem; line-height: 1; }
.kl-fruit h3 { margin: 0; font-size: 1.5rem; color: var(--kl-c); }
.kl-fruit h3 span { font-size: .75em; color: #6A5C7A; font-family: "Noto Sans Malayalam", "Manjari", var(--sans); }
.kl-fruit h4 { margin: .6rem 0 .4rem; font: 800 1.05rem var(--sans); color: #33204F; }
.kl-missions { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.kl-mis { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .7rem; align-items: center; width: 100%; text-align: left; padding: .7rem .8rem; border: 3px solid #E0E0E0; border-radius: 14px; background: #fff; font: 700 1rem/1.4 var(--sans); color: #33204F; cursor: pointer; }
.kl-mis__box { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 8px; border: 3px solid #BDBDBD; font-weight: 900; color: #fff; }
.kl-mis.is-done { border-color: #A5D6A7; background: #F1F8E9; }
.kl-mis.is-done .kl-mis__box { background: #43A047; border-color: #43A047; }
/* hero cards */
.kl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(8.2rem, 100%), 1fr)); gap: .65rem; }
.kl-card { position: relative; display: grid; justify-items: center; align-content: start; gap: .15rem; min-height: 9.5rem; padding: .8rem .5rem; border-radius: 16px; border: 3px solid #E0E0E0; background: repeating-linear-gradient(135deg, #F5F5F5 0 10px, #EEEEEE 10px 20px); cursor: pointer; font-family: var(--sans); color: #6A5C7A; min-width: 0; }
.kl-card.is-got { border-color: var(--kl-c); background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--kl-c) 18%, #fff)); color: #33204F; box-shadow: 0 6px 16px -8px var(--kl-c); }
.kl-card__e { font-size: 2.6rem; line-height: 1.1; }
.kl-card__n { font-weight: 900; font-size: 1.05rem; }
.kl-card__x { font-size: .78rem; font-weight: 700; text-align: center; }
.kl-card__s { font-size: .75rem; letter-spacing: 1px; }
.kl-hero { margin-top: 1rem; scroll-margin-top: calc(var(--top-h, 70px) + 1rem); }
.kl-hero:empty { display: none; }
.kl-big, .kl-quiz { border-radius: 22px; padding: 1.1rem; border: 4px solid var(--kl-c); background: linear-gradient(170deg, #fff 40%, color-mix(in srgb, var(--kl-c) 14%, #fff)); min-width: 0; }
.kl-big.is-new { animation: kl-flip .8s ease-out; }
@keyframes kl-flip { from { transform: perspective(800px) rotateY(90deg) scale(.8); } }
.kl-big__top, .kl-quiz__head { display: flex; gap: .8rem; align-items: center; }
.kl-big__e { font-size: 3.2rem; line-height: 1; flex: 0 0 auto; }
.kl-big h3, .kl-quiz h3 { margin: 0; font-size: 1.6rem; color: var(--kl-c); }
.kl-quiz__head p { margin: .2rem 0 0; }
.kl-badge { display: inline-block; margin-top: .2rem; padding: .1rem .6rem; border-radius: 999px; background: var(--kl-c); color: #fff; font: 800 .8rem var(--sans); }
.kl-got { text-align: center; font: 900 1.3rem var(--sans); color: #2E7D32; margin: 0 0 .6rem; }
.kl-again { margin-left: .4rem; }
.kl-cert__form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; margin: .5rem 0 1rem; }
.kl-cert__form label { flex: 1 1 100%; font: 700 1rem var(--sans); }
.kl-cert__form input { flex: 1 1 12rem; min-width: 0; font: 600 1.15rem var(--sans); padding: .65rem .85rem; border: 2px solid #D1C4E9; border-radius: 12px; }
.kl-cert__form label { text-align: left; }
.kl-certdlg img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.15); }
@media (prefers-reduced-motion: reduce) { .kl-story__art, .kl-big.is-new, .kl-tree__f.is-pop { animation: none; } }
.kz-card--wwjd .kz-card__art { background: #FFF3E0; } .kz-card--fruit .kz-card__art { background: #E8F5E9; } .kz-card--heroes .kz-card__art { background: #EDE7F6; }
.kl-certdlg .bg-certdlg__btns[hidden], .kl-certdlg img[hidden] { display: none; }
/* Stories Jesus told (kids-love.js): stage 16:10, emoji actors placed by their feet (left/top %), size from --u (1% of the stage width) */
.kl-sts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(13rem, 100%), 1fr)); gap: .8rem; }
.kl-stc { display: grid; justify-items: center; gap: .2rem; padding: 1rem .8rem; border: 3px solid #E1D5F5; border-radius: 20px; background: linear-gradient(170deg, #fff, #F3E5F5); cursor: pointer; font-family: var(--sans); color: #33204F; }
.kl-stc:hover { border-color: #9575CD; transform: translateY(-2px); }
.kl-stc__e { font-size: 3rem; line-height: 1.1; }
.kl-stc strong { font-size: 1.15rem; }
.kl-stc span { font-size: .9rem; color: #6A5C7A; }
.kl-stc .kl-stc__done { font-weight: 800; color: #7A1517; }
.kl-stage { position: relative; width: 100%; max-width: 46rem; margin: 0 auto; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #FFF8E1; box-shadow: 0 10px 30px -12px rgba(40, 20, 80, .45); --u: 4px; }
.kl-stage__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.kl-stage__cast, .kl-stage__fx { position: absolute; inset: 0; pointer-events: none; }
.kl-actor { position: absolute; line-height: 1; transition: left 2.2s ease-in-out, top 2.2s ease-in-out, transform .7s ease, opacity .6s, font-size .5s; will-change: left, top; filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .18)); }
.kl-actor.is-walk { animation: kl-walk .45s ease-in-out 5; }
@keyframes kl-walk { 50% { margin-top: calc(var(--u) * -1.2); } }
.kl-actor.is-bob { animation: kl-bob2 1.6s ease-in-out infinite; }
@keyframes kl-bob2 { 50% { margin-top: calc(var(--u) * -1.6); } }
.kl-actor--coin i { display: block; width: .62em; height: .62em; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF6C8, #E9C46A 45%, #B8892B); border: .05em solid #8E6A1C; box-shadow: inset 0 0 0 .06em rgba(255, 255, 255, .5); }
.kl-stage.is-shake { animation: la-shake .5s 2; }
.kl-stage.is-glow .kl-stage__bg { animation: kl-glow 2s ease-in-out infinite; }
@keyframes kl-glow { 50% { filter: brightness(1.12) saturate(1.2); } }
.kl-stage__fx span { position: absolute; bottom: 10%; font-size: calc(var(--u) * 5); opacity: 0; animation: kl-float 2.6s ease-out forwards; }
@keyframes kl-float { 15% { opacity: 1; } to { opacity: 0; transform: translateY(calc(var(--u) * -40)) scale(1.3); } }
.kl-cap { max-width: 46rem; margin: .8rem auto 0; min-height: 3.4em; text-align: center; font: 700 1.15rem/1.5 var(--sans); color: #33204F; }
.kl-dots { display: flex; justify-content: center; gap: 6px; margin: .5rem 0; }
.kl-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E1D5F5; }
.kl-dots i.on { background: #7A1517; transform: scale(1.3); }
.kl-dots i.done { background: #9575CD; }
.kl-ctl { display: flex; justify-content: center; gap: .6rem; margin: .4rem 0; }
.kl-ctl__b { width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: #EDE7F6; font-size: 1.25rem; cursor: pointer; }
.kl-ctl__b--main { width: 3.6rem; height: 3.6rem; background: #7A1517; color: #fff; font-size: 1.4rem; }
.kl-end { max-width: 40rem; margin: 1rem auto 0; }
.kl-c { text-align: center; }
@media (prefers-reduced-motion: reduce) { .kl-actor { transition: opacity .3s; } .kl-actor.is-walk, .kl-actor.is-bob { animation: none; } }

/* ---------- Bible verse cards (verse-cards.php, assets/js/verse-cards.js) ---------- */
.page-body.vc { display: block; }
/* Verse cards (Dec 1): templates, sticky preview with actions beside it on phones, steps as tabs on phones */
.vc-app { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); min-width: 0; }
@media (min-width: 960px) { .vc-app { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); align-items: start; } .vc-preview { order: 2; position: sticky; top: calc(var(--top-h, 70px) + 1rem); } .vc-steps { order: 1; } }
.vc-preview { min-width: 0; }
.vc-stage { min-width: 0; }
.vc-canvas-wrap { position: relative; width: fit-content; max-width: 100%; margin: 0 auto; }
.vc-canvas { display: block; width: auto; max-width: 100%; max-height: min(62vh, 34rem); margin: 0 auto; border-radius: 16px; box-shadow: 0 16px 40px -14px rgba(20, 28, 63, .45); background: var(--mist); touch-action: pan-x pan-y pinch-zoom; cursor: zoom-in; }
.vc--moving .vc-canvas { touch-action: none; cursor: move; outline: 3px dashed var(--flame); outline-offset: 3px; }
.vc-big { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--indigo); box-shadow: 0 4px 12px rgba(0, 0, 0, .2); cursor: pointer; }
.vc-big .ico { width: 1.15rem; height: 1.15rem; }
.vc-move { position: absolute; left: .5rem; bottom: .5rem; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border-radius: 999px; border: 0; background: rgba(20, 28, 63, .88); color: #fff; font: 700 .8125rem var(--sans); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); cursor: pointer; }
.vc-move .ico { width: 1em; height: 1em; }
.vc-move[aria-pressed="true"] { background: var(--flame); }
.vc-msg { position: absolute; left: .5rem; right: .5rem; bottom: 3.1rem; margin: 0; padding: .55rem .8rem; border-radius: 12px; background: rgba(20, 28, 63, .95); color: #fff; font: 500 .8125rem/1.45 var(--sans); text-align: left; opacity: 0; transform: translateY(.4rem); transition: opacity .2s, transform .2s; pointer-events: none; }
.vc-msg.is-on { opacity: 1; transform: none; }
.vc-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; margin-top: .9rem; }
.vc-actions .vc-send { grid-column: 1 / -1; font-size: 1.05rem; padding-top: .8rem; padding-bottom: .8rem; }
.vc-actions .btn { justify-content: center; min-width: 0; }
.vc-actions .ico { width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.vc-actions .vc-send i { font-style: normal; }
.vc-tabs, .vc-next { display: none; }
.vc-steps { min-width: 0; display: grid; gap: 1rem; }
.vc-step { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1rem 1.1rem 1.1rem; background: #fff; min-width: 0; }
.vc-step h2 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; font-size: 1.2rem; color: var(--indigo); }
.vc-step h2 span { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--flame); color: #fff; font: 700 .95rem var(--sans); flex: 0 0 auto; }
.vc-group { margin: .7rem 0 .4rem; font: 700 .75rem var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.vc-group:first-child { margin-top: 0; }
.vc-occs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 100%), 1fr)); gap: .45rem; }
.vc-occ { display: flex; align-items: center; gap: .55rem; min-height: 3rem; padding: .5rem .75rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: 600 .9rem/1.2 var(--sans); color: var(--ink); text-align: left; cursor: pointer; min-width: 0; }
.vc-occ span { font-size: 1.3rem; flex: 0 0 auto; }
.vc-occ b { font-weight: 600; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.vc-occ:hover { border-color: var(--indigo-2); }
.vc-occ.is-on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.vc-hint--top { margin: -.3rem 0 .8rem; }
.vc-tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(8.2rem, 100%), 1fr)); gap: .6rem; margin-bottom: 1.1rem; }
.vc-tpl { display: grid; gap: .35rem; align-content: start; padding: .35rem .35rem .45rem; border: 2px solid transparent; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; min-width: 0; transition: box-shadow .15s, transform .15s; }
.vc-tpl canvas { display: block; width: 100%; height: auto; aspect-ratio: var(--vc-ar, 1 / 1); border-radius: 9px; background: var(--mist); }
.vc-tpl span { font: 600 .78rem/1.25 var(--sans); color: var(--ink); text-align: center; }
.vc-tpl:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--indigo-2), 0 8px 18px -10px rgba(20, 28, 63, .45); }
.vc-tpl.is-on { border-color: var(--flame); box-shadow: 0 0 0 3px #FBEDEA; }
.vc-tpl.is-on span { color: var(--flame); }
.vc-more { margin: .2rem 0 .4rem; border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; background: #FAFBFE; }
.vc-more summary { cursor: pointer; font: 700 .875rem var(--sans); color: var(--indigo); display: flex; align-items: center; gap: .45rem; }
.vc-more summary .ico { width: 1.05em; height: 1.05em; }
.vc-more[open] summary { margin-bottom: .8rem; }
.vc-grid2 { display: grid; gap: 0 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .vc-grid2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.vc-steps input:not([type]), .vc-steps input[type="number"], .vc-steps textarea { width: 100%; max-width: 100%; }
.vc-hint { display: block; font: 400 .8125rem/1.5 var(--sans); color: var(--muted); margin: .3rem 0 0; }
.vc-hint .ico { width: 1em; height: 1em; vertical-align: -2px; }
.vc-link { border: 0; background: none; padding: 0; color: var(--indigo-2); text-decoration: underline; font: inherit; cursor: pointer; }
.vc-verses { display: grid; gap: .4rem; }
.vc-verse { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .6rem; align-items: start; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .9375rem; line-height: 1.45; }
.vc-verse input { margin-top: .25rem; }
.vc-verse strong { color: var(--ember); font-family: var(--sans); }
.vc-verse:has(input:checked) { border-color: var(--indigo-2); background: #F4F6FC; }
.vc-find { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: center; margin-top: .7rem; }
.vc-find label { grid-column: 1 / -1; font: 700 .875rem var(--sans); }
.vc-find input { min-width: 0; width: 100%; }
.vc-pick { border: 0; padding: 0; margin: 0 0 .9rem; min-width: 0; }
.vc-pick legend { font: 700 .875rem var(--sans); margin-bottom: .35rem; padding: 0; color: var(--ink); }
.vc-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.vc-chip { padding: .45rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 600 .875rem var(--sans); color: var(--ink); cursor: pointer; }
.vc-chip.is-on { border-color: var(--flame); background: #FBEDEA; color: var(--flame); }
.vc-swatches { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.vc-sw { position: relative; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.vc-sw i { position: absolute; right: -2px; bottom: -2px; width: .9rem; height: .9rem; border-radius: 50%; border: 2px solid #fff; }
.vc-sw.is-on { box-shadow: 0 0 0 3px var(--indigo); }
.vc-photo { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.vc-upload { cursor: pointer; }
.vc-upload .ico { width: 1.05em; height: 1.05em; vertical-align: -2px; }
.vc-range { margin: 0 0 .8rem; }
.vc-range label { display: block; font: 600 .875rem var(--sans); margin-bottom: .2rem; }
.vc-range input { width: 100%; }
.vc-bgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.4rem, 1fr)); gap: .45rem; }
.vc-bg { aspect-ratio: 1; border-radius: 12px; border: 3px solid transparent; background: center / cover no-repeat var(--mist); cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.vc-bg--none { font: 700 .75rem/1.2 var(--sans); color: var(--muted); background: repeating-linear-gradient(45deg, #fff 0 8px, #F4F5F9 8px 16px); }
.vc-bg.is-on { border-color: var(--flame); }
/* the card, bigger */
.vc-full { position: fixed; inset: 0; z-index: 4000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 3.5rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); background: rgba(8, 12, 30, .94); }
.vc-full[hidden] { display: none; }
.vc-full img { display: block; max-width: 100%; max-height: calc(100% - 4.5rem); width: auto; height: auto; border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.vc-full__bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.vc-full__bar .btn--outline { border-color: #fff; color: #fff; background: transparent; }
.vc-full__x { position: absolute; top: .7rem; right: .8rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font: 400 1.8rem/1 var(--sans); cursor: pointer; }
html.vc-noscroll { overflow: hidden; }
/* phones and small tablets: the card stays at the top with the buttons beside it; the steps are tabs */
@media (max-width: 959px) {
  .vc-page .page-body { padding-top: 1.4rem; }
  .vc-app { gap: 0; }
  .vc-preview { position: sticky; top: var(--top-h, 64px); z-index: 25; margin: 0 -1.25rem; padding: .6rem 1.25rem 0; background: #fff; box-shadow: 0 12px 16px -14px rgba(20, 28, 63, .45); }
  .vc-stage { display: grid; grid-template-columns: minmax(0, max-content) 4.6rem; justify-content: center; gap: .9rem; align-items: center; }
  .vc-canvas { max-height: 34vh; max-height: 34svh; border-radius: 12px; box-shadow: 0 10px 24px -12px rgba(20, 28, 63, .5); }
  .vc-big { width: 2.1rem; height: 2.1rem; top: .35rem; right: .35rem; }
  .vc-move { left: .35rem; bottom: .35rem; padding: .38rem .65rem; font-size: .75rem; }
  .vc-msg { bottom: auto; top: .35rem; left: .35rem; right: 2.8rem; font-size: .75rem; padding: .45rem .6rem; }
  .vc-actions { display: flex; flex-direction: column; gap: .5rem; margin: 0; }
  .vc-actions .btn, .vc-actions .vc-send { flex-direction: column; gap: .25rem; width: 100%; min-height: 3.5rem; padding: .45rem .2rem; border-radius: 16px; font-size: .75rem; line-height: 1.1; }
  .vc-actions .vc-send { min-height: 4.1rem; font-size: .8125rem; box-shadow: 0 8px 18px -8px rgba(122, 21, 23, .7); }
  .vc-actions .ico { width: 1.35rem; height: 1.35rem; }
  .vc-actions .vc-send i { display: none; }
  .vc-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: .6rem; border-top: 1px solid var(--line); }
  .vc-tabs button { display: flex; flex-direction: column; align-items: center; gap: .15rem; min-width: 0; padding: .45rem .1rem .5rem; border: 0; border-bottom: 3px solid transparent; background: none; font: 600 .72rem/1.1 var(--sans); color: var(--muted); cursor: pointer; }
  .vc-tabs b { display: grid; place-items: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--mist); color: var(--ink); font: 700 .75rem var(--sans); }
  .vc-tabs span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .vc-tabs button.is-on { color: var(--flame); border-bottom-color: var(--flame); }
  .vc-tabs button.is-on b { background: var(--flame); color: #fff; }
  .vc--tabs .vc-steps { padding-top: .9rem; }
  .vc--tabs .vc-step:not(.is-active) { display: none; }
  .vc--tabs .vc-step { border: 0; padding: 0; background: none; border-radius: 0; }
  .vc--tabs .vc-step h2 { font-size: 1.1rem; margin-bottom: .7rem; }
  .vc--tabs .vc-step h2 span { width: 1.6rem; height: 1.6rem; font-size: .8125rem; }
  .vc--tabs .vc-next { display: flex; width: 100%; margin-top: 1.1rem; justify-content: center; }
  .vc-next .ico { width: 1.1em; height: 1.1em; }
  .vc-tpls { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
  .vc-occs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc--typing .vc-canvas { max-height: 19vh; max-height: 19svh; }
  .vc--typing .vc-tabs { display: none; }
  .vc--typing .vc-actions .btn { min-height: 2.6rem; }
  .vc--typing .vc-actions .btn span { display: none; }
}
@media (max-width: 959px) and (pointer: coarse) { .vc-actions .vc-copy { display: none; } }
@media (max-width: 700px) { .vc-page .page-hero { padding-top: 1.3rem; padding-bottom: 1.5rem; } .vc-page .page-hero h1 { margin-bottom: .4rem; } .vc-page .page-hero__lead { font-size: .9375rem; line-height: 1.5; } }
@media (max-width: 959px) and (max-height: 760px) {   /* short phones (iPhone SE …): smaller card and buttons, more room for the choices */
  .vc-preview { padding-top: .45rem; }
  .vc-canvas { max-height: 27vh; max-height: 27svh; }
  .vc-stage { grid-template-columns: minmax(0, max-content) 3.7rem; gap: .6rem; }
  .vc-actions { gap: .4rem; }
  .vc-actions .btn, .vc-actions .vc-send { min-height: 2.9rem; padding: .3rem .15rem; font-size: .68rem; gap: .1rem; border-radius: 13px; }
  .vc-actions .vc-send { min-height: 3.3rem; font-size: .72rem; }
  .vc-actions .ico { width: 1.15rem; height: 1.15rem; }
  .vc-tabs { margin-top: .45rem; }
  .vc-tabs button { padding: .3rem .1rem .35rem; font-size: .68rem; }
  .vc-tabs b { width: 1.25rem; height: 1.25rem; font-size: .68rem; }
  .vc--typing .vc-canvas { max-height: 16vh; max-height: 16svh; }
}
@media (max-width: 359px) { .vc-stage { grid-template-columns: minmax(0, max-content) 3.7rem; gap: .5rem; } .vc-tpls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* admin: verse cards */
.bga-sub { margin: 1.6rem 0 .4rem; font-size: 1.1rem; color: var(--indigo); }
.vc-adm__o { border: 1px solid var(--line); border-radius: 10px; padding: .55rem .8rem; margin-bottom: .45rem; background: #fff; }
.vc-adm__o summary { cursor: pointer; font-weight: 600; }
.vc-adm__o summary small { color: var(--muted); font-weight: 500; }
.vc-adm__o[open] summary { margin-bottom: .6rem; }
.vc-adm__o textarea { width: 100%; }
.vc-adm__bgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(9rem, 100%), 1fr)); gap: .7rem; margin: .6rem 0 1rem; }
.vc-adm__bgs figure { margin: 0; border: 1px solid var(--line); border-radius: 10px; padding: .4rem; background: #fff; }
.vc-adm__bgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; display: block; }
.vc-adm__bgs figcaption { font-size: .8125rem; margin: .3rem 0; }
.la-cardlinks { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.1rem; }
.la-cardlink { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 .9375rem var(--sans); text-decoration: none; }
.la-cardlink span { font-size: 1.15rem; }
.la-cardlink:hover { border-color: var(--flame); color: var(--flame); }

/* Malayalam on demand (main.js: [data-ml-btn] → <html data-ml="en|both|ml">) */
html[data-ml="en"] .ml-dem, html[data-ml="en"] .bb-h1ml { display: none !important; }
html[data-ml="ml"] .en-dem { display: none !important; }
.ml-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem .3rem .4rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 .875rem/1.2 "Noto Sans Malayalam", "Manjari", var(--sans); cursor: pointer; white-space: nowrap; }
.ml-btn::before { content: ""; width: 1.9rem; height: 1.1rem; border-radius: 999px; background: #D5D9E3; box-shadow: inset 0 0 0 2px #D5D9E3; transition: background .2s; background-image: radial-gradient(circle at .55rem 50%, #fff .42rem, transparent .45rem); }
.ml-btn[aria-pressed="true"] { border-color: var(--flame); color: var(--flame); }
.ml-btn[aria-pressed="true"]::before { background-color: var(--flame); box-shadow: inset 0 0 0 2px var(--flame); background-image: radial-gradient(circle at 1.35rem 50%, #fff .42rem, transparent .45rem); }
.ml-btn--sm { padding: .15rem .5rem .15rem .25rem; font-size: .78rem; }
.ml-btn--sm::before { width: 1.5rem; height: .9rem; background-image: radial-gradient(circle at .45rem 50%, #fff .32rem, transparent .35rem); }
.ml-btn--sm[aria-pressed="true"]::before { background-image: radial-gradient(circle at 1.05rem 50%, #fff .32rem, transparent .35rem); }
/* Kids Zone on phones (Nov 30): groups, three small tiles per row, colouring pictures in one swipe row */
.kz__group { margin: 1.2rem 0 .6rem; font: 800 1.05rem var(--sans); color: #5B2C83; display: flex; align-items: center; gap: .5rem; }
.kz__group::after { content: ""; flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #E9D5F5, transparent); }
.kz__head + .kz__group { margin-top: .4rem; }
@media (max-width: 560px) {
  .kz__cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
  .kz__cards > li { flex: none; }
  .kz-card { padding: .7rem .3rem .6rem; border-radius: 16px; gap: .25rem; }
  .kz-card__art { width: 54px; height: 54px; font-size: 1.8rem; }
  .kz-card strong { font-size: .8125rem; line-height: 1.2; }
  .kz-card > span:not(.kz-card__art) { display: none; }
  .bg-colgal { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: .6rem; padding-bottom: .4rem; -webkit-overflow-scrolling: touch; }
  .bg-colgal > li { flex: 0 0 42%; scroll-snap-align: start; }
}
@media (max-width: 340px) { .kz__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Love in Action on phones: the five parts as a tidy grid of buttons, the Malayalam switch beside them */
.la-mlbtn { flex: 0 0 auto; }
@media (max-width: 640px) {
  .la-top { flex-direction: column; align-items: stretch; gap: .6rem; }
  .la-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .3rem; overflow: visible; }
  .la-tab { flex-direction: column; justify-content: center; gap: .2rem; padding: .55rem .2rem; border-radius: 14px; font-size: .72rem; line-height: 1.15; white-space: normal; text-align: center; }
  .la-tab .ico { width: 1.35em; height: 1.35em; }
  .la-mlbtn { align-self: flex-end; }
}
/* Stories Jesus told with jointed people (kids-stories.js) */
.ks-stage { background: #FFF8E1; }
.ks-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ks-fig { will-change: transform; }
.ks-title { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 50% 35%, #2E3F7F, #141C3F 70%); color: #fff; transition: opacity .7s ease, visibility .7s; cursor: pointer; z-index: 2; }
.ks-title.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.ks-title__in { padding: 1rem; }
.ks-title__in svg { animation: ks-flicker 1.6s ease-in-out infinite; }
@keyframes ks-flicker { 50% { transform: scale(1.06, .96); } }
.ks-title h3 { margin: .3rem 0; font: 700 calc(var(--u, 4px) * 7) / 1.1 var(--serif, Georgia, serif); color: #fff; }
.ks-title__k { margin: 0; font: 700 calc(var(--u, 4px) * 2.3) var(--sans); text-transform: uppercase; letter-spacing: .12em; color: #E8C27A; }
.ks-title__p { margin: .3rem 0 0; font: 500 calc(var(--u, 4px) * 2.8) var(--sans); color: #DDE3F5; }
@media (prefers-reduced-motion: reduce) { .ks-title__in svg { animation: none; } }
.kl-card__e.has-fig { width: 4.6rem; height: 5.4rem; font-size: 0; }
.kl-big__e.has-fig { width: 5.2rem; height: 6.2rem; font-size: 0; flex: 0 0 auto; }
.has-fig .ks-still { width: 100%; height: 100%; display: block; overflow: visible; }

/* Bible studies (Nov 30): exact KJV reading, memory verse, the short message, narration (study-listen.js) */
.bs-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.2rem; }
.bs-tools .ico { width: 1.05em; height: 1.05em; vertical-align: -2px; }
.bs-read { margin: 1.2rem 0 1.6rem; padding: 1rem 1.2rem; border-radius: var(--r-md); background: #F4F6FC; border-left: 4px solid var(--indigo-2); }
.bs-read__k { margin: 0 0 .5rem !important; font: 700 .875rem var(--sans); color: var(--indigo); display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.bs-read__k .ico { width: 1.05em; height: 1.05em; }
.bs-read__k a { color: inherit; }
.bs-read__t { margin: 0 0 .4rem !important; line-height: 1.75; }
.bs-read__t sup { font: 700 .7em var(--sans); color: var(--flame); margin-right: .15em; }
.bs-read .ml-dem { margin-top: .8rem; padding-top: .8rem; border-top: 1px dashed var(--line); }
.bs-read [lang="ml"], .scripture [lang="ml"] { font-family: "Noto Sans Malayalam", "Manjari", var(--sans); line-height: 1.85; }
.scripture .ml-dem { margin-top: .5rem; }
.scripture cite a { color: inherit; }
.scripture--memory { position: relative; border: 2px solid var(--la-gold, #C8932B); background: #FFFBF2; padding-top: 1.6rem; }
.bs-mem { position: absolute; top: -.75rem; left: 1rem; background: #C8932B; color: #fff; font: 800 .72rem/1.6 var(--sans); text-transform: uppercase; letter-spacing: .08em; padding: 0 .6rem; border-radius: 999px; }
.bs-msg { margin: 1rem 0 1.6rem; padding: 1.2rem 1.3rem; border-radius: var(--r-lg); background: linear-gradient(180deg, #FFF8EE, #fff 14rem); border: 1px solid #F1E2C8; }
.bs-msg > p { line-height: 1.8; }
.bs-msg__listen { margin-bottom: .8rem; }
.bs-pray { margin-top: 1rem !important; padding: .8rem 1rem; border-radius: 12px; background: #F4F6FC; font-style: italic; }
.bs-pray strong { font-style: normal; color: var(--flame); }
.bs-body .is-reading { background: #FFF3C4 !important; box-shadow: 0 0 0 6px #FFF3C4; border-radius: 6px; transition: background .3s; }
@media print { .bs-tools, .bs-msg__listen, .ml-btn { display: none !important; } .bs-msg, .bs-read { background: none; } }
.bs-body .scripture p { font-size: 1.1rem; }
.bs-tools .btn { width: auto; flex: 0 0 auto; min-width: 0; }

/* Facebook videos admin (Dec 5): paste a screenshot, videos without a picture */
.fbv-paste { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; padding: .7rem .8rem; border: 2px dashed var(--line); border-radius: 12px; color: var(--muted); font: 500 .875rem/1.4 var(--sans); cursor: text; }
.fbv-paste:focus { outline: none; border-color: var(--indigo-2); background: #F4F6FC; color: var(--ink); }
.fbv-paste .ico { width: 1.1em; height: 1.1em; }
.fbv-paste img { display: block; width: 160px; height: 90px; object-fit: cover; border-radius: 8px; }
.fbv-paste kbd { font: 600 .75rem var(--sans); padding: .05rem .35rem; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.fbv-admin__nopic { display: inline-grid; place-items: center; width: 64px; height: 36px; border-radius: 6px; background: linear-gradient(135deg, #1F2B5C, #141C3F); color: #fff; font: 700 .58rem/1.1 var(--sans); text-align: center; flex: 0 0 auto; }
.fbv-fetch { margin: 0 0 .9rem; }
/* Photo Gallery admin (Dec 5): album order, cover button, photos for an event page */
.alb-list .pm-grid__item.alb-list__item { display: flex; align-items: center; gap: .4rem; border: 0; border-radius: 12px; overflow: visible; background: none; }
.alb-list .pm-grid__item.alb-list__item a { flex: 1 1 auto; min-width: 0; }
.alb-list .pm-grid__item img { width: 64px; height: 48px; aspect-ratio: auto; }
.alb-list .pm-grid__drag { position: static; flex: 0 0 auto; box-shadow: none; background: var(--mist); cursor: grab; }
.alb-list .pm-grid__ph { min-height: 3.4rem; border: 2px dashed var(--line); }
.alb-list__move { display: flex; flex-direction: column; gap: .2rem; flex: 0 0 auto; }
.alb-list__move button { width: 1.8rem; height: 1.5rem; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; font: 700 .8rem/1 var(--sans); color: var(--night); }
.pm-grid__cover { display: inline-flex; align-items: center; gap: .2rem; width: auto !important; padding: 0 .45rem !important; font: 700 .72rem var(--sans); }
.pm-grid__cover .ico { width: .95rem; height: .95rem; }
.pm-pick { margin-top: 1.2rem; }
.pm-pick__grid { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(7rem, 100%), 1fr)); gap: .5rem; }
.pm-pick__grid label { position: relative; display: block; cursor: pointer; border-radius: 10px; overflow: hidden; border: 3px solid transparent; }
.pm-pick__grid label:has(input:checked) { border-color: var(--flame); }
.pm-pick__grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pm-pick__grid input { position: absolute; top: .35rem; left: .35rem; width: 1.2rem; height: 1.2rem; accent-color: var(--flame); }
.pm-pick__grid span { position: absolute; right: .35rem; bottom: .3rem; padding: 0 .35rem; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font: 700 .7rem/1.5 var(--sans); }
.event__more-photos { margin: .8rem 0 0; }
.event__more-photos .ico { width: 1.05em; height: 1.05em; vertical-align: -2px; }

/* Spotlight video fallback (Dec 5): picture when the video cannot start, and a small "Play video" button */
.hero__fb { opacity: 0; transition: opacity 1s ease; }
.hero__fb.is-on { opacity: 1; }
.hero.is-playing .hero__fb { opacity: 0; }
.hero__tap { position: absolute; z-index: 6; right: clamp(1rem, 3vw, 2.2rem); bottom: clamp(1rem, 3vw, 1.8rem); display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem .55rem .7rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; background: rgba(10, 16, 40, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 700 .875rem var(--sans); cursor: pointer; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s, background .2s; }
.hero__tap.is-on { opacity: 1; transform: none; }
.hero__tap:hover, .hero__tap:focus-visible { background: rgba(122, 21, 23, .85); }
.hero__tap svg { width: 1.3rem; height: 1.3rem; padding: .2rem; border-radius: 50%; background: var(--flame); }
.hero__tap.is-busy span::after { content: "…"; }
@media (max-width: 700px) { .hero__tap { top: calc(var(--top-h0, 72px) + .7rem); bottom: auto; right: 1rem; padding: .4rem; } .hero__tap span { display: none; } .hero__tap svg { width: 1.7rem; height: 1.7rem; padding: .3rem; } }

/* Play together: invite on WhatsApp (Dec 5) */
.lg-wa { display: flex; align-items: center; justify-content: center; gap: .55rem; width: min(100%, 22rem); margin: .2rem auto .7rem; padding: .85rem 1.1rem; border-radius: 999px; background: #25D366; color: #fff !important; font: 700 1rem var(--sans); text-decoration: none; box-shadow: 0 8px 18px -8px rgba(18, 140, 70, .7); }
.lg-wa:hover, .lg-wa:focus-visible { background: #1EBE5A; }
.lg-wa svg { width: 1.45rem; height: 1.45rem; flex: 0 0 auto; }

/* =========================================================
   HOME SPOTLIGHT: newer animations beside the heading (includes/hero-spot.php, assets/js/hero-spot.js;
   chosen in Church Documents › Spotlight animation). Hidden on phones like the round emblems.
   ========================================================= */
.spot { position: relative; justify-self: center; width: clamp(300px, 30vw, 420px); min-width: 0; color: #fff; font-family: var(--sans); }
.spot--small { width: clamp(260px, 25vw, 340px); }
.spot--large { width: clamp(330px, 35vw, 490px); }
@media (prefers-reduced-motion: no-preference) { .spot { animation: heroRise 1.1s .35s cubic-bezier(.2,.7,.2,1) both; } }
@media (max-width: 1020px) { .home .hero--full .spot { display: none; } }
.spot__bar { display: flex; align-items: center; justify-content: center; gap: .7rem; margin-top: 1rem; }
.spot__bar--end { position: absolute; right: .7rem; bottom: .7rem; margin: 0; z-index: 6; }
.spot__pause { width: 30px; height: 30px; flex: none; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(10,14,40,.25); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: .65; transition: opacity .2s, background .2s; }
.spot__pause:hover, .spot__pause:focus-visible { opacity: 1; background: rgba(255,255,255,.18); }
.spot__pause svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.spot--still .spot__pause { display: none; }
.spot__arr { width: 1.05em; height: 1.05em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
a:hover > .spot__arr, a:focus-visible > .spot__arr { transform: translateX(3px); }

/* Story cards: a deck of glass cards; the front one turns away to show the next */
.sc-deck { display: grid; padding-top: 34px; perspective: 1400px; }
.sc-card { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; min-width: 0; padding: 1.8rem 1.7rem 1.6rem; border-radius: 26px; overflow: hidden;
  background: linear-gradient(150deg, rgba(255,255,255,.2), rgba(255,255,255,.06) 55%, rgba(255,255,255,.1)), rgba(14,18,48,.4); border: 1px solid rgba(255,255,255,.26);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 34px 70px -34px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.3);
  transform-origin: 50% 0; transition: transform .85s cubic-bezier(.2,.75,.2,1), opacity .6s, clip-path .7s cubic-bezier(.2,.75,.2,1); }
.sc-card::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; top: -38%; right: -26%; border-radius: 50%; background: radial-gradient(circle, var(--jb-c1), transparent 68%); opacity: .38; pointer-events: none; }
.sc-card[data-pos="0"] { z-index: 4; }
.sc-card { clip-path: inset(0 0 0 0 round 26px); }
.sc-card[data-pos="1"] { z-index: 3; transform: translateY(-17px) scale(.93); opacity: .62; clip-path: inset(0 0 calc(100% - 44px) 0 round 26px); }
.sc-card[data-pos="2"] { z-index: 2; transform: translateY(-32px) scale(.86); opacity: .32; clip-path: inset(0 0 calc(100% - 44px) 0 round 26px); }
.sc-card[data-pos="3"] { z-index: 1; transform: translateY(-40px) scale(.8); opacity: 0; clip-path: inset(0 0 calc(100% - 44px) 0 round 26px); }
.sc-card.is-out { z-index: 5; transform: translate(-72%, 26px) rotateY(40deg) rotateZ(-9deg); opacity: 0; transition-duration: .8s, .6s, .7s; }
.sc-card.is-back { transition: none; }
.sc-card > * { position: relative; transition: opacity .55s, transform .65s cubic-bezier(.2,.7,.2,1); }
.sc-card:not(.is-on) > * { opacity: 0; transform: translateY(14px); }
.sc-card.is-on > :nth-child(2) { transition-delay: .08s; } .sc-card.is-on > :nth-child(3) { transition-delay: .16s; }
.sc-card.is-on > :nth-child(4) { transition-delay: .24s; } .sc-card.is-on > :nth-child(5) { transition-delay: .32s; }
.sc-card__emoji { display: grid; place-items: center; width: 4.3rem; height: 4.3rem; margin-bottom: .3rem; border-radius: 20px; font-size: 2.4rem; line-height: 1; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 14px 34px -16px var(--jb-c1); }
.sc-card__pic { display: block; width: calc(100% + 3.4rem); margin: -1.8rem -1.7rem .5rem; aspect-ratio: 16 / 10; overflow: hidden; }
.sc-card__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s ease-out; }
.sc-card.is-on .sc-card__pic img { transform: scale(1); }
.sc-card__label { padding: .42rem .75rem; border-radius: 999px; font: 700 .7rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--jb-c2); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.sc-card__title { margin: .1rem 0 0; font: 700 clamp(1.5rem, 2.3vw, 2.1rem)/1.1 var(--serif); letter-spacing: -.015em; color: #fff; overflow-wrap: anywhere; }
.sc-card__text { margin: 0; font-size: .98rem; line-height: 1.55; color: rgba(255,255,255,.86); }
.sc-card__btn { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding: .72rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: .93rem; text-decoration: none; color: var(--sp-ink, #16182E); background: var(--jb-c1); box-shadow: 0 14px 30px -14px var(--jb-c1); }
.sc-card__btn:hover { filter: brightness(1.08); }
.sc-dots { display: flex; gap: .2rem; }
.sc-dot { position: relative; width: 30px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; transition: width .4s; }
.sc-dot.is-on { width: 48px; }
.sc-dot::before, .sc-dot i { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 5px; margin-top: -2.5px; border-radius: 5px; background: rgba(255,255,255,.28); }
.sc-dot i { background: var(--jb-c1); transform: scaleX(0); transform-origin: left; }
.sc-dot.is-on i { transform: scaleX(1); }
.spot.is-ready:not(.spot--still) .sc-dot.is-on i { animation: scProg var(--sp-ms, 6s) linear both; }
.spot.is-paused .sc-dot.is-on i { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .sc-card, .sp-ph { transition: opacity .45s; } .spot.is-ready .sv-w { transition: opacity .5s; transition-delay: 0s; filter: none; transform: none; } }
.spot--still .sc-card, .spot--still .sp-ph { transition: opacity .45s; }
@keyframes scProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.sc-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }

/* Scripture light: verses appear word by word in soft light */
.spot--verses { display: flex; flex-direction: column; justify-content: center; min-height: clamp(330px, 34vw, 450px); padding: 5.6rem 2rem 3.4rem; border-radius: 30px; overflow: hidden; text-align: center;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.16), rgba(255,255,255,.03) 62%), linear-gradient(180deg, rgba(10,14,40,.5), rgba(10,14,40,.68));
  border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 34px 70px -34px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.22); }
.sv-rays { position: absolute; left: 50%; top: -75%; width: 190%; aspect-ratio: 1; margin-left: -95%; opacity: .16; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, var(--jb-c2) 0deg 5deg, transparent 5deg 17deg); -webkit-mask: radial-gradient(circle, #000 8%, transparent 60%); mask: radial-gradient(circle, #000 8%, transparent 60%); }
.sv-motes i { position: absolute; left: var(--x); top: var(--y); width: 3px; height: 3px; border-radius: 50%; background: var(--jb-c2); box-shadow: 0 0 8px 1px var(--jb-c1); opacity: 0; pointer-events: none; }
.sv-book { position: absolute; top: 1.35rem; left: 50%; width: 50px; margin-left: -25px; }
.sv-book svg { display: block; width: 100%; fill: none; stroke: var(--jb-c1); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--jb-c1)); }
.sv-label { position: absolute; top: 4.4rem; left: 0; right: 0; font: 700 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--jb-c2); }
.sv-stage { position: relative; display: grid; }
.sv-verse { grid-area: 1 / 1; margin: 0; padding: 0; border: 0; transition: opacity .6s, transform .6s, filter .6s; }
.sv-verse p { margin: 0; font: 500 clamp(1.25rem, 1.85vw, 1.6rem)/1.45 var(--serif); color: #fff; text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.sv-verse--s p { font-size: clamp(1.5rem, 2.4vw, 2.05rem); }
.sv-verse--l p { font-size: clamp(1.05rem, 1.45vw, 1.25rem); }
.sv-verse--xl p { font-size: clamp(.92rem, 1.2vw, 1.05rem); line-height: 1.5; }
.sv-verse[lang="ml"] p { font-family: "Noto Serif Malayalam", "Noto Sans Malayalam", "Manjari", "Malayalam Sangam MN", "Kartika", var(--serif); line-height: 1.75; font-size: .86em; }
.sv-verse cite { display: inline-block; margin-top: 1.15rem; font: 700 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; font-style: normal; color: var(--jb-c1); }
.sv-verse cite a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.sv-verse cite a:hover, .sv-verse cite a:focus-visible { border-bottom-color: currentColor; }
.spot.is-ready .sv-w { display: inline-block; opacity: 0; filter: blur(6px); transform: translateY(.35em); transition: opacity .7s, filter .7s, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i) * 65ms); }
.spot.is-ready .sv-verse cite { opacity: 0; transition: opacity .8s; transition-delay: calc(var(--n, 10) * 65ms + .2s); }
.spot.is-ready .sv-verse.is-shown .sv-w { opacity: 1; filter: none; transform: none; }
.spot.is-ready .sv-verse.is-shown cite { opacity: 1; }
.sv-verse.is-leaving { opacity: 0; transform: translateY(-12px); filter: blur(5px); }
@media (prefers-reduced-motion: no-preference) {
  .spot--verses:not(.spot--still) .sv-rays { animation: svRays 90s linear infinite; }
  .spot--verses:not(.spot--still) .sv-motes i { animation: svMote var(--t) var(--d) ease-in-out infinite; }
  .spot--verses:not(.spot--still) .sv-book svg { animation: svGlow 3.5s ease-in-out infinite alternate; }
}
@keyframes svRays { to { transform: rotate(360deg); } }
@keyframes svMote { 0% { opacity: 0; transform: translateY(14px); } 35% { opacity: .85; } 100% { opacity: 0; transform: translateY(-46px); } }
@keyframes svGlow { from { opacity: .55; } to { opacity: 1; } }

/* Photo stack: instant photos; the top one slides away and tucks in at the back */
.spot--photos { padding-bottom: .2rem; }
.sp-stack { position: relative; display: block; margin: 0 7%; aspect-ratio: 1 / 1.1; }
.sp-ph { position: absolute; inset: 0; display: block; padding: 4.5% 4.5% 17%; border-radius: 5px; background: #FBFAF5; box-shadow: 0 26px 50px -24px rgba(0,0,0,.75), 0 2px 6px rgba(0,0,0,.25);
  transform: rotate(var(--r)); transition: transform .9s cubic-bezier(.2,.75,.2,1); }
.sp-ph__img { display: block; width: 100%; height: 100%; overflow: hidden; background: #D9DCE6; }
.sp-ph__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-ph.is-top { transform: rotate(calc(var(--r) * .25)); }
.sp-ph.is-out { transform: translate(78%, -10%) rotate(22deg); }
.sp-ph:focus-visible { outline: 3px solid var(--jb-c1); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) { .spot--photos:not(.spot--still) .sp-ph.is-top .sp-ph__img img { animation: spKen 9s ease-out both; } }
@keyframes spKen { from { transform: scale(1.12); } to { transform: scale(1); } }
.sp-cap { display: grid; gap: .25rem; margin: 1.5rem 0 0; padding-right: 2.5rem; text-align: center; transition: opacity .4s; }
.sp-cap.is-fading { opacity: 0; }
.sp-cap__k { font: 700 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--jb-c2); }
.sp-cap strong { font: 700 1.25rem/1.2 var(--serif); }
.sp-cap em { font-style: normal; font-size: .85rem; color: rgba(255,255,255,.75); }
.spot--photos .spot__bar--end { right: 0; bottom: .1rem; }

/* This week at church: the next meeting with a live countdown, and the ones after it */
.sw-card { padding: 1.5rem 1.5rem 1.25rem; border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.05)), rgba(14,18,48,.42); border: 1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 34px 70px -34px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.28); }
.sw-head { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.15rem; font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--jb-c2); }
.sw-head__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--jb-c1); }
.sw-next { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.15rem; align-items: center; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.15); }
.sw-ring { position: relative; display: block; width: 112px; height: 112px; }
.sw-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.sw-ring circle { fill: none; stroke-width: 7; }
.sw-ring__bg { stroke: rgba(255,255,255,.14); }
.sw-ring__bar { stroke: var(--jb-c1); stroke-linecap: round; transition: stroke-dashoffset 1s linear, stroke .4s; filter: drop-shadow(0 0 5px var(--jb-c1)); }
.sw-ring__in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.sw-ring__in b { font: 700 1.5rem/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sw-ring__in small { margin-top: .3rem; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.sw-next__txt { display: grid; gap: .35rem; min-width: 0; }
.sw-state { display: inline-flex; align-items: center; gap: .45rem; font: 700 .7rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--jb-c1); }
.sw-next__txt strong { font: 700 1.32rem/1.15 var(--serif); overflow-wrap: anywhere; }
.sw-meta { font-size: .86rem; line-height: 1.45; color: rgba(255,255,255,.82); white-space: pre-line; }
.spot--week.is-live .sw-state { color: #FF8494; }
.spot--week.is-live .sw-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF4058; }
.spot--week.is-live .sw-ring__bar { stroke: #FF5468; filter: drop-shadow(0 0 7px #FF5468); }
.sw-list { display: grid; gap: .5rem; margin: .95rem 0 0; padding: 0; list-style: none; }
.sw-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .5rem .65rem .5rem .5rem; border-radius: 15px; background: rgba(255,255,255,.07); }
.sw-day { display: grid; place-content: center; width: 44px; height: 44px; border-radius: 12px; text-align: center; line-height: 1.05; background: rgba(255,255,255,.11); }
.sw-day b { font: 700 .58rem var(--sans); letter-spacing: .12em; color: var(--jb-c2); }
.sw-day i { font: 700 1.1rem var(--serif); font-style: normal; }
.sw-main { min-width: 0; }
.sw-main strong, .sw-main small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sw-main strong { font-size: .93rem; }
.sw-main small { font-size: .77rem; color: rgba(255,255,255,.72); }
.sw-when { font: 700 .7rem/1.2 var(--sans); color: var(--jb-c2); white-space: nowrap; text-align: right; }
.sw-more { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; font-size: .88rem; font-weight: 600; color: #fff; text-decoration: none; opacity: .88; }
.sw-more:hover { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .spot--week:not(.spot--still) .sw-head__dot, .spot--week:not(.spot--still).is-live .sw-state::before { animation: swPing 1.8s ease-out infinite; }
  .spot.is-ready .sw-item:not([hidden]) { animation: swIn .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--k, 0) * 110ms + .5s); }
}
@keyframes swPing { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 100% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }
@keyframes swIn { from { opacity: 0; transform: translateX(18px); } }

/* Welcome globe: words turning around a globe; visitors can spin it */
.spot--globe { aspect-ratio: 1; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.spot--globe.is-drag { cursor: grabbing; }
.sg-glow { position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 38% 32%, rgba(255,255,255,.2), rgba(255,255,255,.04) 58%, transparent 72%); box-shadow: 0 0 90px -30px var(--jb-c1); }
.sg-lines { position: absolute; inset: 4%; width: 92%; height: 92%; overflow: visible; fill: none; stroke: var(--jb-c1); stroke-width: .55; opacity: .38; }
.sg-m { transform-box: view-box; transform-origin: 100px 100px; }
@media (prefers-reduced-motion: no-preference) {
  .spot--globe:not(.spot--still) .sg-m { animation: sgMer 15s ease-in-out infinite; }
  .spot--globe:not(.spot--still) .sg-m2 { animation-delay: -5s; } .spot--globe:not(.spot--still) .sg-m3 { animation-delay: -10s; }
}
@keyframes sgMer { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
.sg-words { position: absolute; inset: 0; }
.spot--globe:not(.is-ready) .sg-words { display: none; }
.sg-w { position: absolute; left: 50%; top: 50%; white-space: nowrap; font: 700 clamp(.74rem, .95vw, .96rem)/1 var(--sans); color: #fff; will-change: transform, opacity; }
.sg-w.is-front { color: var(--jb-c2); text-shadow: 0 0 14px var(--jb-c1); }
.sg-core { position: absolute; left: 22%; right: 22%; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; gap: .45rem; justify-items: center; text-align: center; pointer-events: none; }
.sg-core::before { content: ""; position: absolute; inset: -55% -26%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(12,16,44,.82), rgba(12,16,44,.5) 55%, transparent); }
.sg-core__small { font: 700 .68rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--jb-c1); }
.sg-core__big { font: 700 clamp(1.7rem, 2.8vw, 2.5rem)/1.05 var(--serif); letter-spacing: -.02em; color: #fff; background: linear-gradient(135deg, #fff 10%, var(--jb-c2) 55%, var(--jb-c1)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Light words: small lights come together to write the words */
.spot--spark { aspect-ratio: 1 / .92; }
.spk-c { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.spk-fallback { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; padding: 0 8% 8%; text-align: center; font: 800 clamp(2rem, 3.8vw, 3.2rem)/1.05 var(--serif); color: var(--jb-c2); text-shadow: 0 0 24px var(--jb-c1); }
.spot--spark.is-ready .spk-fallback { visibility: hidden; }
.spk-cap { position: absolute; left: 0; right: 0; bottom: .9rem; margin: 0; padding: 0 2.8rem; text-align: center; font: 700 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.72); }

/* Church Documents › Spotlight animation (admin-emblem.php): style gallery, card editor and live preview */
.em-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 2rem; align-items: start; }
.em-prev { position: sticky; top: calc(var(--top-h, 90px) + 1rem); min-width: 0; }
.em-prev__h { display: grid; gap: .15rem; margin: 0 0 .6rem; font-family: var(--sans); font-size: .9rem; }
.em-prev__h span { font-size: .8rem; color: var(--muted); }
.em-prev iframe { display: block; width: 100%; height: min(640px, calc(100vh - var(--top-h, 90px) - 6rem)); min-height: 460px; border: 0; border-radius: 18px; background: #10142e; box-shadow: 0 20px 50px -30px rgba(20,28,63,.6); }
@media (max-width: 1100px) { .em-layout { grid-template-columns: minmax(0, 1fr); } .em-prev { position: static; order: -1; } .em-prev iframe { height: 520px; } }
.em-kind { margin: .3rem 0 .6rem; font-weight: 700; font-size: .9rem; color: var(--night); }
.em-kind + .em-styles { margin-bottom: 1.3rem; }
.em-styles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: .75rem; }
.em-style { position: relative; display: grid; gap: .3rem; align-content: start; min-width: 0; padding: .7rem .75rem .85rem; border: 2px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; font-family: var(--sans); transition: border-color .2s, box-shadow .2s; }
.em-style:hover { border-color: color-mix(in srgb, var(--flame) 55%, var(--line)); }
.em-style:has(input:checked) { border-color: var(--flame); box-shadow: 0 14px 30px -22px rgba(20,28,63,.55); }
.em-style input { position: absolute; top: .7rem; right: .7rem; margin: 0; accent-color: var(--flame); }
.em-style:has(input:focus-visible) { outline: 3px solid var(--indigo2, #2f4bb5); outline-offset: 2px; }
.em-style strong { font-size: .92rem; color: var(--night); padding-right: 1.4rem; }
.em-style small { font-size: .78rem; line-height: 1.4; color: var(--muted); }
.em-style__pic { display: block; width: 100%; height: auto; aspect-ratio: 120 / 82; margin-bottom: .2rem; border-radius: 10px; background: linear-gradient(135deg, #1E2A5E, #10142e 60%, #5a1020); }
.em-style__pic .o1 { fill: rgba(255,255,255,.16); stroke: rgba(255,255,255,.4); stroke-width: .8; }
.em-style__pic .o2 { fill: rgba(255,255,255,.08); }
.em-style__pic .a { fill: #E2C06A; }
.em-style__pic .w { fill: rgba(255,255,255,.9); }
.em-style__pic .w2 { fill: rgba(255,255,255,.5); }
.em-style__pic .ln { fill: none; stroke: #E2C06A; stroke-width: 1.2; }
.em-style__pic .ph { fill: #FBFAF5; }
.em-style__pic .pi { fill: #7d8fb8; }
.em-style__pic .ring { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 3; }
.em-style__pic .ringa { fill: none; stroke: #E2C06A; stroke-width: 3; stroke-linecap: round; }
.em-style__pic .tx { fill: #fff; font: 700 7px sans-serif; }
.em-style__pic .big { fill: #F3DFA2; font: 700 18px Georgia, serif; text-anchor: middle; }
.em-style__pic .mid { fill: #F3DFA2; font: 700 11px Georgia, serif; text-anchor: middle; }
.em-style__pic .aur { fill: none; stroke: #A58BFF; stroke-width: 4; }
.em-style__pic .dots circle { fill: #FBF0CC; }
.em-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 1rem; }
.em-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.em-slides { display: grid; gap: .9rem; margin: .4rem 0 .9rem; }
.em-slide { min-width: 0; margin: 0; padding: .8rem 1rem .4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--mist, #f6f7fb); }
.em-slide legend { padding: 0 .4rem; font-weight: 700; color: var(--night); }
.em-slide__tools { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-bottom: .5rem; }
.em-slide__tools .btn { min-width: 2.4rem; }
.em-slide__pic { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: .5rem; }
.em-slide__pic img { width: 120px; height: 75px; object-fit: cover; border-radius: 8px; }
.em-emoji { font-size: 1.3rem; }
.em-slide:has([data-em-del]:checked) { opacity: .55; }
.em-checks { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; margin: .4rem 0 .6rem; }

/* A writing feature closed to a visitor blocked for harmful words (includes/respect.php) */
.respect-block { max-width: 640px; margin: 1rem 0 1.5rem; padding: 1.1rem 1.25rem; border-radius: 14px; background: #FFF4F2; border: 1px solid #F2C9C2; color: #5A1A12; }
.respect-block strong { display: block; margin-bottom: .35rem; font-size: 1.05rem; }
.respect-block p { margin: 0; line-height: 1.55; }
.sec-rb td { vertical-align: top; }
.sec-rb q { font-style: italic; overflow-wrap: anywhere; }
.sec-rb__act form { display: flex; flex-wrap: wrap; gap: .4rem; }

/* Floating "Ask us" and WhatsApp buttons (computers and tablets, Dec 2026): round icons; the words slide out to the left
   on mouse-over or keyboard focus. Phones use the app bar instead. */
@media (min-width: 701px) {
  .chat__launch, .wa-float { flex-direction: row-reverse; justify-content: flex-start; gap: 0 !important; height: 56px; min-width: 56px; box-sizing: border-box; overflow: hidden; white-space: nowrap;
    transition: padding .45s cubic-bezier(.2,.7,.2,1), background .15s, box-shadow .2s; }
  .chat__launch { padding: 0 16px !important; }
  .wa-float { padding: 0 11px !important; }
  .chat__launch .ico { width: 24px; height: 24px; flex: none; }
  .wa-float .wa-icon { width: 34px !important; height: 34px !important; flex: none; }
  .chat__launch-label, .wa-float__label { display: inline-block !important; max-width: 0; opacity: 0; overflow: hidden; margin: 0 !important; padding: 0 !important; font-size: 1rem !important; line-height: 1.2;
    transform: translateX(16px); transition: max-width .45s cubic-bezier(.2,.7,.2,1), opacity .3s ease .05s, transform .45s cubic-bezier(.2,.7,.2,1), margin .45s cubic-bezier(.2,.7,.2,1); }
  .chat__launch:focus-visible, .wa-float:focus-visible { padding-left: 1.2rem !important; }
  .chat__launch:focus-visible .chat__launch-label, .wa-float:focus-visible .wa-float__label { max-width: 12rem; opacity: 1; transform: none; margin-right: .6rem !important; }
  .chat__launch[aria-expanded="true"] { padding: 0 16px !important; }
  .chat__launch[aria-expanded="true"] .chat__launch-label { max-width: 0 !important; opacity: 0 !important; margin: 0 !important; }
}
@media (min-width: 701px) and (hover: hover) {
  .chat__launch:hover, .wa-float:hover { padding-left: 1.2rem !important; }
  .chat__launch:hover .chat__launch-label, .wa-float:hover .wa-float__label { max-width: 12rem; opacity: 1; transform: none; margin-right: .6rem !important; }
  .chat__launch[aria-expanded="true"]:hover { padding: 0 16px !important; }
}
@media (prefers-reduced-motion: reduce) { .chat__launch, .wa-float, .chat__launch-label, .wa-float__label { transition: none !important; } }

/* Church Documents › Bible Studies (admin-studies.php): order and delete */
.st-list .pm-grid__item.alb-list__item { flex-wrap: wrap; }
.st-list .alb-list__item img { width: 56px; height: 56px; object-fit: contain; background: var(--mist, #f4f5fa); }
.st-list__del { flex: none; }
.st-list__del .link-btn { white-space: nowrap; }
.st-list--off .alb-list__item { display: flex; align-items: center; gap: .8rem; padding: .45rem; border: 1px dashed var(--line); border-radius: 12px; opacity: .85; }
.st-list__off { display: flex; align-items: center; gap: .8rem; flex: 1 1 auto; min-width: 0; font-family: var(--sans); }
.st-list__off strong { display: block; } .st-list__off small { color: var(--muted); }
.st-ask { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; }
