/* Ministry and department mini-site (16 Oct 2026), used by includes/ministry-minisite.php.
   Phone first; the ministry's own colours arrive as --gf / --gt on .msite-scope (set by the page), with the
   church purple as the fallback. Dark theme follows html.hgc-dark, like the rest of the site. */

.msite-scope { --ms-a: var(--gf, #4B0082); --ms-b: var(--gt, #7c3aed); --ms-ink: #1f2937; --ms-muted: #5b6270; --ms-line: #e7e3f0;
  --ms-surface: #ffffff; --ms-alt: #f7f5fb; --ms-soft: rgba(75, 0, 130, .07); }
html.hgc-dark .msite-scope { --ms-ink: #ece8f6; --ms-muted: #b6aecb; --ms-line: #2c2445; --ms-surface: #1b1630; --ms-alt: #161228; --ms-soft: rgba(180, 139, 255, .12); }

html { scroll-padding-top: 128px; }

/* Section menu */
.msite-nav { position: sticky; top: 64px; z-index: 900; background: var(--ms-surface); border-bottom: 1px solid var(--ms-line);
  box-shadow: 0 6px 16px -10px rgba(20, 0, 50, .35); }
.msite-nav__list { display: flex; gap: .35rem; list-style: none; margin: 0; padding: .55rem 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.msite-nav__list::-webkit-scrollbar { display: none; }
.msite-nav__link { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .95rem; border-radius: 999px; white-space: nowrap;
  font-size: .9rem; font-weight: 600; color: var(--ms-muted); text-decoration: none; border: 1px solid transparent; }
.msite-nav__link:hover { color: var(--ms-ink); background: var(--ms-soft); }
.msite-nav__link.is-active { background: var(--ms-a); color: #fff; }
html.hgc-dark .msite-nav__link.is-active { background: #6d28d9; }
.msite-nav__link:focus:not(:focus-visible):not(.is-active) { background: transparent; }
.msite-nav__link:focus-visible { outline: 3px solid var(--ms-b); outline-offset: 2px; }

/* Sections */
.msite-sec { padding: 3rem 0; background: var(--ms-surface); color: var(--ms-ink); }
.msite-sec--alt { background: var(--ms-alt); }
.msite-head { display: flex; align-items: flex-start; gap: .85rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.msite-head__icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--ms-a), var(--ms-a)); }
.msite-head h2 { font-size: clamp(1.35rem, 3.6vw, 1.85rem); font-weight: 800; margin: 0; color: var(--ms-ink); line-height: 1.2; }
.msite-head p { margin: .2rem 0 0; color: var(--ms-muted); font-size: .97rem; }
.msite-head > div { flex: 1 1 220px; min-width: 0; }
.msite-head__more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem; color: var(--ms-a); text-decoration: none; align-self: center; }
html.hgc-dark .msite-head__more { color: #c4a7ff; }
.msite-sub { font-size: 1.05rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--ms-ink); }

.msite-empty { display: flex; align-items: center; gap: .9rem; padding: 1.15rem 1.25rem; border: 1px dashed var(--ms-line); border-radius: 16px;
  background: var(--ms-surface); color: var(--ms-muted); }
.msite-sec--alt .msite-empty { background: transparent; }
.msite-empty__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ms-soft); color: var(--ms-a); }
html.hgc-dark .msite-empty__icon { color: #c4a7ff; }
.msite-empty p { margin: 0; font-size: .95rem; }

/* Leadership hierarchy: tiers stack top to bottom, joined by a connector line */
/* Leadership org chart (22 Oct 2026): highest rank on top; each level hangs from the one above on a connector,
   people in a level sit side by side on a rail. A level of more than four becomes a plain grid. Phones get a list. */
.msite-head--center { justify-content: center; text-align: center; }
.msite-head--center > div { flex: 0 1 640px; }
.msite-org { list-style: none; margin: 0; padding: 0; --org-gap: 1.6rem; --org-line: color-mix(in srgb, var(--ms-a) 35%, var(--ms-line)); }
.msite-org__tier { position: relative; display: flex; flex-direction: column; align-items: center; }
.msite-org__tier + .msite-org__tier { padding-top: 3.2rem; }
.msite-org__tier + .msite-org__tier::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 3.2rem; margin-left: -1px; background: var(--org-line); }
.msite-org__label { position: relative; z-index: 1; display: inline-block; margin-bottom: 0; padding: .3rem .85rem; border-radius: 999px; font-size: .7rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ms-a); background: var(--ms-surface); border: 1.5px solid var(--org-line); }
.msite-sec--alt .msite-org__label { background: var(--ms-alt); }
html.hgc-dark .msite-org__label { color: #c4a7ff; }
.msite-org__tier + .msite-org__tier .msite-org__label { margin-top: -2.4rem; margin-bottom: .8rem; }
.msite-org__tier:first-child .msite-org__label { margin-bottom: 1rem; }
.msite-org__row { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.msite-org__node { position: relative; padding: var(--org-gap) .6rem 0; display: flex; }
.msite-org__row--one > .msite-org__node, .msite-org__tier:first-child .msite-org__node { padding-top: 0; }
/* stem from the rail down to each person, and the rail itself (half on each side, trimmed at the ends) */
.msite-org__tier + .msite-org__tier .msite-org__row:not(.msite-org__row--one):not(.msite-org__row--grid) > .msite-org__node::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: var(--org-gap); margin-left: -1px; background: var(--org-line); }
.msite-org__tier + .msite-org__tier .msite-org__row:not(.msite-org__row--one):not(.msite-org__row--grid) > .msite-org__node::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--org-line); }
.msite-org__row > .msite-org__node:first-child::after { left: 50% !important; }
.msite-org__row > .msite-org__node:last-child::after { right: 50% !important; }
.msite-org__row--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; width: 100%; }
.msite-org__row--grid > .msite-org__node { padding: 0; }

.msite-person { position: relative; width: 228px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem;
  background: var(--ms-surface); border: 1px solid var(--ms-line); border-radius: 22px; padding: 1.5rem 1rem 1.2rem;
  box-shadow: 0 18px 40px -28px rgba(40, 0, 80, .45); transition: transform .2s ease, box-shadow .2s ease; }
.msite-person::before { content: ""; position: absolute; inset: 0 0 auto; height: 64px; border-radius: 22px 22px 0 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ms-a) 16%, transparent), color-mix(in srgb, var(--ms-b) 10%, transparent)); }
.msite-person:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -26px rgba(40, 0, 80, .5); }
.msite-org__row--grid .msite-person { width: auto; flex: 1; }
.msite-person__ring { position: relative; display: inline-flex; padding: 4px; border-radius: 50%; background: linear-gradient(135deg, var(--ms-a), var(--ms-b));
  margin-bottom: .55rem; }
.msite-person__photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; display: block; border: 3px solid var(--ms-surface); background: var(--ms-surface); }
.msite-person__photo--initials { display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; letter-spacing: .02em; color: #fff;
  background: linear-gradient(135deg, var(--ms-a), var(--ms-b)); }
.msite-org__tier--1 .msite-person { width: 300px; padding-top: 1.8rem; }
.msite-org__tier--1 .msite-person__photo { width: 132px; height: 132px; }
.msite-org__tier--1 .msite-person__photo--initials { font-size: 2.1rem; }
.msite-org__tier--3 .msite-person, .msite-org__tier--4 .msite-person { width: 196px; padding: 1.1rem .8rem 1rem; }
.msite-org__tier--3 .msite-person__photo, .msite-org__tier--4 .msite-person__photo { width: 80px; height: 80px; }
.msite-org__tier--3 .msite-person__photo--initials, .msite-org__tier--4 .msite-person__photo--initials { font-size: 1.3rem; }
.msite-person__text { display: flex; flex-direction: column; align-items: center; gap: .3rem; width: 100%; }
.msite-person__name { font-size: 1.04rem; font-weight: 800; color: var(--ms-ink); line-height: 1.25; margin: 0; }
.msite-org__tier--1 .msite-person__name { font-size: 1.2rem; }
.msite-person__title { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--ms-a); background: var(--ms-soft); }
html.hgc-dark .msite-person__title { color: #d7c4ff; }
.msite-person__bio { font-size: .85rem; line-height: 1.5; color: var(--ms-muted); margin: .2rem 0 0; }
@media (max-width: 760px) {
  .msite-org__row:not(.msite-org__row--grid) { flex-direction: column; align-items: stretch; width: 100%; max-width: 440px; gap: .75rem; }
  .msite-org__node, .msite-org__row--one > .msite-org__node { padding: 0; }
  .msite-org__node::before, .msite-org__node::after { display: none; }
  .msite-org__tier + .msite-org__tier { padding-top: 2.6rem; }
  .msite-org__tier + .msite-org__tier::before { height: 2.6rem; }
  .msite-org__tier + .msite-org__tier .msite-org__label { margin-top: -2.1rem; margin-bottom: .5rem; }
  .msite-person, .msite-org__tier--1 .msite-person, .msite-org__tier--3 .msite-person, .msite-org__tier--4 .msite-person {
    width: 100%; flex-direction: row; align-items: center; text-align: left; gap: .9rem; padding: .9rem 1rem; border-radius: 18px; }
  .msite-person::before { inset: 0 auto 0 0; width: 5px; height: auto; border-radius: 18px 0 0 18px; background: linear-gradient(180deg, var(--ms-a), var(--ms-b)); }
  .msite-person__ring { margin: 0; flex: 0 0 auto; }
  .msite-person__photo, .msite-org__tier--3 .msite-person__photo, .msite-org__tier--4 .msite-person__photo { width: 64px; height: 64px; }
  .msite-org__tier--1 .msite-person__photo { width: 76px; height: 76px; }
  .msite-person__photo--initials, .msite-org__tier--1 .msite-person__photo--initials { font-size: 1.2rem; }
  .msite-person__text { align-items: flex-start; }
  .msite-org__row--grid { grid-template-columns: 1fr; max-width: 440px; }
}
@media (prefers-reduced-motion: reduce) { .msite-person, .msite-person:hover { transition: none; transform: none; } }

/* Event cards */
.msite-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.msite-card { background: var(--ms-surface); border: 1px solid var(--ms-line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.msite-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.msite-card__body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; position: relative; }
.msite-date { position: absolute; top: -1.6rem; right: 1rem; min-width: 52px; padding-inline: .45rem !important; box-sizing: border-box; text-align: center; background: var(--ms-a); color: #fff; border-radius: 12px; padding: .3rem 0; line-height: 1.05; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.msite-card__body:first-child .msite-date { position: static; margin-bottom: .2rem; align-self: flex-start; }
.msite-date span { display: block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.msite-date b { font-size: 1.25rem; }
.msite-card__title { font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--ms-ink); padding-right: 3.6rem; }
.msite-card__body:first-child .msite-card__title { padding-right: 0; }
.msite-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .9rem; font-size: .86rem; color: var(--ms-muted); margin: 0; }
.msite-meta span, .msite-meta svg { vertical-align: -2px; }
.msite-meta svg { flex: 0 0 auto; margin-top: .2rem; }
.msite-card .msite-meta { flex-wrap: nowrap; align-items: flex-start; gap: .45rem; }
.msite-card .msite-meta > span { flex: 1 1 auto; min-width: 0; }
/* One event on its own gets a wide card instead of a narrow column. */
.msite-cards--one { grid-template-columns: minmax(0, 720px); }
@media (min-width: 720px) {
  .msite-cards--one .msite-card:has(.msite-card__img) { flex-direction: row; }
  .msite-cards--one .msite-card__img { width: 42%; aspect-ratio: auto; min-height: 100%; }
}
.msite-card__desc { margin: .25rem 0 .35rem; font-size: .9rem; line-height: 1.55; color: var(--ms-ink); opacity: .86; }
.msite-card .msite-btn { align-self: flex-start; margin-top: auto; }
.msite-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--ms-line); border-radius: 14px; background: var(--ms-surface); }
.msite-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; border-bottom: 1px solid var(--ms-line); font-size: .93rem; }
.msite-list li:last-child { border-bottom: 0; }
.msite-list small { color: var(--ms-muted); white-space: nowrap; }

/* Buttons */
.msite-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .6rem 1.15rem; border-radius: 12px;
  border: 0; cursor: pointer; font-weight: 700; font-size: .93rem; text-decoration: none; background: var(--ms-a); color: #fff; margin-top: .4rem; align-self: flex-start; }
.msite-btn:hover { filter: brightness(1.08); color: #fff; }
.msite-btn--ghost { background: transparent; color: var(--ms-a); border: 1.5px solid currentColor; }
html.hgc-dark .msite-btn--ghost { color: #c4a7ff; }
.msite-btn:focus-visible { outline: 3px solid var(--ms-b); outline-offset: 2px; }

/* News */
.msite-news { display: grid; gap: .9rem; }
.msite-news__item { display: flex; gap: 1rem; background: var(--ms-surface); border: 1px solid var(--ms-line); border-radius: 16px; padding: 1rem; }
.msite-news__item.is-pinned { border-left: 4px solid var(--ms-a); }
.msite-news__item img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; flex: 0 0 auto; }
.msite-news__item h3 { font-size: 1.02rem; margin: .1rem 0; color: var(--ms-ink); }
.msite-news__item small { color: var(--ms-muted); }
.msite-news__item p { margin: .45rem 0 0; font-size: .94rem; color: var(--ms-ink); }
.msite-tag { display: inline-block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .55rem; border-radius: 999px; background: var(--ms-soft); color: var(--ms-a); }
@media (max-width: 520px) { .msite-news__item { flex-direction: column; } .msite-news__item img { width: 100%; height: auto; aspect-ratio: 16 / 9; } }

/* Serve */
.msite-serve { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.msite-open { background: var(--ms-surface); border: 1px solid var(--ms-line); border-radius: 18px; padding: 1.15rem; display: flex; flex-direction: column; gap: .4rem; }
.msite-open h3 { font-size: 1.05rem; margin: 0; color: var(--ms-ink); }
.msite-open p { margin: 0; font-size: .93rem; color: var(--ms-muted); }
.msite-open--join { background: linear-gradient(160deg, var(--ms-a), var(--ms-a)); border: 0; color: #fff; }
.msite-open--join h3, .msite-open--join p { color: #fff; }
.msite-open--join .msite-btn { background: #fff; color: var(--ms-a); }

/* Forms */
.msite-forms { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.msite-forms a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; border: 1px solid var(--ms-line);
  border-radius: 14px; background: var(--ms-surface); color: var(--ms-ink); text-decoration: none; min-height: 56px; }
.msite-forms a:hover { border-color: var(--ms-a); }
.msite-forms span { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.msite-forms small { color: var(--ms-muted); }

/* Gallery */
.msite-gallery { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.msite-gallery__item { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--ms-soft); }
.msite-gallery__item img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .25s ease; }
.msite-gallery__item:hover img { transform: scale(1.04); }
.msite-gallery__item:focus-visible { outline: 3px solid var(--ms-b); outline-offset: 2px; }
.msite-lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 92vh; }
.msite-lightbox::backdrop { background: rgba(10, 4, 24, .86); }
.msite-lightbox img { display: block; max-width: 100%; max-height: 88vh; border-radius: 12px; }
.msite-lightbox__close { position: absolute; top: .4rem; right: .4rem; width: 44px; height: 44px; border-radius: 50%; border: 0; font-size: 1.6rem; line-height: 1;
  background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { .msite-gallery__item img { transition: none; } html { scroll-behavior: auto; } }

/* A leader's story (21 Oct 2026): opens in place under the card. */
.msite-leader__story { margin-top: .5rem; width: 100%; text-align: left; }
.msite-leader__story > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  min-height: 40px; padding: .35rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ms-a);
  border: 1px solid var(--ms-line); background: var(--ms-surface); width: 100%; }
.msite-leader__story > summary::-webkit-details-marker { display: none; }
.msite-leader__story[open] > summary { margin-bottom: .5rem; }
.msite-leader__story > div { font-size: .9rem; line-height: 1.6; color: var(--ms-ink); }


/* Page layout under the hero (22 Oct 2026) */
.msite-eyebrow { margin: 0 0 .35rem; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ms-a); }
html.hgc-dark .msite-eyebrow { color: #c4a7ff; }
.msite-title { margin: 0 0 .9rem; font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; line-height: 1.15; color: var(--ms-ink); }
.msite-prose { font-size: 1.02rem; line-height: 1.75; color: var(--ms-ink); opacity: .92; margin: 0; }
.msite-sub--tight { margin-top: 1.5rem; }

.msite-about { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; }
.msite-about--solo { grid-template-columns: minmax(0, 820px); }
.msite-verse { position: relative; margin: 0; padding: 2.2rem 2rem 1.8rem; border-radius: 24px; color: #fff; overflow: hidden;
  background: linear-gradient(140deg, var(--ms-a), var(--ms-b)); box-shadow: 0 24px 48px -30px rgba(40, 0, 80, .6); }
.msite-verse::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; bottom: -90px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.msite-verse__mark { position: absolute; top: -.6rem; left: 1.1rem; font-size: 6rem; line-height: 1; font-family: Georgia, serif; opacity: .25; }
.msite-verse blockquote { position: relative; z-index: 1; margin: 0; font-size: 1.12rem; line-height: 1.65; font-style: italic; }
.msite-verse figcaption { position: relative; z-index: 1; margin-top: 1rem; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }

.msite-mv { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.25rem; }
.msite-mv--one { grid-template-columns: minmax(0, 820px); }
.msite-mv__card { background: var(--ms-alt); border: 1px solid var(--ms-line); border-radius: 20px; padding: 1.4rem 1.4rem 1.3rem; }
.msite-sec--alt .msite-mv__card { background: var(--ms-surface); }
.msite-mv__icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--ms-a), var(--ms-b)); margin-bottom: .75rem; }
.msite-mv__card h3 { margin: 0 0 .4rem; font-size: 1.1rem; font-weight: 800; color: var(--ms-ink); }
.msite-mv__card p { margin: 0; font-size: .96rem; line-height: 1.65; color: var(--ms-muted); }

.msite-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.msite-tile { display: flex; gap: .85rem; align-items: flex-start; padding: 1.1rem 1.15rem; background: var(--ms-surface); border: 1px solid var(--ms-line); border-radius: 18px;
  font-size: .97rem; line-height: 1.5; color: var(--ms-ink); }
.msite-sec:not(.msite-sec--alt) .msite-tile { background: var(--ms-alt); }
.msite-tile__title { display: block; margin-bottom: .3rem; font-size: 1.04rem; font-weight: 800; line-height: 1.3; color: var(--ms-ink); }
.msite-tile--head { padding: 1.25rem 1.25rem 1.3rem; color: var(--ms-muted); font-size: .95rem; line-height: 1.6; }
.msite-tile__no { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-weight: 800; font-size: .85rem; color: var(--ms-a); background: var(--ms-soft); }
html.hgc-dark .msite-tile__no { color: #d7c4ff; }

.msite-join { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.msite-join--slim { grid-template-columns: minmax(0, 560px); }
.msite-join__main, .msite-join__side { display: grid; gap: 1rem; }
.msite-panel { background: var(--ms-surface); border: 1px solid var(--ms-line); border-radius: 20px; padding: 1.35rem 1.4rem; }
.msite-sec:not(.msite-sec--alt) .msite-panel { background: var(--ms-alt); }
.msite-panel h3 { margin: 0 0 .75rem; font-size: 1.1rem; font-weight: 800; color: var(--ms-ink); }
.msite-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.msite-checks li { display: flex; gap: .65rem; align-items: flex-start; font-size: .96rem; line-height: 1.5; color: var(--ms-ink); }
.msite-checks__icon { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; margin-top: .05rem; color: #fff; background: var(--ms-a); }
.msite-checks__icon svg { width: 14px; height: 14px; }
.msite-quote { margin: 0; padding: 1.5rem 1.5rem 1.3rem; border-radius: 20px; background: var(--ms-surface); border: 1px solid var(--ms-line); border-left: 5px solid var(--ms-a); }
.msite-sec:not(.msite-sec--alt) .msite-quote { background: var(--ms-alt); }
.msite-quote blockquote { margin: 0; font-size: 1rem; line-height: 1.7; font-style: italic; color: var(--ms-ink); }
.msite-quote figcaption { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.msite-quote figcaption > span:last-child { display: flex; flex-direction: column; font-size: .92rem; color: var(--ms-ink); }
.msite-quote small { color: var(--ms-muted); font-size: .8rem; }
.msite-quote__av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--ms-a), var(--ms-b)); }
.msite-cta { position: relative; overflow: hidden; padding: 1.6rem 1.5rem; border-radius: 20px; color: #fff; background: linear-gradient(140deg, var(--ms-a), var(--ms-b)); }
.msite-cta::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -70px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.msite-cta h3 { position: relative; margin: 0 0 .4rem; font-size: 1.2rem; font-weight: 800; color: #fff; }
.msite-cta p { position: relative; margin: 0 0 .6rem; font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.msite-btn--light { position: relative; background: #fff; color: var(--ms-a); }
.msite-btn--light:hover { color: var(--ms-a); }
.msite-btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); }

.msite-contact { padding-bottom: 3.5rem; }
.msite-contact__box { display: grid; gap: 1.75rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; padding: 2.2rem; border-radius: 26px;
  color: #fff; background: linear-gradient(140deg, var(--ms-a), var(--ms-b)); box-shadow: 0 30px 60px -36px rgba(40, 0, 80, .7); }
.msite-contact .msite-eyebrow, .msite-contact .msite-title { color: #fff; }
.msite-contact__intro > p:not(.msite-eyebrow) { margin: 0; color: rgba(255, 255, 255, .92); line-height: 1.6; }
.msite-contact__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.msite-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.msite-contact__list li { display: flex; gap: .75rem; align-items: flex-start; padding: .95rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2); font-size: .95rem; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.msite-contact__list small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .8; margin-bottom: .15rem; }
.msite-contact__list a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.msite-contact__icon { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .18); }
.msite-contact__icon svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .msite-about, .msite-join, .msite-contact__box { grid-template-columns: minmax(0, 1fr); }
  .msite-contact__box { padding: 1.5rem; }
}
@media (max-width: 560px) {
  .msite-mv, .msite-contact__list { grid-template-columns: minmax(0, 1fr); }
  .msite-verse { padding: 1.8rem 1.4rem 1.4rem; }
}
.msite-tiles:has(.msite-tile--head) { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

/* Gallery tab (22 Oct 2026): the church gallery's grid, so only fit and the hidden state need saying here. */
.msite-sec .ggrid__item[hidden] { display: none; }
.msite-sec .ggrid__item:focus-visible { outline: 3px solid var(--ms-b); outline-offset: 3px; }
.msite-sec .gfilter { margin-bottom: 1.5rem; justify-content: flex-start; }
.msite-sec .gfilter__pill { font-family: inherit; }
.msite-sec .gempty { padding: 2.5rem 1rem; }
.msite-sec .gempty__title { color: var(--ms-ink); }
.msite-sec .gempty__text { color: var(--ms-muted); }
.msite-sec .gfilter__pill--active { background: var(--ms-a); border-color: var(--ms-a); }

/* Leadership (left) and Events (right) in one band (22 Oct 2026): the chart is compact, so it no longer sits in a wide
   empty strip. Stacks on tablets and phones. */
.msite-duo__grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.msite-duo__lead, .msite-duo__main { min-width: 0; scroll-margin-top: 128px; }
@media (min-width: 1000px) {
  .msite-duo__grid { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 3rem; }
  .msite-duo__lead { padding-right: 2.5rem; border-right: 1px solid var(--ms-line); }
}
.msite-duo .msite-org { --org-gap: .9rem; }
.msite-duo .msite-org__tier + .msite-org__tier { padding-top: 2.2rem; }
.msite-duo .msite-org__tier + .msite-org__tier::before { height: 2.2rem; }
.msite-duo .msite-org__tier + .msite-org__tier .msite-org__label { margin-top: -1.8rem; margin-bottom: .45rem; }
.msite-duo .msite-org__node { padding-left: .3rem; padding-right: .3rem; }
@media (min-width: 761px) {
  /* compact horizontal cards: photo beside the name, so the chart is about half as tall */
  .msite-duo .msite-person { width: 280px; flex-direction: row; align-items: center; text-align: left; gap: .8rem; padding: .75rem .9rem .75rem 1.1rem; border-radius: 16px; }
  .msite-duo .msite-person::before { inset: 0 auto 0 0; width: 5px; height: auto; border-radius: 16px 0 0 16px; background: linear-gradient(180deg, var(--ms-a), var(--ms-b)); }
  .msite-duo .msite-person__ring { margin: 0; flex: 0 0 auto; }
  .msite-duo .msite-person__photo { width: 58px; height: 58px; }
  .msite-duo .msite-person__photo--initials { font-size: 1.1rem; }
  .msite-duo .msite-person__text { align-items: flex-start; gap: .2rem; }
  .msite-duo .msite-person__name { font-size: 1rem; }
  .msite-duo .msite-org__tier--1 .msite-person { width: 320px; }
  .msite-duo .msite-org__tier--1 .msite-person__photo { width: 70px; height: 70px; }
  .msite-duo .msite-org__tier--1 .msite-person__name { font-size: 1.08rem; }
  .msite-duo .msite-org__row--n2 .msite-person, .msite-duo .msite-org__tier--3 .msite-person, .msite-duo .msite-org__tier--4 .msite-person { width: 100%; }
  .msite-duo .msite-org__row--n2 .msite-org__node { flex: 1 1 0; min-width: 0; }
  .msite-duo .msite-org__row--n2 .msite-person { flex-direction: column; text-align: center; padding: .9rem .6rem; }
  .msite-duo .msite-org__row--n2 .msite-person::before { inset: 0 0 auto 0; width: auto; height: 44px; border-radius: 16px 16px 0 0; background: linear-gradient(135deg, color-mix(in srgb, var(--ms-a) 16%, transparent), color-mix(in srgb, var(--ms-b) 10%, transparent)); }
  .msite-duo .msite-org__row--n2 .msite-person__text { align-items: center; }
  .msite-duo .msite-org__row--n2 .msite-person__ring { margin-bottom: .3rem; }
  .msite-duo .msite-org__row--n3 .msite-person { width: 100%; flex-direction: column; text-align: center; padding: .85rem .4rem; }
  .msite-duo .msite-org__row--n3 .msite-person::before { inset: 0 0 auto 0; width: auto; height: 40px; border-radius: 16px 16px 0 0; background: linear-gradient(135deg, color-mix(in srgb, var(--ms-a) 16%, transparent), color-mix(in srgb, var(--ms-b) 10%, transparent)); }
  .msite-duo .msite-org__row--n3 .msite-person__ring { margin-bottom: .3rem; }
  .msite-duo .msite-org__row--n3 .msite-person__text { align-items: center; }
  .msite-duo .msite-org__row--n3 .msite-person__photo, .msite-duo .msite-org__row--n2 .msite-person__photo { width: 56px; height: 56px; }
  .msite-duo .msite-org__row--n3 .msite-org__node { flex: 1 1 0; min-width: 0; }
  .msite-duo .msite-org__row--n3 .msite-person__name { font-size: .88rem; }
}
.msite-duo .msite-org__row--grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.msite-duo .msite-org__row--grid .msite-person { width: auto; }
.msite-duo .msite-cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.msite-duo .msite-cards--one { grid-template-columns: minmax(0, 1fr); }
.msite-duo__main .msite-head { margin-bottom: 1.25rem; }
@media (max-width: 999px) {
  .msite-duo__lead { padding-bottom: .5rem; }
  .msite-duo .msite-org { max-width: 520px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .msite-duo .msite-person, .msite-duo .msite-org__tier--1 .msite-person, .msite-duo .msite-org__tier--3 .msite-person, .msite-duo .msite-org__tier--4 .msite-person,
  .msite-duo .msite-org__row--n3 .msite-person { width: 100%; padding: .9rem 1rem; }
  .msite-duo .msite-person__photo, .msite-duo .msite-org__tier--3 .msite-person__photo, .msite-duo .msite-org__tier--4 .msite-person__photo, .msite-duo .msite-org__row--n3 .msite-person__photo { width: 64px; height: 64px; }
  .msite-duo .msite-org__tier--1 .msite-person__photo { width: 76px; height: 76px; }
}
.msite-duo .msite-org__row--n2, .msite-duo .msite-org__row--n3 { width: 100%; }
@media (min-width: 761px) { .msite-duo .msite-org__row--n2 { max-width: 400px; } }
