:root {
  --green-950: #28166f;
  --green-900: #321c7b;
  --green-800: #00923f;
  --green-100: #e2f2e8;
  --cream: #f1eef8;
  --cream-light: #faf9f6;
  --gold: #da251d;
  --gold-dark: #a71914;
  --ink: #18162b;
  --muted: #625f70;
  --white: #fff;
  --border: rgba(40, 22, 111, .16);
  --shadow: 0 24px 70px rgba(40, 22, 111, .14);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shell: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--cream-light); font-family: var(--sans); font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, textarea, select { max-width: 100%; font: inherit; }
h1, h2, h3, h4 { margin: 0 0 .65em; color: var(--green-950); font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(3rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2.35rem, 5vw, 4.65rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
p { margin: 0 0 1.25rem; }
address { font-style: normal; }

.shell { width: min(calc(100% - 2.5rem), var(--shell)); margin-inline: auto; }
.shell--narrow { max-width: 800px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus, .skip-link:focus { z-index: 9999; top: .75rem; left: .75rem; width: auto; height: auto; clip: auto; padding: .8rem 1rem; color: var(--white); background: var(--green-950); }
.skip-link { position: fixed; top: -100px; z-index: 9999; }
.eyebrow { margin-bottom: 1rem; color: var(--green-800); font-size: .79rem; font-weight: 700; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.eyebrow--light { color: #fff; }
.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section--cream { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .75fr); gap: 3rem; align-items: end; margin-bottom: 3.75rem; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 35rem; margin: 0 0 .45rem; color: var(--muted); font-size: 1.08rem; }
.section-heading--center { align-items: center; }

.button { display: inline-flex; min-height: 3.35rem; align-items: center; justify-content: center; padding: .78rem 1.45rem; border: 1px solid var(--green-950); border-radius: 999px; color: var(--white); background: var(--green-950); font-weight: 700; line-height: 1.1; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { background: var(--green-800); border-color: var(--green-800); transform: translateY(-2px); }
.button--small { min-height: 2.8rem; padding: .65rem 1.15rem; font-size: .9rem; }
.button--light { color: var(--green-950); background: var(--white); border-color: var(--white); }
.button--light:hover, .button--light:focus-visible { color: var(--white); background: transparent; border-color: rgba(255,255,255,.7); }
.button--gold { color: var(--green-950); background: var(--gold); border-color: var(--gold); }
.text-link { display: inline-flex; position: relative; align-items: center; gap: .55rem; color: var(--green-800); font-weight: 700; text-decoration: none; }
.text-link::after { width: 1.75rem; height: 1px; content: ''; background: currentColor; transition: width .2s ease; }
.text-link:hover::after { width: 2.5rem; }
.text-link--light { color: var(--white); }

.site-header { position: absolute; z-index: 100; top: 0; width: 100%; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.16); transition: background .2s ease, box-shadow .2s ease; }
.site-header.is-stuck { position: fixed; color: var(--green-950); background: rgba(251,248,242,.96); box-shadow: 0 8px 32px rgba(16,43,37,.1); backdrop-filter: blur(12px); }
body:not(.home) .site-header { color: var(--green-950); background: rgba(250,249,246,.96); border-bottom-color: var(--border); box-shadow: 0 8px 26px rgba(40,22,111,.06); backdrop-filter: blur(12px); }
.site-header__inner { display: flex; min-height: 5.25rem; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; }
.brand .custom-logo-link { display: block; }
.brand .custom-logo { width: auto; max-height: 3.5rem; }
.brand__logo { width: 3.4rem !important; height: 3.4rem !important; max-width: 3.4rem; object-fit: contain; flex: 0 0 auto; }
.brand__mark { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; }
.is-stuck .brand__mark, body:not(.home) .brand__mark { border-color: var(--border); }
.brand__mark::before, .brand__mark span { position: absolute; display: block; content: ''; background: var(--gold); }
.brand__mark::before { width: .17rem; height: 1.55rem; }
.brand__mark span { width: 1.08rem; height: .17rem; transform: translateY(-.2rem); }
.brand__text { display: grid; line-height: 1.1; }
.brand__text strong { font-family: var(--serif); font-size: 1.25rem; }
.brand__text small { margin-top: .24rem; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.primary-navigation { display: flex; align-items: center; gap: 1.6rem; }
.primary-navigation ul { display: flex; align-items: center; gap: 1.7rem; margin: 0; padding: 0; list-style: none; }
.primary-navigation .menu-item { position: relative; }
.primary-navigation .menu-item a { font-size: .91rem; font-weight: 600; text-decoration: none; }
.primary-navigation .menu-item > a::after { position: absolute; right: 0; bottom: -.45rem; left: 0; width: 0; height: 1px; margin: auto; content: ''; background: currentColor; transition: width .2s ease; }
.primary-navigation .menu-item > a:hover::after, .primary-navigation .current-menu-item > a::after { width: 100%; }
.primary-navigation .sub-menu { display: none; position: absolute; top: calc(100% + 1rem); left: -1rem; min-width: 210px; padding: .65rem; color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
.primary-navigation li:hover > .sub-menu, .primary-navigation li:focus-within > .sub-menu { display: grid; }
.primary-navigation .sub-menu a { display: block; padding: .55rem .7rem; }
.menu-toggle { display: none; width: 2.8rem; height: 2.8rem; align-items: center; justify-content: center; padding: 0; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 50%; }
.menu-toggle__lines, .menu-toggle__lines::before, .menu-toggle__lines::after { display: block; width: 1.15rem; height: 1px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle__lines { position: relative; }
.menu-toggle__lines::before, .menu-toggle__lines::after { position: absolute; left: 0; content: ''; }
.menu-toggle__lines::before { top: -.35rem; }
.menu-toggle__lines::after { top: .35rem; }
.menu-toggle[aria-expanded='true'] .menu-toggle__lines { background: transparent; }
.menu-toggle[aria-expanded='true'] .menu-toggle__lines::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__lines::after { top: 0; transform: rotate(-45deg); }

.hero { position: relative; display: grid; min-height: max(760px, 100svh); align-items: center; overflow: hidden; color: var(--white); background: var(--green-950); }
.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__media { background: url('../images/parish-joyful-community-2024.jpg') center 52% / cover no-repeat; animation: hero-reveal 1.2s ease both; }
.hero__shade { background: linear-gradient(90deg, rgba(24,12,72,.96) 0%, rgba(40,22,111,.82) 43%, rgba(40,22,111,.18) 76%), linear-gradient(0deg, rgba(16,8,50,.72), transparent 38%); }
.hero__content { position: relative; z-index: 1; padding: 8rem 0 11.5rem; }
.hero__content h1 { max-width: 760px; margin-bottom: .28em; color: var(--white); }
.hero__lead { max-width: 610px; margin-bottom: 2rem; color: rgba(255,255,255,.86); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.hero__service { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; display: grid; min-height: 8.5rem; grid-template-columns: 1fr 1fr 1.5fr; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; border-top: 1px solid rgba(255,255,255,.22); background: rgba(11,35,29,.7); backdrop-filter: blur(10px); }
.hero__service span { color: rgba(255,255,255,.65); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero__service strong { font-size: 1.05rem; }
.hero__service a { justify-self: end; font-weight: 700; }
@keyframes hero-reveal { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }

.welcome-section { background: var(--cream-light); }
.welcome-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .75fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.welcome-grid h2 { max-width: 730px; }
.welcome-copy { padding-top: 2.5rem; color: var(--muted); font-size: 1.08rem; }
.welcome-copy .text-link { margin-top: .75rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card { display: flex; min-height: 365px; flex-direction: column; padding: 2rem; border: 1px solid var(--border); background: rgba(255,255,255,.38); }
.service-card--featured { color: var(--white); background: var(--green-900); border-color: var(--green-900); box-shadow: var(--shadow); }
.service-card--featured h3 { color: var(--white); }
.service-card__day { display: inline-flex; align-self: flex-start; margin-bottom: auto; padding: .35rem .7rem; border: 1px solid currentColor; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.service-card h3 { margin-top: 2.5rem; }
.service-card p { color: var(--muted); }
.service-card--featured p { color: rgba(255,255,255,.72); }
.service-card strong { display: block; margin-top: auto; color: var(--green-800); font-size: 1.05rem; }
.service-card--featured strong { color: #f3d89e; }

.ministries-section { background: var(--cream-light); }
.ministry-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.ministry-card { position: relative; min-height: 360px; padding: 2rem; overflow: hidden; color: var(--white); background: var(--green-900); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.ministry-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ministry-card::before, .ministry-card::after { position: absolute; z-index: 1; content: ''; }
.ministry-card::before { inset: 0; background: linear-gradient(180deg, rgba(20,12,52,.16), rgba(20,12,52,.88) 82%); }
.ministry-card::after { right: 2rem; bottom: -5rem; width: 12rem; height: 12rem; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.ministry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ministry-card:hover .ministry-card__image { transform: scale(1.035); }
.ministry-card h3 { position: relative; z-index: 2; margin-top: 8rem; color: var(--white); font-size: clamp(2rem, 4vw, 3.5rem); }
.ministry-card span, .ministry-card p { position: relative; z-index: 2; }
.ministry-card span { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ministry-card p { max-width: 18rem; margin: 0; color: rgba(255,255,255,.78); }
.ministry-card--children, .ministry-card--men { grid-column: span 5; }
.ministry-card--youth, .ministry-card--women { grid-column: span 7; }
.ministry-card--children { background: #9b6837; }
.ministry-card--youth { background: #264b4d; }
.ministry-card--women { background: #795060; }
.ministry-card--men { background: #345b44; }
.ministry-card--children .ministry-card__image { object-position: center 42%; }
.ministry-card--youth .ministry-card__image { object-position: center 38%; }
.ministry-card--women .ministry-card__image { object-position: center 42%; }
.ministry-card--men .ministry-card__image { object-position: center 38%; }

.visit-section { padding-top: 0; background: linear-gradient(var(--cream-light) 0 33%, var(--cream) 33% 100%); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: stretch; box-shadow: var(--shadow); }
.visit-card { padding: clamp(2.5rem, 6vw, 5rem); color: var(--white); background: var(--green-900); }
.visit-card h2 { max-width: 720px; color: var(--white); }
.visit-card > p:not(.eyebrow) { max-width: 700px; color: rgba(255,255,255,.74); font-size: 1.08rem; }
.visit-card__details { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 2.5rem 0; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.visit-card__details div { display: grid; gap: .35rem; }
.visit-card__details span { color: #e9c987; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.visit-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.visit-note { display: flex; flex-direction: column; justify-content: space-between; padding: 3rem; background: var(--gold); }
.visit-note__icon { display: grid; width: 4.5rem; height: 4.5rem; place-items: center; border: 1px solid rgba(16,43,37,.4); border-radius: 50%; color: var(--green-950); font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
.visit-note blockquote { margin: 3rem 0 0; }
.visit-note blockquote p { margin: 0; color: var(--green-950); font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.25; }

.post-grid, .archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.post-card { overflow: hidden; border: 1px solid var(--border); background: var(--cream-light); }
.post-card__media { display: grid; aspect-ratio: 16 / 10; place-items: center; overflow: hidden; color: var(--white); background: var(--green-800); font-family: var(--serif); font-size: 2rem; text-decoration: none; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card__media img { transform: scale(1.035); }
.post-card__body { padding: 1.6rem; }
.post-card__body h2, .post-card__body h3 { font-size: 1.6rem; }
.post-card__body h2 a, .post-card__body h3 a { text-decoration: none; }
.post-card__body p:last-child { margin-bottom: 0; color: var(--muted); }
.post-card__meta { margin-bottom: .75rem !important; color: var(--green-800) !important; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.message-cover { position: relative; isolation: isolate; display: flex; width: 100%; height: 100%; min-height: 100%; flex-direction: column; justify-content: flex-end; padding: clamp(1.15rem, 3vw, 2rem); overflow: hidden; color: #fff; background: linear-gradient(145deg, #28166f 0%, #3b2780 55%, #007d3b 145%); font-family: var(--sans); text-align: left; }
.message-cover::before { position: absolute; z-index: -1; top: -34%; right: -14%; width: 72%; aspect-ratio: 1; content: ''; border: clamp(1.2rem, 3vw, 2.4rem) solid rgba(255,255,255,.07); border-radius: 50%; }
.message-cover::after { position: absolute; z-index: -1; right: -18%; bottom: -55%; width: 78%; aspect-ratio: 1; content: ''; background: radial-gradient(circle, rgba(0,146,63,.9) 0 34%, rgba(0,146,63,.25) 35% 55%, transparent 56%); border-radius: 50%; }
.message-cover--v2 { background: linear-gradient(145deg, #171045, #3a237d 64%, #007b42 150%); }
.message-cover--v3 { background: linear-gradient(145deg, #0d6737, #28166f 58%, #4b2d8d); }
.message-cover--v4 { background: linear-gradient(145deg, #332078, #28166f 58%, #af1d19 145%); }
.message-cover--v5 { background: linear-gradient(145deg, #142c55, #2d196f 62%, #008846 150%); }
.message-cover--v6 { background: linear-gradient(145deg, #391d69, #24125f 60%, #007c3b 145%); }
.message-cover__brand { position: absolute; top: 1rem; left: 1rem; display: flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.82); font-size: .68rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.message-cover__brand img { width: 2rem !important; height: 2rem !important; flex: 0 0 2rem; object-fit: contain !important; box-shadow: none !important; transform: none !important; }
.message-cover__label { margin-bottom: .6rem; color: #a9e3be; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.message-cover__title { display: -webkit-box; max-width: 92%; overflow: hidden; color: #fff; font-family: var(--serif); font-size: clamp(1.35rem, 2.7vw, 2rem); font-weight: 600; line-height: 1.05; letter-spacing: -.025em; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.message-cover__place { margin-top: .75rem; color: rgba(255,255,255,.7); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.message-cover--hero { min-height: clamp(330px, 42vw, 520px); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow); }
.message-cover--hero .message-cover__brand { top: clamp(1.25rem, 3vw, 2rem); left: clamp(1.25rem, 3vw, 2rem); }
.message-cover--hero .message-cover__brand img { width: 2.75rem !important; height: 2.75rem !important; flex-basis: 2.75rem; }
.message-cover--hero .message-cover__title { max-width: 88%; font-size: clamp(2rem, 4.2vw, 3.65rem); }
.cta-section { padding: clamp(4rem, 8vw, 7rem) 0; color: var(--white); background: var(--green-950); }
.cta-section__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.cta-section h2 { max-width: 850px; margin: 0; color: var(--white); }

.site-footer { padding-top: 5rem; color: rgba(255,255,255,.7); background: #0c211c; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr; gap: clamp(3rem, 7vw, 6rem); padding-bottom: 4rem; }
.site-footer h2 { color: var(--white); font-family: var(--sans); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
.site-footer a:hover { color: var(--white); }
.brand--footer { margin-bottom: 1.5rem; color: var(--white); }
.site-footer__intro p { max-width: 390px; }
.footer-list { margin: 0; padding: 0; list-style: none; }
.footer-list li + li { margin-top: .45rem; }
.site-footer__bottom { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.footer-location { display: grid; gap: .15rem; margin-bottom: 1rem; }
.footer-location strong { color: #fff; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-location a { color: rgba(255,255,255,.72); line-height: 1.5; text-decoration: none; }
.footer-contact-label { display: block; margin-bottom: .35rem; color: rgba(255,255,255,.5); font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }

/* RCCG identity-led homepage */
.hero--rccg { background: #28166f; }
.hero__rings { position: absolute; z-index: 1; top: -25vw; left: -20vw; width: 65vw; height: 65vw; border: 2px solid rgba(218,37,29,.28); border-radius: 50%; pointer-events: none; }
.hero__rings::after { position: absolute; inset: 3.2vw; content: ''; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; }
.hero--rccg .hero__content h1 { max-width: 900px; font-size: clamp(3.2rem, 7.4vw, 7rem); }
.hero--rccg .hero__lead { max-width: 720px; }
.hero--rccg .hero__service { grid-template-columns: 1fr 1fr auto; background: rgba(25,12,72,.82); border-top-color: rgba(255,255,255,.28); }
.hero__service > div:not(.hero__service-mark) { display: grid; gap: .22rem; }
.hero--rccg .hero__service a { justify-self: start; font-weight: 750; }
.hero__service-mark { justify-self: end; }
.hero__service-mark img { width: 4.8rem; height: 4.8rem; padding: .25rem; object-fit: contain; border-radius: 50%; background: #fff; }

.story-section { position: relative; overflow: hidden; background: #faf9f6; }
.story-section::after { position: absolute; right: -14rem; bottom: -16rem; width: 34rem; height: 34rem; content: ''; border: 1px solid rgba(218,37,29,.15); border-radius: 50%; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .75fr); gap: clamp(4rem, 10vw, 9rem); align-items: start; }
.story-intro h2 { max-width: 760px; }
.story-intro > p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 1.1rem; }
.story-timeline { position: relative; margin: 0; padding: .5rem 0 0; list-style: none; }
.story-timeline::before { position: absolute; top: 1.2rem; bottom: 1.2rem; left: 2.45rem; width: 2px; content: ''; background: linear-gradient(#da251d, #00923f); }
.story-timeline li { position: relative; display: grid; grid-template-columns: 5rem 1fr; gap: 1.5rem; padding-bottom: 2.3rem; }
.story-timeline li > span { z-index: 1; display: grid; width: 5rem; height: 5rem; place-items: center; color: #fff; background: #28166f; border: .45rem solid #faf9f6; border-radius: 50%; font-weight: 800; }
.story-timeline li:nth-child(2) > span { background: #00923f; }
.story-timeline li:nth-child(3) > span { background: #da251d; }
.story-timeline h3 { margin: .55rem 0 .25rem; font-size: 1.35rem; }
.story-timeline p { margin: 0; color: var(--muted); }

.identity-section { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; overflow: hidden; color: rgba(255,255,255,.78); background: #28166f; }
.identity-section::before, .identity-section::after { position: absolute; content: ''; border: 2px solid rgba(218,37,29,.65); border-radius: 50%; }
.identity-section::before { top: -22rem; left: -18rem; width: 48rem; height: 48rem; }
.identity-section::after { right: -12rem; bottom: -24rem; width: 44rem; height: 44rem; border-color: rgba(0,146,63,.55); }
.identity-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.identity-logo { display: grid; aspect-ratio: 1; place-items: center; padding: 2.5rem; background: #fff; border-radius: 50%; box-shadow: 0 20px 70px rgba(0,0,0,.2); }
.identity-logo img { width: 100%; }
.identity-copy h2 { max-width: 760px; color: #fff; }
.identity-copy > p:not(.eyebrow) { max-width: 700px; font-size: 1.08rem; }
.identity-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2.25rem; }
.identity-keys > div { display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; align-items: center; padding: 1rem; border: 1px solid rgba(255,255,255,.22); }
.identity-keys span { color: rgba(255,255,255,.62); font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.identity-keys strong { grid-column: 2; color: #fff; }
.identity-dot { grid-row: 1 / span 2; width: 1rem; height: 1rem; border-radius: 50%; }
.identity-dot--navy { background: #6f5eb8; }
.identity-dot--red { background: #da251d; }
.identity-dot--green { background: #00b451; }

.service-section { background: #f1eef8; }
.service-grid--brand .service-card { color: #fff; border: 0; box-shadow: 0 18px 45px rgba(40,22,111,.12); }
.service-grid--brand .service-card h3, .service-grid--brand .service-card strong { color: #fff; }
.service-grid--brand .service-card p { color: rgba(255,255,255,.78); }
.service-card--sunday { background: #28166f; }
.service-card--wednesday { background: #00923f; }
.service-card--friday { background: #3b2780; }

.ministries-section { background: #faf9f6; }
.ministry-card--children { background: #00923f; }
.ministry-card--youth { background: #28166f; }
.ministry-card--women { background: #087c3a; }
.ministry-card--men { background: #3b2780; }
.ministry-card::before { border-width: 2px; border-color: rgba(255,255,255,.28); }
.ministry-card::after { background: transparent; border: 1px solid rgba(255,255,255,.16); }

/* Daily faith and parish next steps */
.home-faith { color: rgba(255,255,255,.8); background: #160b43; }
.home-faith__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(420px, 1.2fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.home-faith__intro h2 { color: #fff; }
.home-faith__intro > p:not(.eyebrow) { max-width: 580px; font-size: 1.08rem; }
.home-faith__cards { display: grid; gap: .85rem; }
.home-faith__cards > a { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1rem; align-items: center; min-height: 6rem; padding: .8rem 1.2rem .8rem .8rem; color: #fff; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); text-decoration: none; transition: background .2s ease, transform .2s ease; }
.home-faith__cards > a:hover, .home-faith__cards > a:focus-visible { background: rgba(255,255,255,.12); transform: translateX(.25rem); }
.home-faith__cards > a > span { display: grid; width: 4.3rem; height: 4.3rem; place-items: center; color: #28166f; background: #fff; border-radius: 50%; font-family: var(--serif); font-size: .88rem; font-weight: 800; text-align: center; }
.home-faith__cards > a:nth-child(2) > span { color: #fff; background: #00923f; }
.home-faith__cards > a:nth-child(3) > span { color: #fff; background: #3b2780; font-size: 1.5rem; }
.home-faith__cards div { display: grid; min-width: 0; }
.home-faith__cards small { color: rgba(255,255,255,.6); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-faith__cards strong { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); }
.connect-section { background: #f1eef8; }
.connect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; background: rgba(40,22,111,.18); border: 1px solid rgba(40,22,111,.18); }
.connect-grid > a { display: grid; min-height: 11rem; align-content: end; gap: .55rem; padding: 1.6rem; background: #fff; text-decoration: none; transition: color .2s ease, background .2s ease; }
.connect-grid > a:hover, .connect-grid > a:focus-visible { color: #fff; background: #28166f; }
.connect-grid small { color: #00923f; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.connect-grid > a:hover small, .connect-grid > a:focus-visible small { color: #fff; }
.connect-grid strong { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; }

.media-section { position: relative; overflow: hidden; color: rgba(255,255,255,.8); background: #28166f; }
.media-section::after { position: absolute; right: -14rem; bottom: -14rem; width: 38rem; height: 38rem; content: ''; border: 2px solid rgba(0,146,63,.5); border-radius: 50%; }
.media-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.media-player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: .5rem solid #fff; background: #10082f; box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.media-player iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.media-art { position: relative; display: block; overflow: hidden; border: .5rem solid #fff; box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.media-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.media-art:hover img { transform: scale(1.025); }
.media-art__play { position: absolute; bottom: 1.25rem; left: 1.25rem; display: grid; width: 4rem; height: 4rem; place-items: center; background: #00923f; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 8px 25px rgba(0,0,0,.25); }
.media-art__play::after { margin-left: .2rem; content: ''; border-top: .55rem solid transparent; border-bottom: .55rem solid transparent; border-left: .85rem solid #fff; }
.media-copy h2 { color: #fff; }
.media-copy p:not(.eyebrow) { font-size: 1.08rem; }
.media-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; margin-top: 1.8rem; }
.media-pastors { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; align-items: center; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; }
.media-pastors img { width: 8rem; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 24%; border: 2px solid rgba(255,255,255,.7); }
.media-pastors span { display: grid; }
.media-pastors small { color: rgba(255,255,255,.65); font-size: .73rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.media-pastors strong { font-family: var(--serif); font-size: 1.25rem; }

.visit-section--brand { padding-top: clamp(5rem, 10vw, 9rem); background: #f1eef8; }
.visit-section--brand .visit-card { background: #00923f; }
.visit-section--brand .visit-card__details span { color: #fff; }
.visit-card__details--locations { grid-template-columns: repeat(3, 1fr); }
.visit-note { background: #fff; border-top: .7rem solid #00923f; }
.visit-note img { width: 6rem; height: 6rem; object-fit: contain; }
.visit-note blockquote p { color: #28166f; }
.map-panel { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); min-height: 440px; margin-top: 2rem; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.map-panel__frame { min-height: 440px; }
.map-panel__frame iframe { display: block; width: 100% !important; height: 100% !important; min-height: 440px; border: 0; }
.map-panel__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 4vw, 3.5rem); }
.map-panel__copy h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.map-panel__copy > p:not(.eyebrow) { color: var(--muted); }
.map-panel__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.locations-grid { display: grid; gap: 2rem; margin-top: 2rem; }
.locations-grid .map-panel { margin-top: 0; }
.button--outline { color: #28166f; background: transparent; border-color: #28166f; }
.button--outline:hover, .button--outline:focus-visible { color: #fff; background: #28166f; border-color: #28166f; }
.section--soft { background: #faf9f6; }
.post-card__media { background: #f1eef8; }
.post-card__media > img[src*='rccg-logo'] { width: 52%; height: 52%; object-fit: contain; }
.post-card__meta { color: #00923f !important; }
.cta-section--rccg { background: #28166f; }
.site-footer { overflow: hidden; background: #160b43; }
.site-footer__grid > *, .site-footer__intro { min-width: 0; }
.site-footer .brand { max-width: 100%; }
.site-footer .brand__logo { background: #fff; border-radius: 50%; }

/* Current parish photography and editorial storytelling */
.home-community { background: #fff; }
.home-community__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.home-community figure { position: relative; z-index: 0; margin: 0; }
.home-community figure::after { position: absolute; right: -1rem; bottom: -1rem; z-index: -1; width: 42%; height: 45%; content: ''; background: #e2f2e8; }
.home-community figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.home-community h2 { max-width: 700px; }
.home-community p:not(.eyebrow) { max-width: 610px; color: var(--muted); font-size: 1.08rem; }
.editorial-hero { position: relative; padding: 11rem 0 clamp(4rem, 8vw, 7rem); overflow: hidden; background: #f1eef8; }
.editorial-hero::after { position: absolute; right: -13rem; bottom: -17rem; width: 38rem; height: 38rem; content: ''; border: 1px solid rgba(0,146,63,.24); border-radius: 50%; }
.editorial-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .7fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.editorial-hero__copy { min-width: 0; }
.editorial-hero h1 { max-width: 900px; margin-bottom: .35em; font-size: clamp(3rem, 6.5vw, 6.25rem); overflow-wrap: anywhere; }
.editorial-hero__lead { max-width: 720px; margin-bottom: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.editorial-hero__art { position: relative; isolation: isolate; margin: 0; }
.editorial-hero__art::before { position: absolute; top: -1rem; left: -1rem; width: 32%; height: 42%; content: ''; border-top: .5rem solid #00923f; border-left: .5rem solid #00923f; }
.editorial-hero__art img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.editorial-hero__art--photo { background: #28166f; box-shadow: var(--shadow); }
.editorial-hero__art--photo::after, .image-treatment::before, .media-art::after { position: absolute; z-index: 1; inset: 0; pointer-events: none; content: ''; background: linear-gradient(135deg, rgba(40,22,111,.34), rgba(38,30,104,.08) 52%, rgba(0,146,63,.2)); mix-blend-mode: multiply; }
.editorial-hero__art--photo::before { z-index: 2; }
.editorial-hero__art--photo img, .image-treatment img, .media-art img, .prose img { filter: saturate(.9) contrast(1.035); }
.image-treatment { position: relative; isolation: isolate; overflow: hidden; background: #28166f; box-shadow: var(--shadow); }
.image-treatment img { position: relative; z-index: 0; }
.prose figure { padding: .5rem; background: linear-gradient(135deg, rgba(40,22,111,.12), rgba(0,146,63,.1)); box-shadow: 0 18px 45px rgba(40,22,111,.1); }
.prose figure img { width: 100%; }
.archive-hero { padding: 11rem 0 5rem; color: rgba(255,255,255,.82); background: #28166f; }
.archive-hero h1 { max-width: 900px; color: #fff; }
.archive-hero > .shell > p:last-child { max-width: 720px; margin-bottom: 0; font-size: 1.15rem; }
.archive-grid { padding-top: clamp(3rem, 6vw, 5rem); }
.editorial-content { padding-top: clamp(3rem, 7vw, 5.5rem); }
.article-kicker { color: #00923f !important; font-size: .79rem !important; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.prose { color: #292637; font-family: var(--sans); font-size: clamp(1.05rem, 1.8vw, 1.16rem); line-height: 1.82; }
.prose p, .prose li, .prose p *, .prose li *, .prose span { color: inherit !important; font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; }
.prose p { margin-bottom: 1.45rem; text-align: left !important; }
.prose ul, .prose ol { margin-top: 1.25rem; margin-bottom: 1.75rem; padding-left: 1.45rem; }
.prose li + li { margin-top: .6rem; }
.prose h1, .prose h2, .prose h3, .prose h4 { max-width: 760px; margin-top: 1.8em; margin-bottom: .65em; color: #28166f !important; font-family: var(--serif) !important; line-height: 1.12 !important; }
.editorial-content > h1:first-child { display: none; }
.prose h1,
.prose h2 { font-size: clamp(2rem, 4vw, 3.1rem) !important; }
.prose h3 { font-size: clamp(1.55rem, 3vw, 2.15rem) !important; }
.prose h4 { font-size: clamp(1.25rem, 2.2vw, 1.6rem) !important; }
.prose strong { color: #28166f; font-weight: 750; }
.prose blockquote { margin-top: 2.5rem; margin-bottom: 2.5rem; padding: 1.7rem 2rem; color: #28166f; background: #f1eef8; border-left-color: #00923f; }
.prose blockquote p { margin: 0; color: inherit !important; font-family: var(--serif) !important; font-size: clamp(1.3rem, 2.6vw, 1.75rem) !important; line-height: 1.45 !important; }
.prose iframe { aspect-ratio: 16 / 9; }
.article-reflection { margin-top: clamp(3rem, 7vw, 6rem); padding: clamp(2rem, 5vw, 3.5rem); color: rgba(255,255,255,.78); background: #28166f; }
.article-reflection h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.4rem); }
.article-reflection p:last-child { max-width: 620px; margin-bottom: 0; font-size: 1.08rem; }
.article-video { display: grid; grid-template-columns: minmax(180px, .45fr) minmax(0, 1fr); gap: 2rem; align-items: center; max-width: 980px !important; margin-top: 3rem !important; margin-bottom: 3rem !important; padding: clamp(1.25rem, 3vw, 2rem); background: #f1eef8; }
.article-video h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem) !important; }
.article-video__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #160b43; }
.article-video__frame iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; min-height: 0; }
.project-story { background: #fff; }
.project-story__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(360px, 1fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.project-story h2 { max-width: 760px; }
.project-story p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.project-story figure { margin: 0; }
.project-story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.project-participate { background: #f1eef8; }
.project-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid rgba(40,22,111,.16); background: rgba(40,22,111,.16); }
.project-ways article { min-height: 23rem; padding: clamp(1.6rem, 3vw, 2.4rem); background: #fff; }
.project-ways span { color: #00923f; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.project-ways h3 { margin-top: 5rem; }
.project-ways p { color: var(--muted); }

/* Pastor's Corner */
.pastors-welcome { background: #fff; }
.pastors-welcome__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .58fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.pastors-welcome h2 { max-width: 760px; }
.pastors-welcome__lead { max-width: 760px; color: #28166f; font-family: var(--serif); font-size: clamp(1.45rem, 2.8vw, 2.05rem); line-height: 1.42; }
.pastors-welcome p:not(.eyebrow, .pastors-welcome__lead) { max-width: 700px; color: var(--muted); font-size: 1.08rem; }
.pastors-welcome__note { padding: clamp(2rem, 5vw, 3.5rem); color: rgba(255,255,255,.8); background: #28166f; }
.pastors-welcome__note p { color: #fff; font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.35; }
.pastors-welcome__note span { display: block; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.22); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pastors-story { background: #f1eef8; }
.pastors-story__grid { display: grid; grid-template-columns: minmax(280px, .65fr) minmax(0, 1fr); gap: clamp(3rem, 9vw, 8rem); align-items: start; }
.pastors-story__grid > div:last-child { color: var(--muted); font-size: 1.08rem; }
.pastors-source { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--border); font-size: .9rem; }
.pastors-source a { color: #087c3a; font-weight: 750; }
.pastors-pillars { background: #fff; }
.pastors-pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--border); background: var(--border); }
.pastors-pillars__grid article { min-height: 25rem; padding: clamp(1.6rem, 3vw, 2.5rem); background: #fff; }
.pastors-pillars__grid span { color: #00923f; font-family: var(--serif); font-size: 1.25rem; font-weight: 700; }
.pastors-pillars__grid h3 { margin-top: 6rem; }
.pastors-pillars__grid p { color: var(--muted); }
.pastors-message { color: rgba(255,255,255,.8); background: #28166f; }
.pastors-message__grid { display: grid; grid-template-columns: minmax(300px, .65fr) minmax(0, 1.35fr); gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.pastors-message h2 { color: #fff; }
.pastors-message__actions { margin-top: 2rem; }
.pastors-message__player { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: .45rem solid #fff; background: #160b43; box-shadow: 0 30px 70px rgba(0,0,0,.24); }
.pastors-message__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pastors-next { background: #e2f2e8; }
.pastors-next__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: center; }
.pastors-next h2 { max-width: 800px; margin-bottom: 0; }
.pastors-next__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.content-area { min-height: 60vh; padding-bottom: 7rem; }
.page-hero { padding: 11rem 0 5rem; background: var(--cream); }
.page-hero h1 { max-width: 980px; font-size: clamp(3rem, 7vw, 6rem); }
.page-hero--article { text-align: center; }
.prose { padding-top: 4rem; font-size: 1.08rem; }
.prose > * { max-width: 760px; margin-right: auto; margin-left: auto; }
.prose > .alignwide { max-width: var(--shell); }
.prose > .alignfull { max-width: none; }
.prose h2, .prose h3 { margin-top: 1.7em; }
.prose a { color: var(--green-800); }
.prose blockquote { padding: 1.5rem 2rem; border-left: 4px solid var(--gold); color: var(--green-800); font-family: var(--serif); font-size: 1.4rem; }
.prose iframe { display: block; width: 100% !important; max-width: 100%; min-height: 300px; aspect-ratio: 4 / 3; height: auto; border: 0; }
.prose__featured { max-width: 1040px; margin-top: -1rem; margin-bottom: 3rem; }
.archive-grid { padding-top: 4rem; }
.archive-grid .pagination { grid-column: 1 / -1; }
.post-navigation { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.error-page { min-height: 75vh; padding: 12rem 0 7rem; background: var(--cream); text-align: center; }
.error-page .search-form { margin: 2rem auto; }
.search-form { display: flex; max-width: 520px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 3.25rem; padding: .75rem 1rem; border: 1px solid var(--border); background: var(--white); }
.search-submit { padding: .75rem 1rem; color: var(--white); background: var(--green-950); border: 0; }

/* Church-owned contact, prayer and testimony forms */
.parish-form-section { padding: clamp(5rem, 9vw, 8rem) 0; background: #f1eef8; }
.parish-form-grid { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.parish-form-intro { position: sticky; top: 8rem; }
.parish-form-intro h2 { max-width: 650px; }
.parish-form-intro > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 1.08rem; }
.parish-form-contact { display: grid; gap: .45rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(40,22,111,.18); }
.parish-form-contact span { color: var(--muted); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.parish-form-contact a { justify-self: start; color: #28166f; font-weight: 750; }
.parish-form-panel { padding: clamp(1.5rem, 4vw, 3rem); background: #fff; box-shadow: var(--shadow); }
.parish-form { display: grid; gap: 1.25rem; }
.form-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-field { display: grid; gap: .5rem; color: #28166f; font-weight: 750; }
.form-field span { font-size: .88rem; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 3.25rem; padding: .8rem .9rem; color: var(--green-950); background: #fff; border: 1px solid rgba(40,22,111,.28); border-radius: 0; font: inherit; }
.form-field textarea { min-height: 11rem; resize: vertical; }
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #28166f 50%), linear-gradient(135deg, #28166f 50%, transparent 50%); background-position: calc(100% - 1.1rem) 50%, calc(100% - .8rem) 50%; background-repeat: no-repeat; background-size: .32rem .32rem; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #28166f; box-shadow: 0 0 0 3px rgba(40,22,111,.14); outline: 0; }
.form-choice { display: grid; gap: .75rem; margin: 0; padding: 1.25rem; border: 1px solid rgba(40,22,111,.2); }
.form-choice legend { padding: 0 .4rem; color: #28166f; font-weight: 750; }
.form-choice label, .form-consent { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; }
.form-choice input, .form-consent input { width: 1.15rem; height: 1.15rem; margin-top: .18rem; accent-color: #00923f; }
.form-consent { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.form-privacy-note { margin: 0; color: var(--muted); font-size: .82rem; }
.form-notice { margin-bottom: 1.25rem; padding: 1rem 1.15rem; border-left: 4px solid; }
.form-notice--success { color: #075d2c; background: #e7f7ee; border-color: #00923f; }
.form-notice--error { color: #8d1712; background: #fff0ef; border-color: #da251d; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Theme-owned resource routes */
.resource-hero > .shell > p:last-child { max-width: 760px; color: var(--muted); font-size: 1.12rem; }
.faith-hub { background: #faf9f6; }
.faith-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.faith-card { display: flex; min-height: 31rem; flex-direction: column; padding: clamp(1.6rem, 3vw, 2.4rem); overflow: hidden; border-top: .55rem solid; background: #fff; box-shadow: 0 18px 55px rgba(40,22,111,.1); }
.faith-card--devotional { border-color: #28166f; }
.faith-card--school { border-color: #00923f; }
.faith-card--aletheia { border-color: #28166f; }
.faith-card h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.faith-card > p:not(.eyebrow) { color: var(--muted); }
.faith-card > .button, .faith-card__actions { margin-top: auto; }
.faith-card > small { margin-top: 1rem; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.faith-card__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.faith-card__verse { margin: 0 0 1.5rem; padding: 1rem 1.1rem; color: var(--green-950); background: #f5f2fb; border-left: 4px solid #28166f; font-family: var(--serif); font-size: 1rem; line-height: 1.65; }
.resource-source-note { max-width: 880px; margin: 2rem auto 0; color: var(--muted); font-size: .88rem; line-height: 1.7; text-align: center; }
.care-paths { background: #f1eef8; }
.care-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.care-grid > a { display: grid; min-height: 13rem; align-content: end; padding: 1.5rem; color: #fff; background: #28166f; text-decoration: none; }
.care-grid > a:nth-child(2) { background: #00923f; }
.care-grid > a:nth-child(3) { background: #28166f; }
.care-grid > a:nth-child(4) { background: #00923f; }
.care-grid span { margin-bottom: 1rem; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.care-grid h3 { margin: 0; color: #fff; font-size: 1.45rem; }

/* Parish timeline and optional immediately loaded Instagram posts. */
.instagram-gallery { padding: clamp(4rem, 8vw, 7rem) 0 0; }
.instagram-gallery__intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); gap: 3rem; align-items: end; margin-bottom: 3rem; }
.instagram-gallery__intro h2 { margin: 0; }
.instagram-gallery__intro > p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.gallery-timeline { position: relative; }
.gallery-timeline::before { position: absolute; top: 1rem; bottom: 1rem; left: 5.85rem; width: 1px; content: ''; background: linear-gradient(#28166f, rgba(40,22,111,.18)); }
.gallery-year { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding: 1rem 0 clamp(4rem, 8vw, 7rem); }
.gallery-year__marker { position: relative; }
.gallery-year__marker span { position: absolute; z-index: 1; top: .55rem; right: 1.65rem; width: .75rem; height: .75rem; border: 3px solid #fff; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.gallery-year__marker h3 { position: sticky; top: 7rem; margin: 0; color: var(--purple); font-size: clamp(1.5rem, 3vw, 2.35rem); }
.gallery-year__content > p { max-width: 46rem; margin: 0 0 1.5rem; color: var(--muted); font-size: 1.08rem; }
.gallery-year-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: .9rem; }
.gallery-year-grid .parish-gallery-card { grid-column: span 4; }
.gallery-year-grid--2 .parish-gallery-card { grid-column: span 6; }
.gallery-year-grid .parish-gallery-card:first-child { grid-column: span 8; aspect-ratio: 1.5; }
.gallery-year-grid--2 .parish-gallery-card:first-child { grid-column: span 7; }
.gallery-year-grid--2 .parish-gallery-card:last-child { grid-column: span 5; }
.parish-gallery-card { position: relative; isolation: isolate; aspect-ratio: 1; margin: 0; overflow: hidden; color: #fff; background: #28166f; }
.parish-gallery-card::after { position: absolute; z-index: 1; inset: 0; content: ''; background: linear-gradient(180deg, rgba(40,22,111,.08), rgba(31,15,83,.82)); }
.parish-gallery-card img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.035); transition: transform .45s ease; }
.parish-gallery-card figcaption { position: absolute; z-index: 2; right: 1.25rem; bottom: 1.1rem; left: 1.25rem; color: #fff; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.1; }
.parish-gallery-card:hover img { transform: scale(1.035); }
.instagram-feed { padding: clamp(4rem, 8vw, 7rem) 0; background: #f4f2fa; }
.instagram-feed__heading { margin-bottom: 2.5rem; }
.instagram-feed__heading h2 { margin: 0; }
.instagram-post-grid { display: grid; grid-template-columns: repeat(2, minmax(320px, 1fr)); gap: 1.25rem; align-items: start; }
.instagram-post-grid .instagram-media { width: 100% !important; min-width: 0 !important; margin: 0 !important; }
.instagram-follow-bar { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1rem; padding: clamp(1.5rem, 4vw, 2.5rem); color: #fff; background: linear-gradient(120deg, #28166f, #3b2780 60%, #007d3b); }
.instagram-follow-bar > div { display: flex; align-items: center; gap: 1rem; }
.instagram-follow-bar p { margin: 0; color: rgba(255,255,255,.76); }
.instagram-follow-bar strong { color: #fff; font-family: var(--serif); font-size: 1.45rem; }
.instagram-follow-bar__mark { display: grid; width: 3.8rem; height: 3.8rem; flex: 0 0 3.8rem; place-items: center; border: 2px solid rgba(255,255,255,.76); border-radius: 1.1rem; font-weight: 800; letter-spacing: .06em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
body.admin-bar .site-header { top: 32px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .primary-navigation { position: fixed; inset: 5.25rem 0 auto; display: none; max-height: calc(100vh - 5.25rem); padding: 2rem 1.25rem 2.5rem; overflow-y: auto; color: var(--green-950); background: var(--cream-light); box-shadow: 0 20px 30px rgba(16,43,37,.15); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation ul { display: grid; gap: 0; }
  .primary-navigation .menu-item a { display: block; padding: .75rem 0; font-family: var(--serif); font-size: 1.5rem; }
  .primary-navigation .button { margin-top: 1.25rem; }
  .primary-navigation .sub-menu { position: static; padding: 0 0 0 1rem; box-shadow: none; }
  .primary-navigation .sub-menu a { font-size: 1.1rem; }
  .section-heading, .welcome-grid, .story-grid, .media-grid { grid-template-columns: 1fr; gap: 2rem; }
	.home-faith__grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.connect-grid { grid-template-columns: 1fr 1fr; }
	.faith-grid { grid-template-columns: 1fr; }
	.faith-card { min-height: 0; }
	.faith-card > .button, .faith-card__actions { margin-top: 1.5rem; }
	.care-grid { grid-template-columns: 1fr 1fr; }
	.instagram-gallery__intro { grid-template-columns: 1fr; gap: 1.5rem; }
	.gallery-timeline::before { left: 4.65rem; }
	.gallery-year { grid-template-columns: 6rem minmax(0, 1fr); gap: 1.5rem; }
	.gallery-year__marker span { right: 1rem; }
	.gallery-year-grid .parish-gallery-card, .gallery-year-grid .parish-gallery-card:first-child { grid-column: span 6; aspect-ratio: 1; }
	.gallery-year-grid--2 .parish-gallery-card:first-child, .gallery-year-grid--2 .parish-gallery-card:last-child { grid-column: span 6; }
	.instagram-post-grid { grid-template-columns: 1fr; }
	.parish-form-grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.parish-form-intro { position: static; }
  .welcome-copy { max-width: 720px; padding-top: 0; }
  .identity-grid { grid-template-columns: minmax(220px, .55fr) 1fr; gap: 3rem; }
  .identity-keys { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card:first-child { grid-column: 1 / -1; }
  .ministry-card--children, .ministry-card--youth, .ministry-card--women, .ministry-card--men { grid-column: span 6; }
  .visit-grid { grid-template-columns: 1fr; }
	.visit-card__details--locations { grid-template-columns: 1fr 1fr; }
	.visit-card__details--locations > div:first-child { grid-column: 1 / -1; }
  .map-panel { grid-template-columns: 1fr; }
  .map-panel__frame { min-height: 380px; }
  .visit-note { min-height: 330px; }
  .post-grid, .archive-grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__intro { grid-column: 1 / -1; }
	.home-community__grid, .editorial-hero__grid, .project-story__grid { grid-template-columns: 1fr; }
	.editorial-hero__copy { max-width: 760px; }
	.editorial-hero__art { width: min(100%, 720px); }
	.project-ways { grid-template-columns: 1fr; }
	.project-ways article { min-height: 0; }
	.project-ways h3 { margin-top: 2.5rem; }
	.pastors-welcome__grid, .pastors-story__grid, .pastors-message__grid { grid-template-columns: 1fr; }
	.pastors-pillars__grid { grid-template-columns: 1fr; }
	.pastors-pillars__grid article { min-height: 0; }
	.pastors-pillars__grid h3 { margin-top: 2.5rem; }
	.pastors-next__inner { grid-template-columns: 1fr; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .site-header.is-stuck { top: 0; }
  body.admin-bar .site-header:not(.is-stuck) .primary-navigation { inset-block-start: calc(5.25rem + 46px); }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 1.5rem), var(--shell)); }
  .brand__text strong { font-size: 1.1rem; }
  .site-header__inner { min-height: 4.75rem; }
  .primary-navigation { inset-block-start: 4.75rem; }
  body.admin-bar .site-header:not(.is-stuck) .primary-navigation { inset-block-start: calc(4.75rem + 46px); }
  .hero { min-height: 820px; }
  .hero__media { background-position: 68% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(24,12,72,.94), rgba(40,22,111,.5)), linear-gradient(0deg, rgba(16,8,50,.78), transparent 55%); }
  .hero__content { padding-top: 4.5rem; }
	.hero__content { padding-bottom: 14.5rem; }
  .hero--rccg .hero__service { grid-template-columns: 1fr auto; }
  .hero--rccg .hero__service > div:nth-child(2) { grid-column: 1; }
  .hero__service-mark { grid-row: 1 / span 2; grid-column: 2; }
  .hero__service-mark img { width: 4.2rem; height: 4.2rem; }
  .section { padding: 4.5rem 0; }
  .section-heading { margin-bottom: 2.5rem; }
  .service-grid, .post-grid, .archive-grid { grid-template-columns: 1fr; }
  .service-card:first-child { grid-column: auto; }
  .ministry-grid { display: grid; grid-template-columns: 1fr; }
  .ministry-card--children, .ministry-card--youth, .ministry-card--women, .ministry-card--men { grid-column: auto; min-height: 310px; }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-logo { width: min(76vw, 320px); margin-inline: auto; padding: 1.5rem; }
  .story-timeline li { grid-template-columns: 4.2rem 1fr; gap: 1rem; }
  .story-timeline::before { left: 2.05rem; }
  .story-timeline li > span { width: 4.2rem; height: 4.2rem; font-size: .85rem; }
  .media-art { border-width: .3rem; }
  .media-player { border-width: .3rem; }
  .map-panel__frame, .map-panel__frame iframe { min-height: 330px; }
  .media-actions { align-items: flex-start; flex-direction: column; }
  .visit-card { padding: 2.5rem 1.5rem; }
  .visit-card__details { grid-template-columns: 1fr; gap: 1.25rem; }
	.visit-card__details--locations > div:first-child { grid-column: auto; }
  .cta-section__inner { grid-template-columns: 1fr; }
	.connect-grid, .care-grid { grid-template-columns: 1fr; }
	.connect-grid > a, .care-grid > a { min-height: 9.5rem; }
	.home-faith__grid { min-width: 0; }
	.home-faith__cards > a { grid-template-columns: 4.3rem 1fr; padding-right: .8rem; }
	.home-faith__cards > a > span { width: 3.7rem; height: 3.7rem; }
	.gallery-timeline::before { left: .4rem; }
	.gallery-year { grid-template-columns: 1fr; gap: 1rem; padding-left: 1.75rem; }
	.gallery-year__marker { position: static; }
	.gallery-year__marker span { top: .55rem; right: auto; left: .05rem; }
	.gallery-year__marker h3 { position: static; }
	.gallery-year-grid .parish-gallery-card, .gallery-year-grid .parish-gallery-card:first-child, .gallery-year-grid--2 .parish-gallery-card:first-child, .gallery-year-grid--2 .parish-gallery-card:last-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
	.instagram-follow-bar, .instagram-follow-bar > div { align-items: flex-start; flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__intro { grid-column: auto; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 1.5rem 0; }
  .page-hero { padding: 9rem 0 4rem; }
	.form-field-grid { grid-template-columns: 1fr; }
	.parish-form-panel { padding: 1.25rem; }
	.editorial-hero, .archive-hero { padding-top: 8.5rem; }
	.editorial-hero h1 { font-size: clamp(2.65rem, 14vw, 4.4rem); }
	.editorial-hero__art::before { top: -.55rem; left: -.55rem; border-width: .3rem; }
	.article-video { grid-template-columns: 1fr; gap: 1.25rem; }
	.article-reflection { width: min(calc(100% - 1.5rem), var(--shell)); }
	.pastors-next__actions { align-items: stretch; flex-direction: column; }
}
