/* St. Mary's Malankara (Indian) Orthodox Church, Wagga Wagga
   Layout system measured from the Emanu church theme (Awaiken Themes), which the owner chose as the design foundation.
   Written from scratch: no theme code or demo images. Fonts: Phudu + Instrument Sans (SIL OFL), self-hosted. */

@font-face { font-family: "Phudu"; src: url("../fonts/Phudu-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #f5f3ec;
  --white: #ffffff;
  --red: #b0061f;
  --ink: #010101;
  --text: #676565;
  --line: rgba(1,1,1,.1);
  --grey: #7f7b76;
  --head: "Phudu", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --container: 1300px;
  --pad-x: 10px;
  --inset: 15px;
  --panel-inset: 20px;
  --section-y: 120px;
  --radius: 20px;
  --h1: 65px; --h2: 48px; --h3: 20px;
  --ease: cubic-bezier(.22,1,.36,1);
}
@media (max-width: 1024px) { :root { --section-y: 80px; --h1: 48px; --h2: 38px; } }
@media (max-width: 767px) { :root { --section-y: 60px; --h1: 28px; --h2: 26px; --h3: 18px; --inset: 0px; --panel-inset: 0px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; transition: color .3s ease; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #fff; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; color: var(--ink); text-transform: uppercase; line-height: 1; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; padding: 12px 20px; background: var(--red); color: #fff; font-weight: 600; border-radius: 10px; }
.skip-link:focus { top: 1rem; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
@media (max-width: 1340px) { .container { padding-inline: 30px; } }
@media (max-width: 767px) { .container { padding-inline: 20px; } }
.section { padding-block: var(--section-y); }
/* two plain sections in a row share one gap instead of stacking both paddings */
section[class="section"] + section[class="section"] { padding-top: 0; }
.panel { margin-inline: var(--panel-inset); border-radius: var(--radius); position: relative; overflow: hidden; }
.panel--white { background: var(--white); }
.section-bg-1 { background: var(--white) url("../images/stock/section-bg-image-1.webp") center bottom / min(1092px, 90%) auto no-repeat; }
.section-bg-2 { background: var(--white) url("../images/stock/section-bg-image-2.webp") right bottom / 326px auto no-repeat; }
@media (max-width: 767px) { .panel, .hero, .page-banner, .site-footer { border-radius: 0 !important; } }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p { color: rgba(255,255,255,.85); }

/* label pill */
.label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 100px; background: var(--white); color: var(--ink); font: 500 14px/1 var(--head); text-transform: uppercase; }
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.label--dark { background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(10px); }
.panel--white .label { background: var(--bg); }
@media (max-width: 767px) { .label { padding: 8px 12px; } }

.section-title { display: grid; gap: 15px; justify-items: start; }
.section-title p { margin-top: 5px; }
.section-title--center { justify-items: center; text-align: center; max-width: 700px; margin: 0 auto 50px; }
@media (max-width: 767px) { .section-title { gap: 10px; } .section-title--center { margin-bottom: 30px; } }

/* buttons */
.btn { position: relative; z-index: 0; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 1px solid var(--red); border-radius: 10px; background: var(--red); color: #fff; font: 600 16px/1 var(--head); text-transform: uppercase; cursor: pointer; transition: color .4s ease-in, border-color .4s ease-in; white-space: nowrap; }
.btn::before { content: ""; position: absolute; z-index: -1; left: var(--x, 50%); top: var(--y, 50%); width: 0; height: 0; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); transition: width .5s ease-in-out, height .5s ease-in-out; }
.btn .icon { width: 14px; height: 14px; stroke-width: 2.4; transition: transform .4s var(--ease); }
.btn:hover { color: var(--ink); border-color: #fff; }
.btn:hover::before { width: 225%; height: 562px; }
.btn:hover .icon { transform: rotate(45deg); }
.btn--ghost { background: transparent; border-color: #fff; }
.btn--ghost:hover { color: var(--ink); }
.panel--white .btn::before, .form-card .btn::before, .support-card .btn::before { background: var(--ink); }
.panel--white .btn:hover, .form-card .btn:hover, .support-card .btn:hover { color: #fff; border-color: var(--ink); }
@media (max-width: 767px) { .btn { height: 46px; padding: 0 18px; } }
.read-more { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: 600 16px/1 var(--head); text-transform: uppercase; }
.read-more .icon { width: 13px; height: 13px; stroke-width: 2.4; transition: transform .4s var(--ease); }
.read-more:hover { color: var(--red); }
.read-more:hover .icon { transform: rotate(45deg); }
.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; text-align: center; }
.note a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.note__avatars { display: flex; }
.note__avatars img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--white); object-fit: cover; object-position: top; }
.note__avatars img + img { margin-left: -10px; }
.round { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--red); color: #fff; }
.round .icon { width: 22px; height: 22px; }

/* ---------------- header ---------------- */
.site-header { position: absolute; top: var(--inset); left: var(--inset); right: var(--inset); z-index: 50; padding-inline: 10px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; height: 111px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; min-width: 0; flex: none; }
.brand__logo { width: 52px; height: 52px; flex: none; }
.brand__name { display: grid; font: 600 17px/1.15 var(--head); text-transform: uppercase; }
.brand__name > span { white-space: nowrap; }
.brand__name .brand__place { color: var(--red); font-size: .82em; letter-spacing: .06em; }
.nav { display: none; }
.nav__list { display: flex; gap: 32px; }
.nav__link { color: #fff; font: 500 16px/1.5 var(--body); white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--red); }
.header-cta { display: none !important; }
.menu-toggle { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 6px; background: var(--red); color: #fff; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
@media (min-width: 1200px) { .nav { display: block; } .header-cta { display: inline-flex !important; } .menu-toggle { display: none; } }
/* Full church name in the logo leaves room for compact nav only; Plan Your Visit hides below 1400px (Contact Us link stays). */
@media (min-width: 1200px) { .nav__list { gap: 20px; } .nav__link { font-size: 15px; } .header-cta { flex: none; } }
@media (min-width: 1200px) and (max-width: 1399px) { .header-cta { display: none !important; } }
@media (max-width: 767px) { .site-header__inner { height: 91px; } .brand__logo { width: 46px; height: 46px; } .brand__name { font-size: 14px; } }
.site-header.is-fixed { position: fixed; top: 0; left: 0; right: 0; background: rgba(1,1,1,.94); backdrop-filter: blur(10px); animation: drop .5s var(--ease); }
.site-header.is-fixed .site-header__inner { height: 86px; border-bottom: 0; max-width: calc(var(--container) + 40px); margin-inline: auto; }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
.site-header.is-fixed { transition: transform .4s var(--ease); }
.site-header.is-fixed.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .site-header.is-fixed { transition: none; } }

.mobile-menu { position: fixed; inset: 0; z-index: 200; background: var(--ink); color: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transition: opacity .3s ease, visibility 0s; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: 91px; }
.mobile-menu__close { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 6px; background: var(--red); color: #fff; cursor: pointer; }
.mobile-menu__close .icon { width: 22px; height: 22px; }
.mobile-menu__link { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font: 500 16px/1.5 var(--body); }
.mobile-menu__link[aria-current="page"] { color: var(--red); }
.mobile-menu .btn { margin-block: 24px; }
@media (min-width: 1200px) { .mobile-menu { display: none; } }

/* ---------------- hero (video) ---------------- */
.hero { position: relative; margin: var(--inset) var(--inset) 0; height: 100vh; min-height: 760px; max-height: 1000px; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,1,1,.35) 0%, rgba(1,1,1,.25) 40%, rgba(1,1,1,.8) 100%); }
.hero__inner { position: relative; width: 100%; padding-bottom: 80px; display: grid; gap: 40px; align-items: end; }
@media (min-width: 1025px) { .hero__inner { grid-template-columns: 1fr 1fr; gap: 0; } }
.hero__main { display: grid; gap: 15px; justify-items: start; padding-right: 35px; }
.hero__main h1 { color: #fff; max-width: 600px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 25px; }
.hero__aside { display: grid; gap: 40px; padding-left: 10px; }
.hero__aside p { color: #fff; font-weight: 500; }
.counters { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.counters div { padding-right: 30px; }
.counters div + div { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.2); }
.counters strong { display: block; font: 600 40px/1 var(--head); color: #fff; margin-bottom: 5px; }
.counters span { color: #fff; }
@media (max-width: 767px) {
  .hero { height: auto; min-height: 0; max-height: none; }
  .hero__inner { padding-top: 150px; padding-bottom: 40px; gap: 30px; }
  .hero__main { padding-right: 0; gap: 10px; }
  .hero__buttons { gap: 18px; margin-top: 20px; }
  .hero__aside { padding-left: 0; }
  .counters div { padding-right: 15px; } .counters div + div { padding-left: 15px; }
  .counters strong { font-size: 28px; } .counters span { font-size: 14px; line-height: 1.6; display: block; }
}

/* ---------------- page banner ---------------- */
.page-banner { position: relative; margin: var(--inset) var(--inset) 0; height: 554px; border-radius: var(--radius); overflow: hidden; background: var(--ink); display: grid; place-items: center; text-align: center; color: #fff; }
.page-banner__media { position: absolute; inset: 0; }
.page-banner__media img { width: 100%; height: 100%; object-fit: cover; }
.page-banner__media::after { content: ""; position: absolute; inset: 0; background: rgba(1,1,1,.5); }
.page-banner__inner { position: relative; padding: 111px 20px 0; display: grid; gap: 15px; justify-items: center; }
.page-banner h1 { color: #fff; }
.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font: 600 20px/1.2 var(--head); color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; }
.breadcrumb a:hover { color: var(--red); }
@media (max-width: 1024px) { .page-banner { height: 460px; } }
@media (max-width: 767px) { .page-banner { height: 330px; } .page-banner__inner { padding-top: 91px; gap: 10px; } .breadcrumb { font-size: 16px; } }

/* ---------------- two-column split ---------------- */
.split { display: grid; gap: 50px; align-items: center; }
@media (min-width: 1025px) { .split { grid-template-columns: 1fr 1fr; gap: 45px; } }
@media (max-width: 767px) { .split { gap: 30px; } }
.split__text { display: grid; gap: 15px; justify-items: start; align-content: center; }
.prose { display: grid; gap: 15px; }
.prose strong { color: var(--ink); }

/* about block */
.about-media { position: relative; }
.about-media > img { width: 100%; aspect-ratio: 605 / 549; object-fit: cover; border-radius: var(--radius); }
.video-card { position: absolute; right: 20px; bottom: 20px; width: 235px; padding: 10px; border-radius: 10px; background: #fff; text-align: center; }
.video-card img { width: 100%; aspect-ratio: 215 / 130; object-fit: cover; border-radius: 8px; }
.video-card span { display: block; padding: 12px 5px 5px; font: 600 20px/1 var(--head); text-transform: uppercase; color: var(--ink); }
@media (max-width: 767px) { .video-card { right: 15px; bottom: 15px; width: 175px; } .video-card span { font-size: 18px; padding-top: 10px; } }
.feature-row { display: grid; gap: 30px; width: 100%; padding: 25px 0 30px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .feature-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .feature-row { gap: 20px; padding-top: 15px; } }
.feature { display: grid; grid-template-columns: 50px 1fr; gap: 8px 15px; align-content: start; }
.feature .round { grid-row: span 2; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 15px; }
.author { display: flex; align-items: center; gap: 15px; }
.author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; object-position: top; }
.author strong { display: block; font: 600 20px/1 var(--head); text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }

/* marquee */
.marquee { overflow: hidden; height: 80px; display: flex; align-items: center; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.marquee__group span { font: 600 70px/1 var(--head); text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px #c8c2b4; }
.marquee__group img { width: 34px; height: auto; opacity: .45; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 767px) { .marquee { height: 40px; } .marquee__group span { font-size: 34px; } .marquee__group img { width: 18px; } .marquee__group { gap: 20px; padding-right: 20px; } }

/* service cards (Swiper) */
.swiper { overflow: hidden; }
.service-card { display: flex; flex-direction: column; align-items: center; gap: 20px; height: auto; padding: 50px; border-radius: var(--radius); background: var(--bg); text-align: center; }
.service-card__img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.service-swiper .swiper-slide { height: auto; }
.service-card hr { width: 100%; margin: auto 0 0; border: 0; border-top: 1px solid var(--line); }
@media (max-width: 767px) { .service-card { padding: 20px 20px 30px; gap: 15px; } .service-card__img { width: 140px; height: 140px; } }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.dots .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 !important; background: #d9d4c8; opacity: 1; border-radius: 10px; transition: width .3s ease, background-color .3s ease; }
.dots .swiper-pagination-bullet-active { width: 24px; background: var(--red); }
.swiper { position: relative; z-index: 1; overflow: hidden; margin-inline: auto; }
.swiper-wrapper { position: relative; z-index: 1; display: flex; width: 100%; height: 100%; box-sizing: content-box; transition-property: transform; transform: translate3d(0, 0, 0); }
.swiper-slide { position: relative; flex-shrink: 0; width: 100%; height: 100%; transition-property: transform; }
.swiper-pagination-bullet { display: inline-block; cursor: pointer; border: 0; padding: 0; }
.swiper-notification { position: absolute; left: 0; top: 0; z-index: -1000; opacity: 0; pointer-events: none; }
html:not(.swiper-ready) .swiper-slide { margin-right: 30px; }
@media (min-width: 768px) { html:not(.swiper-ready) .service-swiper .swiper-slide { width: calc((100% - 30px) / 2); } }
@media (min-width: 1025px) { html:not(.swiper-ready) .service-swiper .swiper-slide { width: calc((100% - 60px) / 3); } }
html:not(.swiper-ready) .dots { height: 8px; }

/* mission (values box + image pair with cutout) */
.values-box { display: grid; row-gap: 25px; width: 100%; margin-top: 20px; padding: 30px 0; border-radius: var(--radius); border-left: 3px solid var(--red); background: var(--white); }
@media (min-width: 768px) { .values-box { grid-template-columns: 1fr 1fr; } .values-box > div + div { border-left: 1px solid var(--line); } }
.values-box > div { padding: 0 30px; }
.values-box h3 { margin-bottom: 12px; }
@media (max-width: 767px) { .values-box { padding: 20px 0; gap: 20px; } .values-box > div { padding: 0 20px; } .values-box > div + div { padding-top: 20px; border-top: 1px solid var(--line); } }
.call { display: flex; align-items: center; gap: 15px; }
.call .round { background: var(--ink); }
.call strong { display: block; font: 600 20px/1 var(--head); text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.duo { display: grid; grid-template-columns: 1fr .92fr; gap: 30px; align-items: end; padding-left: 25px; }
.duo__img { display: block; height: 540px; border-radius: var(--radius); }
.duo__img img { width: 100%; height: 100%; object-fit: cover; }
.cutout-card { position: relative; height: 540px; }
.cutout-card__bg { position: absolute; left: 0; right: 0; bottom: 0; height: 66%; border-radius: var(--radius); overflow: hidden; }
.cutout-card__bg img { width: 100%; height: 100%; object-fit: cover; }
.cutout-card__person { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; clip-path: inset(0 0 0 0 round 0 0 20px 20px); }
@media (max-width: 1024px) { .duo { padding-left: 0; } }
@media (max-width: 767px) { .duo { gap: 15px; } .duo__img, .cutout-card { height: 300px; } }

/* image band (hover a column to change the background) */
.band { position: relative; min-height: 756px; display: flex; align-items: flex-end; color: #fff; }
.band__media { position: absolute; inset: 0; }
.band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 1.4s var(--ease); }
.band__media img.is-active { opacity: 1; transform: none; }
.band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,1,1,.1) 30%, rgba(1,1,1,.85) 100%); }
.band__cols { position: relative; width: 100%; display: grid; }
@media (min-width: 768px) { .band__cols { grid-template-columns: repeat(4, 1fr); } }
.band__item { display: flex; flex-direction: column; justify-content: flex-end; gap: 15px; min-height: 756px; padding: 40px; border-left: 1px solid rgba(255,255,255,.15); color: #fff; transition: background-color .4s ease; }
.band__item:first-child { border-left: 0; }
.band__item h3 { color: #fff; }
.band__item p { color: #fff; }
.band__item:hover, .band__item:focus-visible, .band__item.is-active { background: rgba(1,1,1,.15); }
@media (max-width: 1024px) { .band__item { padding: 30px 20px; } }
@media (max-width: 767px) { .band { min-height: 0; } .band__item { min-height: 0; padding: 25px 20px; border-left: 0; border-top: 1px solid rgba(255,255,255,.15); } .band__item:first-child { padding-top: 220px; border-top: 0; } }
@media (prefers-reduced-motion: reduce) { .band__media img { transition: none; transform: none; } }

/* post cards (sermon style) */
.grid-3 { display: grid; gap: 30px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--white); }
.post-card__img { position: relative; overflow: hidden; }
.post-card__img img { width: 100%; aspect-ratio: 407 / 228; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.tag { position: absolute; left: 20px; top: 20px; padding: 6px 12px; border-radius: 100px; background: var(--red); color: #fff; font: 600 14px/1 var(--head); text-transform: uppercase; }
.post-card__body { flex: 1; display: flex; flex-direction: column; gap: 15px; padding: 40px 40px 30px; }
.post-card__body .read-more { margin-top: auto; padding-top: 25px; border-top: 1px solid var(--line); }
.meta { display: grid; gap: 10px; }
.meta li { display: flex; gap: 10px; align-items: center; }
.meta .icon { width: 16px; height: 16px; color: var(--red); }
.meta b { color: var(--ink); font-weight: 500; }
@media (max-width: 767px) { .post-card__body { padding: 25px 20px 20px; } }

/* ministry image cards */
.image-card { position: relative; height: 470px; display: flex; align-items: flex-end; border-radius: var(--radius); overflow: hidden; color: #fff; }
.image-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,1,1,0) 35%, rgba(1,1,1,.9) 100%); }
.image-card:hover > img { transform: scale(1.06); }
.image-card__body { position: relative; z-index: 1; width: 100%; display: grid; gap: 10px; padding: 40px; }
.image-card h3 { color: #fff; font-weight: 500; }
.image-card p { color: #fff; }
.image-card .read-more { color: #fff; margin-top: 15px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.2); }
@media (max-width: 1024px) { .image-card__body { padding: 30px; } }
@media (max-width: 767px) { .image-card { height: 400px; } .image-card__body { padding: 25px; } }

/* event split */
.event-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.event-media > img { width: 100%; aspect-ratio: 605 / 600; object-fit: cover; }
.event-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,1,1,0) 55%, rgba(1,1,1,.8) 100%); }
.event-media figcaption { position: absolute; z-index: 1; left: 40px; right: 40px; bottom: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #fff; font: 500 18px/1.3 var(--head); text-transform: uppercase; }
.event-media figcaption .btn { flex: none; }
@media (max-width: 767px) { .btn { white-space: normal; height: auto; min-height: 50px; padding-block: 12px; text-align: center; line-height: 1.15; } }
@media (max-width: 767px) { .event-media figcaption { left: 20px; right: 20px; bottom: 20px; flex-direction: column; align-items: flex-start; font-size: 16px; } }
.info-row { display: grid; gap: 20px; width: 100%; padding: 25px 0 30px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .info-row { grid-template-columns: 1fr 1fr; } }
.info-row > div { display: flex; gap: 15px; align-items: center; }
.info-row strong { display: block; font: 600 20px/1 var(--head); text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }

/* verse panel (grey with cutout) */
.verse { display: grid; background: var(--grey); min-height: 617px; }
@media (min-width: 1025px) { .verse { grid-template-columns: .82fr 1.18fr; } }
.verse__figure { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: 380px; }
.verse__figure img { position: absolute; bottom: 0; left: 50%; translate: -50% 0; width: auto; max-width: 100%; height: 92%; max-height: 560px; object-fit: contain; object-position: center bottom; }
.verse__text { display: grid; gap: 15px; justify-items: start; align-content: center; padding: 60px 60px 60px 20px; }
.verse__text p { color: #fff; }
.verse__text .btn { margin-top: 15px; }
@media (max-width: 1024px) { .verse__text { padding: 60px 30px 20px; order: -1; } .verse__figure img { height: 360px; } }
@media (max-width: 767px) { .verse__text { padding: 60px 20px 10px; } .verse__figure { min-height: 300px; } .verse__figure img { height: 300px; } }

/* highlights (testimonial slider style) + counters */
.highlights { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1025px) { .highlights { grid-template-columns: 1fr 1.15fr; } }
.h-slider { position: relative; padding-inline: 60px; min-width: 0; }
.h-card { display: grid; grid-template-columns: 235px 1fr; gap: 30px; height: auto; padding: 10px 30px 10px 10px; border-radius: var(--radius); background: var(--white); }
.h-card img { width: 100%; height: 340px; object-fit: cover; border-radius: 15px; }
.h-card__body { display: flex; flex-direction: column; justify-content: center; gap: 15px; padding-block: 20px; }
.h-card__body small { display: block; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); font: 600 20px/1 var(--head); text-transform: uppercase; color: var(--ink); }
.h-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: background-color .3s ease, color .3s ease; }
.h-nav:hover { background: var(--red); color: #fff; }
.h-nav--prev { left: 0; } .h-nav--next { right: 0; }
.h-nav .icon { width: 18px; height: 18px; stroke-width: 2.2; }
html:not(.swiper-ready) .h-nav { visibility: hidden; }
@media (max-width: 767px) { .h-slider { padding-inline: 0; padding-bottom: 60px; } .h-card { grid-template-columns: 1fr; padding: 10px 10px 20px; } .h-card img { height: 300px; } .h-card__body { padding: 0 10px; } .h-nav { top: auto; bottom: 0; margin: 0; } .h-nav--prev { left: calc(50% - 50px); } .h-nav--next { right: calc(50% - 50px); } }
.counter-row { display: grid; margin-top: 70px; padding-top: 60px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .counter-row { grid-template-columns: repeat(5, 1fr); } }
.counter-row > div { display: grid; gap: 10px; align-content: start; padding: 0 30px; }
.counter-row > div:first-child { padding-left: 0; }
.counter-row > div + div { border-left: 1px solid var(--line); }
.counter-row .icon { width: 40px; height: 40px; color: var(--red); stroke-width: 1.3; margin-bottom: 15px; }
.counter-row strong { font: 600 30px/1 var(--head); color: var(--ink); }
@media (max-width: 1024px) and (min-width: 768px) { .counter-row > div { padding: 0 15px; } }
@media (max-width: 767px) { .counter-row { grid-template-columns: 1fr 1fr; gap: 30px 0; margin-top: 40px; padding-top: 40px; text-align: center; } .counter-row > div { padding: 0 10px !important; justify-items: center; } .counter-row > div:nth-child(odd) { border-left: 0; } .counter-row .icon { margin-bottom: 5px; } }

/* support panel (donation style) */
.support { display: grid; gap: 40px; align-items: end; padding: 120px 60px; background: linear-gradient(90deg, rgba(1,1,1,.96) 0%, rgba(1,1,1,.82) 45%, rgba(1,1,1,.35) 100%), #010101 url("../images/stock/donate-now-bg-image-1.webp") center / cover; }
@media (min-width: 1025px) { .support { grid-template-columns: 1fr 1fr; } }
.support__text { display: grid; gap: 15px; justify-items: start; }
.support__text .btn { margin-top: 20px; }
.support-card { border-radius: 10px; background: var(--white); overflow: hidden; }
.support-card__title, .on-dark .support-card__title { padding: 20px; border-bottom: 5px solid var(--ink); text-align: center; color: var(--ink); font-weight: 500; }
.support-card ul { display: grid; gap: 12px; padding: 30px; }
.support-card li { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 8px; background: var(--bg); color: var(--ink); font-weight: 600; }
.support-card li .icon { width: 18px; height: 18px; color: var(--red); stroke-width: 2.4; }
.support-card .btn { width: calc(100% - 60px); margin: 0 30px 30px; }
@media (max-width: 767px) { .support { padding: 60px 20px; } .support-card ul { padding: 20px; } .support-card .btn { width: calc(100% - 40px); margin: 0 20px 20px; } }

/* FAQ */
.faq-media { position: relative; }
.faq-media > img { width: 100%; height: 758px; object-fit: cover; border-radius: var(--radius); }
.faq-badge { position: absolute; left: 0; bottom: 0; width: 200px; padding: 20px 20px 0 0; border-top-right-radius: var(--radius); background: var(--bg); }
.faq-badge > div { display: grid; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--red); color: #fff; }
.faq-badge img { width: 52px; height: 52px; border-radius: 50%; background: #fff; }
.faq-badge strong { font: 600 22px/1 var(--head); text-transform: uppercase; }
.faq-badge span { font-size: 14px; line-height: 1.3; font-weight: 600; }
@media (max-width: 767px) { .faq-media > img { height: 420px; } .faq-badge { width: 170px; padding: 15px 15px 0 0; } }
.accordion { display: grid; gap: 25px; margin-top: 15px; width: 100%; }
.accordion details { border-radius: 10px; background: var(--white); overflow: hidden; }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 25px; cursor: pointer; list-style: none; font: 600 20px/1.1 var(--head); text-transform: uppercase; color: var(--ink); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { width: 20px; height: 20px; stroke-width: 2.2; transition: transform .3s var(--ease); }
.accordion details[open] { background: var(--red); }
.accordion details[open] summary { color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion details > div { padding: 20px 25px 25px; color: #fff; }
@media (max-width: 767px) { .accordion { gap: 15px; } .accordion summary { padding: 18px 20px; font-size: 18px; } .accordion details > div { padding: 15px 20px 20px; } }

/* word of God */
.word { display: grid; justify-items: center; gap: 20px; padding: 160px 20px; text-align: center; background: var(--ink) url("../images/stock/dark-section-bg-image.webp") center / cover; }
.word blockquote p { max-width: 1100px; font: 600 64px/1.05 var(--head); text-transform: uppercase; color: #fff; }
.word em { font-style: normal; color: var(--red); }
.word cite { display: flex; align-items: center; gap: 12px; font-style: normal; color: rgba(255,255,255,.7); }
.word cite::before { content: ""; width: 30px; height: 1px; background: currentColor; }
@media (max-width: 1024px) { .word blockquote p { font-size: 48px; } }
@media (max-width: 767px) { .word { padding: 60px 20px; } .word blockquote p { font-size: 32px; } }

/* blog cards */
.blog-card { display: flex; flex-direction: column; }
.blog-card__img { overflow: hidden; border-radius: var(--radius); }
.blog-card__img img { width: 100%; aspect-ratio: 407 / 353; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card h3 { padding: 30px 15px 20px; line-height: 1.4; }
.blog-card .read-more { margin-inline: 15px; padding-top: 20px; border-top: 1px solid var(--line); }
@media (max-width: 767px) { .blog-card h3 { padding: 20px 10px 15px; } .blog-card .read-more { margin-inline: 10px; } }

/* ---------------- inner page components ---------------- */
.belief-card { display: grid; align-content: start; gap: 15px; padding: 40px; border-radius: var(--radius); background: var(--bg); }
.belief-card .round { margin-bottom: 70px; }
.belief-card h3 { padding-top: 30px; border-top: 1px solid var(--line); }
@media (max-width: 767px) { .belief-card { padding: 20px; } .belief-card .round { margin-bottom: 50px; } }

.collage { position: relative; height: 740px; }
.collage img { position: absolute; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--bg); }
.collage img:nth-child(1) { left: 0; top: 0; width: 80%; height: 82%; border: 0; }
.collage img:nth-child(2) { right: 0; top: 13%; width: 42%; height: 40%; }
.collage img:nth-child(3) { left: 25%; bottom: 0; width: 42%; height: 62%; }
@media (max-width: 767px) { .collage { height: 440px; } }
.impact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; margin-top: 15px; padding: 30px; border-radius: var(--radius); background: var(--white); }
.impact-box > div { display: flex; gap: 15px; }
.impact-box > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.impact-box strong { display: block; font: 600 30px/1 var(--head); color: var(--ink); margin-bottom: 8px; }
@media (max-width: 767px) { .impact-box { grid-template-columns: 1fr; padding: 20px; } .impact-box > div + div { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); } }
.checks { display: grid; gap: 12px; margin-block: 10px 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .tick { flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--red); color: #fff; }
.checks .tick .icon { width: 11px; height: 11px; stroke-width: 3; }
.checks b { color: var(--ink); font-weight: 600; }

.team-card { padding: 6px 6px 30px; border-radius: var(--radius); background: var(--white); text-align: center; }
.panel--white .team-card { background: var(--bg); }
.team-card img { width: 100%; aspect-ratio: 395 / 400; object-fit: cover; object-position: top; border-radius: 15px; }
.team-card h3 { margin: 30px 10px 10px; }
.team-card p { padding-inline: 10px; }
@media (max-width: 767px) { .team-card h3 { margin-top: 20px; } }
.grid-team { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid-team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .grid-team { grid-template-columns: repeat(4, 1fr); } }

/* details layout: sidebar + content */
.details { display: grid; gap: 50px; align-items: start; }
@media (min-width: 1025px) { .details { grid-template-columns: 393px minmax(0, 1fr); gap: 45px; } .details__aside { position: sticky; top: 110px; } }
.details__aside { display: grid; gap: 50px; }
@media (max-width: 1024px) { .details__aside { order: 2; } }
.side-list { border-radius: var(--radius); background: var(--white); overflow: hidden; }
.side-list h2 { padding: 25px 30px; background: var(--red); color: #fff; font-size: 20px; }
.side-list ul { padding: 15px 30px; }
.side-list li + li { border-top: 1px solid var(--line); }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 20px 0; }
.side-list a .icon { width: 14px; height: 14px; stroke-width: 2.4; color: var(--ink); transition: transform .4s var(--ease); }
.side-list a:hover, .side-list a[aria-current="page"] { color: var(--red); }
.side-list a:hover .icon { transform: rotate(45deg); }
.help-card { position: relative; overflow: hidden; display: grid; gap: 20px; padding: 40px 30px; border-radius: var(--radius); color: #fff; }
.help-card > .help-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.help-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(1,1,1,.7); }
.help-card > :not(.help-card__bg) { position: relative; z-index: 2; }
.help-card h3 { color: #fff; }
.help-card .help-line { display: flex; align-items: center; gap: 15px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); }
.help-card .round { width: 40px; height: 40px; }
.help-card .round .icon { width: 18px; height: 18px; }
.details__main { display: grid; gap: 30px; min-width: 0; }
.details__main > img { width: 100%; aspect-ratio: 845 / 495; object-fit: cover; border-radius: var(--radius); }
.details__main h2 { margin-top: 20px; }
@media (max-width: 767px) { .details__main { gap: 20px; } .details__main h2 { margin-top: 10px; } }
.icon-features { display: grid; gap: 30px; }
@media (min-width: 768px) { .icon-features { grid-template-columns: repeat(3, 1fr); } }
.icon-features > div { display: grid; gap: 15px; justify-items: start; align-content: start; }
.expect-box { display: grid; gap: 30px; padding: 40px; border-radius: var(--radius); background: var(--white); }
@media (min-width: 768px) { .expect-box { grid-template-columns: repeat(var(--cols, 2), 1fr); } }
.expect-box > div { display: grid; gap: 15px; justify-items: start; align-content: start; }
.expect-box .round { margin-bottom: 15px; }
@media (max-width: 767px) { .expect-box { padding: 25px 20px; } }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: var(--white); color: var(--ink); font-weight: 500; }
.chip-list .icon { width: 16px; height: 16px; color: var(--red); }

.profile-card { padding: 6px 6px 30px; border-radius: var(--radius); background: var(--white); }
.profile-card img { width: 100%; aspect-ratio: 381 / 385; object-fit: cover; object-position: top; border-radius: 15px; }
.profile-card h3 { margin: 30px 20px 8px; }
.profile-card > span { display: block; margin-inline: 20px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.profile-card p { margin: 25px 20px 0; }
.letter__sign { color: var(--ink); }
.letter__sign strong { display: block; margin-top: 6px; font: 600 20px/1.2 var(--head); text-transform: uppercase; }

.form-card { display: grid; gap: 20px; padding: 50px; border-radius: var(--radius); background: var(--white); }
.form-card h2 { font-size: 30px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field input, .field textarea { width: 100%; height: 50px; padding: 12px 18px; border: 1px solid transparent; border-radius: 10px; background: var(--bg); color: var(--ink); }
.field textarea { height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: 14px; font-weight: 600; }
.field__error:empty { display: none; }
.form-status { padding: 12px 16px; border-radius: 10px; background: var(--bg); color: var(--ink); }
.form-status:empty { display: none; }
.form-status.is-error { box-shadow: inset 3px 0 0 #b3261e; }
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { justify-self: start; margin-top: 10px; }
@media (max-width: 767px) { .form-card { padding: 30px 20px; } .form-card h2 { font-size: 24px; } }
.contact-items { display: grid; gap: 30px; width: 100%; margin-top: 15px; padding-top: 40px; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .contact-items { grid-template-columns: 1fr 1fr; } }
.contact-items > div { display: flex; gap: 15px; align-items: center; }
.contact-items strong { display: block; font: 600 20px/1 var(--head); text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
.contact-items address { font-style: normal; }
.map { position: relative; height: 550px; border-radius: var(--radius); overflow: hidden; background: #e7e3d8; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 767px) { .map { height: 400px; } }

.gallery-grid { display: grid; gap: 30px; }
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid figure { overflow: hidden; border-radius: var(--radius); }
.gallery-grid img { width: 100%; aspect-ratio: 407 / 322; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.05); }

/* ---------------- footer ---------------- */
.site-footer { margin: 0 var(--panel-inset) var(--panel-inset); border-radius: var(--radius); background: var(--ink) url("../images/stock/dark-section-bg-image.webp") center / cover; color: #fff; padding-top: 120px; }
.footer-top { display: grid; gap: 30px; align-items: center; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 1025px) { .footer-top { grid-template-columns: 1.4fr 1fr; } }
.footer-top h2 { color: #fff; font-size: 40px; line-height: 1.2; }
.footer-top h3 { color: #fff; margin-bottom: 20px; }
.footer-top p { color: rgba(255,255,255,.8); margin-top: 10px; }
.footer-grid { display: grid; gap: 40px; padding-block: 60px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1025px) { .footer-grid { grid-template-columns: 1.6fr .8fr 1.1fr 1.2fr; gap: 0; } .footer-grid > div + div { padding-left: 30px; } .footer-grid > div:nth-child(n+3) { border-left: 1px solid rgba(255,255,255,.1); } .footer-grid > div:nth-child(2) { padding-right: 40px; } }
.footer-grid h2 { color: #fff; font-size: 20px; margin-bottom: 25px; }
.footer-brand { display: grid; gap: 25px; align-content: start; }
.footer-brand .brand { gap: 15px; }
.footer-brand .brand__name { font-size: 20px; }
.footer-brand .brand__logo { width: 60px; height: 60px; }
.footer-brand p { color: rgba(255,255,255,.8); max-width: 360px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a:hover { color: var(--red); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { width: 20px; height: 20px; color: var(--red); margin-top: 3px; }
.footer-contact address { font-style: normal; }
.footer-verse p { font: 600 22px/1.2 var(--head); text-transform: uppercase; color: #fff; }
.footer-verse span { display: block; margin-top: 12px; color: rgba(255,255,255,.7); }
.footer-bottom { padding: 30px 20px; border-top: 1px solid rgba(255,255,255,.1); text-align: center; }
@media (max-width: 767px) { .site-footer { padding-top: 60px; } .footer-top h2 { font-size: 26px; } .footer-grid { padding-block: 40px; } }

/* ---------------- motion ---------------- */
html.reveal-on [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
html.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-on [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .post-card__img img, .image-card > img, .blog-card__img img, .gallery-grid img { transition: none; }
}

/* ---------------- preloader: "Lamp to My Feet" (assets/js/preloader.js) ----------------
   Only transform, opacity and stroke-dashoffset animate. Hidden without JS (no html.js),
   on repeat visits and for reduced motion (html.pl-skip). */
html { scrollbar-gutter: stable; }
.preloader { display: none; }
:where(html.js:not(.pl-skip)) .preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--bg); will-change: transform; animation: pl-failsafe .4s ease 6s forwards; }
.preloader__mark { position: relative; width: min(86vw, 360px); aspect-ratio: 200 / 228; }
.preloader__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pl-ring, .pl-flame, .pl-flame-core { fill: none; stroke: var(--red); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pl-ring { stroke-width: 1.6; animation: pl-draw 1.2s cubic-bezier(.65,0,.35,1) .1s forwards; }
.pl-flame { stroke-width: 1.6; animation: pl-draw .55s ease-out .85s forwards; }
.pl-flame-core { stroke-width: 1.2; animation: pl-draw .4s ease-out 1.15s forwards; }
.pl-glow { fill: var(--red); opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: pl-glow .5s ease-out 1.2s forwards, pl-flicker 1.6s ease-in-out 1.7s infinite; }
.preloader__emblem { position: absolute; left: 11%; top: 22.8%; width: 78%; height: auto; opacity: 0; transform: translateY(12px) scale(.96); animation: pl-rise .8s cubic-bezier(.22,1,.36,1) .55s forwards; }
.preloader.is-leaving { animation: none; transform: translateY(-100%); transition: transform .7s cubic-bezier(.76,0,.24,1); }
.preloader.is-leaving .preloader__mark { opacity: 0; transform: translateY(-40px); transition: opacity .35s ease, transform .7s cubic-bezier(.76,0,.24,1); }
html.is-loading, html.is-loading body { overflow: hidden; }
@keyframes pl-draw { to { stroke-dashoffset: 0; } }
@keyframes pl-rise { to { opacity: 1; transform: none; } }
@keyframes pl-glow { to { opacity: .9; } }
@keyframes pl-flicker { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.86) scaleX(1.04); } }
@keyframes pl-failsafe { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .preloader { display: none !important; } }

/* Our Diocese */
.pull-quote { padding: 25px 30px; border-left: 3px solid var(--red); border-radius: var(--radius); background: var(--white); }
.pull-quote p { font: 500 20px/1.4 var(--head); color: var(--ink); text-transform: none; }
.diocese-logo { display: grid; place-items: center; padding: 60px; border-radius: var(--radius); background: var(--white); }
.diocese-logo img { width: min(100%, 420px); }
.grid-leaders { display: grid; gap: 30px; max-width: 830px; margin-inline: auto; }
@media (min-width: 600px) { .grid-leaders { grid-template-columns: 1fr 1fr; } }
.leader-card img { aspect-ratio: 3 / 4; }
.leader-card p b { color: var(--ink); font-weight: 600; }
@media (max-width: 767px) { .pull-quote { padding: 20px; } .pull-quote p { font-size: 18px; } .diocese-logo { padding: 30px; } }

/* verse panel background photo */
.verse { position: relative; isolation: isolate; }
.verse__bg { position: absolute; inset: 0; z-index: -1; }
.verse__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.verse__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,1,1,.35) 0%, rgba(1,1,1,.7) 45%, rgba(1,1,1,.85) 100%); }
@media (max-width: 1024px) { .verse__bg::after { background: rgba(1,1,1,.75); } }

/* hero title: always 2 lines on desktop */
@media (min-width: 1025px) { .hero__main h1 { font-size: clamp(48px, 4.5vw, 65px); max-width: none; } }
@media (min-width: 768px) and (max-width: 1024px) { .hero__main h1 { max-width: none; } }
.counters strong span { display: inline; font-size: inherit; line-height: inherit; }

/* image "shiny glass" hover, as on the reference theme: a light band sweeps diagonally across */
.shine, .about-media, .post-card__img, .blog-card__img, .faq-media, .event-media, .gallery-grid figure, .details__main > .shine-wrap { position: relative; overflow: hidden; }
.about-media, .faq-media { border-radius: var(--radius); }
.shine { display: block; }
.service-card__shine { width: 160px; height: 160px; border-radius: 50%; flex: none; }
.service-card__shine img { width: 100%; height: 100%; }
.shine::after, .about-media::after, .post-card__img::after, .blog-card__img::after, .faq-media::after, .event-media::before, .gallery-grid figure::after {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 200%; height: 0;
  background: rgba(255,255,255,.3); transform: translate(-50%, -50%) rotate(-45deg); pointer-events: none; }
.shine:hover::after, .about-media:hover::after, .post-card:hover .post-card__img::after, .blog-card:hover .blog-card__img::after,
.faq-media:hover::after, .event-media:hover::before, .gallery-grid figure:hover::after { height: 250%; background: transparent; transition: all .6s linear; }
.service-card:hover .service-card__shine::after { height: 250%; background: transparent; transition: all .6s linear; }
.event-media::before { z-index: 2; }
@media (max-width: 767px) { .service-card__shine { width: 140px; height: 140px; } }
@media (prefers-reduced-motion: reduce) { .shine::after, .about-media::after, .post-card__img::after, .blog-card__img::after, .faq-media::after, .event-media::before, .gallery-grid figure::after { display: none; } }

/* rendering cost: sections below the first screen are laid out only when they come near the viewport */
main > section.section:not(.on-dark) { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* map facade (contact page): Google Maps loads only when asked for */
.map__facade { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.map__facade > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map__facade::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(1,1,1,.6); }
.map__facade > div { position: relative; z-index: 2; display: grid; justify-items: center; gap: 15px; padding: 20px; color: #fff; }
.map__facade strong { color: #fff; font: 600 22px/1.2 var(--head); text-transform: uppercase; }
.map__facade .read-more { color: #fff; }

/* ---------------- Holy Qurbana schedule (events) ---------------- */
.schedule { display: grid; gap: 30px; align-items: start; }
@media (min-width: 1025px) { .schedule { grid-template-columns: 2fr 1fr; } }
.schedule__table { overflow-x: auto; border-radius: var(--radius); background: var(--white); }
.schedule table { width: 100%; border-collapse: collapse; }
.schedule th, .schedule td { padding: 14px 20px; border-bottom: 1px solid var(--line); text-align: left; }
.schedule thead th { background: var(--red); color: #fff; font: 600 18px/1.2 var(--head); text-transform: uppercase; }
.schedule tbody th { color: var(--ink); font-weight: 600; }
.schedule tbody tr:last-child > * { border-bottom: 0; }
.schedule em { color: var(--red); font-style: normal; font-weight: 600; }
.schedule__special { padding: 30px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.schedule__special h3 { margin-bottom: 20px; color: #fff; }
.schedule__special ul { display: grid; gap: 14px; }
.schedule__special li { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.15); }
.schedule__special li:last-child { padding-bottom: 0; border-bottom: 0; }
.schedule__special b { white-space: nowrap; }
@media (max-width: 767px) { .schedule th, .schedule td { padding: 10px 8px; font-size: 14px; } .schedule td { white-space: nowrap; } .schedule em { display: block; } .schedule thead th { font-size: 15px; } .schedule__special { padding: 20px; } }
section[id] { scroll-margin-top: 90px; }
.details__main h2[id] { scroll-margin-top: 120px; }

/* image slider: several <img> inside one card or section image cross-fade (assets/js/main.js) */
.img-slider { position: relative; overflow: hidden; }
.img-slider > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease, transform .8s var(--ease); }
.img-slider > img.is-active { opacity: 1; }
/* logos and crests: show the whole image on white, clear of the card text */
.img-slider > img.is-contain { object-fit: contain; object-position: center 15%; padding: 20px 20px 45%; background: #fff; }
.image-card > .img-slider { position: absolute; inset: 0; }
.image-card:hover > .img-slider > img { transform: scale(1.06); }
.about-media > .img-slider { aspect-ratio: 605 / 549; border-radius: var(--radius); }
.img-slider__dots { position: absolute; z-index: 2; top: 20px; right: 20px; display: flex; gap: 6px; }
.img-slider__dots button { width: 10px; height: 10px; padding: 0; border: 2px solid #fff; border-radius: 10px; background: transparent; box-shadow: 0 0 0 1px rgba(0,0,0,.35); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.img-slider__dots button[aria-current="true"] { width: 26px; background: #fff; }
.img-slider__dots button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .img-slider > img { transition: none; } }
.email-link { overflow-wrap: anywhere; }
.footer-contact a:hover, .call a:hover, .contact-items a:hover, .expect-box a:hover, .help-line a:hover { color: var(--red); text-decoration: underline; }

/* ---------- News: cards, list and pagination ---------- */
.blog-card__img { display: block; }
.blog-card__cat { margin: 25px 15px -18px; color: var(--red); font: 600 14px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.blog-card h3 a:hover { color: var(--red); }
.news-grid { row-gap: 50px; }
.news-more { margin-top: 50px; text-align: center; }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 60px; }
.pagination a, .pagination span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--white); color: var(--ink); font: 600 18px/1 var(--head); transition: background-color .3s ease, color .3s ease; }
.pagination a:hover, .pagination [aria-current] { background: var(--red); color: #fff; }
.pagination .icon { width: 18px; height: 18px; stroke-width: 2.2; }
@media (max-width: 767px) { .blog-card__cat { margin: 20px 10px -12px; } .news-grid { row-gap: 40px; } }

/* ---------- News article ---------- */
.page-banner--post .page-banner__inner { max-width: 1000px; }
.post-title { font-size: clamp(28px, 4.2vw, 52px); line-height: 1.05; }
.post-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; color: #fff; font-weight: 500; }
.post-meta li { display: inline-flex; align-items: center; gap: 8px; }
.post-meta a:hover { color: var(--red); text-decoration: underline; }
.post__media { border-radius: var(--radius); overflow: hidden; }
.post__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post__body { max-width: 940px; margin: 40px auto 0; }
.post__body > * + * { margin-top: 20px; }
.post__lead { color: var(--ink); font-size: 19px; line-height: 1.6; }
.post__body h2 { margin-top: 40px; font-size: clamp(24px, 3vw, 34px); }
.post__body a:not(.btn) { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.post__body ul { display: grid; gap: 12px; padding-left: 22px; list-style: disc; color: var(--ink); }
.post__body ul li::marker { color: var(--red); }
.post__body blockquote { position: relative; margin-block: 35px; padding: 30px 30px 30px 85px; border-radius: var(--radius); background: var(--white); }
.post__body blockquote::before { content: "\201C"; position: absolute; left: 25px; top: 18px; color: var(--red); font: 700 80px/1 var(--head); }
.post__body blockquote p { color: var(--ink); font: 600 20px/1.4 var(--head); text-transform: uppercase; }
.post__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 40px !important; padding-top: 30px; border-top: 1px solid var(--line); }
.post__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.post__tags h2 { margin: 0; font-size: 20px; }
.post__tags ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.post__tags li { padding: 9px 18px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 500; line-height: 1.2; }
.post__share { display: flex; gap: 10px; }
.post__share a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--red); color: #fff !important; transition: background-color .3s ease; }
.post__share a:hover { background: var(--ink); }
.post__share .icon { width: 18px; height: 18px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px !important; }
.post-nav a { display: grid; gap: 8px; padding: 22px 25px; border-radius: var(--radius); background: var(--white); text-decoration: none !important; color: var(--ink) !important; }
.post-nav a:hover b { color: var(--red); }
.post-nav span { color: var(--text); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.post-nav b { font: 600 18px/1.3 var(--head); text-transform: uppercase; transition: color .3s ease; }
.post-nav__next { grid-column: 2; text-align: right; }
.post__back { margin-top: 40px !important; text-align: center; }
@media (max-width: 767px) {
  .post__body { margin-top: 30px; }
  .post__lead { font-size: 17px; }
  .post__body blockquote { padding: 70px 20px 22px; }
  .post__body blockquote::before { left: 20px; top: 12px; }
  .post__body blockquote p { font-size: 17px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__next { grid-column: auto; }
}

/* ---------- Gallery lightbox ---------- */
.gallery-grid a { display: block; cursor: zoom-in; }
.gallery-grid + .chip-list { margin-top: 50px; }
.lightbox { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: #0b0b0b; color: #fff; overflow: hidden; }
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: rgba(1,1,1,.6); }
.lightbox__bar { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 20px; }
.lightbox__count { font: 600 16px/1 var(--head); text-transform: uppercase; }
.lightbox__tools { display: flex; gap: 8px; }
.lightbox button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background-color .3s ease; }
.lightbox button:hover:not(:disabled) { background: var(--red); }
.lightbox button:disabled { opacity: .35; cursor: default; }
.lightbox button .icon { width: 22px; height: 22px; stroke-width: 2; }
.lightbox__stage { position: absolute; inset: 76px 80px 70px; display: grid; place-items: center; overflow: hidden; touch-action: none; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; transform-origin: center; transition: transform .25s var(--ease); cursor: zoom-in; }
.lightbox.is-zoomed .lightbox__img { cursor: grab; transition: none; }
.lightbox.is-zoomed .lightbox__img:active { cursor: grabbing; }
.lightbox__nav { position: absolute; top: 50%; z-index: 2; translate: 0 -50%; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__caption { position: absolute; inset: auto 20px 20px; text-align: center; color: rgba(255,255,255,.85); }
@media (max-width: 767px) {
  .lightbox__stage { inset: 76px 0 110px; }
  .lightbox__nav { top: auto; translate: none; }
  .lightbox__caption { bottom: 14px; font-size: 14px; padding-inline: 60px; }
  .lightbox__nav--prev { left: 12px; bottom: 8px; } .lightbox__nav--next { right: 12px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .lightbox__img { transition: none; } }

/* phones: the hero text sits over the photo, so darken it evenly for legibility */
@media (max-width: 767px) { .hero__media::after { background: rgba(1,1,1,.6); } }
/* desktop and tablet: a light tint over the whole photo, darker toward the bottom where the text sits */
@media (min-width: 768px) { .hero__media::after { background: linear-gradient(180deg, rgba(1,1,1,.45) 0%, rgba(1,1,1,.3) 30%, rgba(1,1,1,.62) 55%, rgba(1,1,1,.9) 100%); } }

/* WordPress: editor-entered text safety. Long words wrap instead of widening the page.
   No visual change for text that already fits. */
h1, h2, h3, h4, p, li, blockquote, figcaption, summary, cite, small, .label, .post-title { overflow-wrap: break-word; }
.brand__name > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* Event detail: photo gallery (portrait photos keep their shape). */
.event-gallery { margin: 30px 0 10px; }
.event-gallery img { aspect-ratio: 3 / 4; }
