/* Fellowship website theme. --primary / --accent come from each fellowship's branding. */
:root {
  --primary: #3b2a7a; --accent: #d4a017; --primary-soft: rgba(59,42,122,.08); --primary-mid: rgba(59,42,122,.18);
  --ink: #1d1d2b; --muted: #636478; --line: #e7e5ef; --bg: #fff; --bg-alt: #f7f6fb; --radius: 14px;
  --heading: 'Playfair Display', Georgia, serif;
  --shadow: 0 1px 2px rgba(20,16,50,.06), 0 8px 24px rgba(20,16,50,.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; font: 16px/1.65 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--heading); line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.08rem; color: #3b3c4e; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font: 600 15px 'Inter', sans-serif; cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s; text-decoration: none !important; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px var(--primary-mid); filter: brightness(1.08); }
.btn-accent { background: var(--accent); color: #1d1d2b; }
.btn-ghost { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.chip { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.chip.ok, .chip.verified { background: #e3f6ea; color: #17733d; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700; color: var(--accent); margin-bottom: 6px; filter: brightness(.85); }

/* ---------- top bar & header ---------- */
.topbar { background: var(--primary); color: rgba(255,255,255,.88); font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 5px 0; }
.topbar a { color: #fff; margin-left: 16px; }
.tb-verse { font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tb-contact { white-space: nowrap; }
.header { background: rgba(255,255,255,.96); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none !important; min-width: 0; }
.brand strong { display: block; font-family: var(--heading); font-size: 1.25rem; line-height: 1.15; }
.brand small { display: block; color: var(--muted); font-size: 12.5px; }
.brand-logo { height: 54px; width: auto; max-width: 160px; object-fit: contain; }
.brand-mark { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 24px; font-weight: 700; }
.brand-mark.big { width: 72px; height: 72px; font-size: 38px; margin: 0 auto 12px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav > ul > li > a { display: block; padding: 10px 13px; color: var(--ink); font-weight: 500; font-size: 15px; border-radius: 8px; text-decoration: none; }
.nav > ul > li > a:hover, .nav > ul > li.on > a { color: var(--primary); background: var(--primary-soft); }
.caret { font-size: 11px; opacity: .6; }
.sub { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; color: var(--ink); border-radius: 8px; font-size: 14.5px; }
.sub a:hover { background: var(--primary-soft); color: var(--primary); text-decoration: none; }
.nav-toggle, .sub-toggle { display: none; }

/* ---------- hero slider ---------- */
.hero { position: relative; height: clamp(420px, 70vh, 640px); overflow: hidden; background: var(--primary); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.slide.on { opacity: 1; z-index: 1; }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,8,30,.7), rgba(10,8,30,.15) 70%); }
.slide-text { position: relative; color: #fff; max-width: 1180px; }
.slide-text h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); max-width: 720px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.slide-text p { font-size: clamp(1rem, 2vw, 1.25rem); max-width: 600px; opacity: .92; }
.slide.on .slide-text > * { animation: rise .9s ease both; }
.slide.on .slide-text > *:nth-child(2) { animation-delay: .12s; }
.slide.on .slide-text > *:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.sl-arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; font-size: 28px; cursor: pointer; backdrop-filter: blur(4px); }
.sl-arrow:hover { background: rgba(255,255,255,.35); }
.sl-arrow.prev { left: 18px; } .sl-arrow.next { right: 18px; }
.dots { position: absolute; bottom: 22px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: .25s; padding: 0; }
.dots button.on { width: 28px; background: var(--accent); }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: #15122b; color: #e9e7f5; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .card { background: #211d3d; border-color: #2e2950; }
.section.dark .meta { color: #a9a5c4; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.sec-head.center { justify-content: center; text-align: center; }
.more { font-weight: 600; white-space: nowrap; }
.sub-title { font-size: 1.5rem; margin: 40px 0 18px; }
.page-hero { background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #000)); color: #fff; padding: 56px 0 46px; position: relative; overflow: hidden; }
.page-hero::after { content: '✝'; position: absolute; right: 6%; top: -30px; font-size: 220px; opacity: .06; line-height: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 6px; }
.crumbs { font-size: 14px; opacity: .85; }
.crumbs a { color: #fff; }
.crumbs span { margin: 0 6px; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.stack { display: grid; gap: 40px; }

/* ---------- cards ---------- */
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; transition: transform .2s, box-shadow .2s; text-decoration: none !important; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 18px 20px 20px; }
.card-body h3 { margin-bottom: 6px; }
.meta { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.ev-img { position: relative; aspect-ratio: 16/10; background: var(--primary-soft); }
.ev-img img { width: 100%; height: 100%; object-fit: cover; }
.date-badge { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 12px; text-align: center; padding: 6px 12px; box-shadow: var(--shadow); line-height: 1.1; }
.date-badge strong { display: block; font-size: 22px; color: var(--primary); }
.date-badge span { font-size: 12px; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.thumb { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--primary), #000); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--primary); font-size: 20px; padding-left: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.3); transition: transform .2s; }
.sermon-card:hover .play { transform: scale(1.1); }

/* ---------- stats / cta ---------- */
.stats { background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 70%, var(--accent))); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat { text-align: center; color: #fff; text-decoration: none !important; }
.stat strong { display: block; font-family: var(--heading); font-weight: 700; font-size: 2.6rem; line-height: 1.1; }
.stat span { opacity: .85; font-size: 14.5px; }
.cta { background: var(--primary-soft); padding: 44px 0; }
.cta-accent { background: color-mix(in srgb, var(--accent) 18%, #fff); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.cta h2 { margin-bottom: 4px; }
.cta p { margin: 0; color: var(--muted); max-width: 640px; }

/* ---------- people ---------- */
.person { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 18px 22px; transition: .2s; }
.person:hover { box-shadow: var(--shadow); }
.avatar { width: 120px; height: 120px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--primary-mid); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.sm { width: 64px; height: 64px; margin: 0; flex: none; box-shadow: 0 0 0 3px var(--primary-soft); }
.avatar.xl { width: 160px; height: 160px; margin: 0; flex: none; }
.avatar-ph { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 40%, var(--accent))); color: #fff; font: 600 2rem 'Inter', sans-serif; }
.avatar.sm .avatar-ph { font-size: 1.2rem; }
.role { color: var(--primary); font-weight: 600; margin-bottom: 4px; }
.person .muted { font-size: 14px; margin-bottom: 0; }
.person .bio { font-size: 14.5px; color: #4a4b5c; margin-top: 10px; }
.person-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 10px; font-size: 14px; font-weight: 600; }
.church-card .person-links { justify-content: flex-start; }

/* ---------- directory ---------- */
.search-bar { display: flex; gap: 10px; max-width: 720px; margin: 0 auto 14px; flex-wrap: wrap; }
.search-bar input, .search-bar select { flex: 1 1 220px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: #fff; }
.search-bar select { flex: 0 1 200px; }
.dir { margin-top: 20px; }
.dir-card { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: inherit; transition: .2s; text-decoration: none !important; }
.dir-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.dir-card h3 { margin: 0 0 2px; font-size: 1.02rem; }
.dir-card p { margin: 0; font-size: 14px; }
.services { margin: 10px 0; padding-left: 18px; font-size: 14px; color: #4a4b5c; }
.profile { display: flex; gap: 32px; align-items: center; margin-bottom: 28px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 14px 0 0; font-size: 15px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }

/* ---------- details, forms ---------- */
.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.detail-img { width: 100%; border-radius: var(--radius); margin-bottom: 24px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 14px; color: #3b3c4e; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border: 1px solid #d9d7e4; border-radius: 10px; font: 400 15px 'Inter', sans-serif; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--primary-mid); border-color: var(--primary); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form .check input { width: auto; margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14.5px; }
.alert.ok { background: #e3f6ea; color: #17733d; }
.alert.err { background: #fde8e8; color: #b42318; }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-pic img { border-radius: 20px; box-shadow: var(--shadow); }
.about-ph { aspect-ratio: 4/3; border-radius: 20px; display: grid; place-content: center; text-align: center; background: linear-gradient(140deg, var(--primary), var(--accent)); color: #fff; }
.about-ph span { font-size: 90px; line-height: 1; }
.about-ph p { font-family: var(--heading); font-weight: 600; font-size: 1.3rem; margin: 8px 0 0; }
.vm-card { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.vm-ic { font-size: 30px; }
.faith-list { counter-reset: f; list-style: none; padding: 0; }
.faith-list li { counter-increment: f; position: relative; padding: 14px 0 14px 56px; border-bottom: 1px solid var(--line); }
.faith-list li::before { content: counter(f); position: absolute; left: 0; top: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; }
.feature.rev img { order: 2; }
.feature img { border-radius: var(--radius); width: 100%; aspect-ratio: 16/10; object-fit: cover; }

/* ---------- lists, gallery, misc ---------- */
.list-rows { display: grid; gap: 10px; }
.row-item { display: flex; align-items: center; gap: 18px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none !important; }
.row-item:hover { border-color: var(--primary-mid); box-shadow: var(--shadow); }
.date-mini { text-align: center; min-width: 72px; font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.date-mini strong { display: block; font-size: 22px; color: var(--primary); }
.file-ic { flex: none; width: 52px; height: 52px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 12.5px; }
.dl { margin-left: auto; font-size: 20px; color: var(--primary); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.tabs a { padding: 8px 18px; border-radius: 999px; background: var(--bg-alt); color: var(--ink); font-weight: 500; font-size: 14.5px; }
.tabs a.on { background: var(--primary); color: #fff; }
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry a { position: relative; display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 12px; overflow: hidden; }
.masonry img { width: 100%; transition: transform .4s; }
.masonry a:hover img { transform: scale(1.05); }
.masonry span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-size: 13.5px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,6,20,.92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 82vh; border-radius: 10px; }
.lightbox p { color: #fff; text-align: center; margin-top: 10px; }
.lightbox button { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 36px; cursor: pointer; }
.wall { display: grid; gap: 12px; }
.wall-item { background: var(--bg-alt); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 16px; }
.wall-item p { margin-bottom: 6px; font-style: italic; }
.wall-item .muted { font-size: 13.5px; }
.give-grid { max-width: 900px; margin: 24px auto 0; }
.qr { width: 220px; margin: 0 auto 14px; border-radius: 12px; border: 1px solid var(--line); }
.copy-btn { border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: 12px; padding: 2px 8px; cursor: pointer; margin-left: 6px; }
.note { color: var(--muted); font-size: 14.5px; margin-top: 18px; }

/* ---------- footer ---------- */
.footer { background: #15122b; color: #b9b6cf; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.f-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; color: #fff; font-family: var(--heading); font-weight: 600; font-size: 1.2rem; }
.f-brand img { height: 46px; width: auto; }
.footer a { color: #e2e0f0; }
.f-links, .f-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.f-contact li { display: flex; gap: 10px; white-space: pre-line; }
.dark-text a { color: var(--primary); }
.social { display: flex; gap: 10px; margin-top: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; font-weight: 700; text-decoration: none; }
.social a:hover { background: var(--accent); color: #15122b; }
.f-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; font-size: 13.5px; text-align: center; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 28px; box-shadow: 0 8px 24px rgba(0,0,0,.25); text-decoration: none !important; }

/* ---------- platform page / plain pages ---------- */
.platform-hero { background: linear-gradient(130deg, #3b2a7a, #a8325e); color: #fff; padding: 90px 0; text-align: center; }
.platform-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.3rem); max-width: 820px; margin: 0 auto 14px; }
.platform-hero p { max-width: 680px; margin: 0 auto; opacity: .9; font-size: 1.1rem; }
.plat-top { height: 120px; display: grid; place-items: center; background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 50%, #000)); color: #fff; font-size: 46px; }
.plat-top img { max-height: 80px; width: auto; background: #fff; border-radius: 10px; padding: 6px; }
body.plain { display: grid; place-items: center; min-height: 100vh; background: var(--bg-alt); }
.plain-box { text-align: center; padding: 40px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: block; background: var(--primary-soft); color: var(--primary); border: 0; border-radius: 10px; width: 46px; height: 46px; font-size: 22px; cursor: pointer; flex: none; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,.15); transform: translateX(105%); transition: transform .25s; overflow-y: auto; padding: 80px 16px 24px; z-index: 70; }
  body.nav-open .nav { transform: none; }
  body.nav-open::after { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 60; }
  .nav > ul { flex-direction: column; }
  .nav li { display: flex; flex-wrap: wrap; align-items: center; }
  .nav > ul > li > a { flex: 1; padding: 13px 14px; }
  .caret { display: none; }
  .sub-toggle { display: block; background: none; border: 0; font-size: 18px; padding: 10px 14px; cursor: pointer; color: var(--muted); }
  .sub { position: static; flex-basis: 100%; box-shadow: none; border: 0; padding: 0 0 0 14px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-sub.open > .sub { display: block; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open:hover > .sub { display: block; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .tb-verse { display: none; }
  .topbar .wrap { justify-content: center; }
  .header-in { min-height: 66px; }
  .brand strong { font-size: 1.05rem; }
  .brand small { display: none; }
  .brand-logo { height: 44px; }
  .g2, .g3, .about-grid, .detail-grid, .feature, .footer-grid, .two { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature.rev img { order: 0; }
  .cta-in, .sec-head { flex-direction: column; align-items: flex-start; }
  .profile { flex-direction: column; text-align: center; }
  .profile .facts { text-align: left; }
  .sl-arrow { display: none; }
  .avatar { width: 92px; height: 92px; }
  .person { padding: 20px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media (max-width: 760px) {
  .tb-contact a[href^="mailto"] { display: none; }
  .topbar a { margin-left: 0; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ---------- date & weather ---------- */
.tb-dw { display: inline-flex; flex-direction: column; white-space: nowrap; color: #fff; line-height: 1.25; padding: 1px 0; }
.tb-wx { font-size: 12px; opacity: .9; }
.tb-date { font-weight: 600; }
.tb-wx:empty { display: none; }
.date-weather { text-align: right; line-height: 1.35; }
.dw-date { display: block; font-weight: 600; color: var(--ink); }
.dw-wx { display: block; font-size: 14px; color: var(--muted); min-height: 1.35em; }
@media (max-width: 1080px) { .tb-verse { display: none; } }
@media (max-width: 760px) {
  .topbar .wrap { justify-content: space-between; }
  .tb-contact { display: none; }
  .date-weather { font-size: 13px; }
  .dw-wx { font-size: 12.5px; }
}

/* ---------- society title under the logo ---------- */
.brand-logo-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; flex: none; }
.society { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); white-space: nowrap; line-height: 1.1; }
@media (max-width: 760px) { .society { font-size: 9px; } }

/* ---------- platform page: society name as main title under the logo ---------- */
.brand-stack { flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; }
.brand .society-main { font-family: var(--heading); font-size: 1.35rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); line-height: 1; }
@media (max-width: 760px) { .brand .society-main { font-size: 1.05rem; } }

/* ---------- header row + navbar row (navbar under the header) ---------- */
.header { position: relative; backdrop-filter: none; background: #fff; border-bottom: 0; }
.header-in { min-height: 88px; }
.header .date-weather { margin-left: auto; }
.navbar { position: sticky; top: 0; z-index: 50; background: var(--primary); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.navbar .nav > ul { flex-wrap: wrap; justify-content: center; gap: 0; }
.navbar .nav > ul > li > a { color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: .03em; padding: 15px 12px; border-radius: 0; text-transform: uppercase; position: relative; }
.navbar .nav > ul > li > a:hover, .navbar .nav > ul > li.on > a { background: rgba(255,255,255,.12); color: #fff; }
.navbar .nav > ul > li.on > a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; background: var(--accent); border-radius: 3px 3px 0 0; }
.navbar .caret { opacity: .8; }
.navbar .sub { top: 100%; border-radius: 0 0 12px 12px; }
.navbar .sub a { text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.brand-stack .brand-logo { height: 48px; }

@media (max-width: 1080px) {
  .header-in { min-height: 72px; gap: 12px; }
  .navbar { position: static; background: none; box-shadow: none; }
  .navbar .nav > ul { flex-direction: column; flex-wrap: nowrap; }
  .navbar .nav > ul > li > a { color: var(--ink); padding: 13px 14px; border-radius: 8px; }
  .navbar .nav > ul > li > a:hover, .navbar .nav > ul > li.on > a { background: var(--primary-soft); color: var(--primary); }
  .navbar .nav > ul > li.on > a::after { display: none; }
  .nav-toggle { order: 3; }
}
@media (max-width: 760px) {
  .header .date-weather { font-size: 12px; }
  .header .dw-date { font-size: 12px; }
  .header .dw-wx { font-size: 11.5px; }
}
@media (max-width: 480px) {
  .header .date-weather { display: none; }
}

/* ---------- search ID, portal ---------- */
.search-pick { padding: 26px; text-align: center; }
.sp-ic { font-size: 40px; }
.verify { margin-top: 24px; border-radius: var(--radius); overflow: hidden; border: 2px solid; }
.verify.ok { border-color: #2fa36b; }
.verify.bad { border-color: #e5484d; padding-bottom: 6px; }
.verify.bad p { padding: 0 20px; }
.verify-badge { padding: 10px 20px; font-weight: 700; color: #fff; background: #2fa36b; }
.verify.bad .verify-badge { background: #e5484d; margin-bottom: 14px; }
.verify-body { display: flex; gap: 28px; align-items: center; padding: 24px; }
.verify-body h2 { margin-bottom: 4px; }
.login-card { max-width: 440px; margin: 0 auto; }
.login-ic { font-size: 40px; text-align: center; }
.fs-block { margin-bottom: 56px; scroll-margin-top: 70px; }
.small { font-size: 13px; }
@media (max-width: 760px) { .verify-body { flex-direction: column; text-align: center; } .verify-body .facts { text-align: left; } }

/* ---------- home: About Us (picture + text + Read more) ---------- */
.home-about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.ha-pic { position: relative; }
.ha-pic img, .ha-pic .about-ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.ha-pic::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--accent); border-radius: 20px; z-index: -1; }
.home-about .wrap { position: relative; z-index: 0; }
.ha-badge { position: absolute; left: -14px; bottom: 24px; background: var(--primary); color: #fff; border-radius: 14px; padding: 12px 18px; box-shadow: var(--shadow); text-align: center; line-height: 1.15; }
.ha-badge strong { display: block; font-family: var(--heading); font-size: 1.7rem; color: var(--accent); }
.ha-badge span { font-size: 12.5px; opacity: .9; }
.ha-vision { border-left: 4px solid var(--accent); background: var(--primary-soft); padding: 12px 16px; border-radius: 0 10px 10px 0; color: #3b3c4e; }
.ha-text .btn { margin-top: 6px; }
@media (max-width: 760px) {
  .home-about-grid { grid-template-columns: 1fr; gap: 36px; }
  .ha-pic::before { inset: 12px -10px -12px 10px; }
  .ha-badge { left: 10px; }
}

/* ---------- home: TOTAL PASTORS · VILLAGES · DISTRICTS · STATES ---------- */
.stats { padding: 44px 0; }
.stats-grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 8px 12px; position: relative; transition: transform .2s; }
.stat:hover { transform: translateY(-3px); }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: rgba(255,255,255,.25); }
.stat-ic { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 50%; background: rgba(255,255,255,.14); font-size: 26px; }
.stat strong { color: var(--accent); }
.stat-label { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: .12em; opacity: .95; margin-top: 4px; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .stat:nth-child(3)::before { display: none; }
  .stat strong { font-size: 2.1rem; }
}

/* ---------- NEWS PAPERS (clippings) ---------- */
.newspapers { background: linear-gradient(180deg, #faf7f0, #fff); }
.np-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.np-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px; }
.np-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: inherit; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.np-card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow); }
.np-img { position: relative; display: block; aspect-ratio: 4/5; background: #f4eedf; overflow: hidden; border-bottom: 1px solid var(--line); }
.np-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.np-card:hover .np-img img { transform: scale(1.04); }
.np-zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-size: 16px; opacity: 0; transition: opacity .2s; }
.np-card:hover .np-zoom, .np-card:focus-visible .np-zoom { opacity: 1; }
.np-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.np-paper { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 2px 9px; border-radius: 99px; }
.np-title { font-size: 14.5px; line-height: 1.35; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-date { margin-top: auto; font-size: 13px; color: var(--muted); }
.np-full { max-width: 900px; }
.np-full-img { display: block; margin: 10px auto 24px; max-width: 760px; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); cursor: zoom-in; }
.np-full-img img { width: 100%; }
.np-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }

.np-viewer { position: fixed; inset: 0; z-index: 300; background: rgba(10,8,24,.94); display: flex; flex-direction: column; color: #fff; }
.npv-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.npv-title { display: block; font-size: 16.5px; }
.npv-meta { font-size: 13.5px; opacity: .75; }
.npv-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.npv-open { color: #fff; font-size: 14px; border: 1px solid rgba(255,255,255,.3); padding: 6px 12px; border-radius: 99px; }
.npv-close { background: none; border: 0; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.npv-stage { flex: 1; overflow: auto; display: grid; place-items: center; padding: 16px 70px; }
.npv-stage img { max-height: calc(100vh - 150px); max-width: 100%; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); cursor: zoom-in; background: #fff; }
.npv-stage.zoom { place-items: start center; }
.npv-stage.zoom img { max-height: none; max-width: none; width: min(1400px, 180%); cursor: zoom-out; }
.npv-note { text-align: center; margin: 0; padding: 0 20px 6px; opacity: .85; font-size: 14.5px; }
.npv-note:empty { display: none; }
.npv-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 30px; cursor: pointer; }
.npv-arrow:hover { background: rgba(255,255,255,.3); }
.npv-arrow.prev { left: 12px; } .npv-arrow.next { right: 12px; }
.npv-hint { text-align: center; font-size: 12.5px; opacity: .55; padding: 6px 0 12px; }
@media (max-width: 1080px) { .np-row { grid-template-columns: repeat(5, minmax(190px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; } .np-row .np-card { scroll-snap-align: start; } }
@media (max-width: 760px) {
  .np-row { grid-template-columns: repeat(5, 72%); }
  .np-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .npv-stage { padding: 10px; }
  .npv-arrow { top: auto; bottom: 14px; transform: none; }
  .npv-open { display: none; }
}

/* ---------- DNPF: 7 levels, photo size grows with the level ---------- */
.dnpf { --ph: 96px; }
.dnpf-intro { margin: 0 auto 28px; }
.dnpf-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 40px; max-width: 980px; }
.dnpf-steps a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: var(--bg-alt); color: var(--ink); font-size: 13.5px; font-weight: 500; text-decoration: none; border: 1px solid var(--line); }
.dnpf-steps a:hover { border-color: var(--primary); color: var(--primary); }
.dnpf-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; }
.dnpf-steps em { font-style: normal; font-size: 12px; color: var(--muted); }
.dnpf-level { position: relative; margin: 0 auto 30px; padding: 26px 20px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--line); scroll-margin-top: 80px; }
.dnpf-level::before { content: ''; position: absolute; left: 50%; top: -31px; height: 30px; border-left: 2px dashed var(--primary-mid); }
.dnpf-level:first-of-type::before { display: none; }
.dnpf-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; margin-bottom: 22px; }
.dnpf-head h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
.dnpf-badge { background: var(--primary); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 14px; border-radius: 99px; }
.dnpf-count { font-size: 13.5px; color: var(--muted); }
.dnpf-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 22px; }
.dnpf-person { display: flex; flex-direction: column; align-items: center; text-align: center; width: calc(var(--ph) + 54px); color: inherit; text-decoration: none !important; }
.dnpf-photo { display: block; width: var(--ph); height: var(--ph); border-radius: 50%; overflow: hidden; margin-bottom: 10px; box-shadow: 0 0 0 4px #fff, 0 0 0 calc(4px + var(--ring, 2px)) var(--accent), var(--shadow); transition: transform .2s; }
.dnpf-person:hover .dnpf-photo { transform: scale(1.05); }
.dnpf-photo img { width: 100%; height: 100%; object-fit: cover; }
.dnpf-photo .avatar-ph { font-size: calc(var(--ph) * .3); }
.dnpf-person strong { font-size: calc(13px + var(--fs, 0px)); line-height: 1.3; }
.dnpf-id { margin-top: 5px; font: 700 12px ui-monospace, Consolas, monospace; color: var(--primary); background: var(--primary-soft); padding: 2px 9px; border-radius: 99px; }
.dnpf-place { margin-top: 4px; font-size: 12.5px; color: var(--muted); }
/* Higher level = bigger photo, thicker ring, stronger background */
.dnpf-level.lv-7 { --ph: 180px; --ring: 5px; --fs: 5px; background: linear-gradient(160deg, var(--primary), color-mix(in srgb, var(--primary) 55%, #000)); border: 0; color: #fff; max-width: 640px; }
.dnpf-level.lv-7 h2, .dnpf-level.lv-7 .dnpf-person { color: #fff; }
.dnpf-level.lv-7 .dnpf-badge { background: var(--accent); color: #1d1d2b; }
.dnpf-level.lv-7 .dnpf-count, .dnpf-level.lv-7 .dnpf-place { color: rgba(255,255,255,.75); }
.dnpf-level.lv-7 .dnpf-id { background: rgba(255,255,255,.15); color: #fff; }
.dnpf-level.lv-6 { --ph: 150px; --ring: 4px; --fs: 3px; max-width: 860px; background: color-mix(in srgb, var(--primary) 9%, #fff); }
.dnpf-level.lv-5 { --ph: 132px; --ring: 3px; --fs: 2px; max-width: 980px; background: color-mix(in srgb, var(--primary) 6%, #fff); }
.dnpf-level.lv-4 { --ph: 118px; --ring: 3px; --fs: 1px; background: color-mix(in srgb, var(--accent) 7%, #fff); }
.dnpf-level.lv-3 { --ph: 104px; }
.dnpf-level.lv-2 { --ph: 92px; }
.dnpf-level.lv-1 { --ph: 80px; --ring: 1px; }
.dnpf-none { margin: 0; }
@media (max-width: 760px) {
  .dnpf-level.lv-7 { --ph: 130px; } .dnpf-level.lv-6 { --ph: 112px; } .dnpf-level.lv-5 { --ph: 100px; }
  .dnpf-level.lv-4 { --ph: 90px; } .dnpf-level.lv-3 { --ph: 82px; } .dnpf-level.lv-2 { --ph: 74px; } .dnpf-level.lv-1 { --ph: 66px; }
  .dnpf-people { gap: 20px 10px; }
  .dnpf-level { padding: 22px 10px 24px; }
}

/* ---------- LOGIN menu item as a button, at the end of the menu ---------- */
.navbar .nav > ul > li.nav-login { margin-left: 10px; display: flex; align-items: center; }
.navbar .nav > ul > li.nav-login > a { background: var(--accent); color: #1d1d2b; border-radius: 99px; padding: 8px 18px; margin: 6px 0; box-shadow: 0 3px 10px rgba(0,0,0,.18); transition: transform .15s, filter .15s, box-shadow .15s; }
.navbar .nav > ul > li.nav-login > a:hover, .navbar .nav > ul > li.nav-login.on > a { background: var(--accent); color: #1d1d2b; filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.navbar .nav > ul > li.nav-login.on > a::after { display: none; }
@media (max-width: 1080px) {
  .navbar .nav > ul > li.nav-login { margin: 14px 0 0; }
  .navbar .nav > ul > li.nav-login > a { flex: 1; text-align: center; padding: 12px 18px; }
}

/* keep all menu items + LOGIN button on one row on desktop */
@media (min-width: 1081px) {
  .navbar .wrap { width: min(1340px, 100% - 24px); }
  .navbar .nav > ul { flex-wrap: nowrap; justify-content: center; }
  .navbar .nav > ul > li > a { padding: 15px 11px; white-space: nowrap; }
  .navbar .nav > ul > li.nav-login > a { padding: 8px 18px; }
}
@media (min-width: 1081px) and (max-width: 1320px) {
  .navbar .nav > ul > li > a { font-size: 12.5px; padding: 15px 8px; letter-spacing: .01em; }
  .navbar .nav > ul > li.nav-login { margin-left: 6px; }
  .navbar .nav > ul > li.nav-login > a { padding: 7px 14px; }
}
@media (min-width: 1081px) and (max-width: 1200px) {
  .navbar .wrap { width: calc(100% - 12px); }
  .navbar .nav > ul > li > a { font-size: 12px; padding: 15px 6px; letter-spacing: 0; }
  .navbar .nav > ul > li.nav-login > a { padding: 7px 12px; }
  .navbar .caret { display: none; }
}
