:root {
  --green: #315d49;
  --deep: #18392d;
  --cream: #f7f3e9;
  --paper: #fffdf8;
  --stone: #e9e1d1;
  --ink: #1d241f;
  --muted: #646e66;
  --gold: #b4955b;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
}
html:root :is(h1, h2, h3) { font-family: var(--serif); }
html:root :is(button, input, select, textarea) { font-family: var(--sans); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); }
/* Standard public-site shell: inherited by every page using the shared header.
   No transformed ancestor: fixed headers and native dialogs keep viewport behaviour. */
html:has(> body > [data-site-header]) { background: #eeebe5; }
body:has(> [data-site-header]) {
  --site-shell-max: 1600px;
  --site-shell-width: min(100vw, var(--site-shell-max));
  --header-startup-height: 78px;
  width: min(100%, var(--site-shell-max));
  margin-inline: auto;
}
body:has(> [data-site-header]) > .site-header {
  width: min(100%, var(--site-shell-max));
  margin-inline: auto;
}
/* Keep the header's space in flow until the styled navigation takes over. */
body:not(.bible-overlay) > [data-site-header]:not(:has(+ .public-header-space)) {
  position: sticky;
  height: var(--header-startup-height);
}
body > [data-site-header]:not([data-header-fallback], :has(+ .public-header-space)) > .nav-wrap {
  display: none;
}
@media (max-width: 599px) {
  body:has(> [data-site-header]) { --header-startup-height: 112px; }
}
@media (orientation: landscape) and (max-width: 999px) and (max-height: 460px) {
  body:has(> [data-site-header]) { --header-startup-height: 56px; }
}
@media (min-width: 820px) and (min-height: 601px) and (any-hover: hover) and (any-pointer: fine),
       (min-width: 1280px) and (min-width: 80em) {
  body:has(> [data-site-header]) { --header-startup-height: 109px; }
}
@media (980px <= width < 1100px) and (min-height: 601px) and (any-hover: hover) and (any-pointer: fine) {
  body:has(> [data-site-header]) { --header-startup-height: 141px; }
}
@media (min-width: 1601px) {
  body:has(> [data-site-header]) .feedback-launcher {
    right: calc((100vw - var(--site-shell-max)) / 2 + 16px);
  }
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,253,248,.97); backdrop-filter: blur(10px); border-bottom: 1px solid #e7e1d7; }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #d8ccb5; border-radius: 50%; color: var(--green); font-size: 20px; }
.brand strong, .brand small { display: block; letter-spacing: .04em; }
.brand strong { font: 600 15px/1.3 var(--serif); }
.brand small { margin-top: 2px; color: var(--green); font-size: 10px; letter-spacing: .14em; }
.nav { display: flex; align-items: center; gap: clamp(8px, 1.6vw, 22px); font-size: 13px; }
.nav-item { position: relative; }
.nav-trigger { border: 0; padding: 14px 4px; color: var(--ink); background: transparent; font: 600 13px var(--sans); cursor: pointer; }
.nav-trigger:hover, .nav-trigger:focus-visible { color: var(--green); }
.nav-link { display: inline-flex; align-items: center; padding: 14px 4px; font-weight: 600; }
.nav-link:hover { color: var(--green); }
.nav-trigger span { margin-left: 4px; color: var(--green); }
.dropdown { position: absolute; top: calc(100% - 3px); left: -12px; z-index: 30; display: none; min-width: 230px; max-height: min(72vh, 620px); overflow-y: auto; padding: 8px; background: white; border: 1px solid var(--stone); border-radius: 8px; box-shadow: 0 14px 34px #18251d20; }
.nav-item:last-of-type .dropdown { right: -10px; left: auto; }
.nav-item.is-open .dropdown { display: grid; }
.dropdown a { padding: 10px 12px; border-radius: 5px; }
.dropdown a:hover, .dropdown a[aria-current="page"] { color: var(--green); background: var(--cream); }
.nav a[aria-current="page"], .nav-trigger[aria-expanded="true"] { color: var(--green); }
.nav a.nav-give[aria-current="page"] { color: white; border-color: transparent; background: var(--green); }
.menu-toggle { display: none; border: 0; padding: 8px; color: var(--deep); background: transparent; font-size: 26px; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 11px 19px; border: 1px solid transparent; border-radius: 7px; font-weight: 700; transition: transform .2s, background .2s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-green { color: white; background: var(--green); }
.btn-green:hover { background: var(--deep); }
.btn-light { color: var(--deep); background: white; }
.btn-outline { color: white; border-color: white; background: #0002; }
.btn-small { min-height: 40px; padding: 8px 15px; }
.hero { position: relative; min-height: 590px; background: linear-gradient(115deg,#173d2d 0%,#315d49 65%,#758a70 100%); }

.hero-overlay { position: absolute; inset: 0; display: none; background: none; }
.hero-content { position: relative; padding-top: clamp(100px, 13vw, 155px); padding-bottom: 120px; color: white; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: #e7d8b7; }
.hero h1, .page-hero h1 { max-width: 800px; margin: 0 0 18px; font: 600 clamp(46px, 7vw, 78px)/1.04 var(--serif); letter-spacing: -.03em; }
.hero-copy { max-width: 550px; font: 400 20px/1.5 var(--serif); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.section { padding: clamp(62px, 8vw, 88px) 0; }
h2 { margin: 0 0 12px; font: 600 clamp(32px, 4vw, 49px)/1.12 var(--serif); letter-spacing: -.025em; }
h3 { font-family: var(--serif); }
.section-heading { margin-bottom: 34px; }
.section-heading > div > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.split { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.text-link, .inline-link { color: var(--green); font-weight: 700; }
.text-link { white-space: nowrap; }
.calendar, .contact { background: var(--cream); }
.media-feature { background: var(--cream); }
.media-feature-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(32px,6vw,70px); }
.media-feature-copy p:not(.eyebrow) { max-width: 460px; color: var(--muted); }
.video-frame { position: relative; width: 100%; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 6px; background: #111; box-shadow: 0 16px 42px #1d241f24; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-page { background: var(--paper); }
.media-intro { max-width: 850px; margin: 0 auto 24px; color: var(--muted); }
.video-frame-large { max-width: 1000px; margin: 0 auto; }
.youtube-link-row { margin: 24px 0 0; text-align: center; }
.search-page { min-height: 58vh; }
.search-container { max-width: 900px; }
.search-form { display: flex; gap: 10px; margin: 28px 0 12px; }
.search-input { flex: 1; min-width: 0; min-height: 52px; padding: 12px 15px; border: 1px solid #9eaa9f; border-radius: 5px; color: var(--ink); background: white; font: 16px var(--sans); }
.search-input:focus-visible { outline: 3px solid #c18e37; outline-offset: 2px; }
.search-help, .search-status { color: var(--muted); font-size: 14px; }
.search-status { min-height: 24px; margin: 18px 0 10px; }
.search-results { display: grid; gap: 14px; }
.search-result { padding: 20px 22px; border: 1px solid var(--stone); border-radius: 4px; background: white; }
.search-result h2 { margin: 0 0 7px; font-size: 25px; }
.search-result h2 a { color: var(--deep); }
.search-result h2 a:hover { color: var(--green); text-decoration: underline; }
.search-result p { margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #ddd4c3; border-bottom: 1px solid #ddd4c3; }
.service-card { display: flex; gap: 16px; padding: 27px 22px; border-right: 1px solid #ddd4c3; }
.service-card:last-child { border-right: 0; }
.service-icon { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; color: var(--green); background: #e8ddc6; }
.date { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.service-card h3 { margin: 4px 0; font-size: 22px; line-height: 1.25; }
.service-card p { margin: 5px 0 10px; color: var(--muted); font-size: 13px; }
.inline-link { font-size: 13px; }
.feature-section { padding-top: 0; background: var(--cream); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.feature-card { position: relative; display: flex; min-height: 275px; align-items: end; overflow: hidden; padding: 28px; color: white; background: linear-gradient(135deg,#315d49,#1c392d); }
.feature-card::after { position: absolute; inset: 0; content: ''; background: radial-gradient(circle at 70% 20%,#ffffff2e,transparent 35%); pointer-events: none; }
.feature-card:nth-child(2) { background: linear-gradient(135deg,#826b4a,#3f3528); }
.feature-card:nth-child(3) { background: linear-gradient(135deg,#6d644f,#302f27); }
.feature-card > div { position: relative; z-index: 1; }
.feature-card h3 { margin: 0; font-size: 33px; }
.feature-card p { margin: 4px 0 16px; }
.feature-card span { font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(34px, 6vw, 72px); }
.copy p:not(.eyebrow) { max-width: 560px; color: var(--muted); }
.copy .btn { margin-top: 12px; }
.image-frame { position: relative; display: block; overflow: hidden; border-radius: 4px; box-shadow: 0 20px 50px #2230271f; }
.image-frame img { display: block; width: 100%; height: 420px; object-fit: cover; }
.image-caption { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; color: white; background: var(--deep); font-weight: 600; }
.news { background: #f2ede2; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.news-card { overflow: hidden; border: 1px solid #e7dfd0; background: white; }
.news-card > div:last-child { padding: 22px; }
.news-img { display: grid; height: 150px; place-items: center; font: 24px/1.2 var(--serif); text-align: center; }
.paper { color: #514b3e; background: #d6c9ad; }
.flowers { color: white; background: #b8aa8d; }
.magazine { color: #5a513f; background: #e4dbc9; }
.news-card h3 { margin: 0 0 8px; font-size: 23px; }
.news-card p { color: var(--muted); font-size: 14px; }
.news-card a { color: var(--green); font-size: 13px; font-weight: 700; }
.news-page { overflow: hidden; }
.demo-notice { max-width: 1000px; margin: 0 auto 54px; padding: 20px 24px; border-left: 5px solid #a94733; color: var(--deep); background: #fbefe9; }
.demo-notice strong { display: block; color: #873a2c; font-size: 13px; letter-spacing: .08em; }
.demo-notice p { margin: 5px 0 0; color: #584941; }
.news-featured, .news-listing { margin: 0 0 68px; }
.news-section-heading { margin-bottom: 22px; }
.news-section-heading h2 { margin-bottom: 0; font-size: clamp(30px,4vw,42px); }
.news-feature-card, .news-article-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: clamp(22px,4vw,38px); border: 1px solid var(--stone); background: #fff; }
.news-feature-card { position: relative; min-height: 300px; justify-content: center; overflow: hidden; color: white; background: linear-gradient(115deg,#18392d,#315d49 72%,#826b4a); }
.news-feature-card::after { position: absolute; inset: 0; content: ''; pointer-events: none; background: radial-gradient(circle at 85% 15%,#ffffff24,transparent 34%); }
.news-feature-card > * { position: relative; z-index: 1; }
.news-feature-card .eyebrow { margin: 20px 0 4px; color: #eadcb9; }
.news-feature-card h3 { max-width: 800px; margin: 0; font: 600 clamp(29px,4.5vw,48px)/1.12 var(--serif); }
.news-feature-card h3 a:hover, .news-article-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-feature-card .sample-date { color: #f0dfba; }
.news-feature-card .news-excerpt { max-width: 740px; color: #e9eee9; }
.sample-badge { display: inline-flex; align-items: center; min-height: 27px; padding: 5px 9px; border: 1px solid #ead1c7; border-radius: 3px; color: #873a2c; background: #fff8f4; font-size: 9px; font-weight: 700; letter-spacing: .09em; line-height: 1.4; }
.news-feature-card .sample-badge { color: white; border-color: #ffffff99; background: #ffffff1a; }
.news-listing-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
.news-filter { display: grid; gap: 5px; min-width: min(100%,230px); color: var(--deep); font-size: 12px; font-weight: 700; }
.news-filter select { min-height: 44px; padding: 8px 34px 8px 12px; border: 1px solid #cfc6b4; border-radius: 5px; color: var(--ink); background: white; font: 14px var(--sans); }
.news-filter select:focus-visible, .article-back:focus-visible, .news-article-card a:focus-visible, .news-feature-card a:focus-visible { outline: 3px solid #c18e37; outline-offset: 3px; }
.news-status { min-height: 24px; margin: 0 0 14px; color: var(--muted); font-size: 13px; }
.news-article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.news-article-card { min-height: 315px; transition: transform .2s,border-color .2s,box-shadow .2s; }
.news-article-card:hover { transform: translateY(-2px); border-color: #b9c6bd; box-shadow: 0 12px 28px #18392d10; }
.news-article-card .eyebrow { margin: 20px 0 4px; font-size: 10px; }
.news-article-card h3 { margin: 0 0 9px; color: var(--deep); font-size: clamp(21px,2.2vw,26px); line-height: 1.22; }
.sample-date { margin: 0 0 10px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.news-excerpt { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.news-read-more { display: inline-flex; gap: 6px; align-items: center; margin-top: auto; }
.news-gallery-link { margin: -28px 0 0; text-align: center; }
.topic-page { background: var(--paper); }
.topic-container { max-width: 1240px; }
.topic-back { display: inline-block; margin: 0 0 24px; color: var(--green); font-size: 14px; font-weight: 700; }
.topic-grid, .worship-intro-grid, .community-feature-grid, .visit-feature-grid { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: clamp(32px,6vw,72px); }
.topic-copy h1 { margin: 0 0 12px; color: var(--deep); font: 600 clamp(40px,6vw,68px)/1.08 var(--serif); letter-spacing: -.03em; }
.topic-demo-notice { margin: 0 0 34px; padding: 15px 18px; }
.topic-lead { margin: 0 0 25px; color: var(--muted); font: 21px/1.5 var(--serif); }
.topic-body { max-width: 690px; color: var(--muted); font-size: 16px; }
.topic-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.topic-image { min-width: 0; margin: 0; padding: 10px; border: 1px solid var(--stone); background: white; box-shadow: 0 18px 48px #162c2112; }
.topic-image img { display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 3px; object-fit: cover; }
.topic-image figcaption { padding: 10px 4px 1px; color: #695b4f; font-size: 11px; line-height: 1.45; }
.topic-links-heading { margin: 58px 0 20px; }
.topic-links-heading h2 { margin: 0; font-size: clamp(30px,4vw,42px); }
.topic-link-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.topic-link-grid .info-card { display: flex; min-width: 0; min-height: 225px; flex-direction: column; align-items: flex-start; }
.topic-link-grid .info-card h3 { margin: 2px 0 6px; color: var(--deep); font-size: 23px; line-height: 1.2; }
.topic-link-grid .info-card p { margin: 0 0 18px; }
.topic-link-grid .inline-link { margin-top: auto; }
.worship-intro-grid, .community-feature-grid { margin-bottom: 48px; }
.worship-intro-grid > div > p:not(.eyebrow), .community-feature-grid > div > p:not(.eyebrow) { max-width: 600px; color: var(--muted); }
.worship-intro-grid h2, .community-feature-grid h2 { font-size: clamp(31px,4vw,44px); }
.visit-address-card { padding: clamp(24px,4vw,42px); border: 1px solid var(--stone); background: var(--cream); }
.visit-address-card h2 { margin-bottom: 14px; font-size: clamp(29px,4vw,41px); }
.visit-address-card address { margin: 0 0 22px; color: var(--deep); font: 500 19px/1.7 var(--sans); font-style: normal; }
.visit-address-card .visit-address-note { max-width: 510px; color: var(--muted); }
.map-section { margin: 62px 0; padding: clamp(20px,4vw,36px); border: 1px solid var(--stone); background: white; }
.map-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.map-heading h2 { margin: 0; font-size: clamp(30px,4vw,42px); }
.map-frame { width: 100%; overflow: hidden; aspect-ratio: 16 / 7; background: #e8e2d5; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: relative; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg,#e4e9d7,#f1ecd9 53%,#dce6d8); }
.map-placeholder::before, .map-placeholder::after { position: absolute; inset: -20%; content: ''; border: 2px solid #fffdf4; border-radius: 48%; transform: rotate(-15deg); }
.map-placeholder::after { inset: 18% -16%; border-color: #cdd8c1; border-radius: 0; transform: rotate(17deg); }
.map-road { position: absolute; z-index: 1; display: block; height: 11px; border: 3px solid #fffdf4; border-right: 0; border-left: 0; background: #d3b974; }
.map-road-one { top: 56%; left: -5%; width: 110%; transform: rotate(-8deg); }
.map-road-two { top: 30%; left: 36%; width: 62%; transform: rotate(52deg); }
.map-road-three { top: 76%; left: 8%; width: 45%; transform: rotate(30deg); }
.map-place-label { position: absolute; z-index: 2; top: 25%; left: 13%; color: #52634d; font-size: 12px; font-weight: 700; letter-spacing: .2em; }
.map-pin { position: relative; z-index: 3; display: grid; width: 48px; height: 48px; place-items: center; border: 5px solid white; border-radius: 50% 50% 50% 4px; background: var(--green); box-shadow: 0 5px 18px #263a2850; transform: rotate(-45deg); }
.map-pin::before { width: 10px; height: 10px; border-radius: 50%; background: white; content: ''; }
.map-place-caption { position: absolute; z-index: 3; right: 12px; bottom: 10px; padding: 5px 8px; border-radius: 3px; color: #584941; background: #fffdf2e8; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.map-caption { margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.about-demo-intro { padding: 0 0 14px; background: var(--paper); }
.about-demo-intro .demo-notice { margin-bottom: 0; }
.about-people { background: var(--cream); }
.about-explore { background: var(--paper); }
.article-page { min-height: 60vh; background: var(--paper); }
.article-container { max-width: 1020px; }
.article-back { display: inline-block; margin: 0 0 26px; color: var(--green); font-size: 14px; font-weight: 700; }
.article-content { max-width: 840px; margin: 0 auto; }
.article-demo-notice { margin: 0 0 36px; }
.article-content h1 { max-width: 800px; margin: 4px 0 12px; color: var(--deep); font: 600 clamp(38px,6vw,64px)/1.08 var(--serif); letter-spacing: -.03em; }
.article-excerpt { margin: 18px 0 32px; color: var(--muted); font: 22px/1.5 var(--serif); }
.article-copy { max-width: 740px; font-size: 17px; line-height: 1.8; }
.article-copy p { margin: 0 0 22px; }
.article-gallery-link { margin: 32px 0; }
.article-bottom-nav { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--stone); }
.donate { padding: 62px 0; color: white; background: var(--deep); }
.donate-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.donate .eyebrow { color: #d8c89f; }
.donate h2 { margin-bottom: 10px; }
.donate p:last-child { max-width: 650px; margin: 0; color: #d6ddd8; }
.page-hero { padding: clamp(48px, 7vw, 82px) 0; color: white; background: linear-gradient(115deg,var(--deep),#315d49); }
.page-hero .eyebrow { color: #d8c89f; }
.page-hero h1 { max-width: 900px; font-size: clamp(38px, 5.5vw, 62px); }
.page-hero .lead { max-width: 760px; margin: 0; color: #edf1ed; font: 20px/1.55 var(--serif); }
.page-content { background: var(--paper); }
.notice { max-width: 900px; margin: 0 auto 42px; padding: 22px 25px; border-left: 4px solid var(--gold); background: var(--cream); }
.notice strong { color: var(--deep); }
.notice p { margin: 5px 0 0; color: var(--muted); }
.content-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.info-card { padding: 24px; border: 1px solid var(--stone); background: white; }
.info-card h2 { font-size: 25px; }
.info-card p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.card-link { display: flex; flex-direction: column; align-items: flex-start; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card-link:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 10px 26px #18392d12; }
.card-link .inline-link { margin-top: auto; padding-top: 18px; }
.gallery-single { width: min(900px,100%); margin: 0 auto 48px; overflow: hidden; border-radius: 7px; box-shadow: 0 16px 42px #1d241f24; }
.gallery-single a, .gallery-single img { display: block; width: 100%; }
.gallery-single img { max-height: 560px; object-fit: cover; }
.about-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(34px,6vw,76px); }
.about-hero .eyebrow { color: #e4d3ac; }
.about-hero h1 { font-size: clamp(42px,6.2vw,70px); }
.about-hero-copy { max-width: 620px; margin: 18px 0 0; color: #edf1ed; }
.about-photo { min-width: 0; margin: 0; padding: 9px; overflow: hidden; border-radius: 9px; background: var(--paper); box-shadow: 0 18px 48px #162c2126; }
.about-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; }
.about-photo figcaption { padding: 9px 4px 2px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.about-intro { background: var(--paper); }
.about-intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px,6vw,76px); }
.about-intro-grid > div > p:not(.eyebrow) { max-width: 560px; color: var(--muted); }
.vision-quote { margin: 0; padding: clamp(25px,4vw,44px); border-left: 4px solid var(--gold); background: var(--cream); }
.vision-quote p { margin: 0 0 14px; color: var(--deep); font: 600 clamp(23px,3vw,34px)/1.35 var(--serif); }
.vision-quote cite { color: var(--green); font-size: 12px; font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.about-place-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(34px,6vw,76px); }
.about-place-copy h2 { max-width: 600px; }
.about-place-copy p:not(.eyebrow) { color: var(--muted); }
.about-place-copy .btn { margin-top: 9px; }
.about-place-stone { background: var(--cream); }
.about-place-reverse .about-photo { grid-column: 1; grid-row: 1; }
.about-place-reverse .about-place-copy { grid-column: 2; grid-row: 1; }
.about-community { background: #f0ece2; }
.about-community .about-photo { background: white; }
.btn-outline-green { color: var(--deep); border-color: var(--green); background: transparent; }
.btn-outline-green:hover { color: white; background: var(--green); }
.about-story { background: var(--paper); }
.story-heading { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.story-heading > p:last-child { margin: 14px auto 0; color: var(--muted); }
.parish-timeline { position: relative; display: grid; gap: 0; width: min(900px,100%); margin: 0 auto; padding: 0; list-style: none; }
.parish-timeline::before { position: absolute; top: 15px; bottom: 34px; left: 184px; width: 2px; background: #d9cfba; content: ''; }
.timeline-item { position: relative; display: grid; grid-template-columns: 155px minmax(0,1fr); gap: 58px; padding: 8px 0 28px; }
.timeline-item::before { position: absolute; top: 13px; left: 176px; width: 14px; height: 14px; border: 3px solid var(--paper); border-radius: 50%; background: var(--green); box-shadow: 0 0 0 1px var(--green); content: ''; }
.timeline-date { margin: 2px 0 0; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.timeline-item h3 { margin: 0 0 4px; color: var(--deep); font-size: 23px; }
.timeline-item div p { margin: 0; color: var(--muted); }
.story-more { margin: 12px auto 0; text-align: center; }
.about-visit { color: white; background: var(--deep); }
.about-visit-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.about-visit-inner h2 { margin-bottom: 10px; }
.about-visit-inner > div:first-child > p:not(.eyebrow) { max-width: 650px; margin: 0 0 9px; color: #e0e8e2; }
.about-visit .eyebrow { color: #e4d3ac; }
.visit-address-note { font-size: 13px; }
.about-visit-actions, .history-links, .chapel-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.history-links { justify-content: center; margin-top: 24px; }
.chapel-page-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(34px,6vw,76px); }
.chapel-note { margin-top: 18px; }
.chapel-more { background: var(--cream); }
.chapel-more-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.calendar-notice { margin: 0 0 28px; padding: 16px 20px; border-left: 4px solid var(--gold); color: var(--muted); background: #f5f1e5; }
.calendar-notice strong { color: var(--deep); }
.calendar-demo-image { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,.55fr); align-items: center; gap: 18px; margin: 0 0 24px; padding: 10px; border: 1px solid var(--stone); background: white; }
.calendar-demo-image img { display: block; width: 100%; max-height: 240px; object-fit: cover; }
.calendar-demo-image figcaption { padding: 12px; color: var(--muted); font-size: 12px; }
.calendar-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin: 35px 0 22px; }
.calendar-toolbar h2 { font-size: clamp(30px,3.5vw,40px); }
.calendar-toolbar p:not(.eyebrow) { margin: 0; color: var(--muted); }
.calendar-filters { display: flex; gap: 12px; }
.calendar-filters label { display: grid; gap: 5px; color: var(--deep); font-size: 12px; font-weight: 700; }
.calendar-filters select { min-width: 170px; min-height: 44px; padding: 8px 32px 8px 12px; border: 1px solid #cfc6b4; border-radius: 5px; color: var(--ink); background: white; font: 14px var(--sans); }
.calendar-filters select:focus-visible { outline: 3px solid #c18e37; outline-offset: 2px; }
.event-list { display: grid; gap: 12px; }
.event-card { display: grid; grid-template-columns: 150px minmax(0,1fr) auto; align-items: center; gap: 22px; padding: 20px 22px; border: 1px solid var(--stone); border-radius: 4px; background: white; }
.event-date { display: grid; gap: 3px; padding-right: 18px; border-right: 1px solid var(--stone); }
.event-date span { color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.event-date strong { color: var(--deep); font: 600 27px/1.2 var(--serif); }
.event-details .eyebrow { margin-bottom: 3px; font-size: 10px; letter-spacing: .04em; text-transform: none; }
.event-details h3 { margin: 0; font-size: 23px; }
.event-venue { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.event-link { color: var(--green); font-size: 13px; font-weight: 700; white-space: nowrap; }
.calendar-empty { padding: 24px; color: var(--muted); background: var(--cream); text-align: center; }
.calendar-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--stone); }
.calendar-footer p { margin: 0; color: var(--muted); }
.calendar-preview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; border: 0; }
.calendar-preview .event-card { grid-template-columns: 1fr; align-content: start; gap: 12px; min-height: 235px; padding: 20px; box-shadow: 0 6px 20px #18392d08; }
.calendar-preview .event-date { padding: 0 0 10px; border-right: 0; border-bottom: 1px solid var(--stone); }
.calendar-preview .event-details { min-height: 88px; }
.calendar-preview .event-link { align-self: end; margin-top: auto; font-size: 12px; }
.calendar-preview .event-venue { min-height: 42px; }
.calendar-preview .event-card:hover, .event-card:hover { border-color: #b9c6bd; }
.calendar-source-note { margin: 0 0 30px; padding: 17px 21px; border-left: 4px solid var(--green); color: var(--muted); background: var(--cream); }
.calendar-source-note strong { color: var(--deep); }
.calendar-source-note p { margin: 4px 0 0; }
.event-month-toolbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin: 28px 0 12px; }
.event-month-toolbar h2 { margin: 0; color: var(--deep); font-size: clamp(26px,3.2vw,38px); text-align: center; }
.event-month-toolbar button:first-child { justify-self: start; }
.event-month-toolbar button:last-child { justify-self: end; }
.event-month-toolbar button:disabled { opacity: .42; cursor: not-allowed; }
.calendar-instructions, .calendar-status { color: var(--muted); font-size: 14px; }
.calendar-status { min-height: 24px; margin: 12px 0; color: var(--green); font-weight: 700; }
.calendar-month-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); border-top: 1px solid var(--stone); border-left: 1px solid var(--stone); background: white; }
.calendar-weekday { padding: 10px 8px; border-right: 1px solid var(--stone); border-bottom: 1px solid var(--stone); color: var(--deep); background: var(--cream); font-size: 12px; font-weight: 700; text-align: center; }
.calendar-day { min-width: 0; min-height: 128px; padding: 8px; border-right: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.calendar-day.is-today { background: #f8f4e8; box-shadow: inset 0 0 0 2px var(--gold); }
.calendar-day-empty { background: #faf9f5; }
.calendar-day-number { display: inline-grid; width: 29px; height: 29px; place-items: center; margin: 0 0 6px; border-radius: 50%; color: var(--deep); font-size: 13px; font-weight: 700; }
.calendar-day.is-today .calendar-day-number { color: white; background: var(--green); }
.calendar-event-button { display: flex; width: 100%; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0 0 5px; padding: 6px 7px; border: 0; border-left: 3px solid var(--green); border-radius: 2px; color: var(--deep); background: #edf2ed; font: 600 11px/1.35 var(--sans); text-align: left; cursor: pointer; }
.calendar-event-button time { color: var(--green); font-size: 10px; font-weight: 700; }
.calendar-event-button:hover { background: #dde8de; }
.calendar-agenda { display: none; }
.calendar-page-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--stone); }
.calendar-page-footer p { margin: 0; color: var(--muted); font-size: 13px; }
.calendar-event-dialog { width: min(680px,calc(100% - 32px)); max-height: min(86vh,800px); padding: clamp(22px,5vw,38px); border: 1px solid var(--stone); border-radius: 7px; color: var(--ink); background: var(--paper); box-shadow: 0 28px 90px #10291f45; }
.calendar-event-dialog::backdrop { background: #13271fc2; }
.calendar-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.calendar-dialog-header .eyebrow { margin: 0; }
.dialog-close { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--stone); border-radius: 50%; color: var(--deep); background: white; font: 26px/1 var(--sans); cursor: pointer; }
.calendar-event-dialog h2 { margin: 8px 0 22px; color: var(--deep); font-size: clamp(28px,4vw,42px); }
.calendar-event-facts { display: grid; gap: 0; margin: 0 0 24px; }
.calendar-event-facts > div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--stone); }
.calendar-event-facts dt { color: var(--green); font-size: 12px; font-weight: 700; }
.calendar-event-facts dd { margin: 0; overflow-wrap: anywhere; }
.calendar-event-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.calendar-action-title { font-size: 1.1rem; margin-top: 1.4rem; }
.calendar-subscription-dialog input { width: 100%; min-width: 0; padding: .7rem; border: 1px solid var(--green, #254d3f); border-radius: 5px; font: inherit; }
.calendar-subscription-dialog details { margin: 1rem 0; }
.calendar-subscription-dialog summary { cursor: pointer; font-weight: 600; }
.calendar-subscription-dialog .btn { white-space: normal; }
@media (max-width: 520px) { .calendar-event-actions { flex-direction: column; } .calendar-event-actions .btn { width: 100%; text-align: center; } }
.footer { padding: 56px 0 18px; color: #e9eee9; background: #15382c; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1.2fr 1.1fr; gap: 34px; }
.footer-brand { color: white; }
.footer p { color: #bdcbc2; font-size: 13px; }
.footer h2 { margin: 0 0 12px; font: 700 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.footer a:not(.brand) { display: block; margin: 7px 0; color: #d9e2dc; font-size: 13px; }
.footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 42px; padding-top: 16px; border-top: 1px solid #ffffff20; color: #bdcbc2; font-size: 12px; }
.footer-diocese { display: grid; grid-template-columns: minmax(0,1fr) 180px; align-items: center; gap: 24px; margin-top: 28px; padding: 19px 22px; border: 1px solid #ffffff24; border-radius: 7px; background: #1b4032; }
.footer-diocese-kicker { margin: 0 0 5px; color: #d9c68b !important; font-size: 10px !important; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.footer .footer-diocese h2 { margin: 0 0 6px; color: #fff; font: 600 22px/1.2 var(--serif); letter-spacing: 0; text-transform: none; }
.footer .footer-diocese p:not(.footer-diocese-kicker) { max-width: 690px; margin: 0 0 6px; color: #d4ded7; font-size: 13px; line-height: 1.55; }
.footer a.footer-diocese-link { display: inline-block; margin: 3px 0 0; color: #f1e5bc; font-size: 13px; font-weight: 600; text-underline-offset: 3px; }
.footer a.footer-diocese-logo { display: flex; width: 100%; min-height: 90px; align-items: center; justify-content: center; margin: 0; padding: 8px 14px; border-radius: 5px; background: #f7f4eb; }
.footer-diocese-logo img { display: block; width: min(100%, 150px); max-height: 80px; object-fit: contain; }
.footer a.footer-diocese-logo:focus-visible,.footer a.footer-diocese-link:focus-visible { outline: 3px solid #e6cf88; outline-offset: 4px; }
@media (min-width: 1051px) {
  .container { width: min(1240px, calc(100% - 56px)); }
  .nav-wrap { min-height: 68px; }
  .brand-mark { width: 36px; height: 36px; }
  .nav-trigger, .nav-link { padding-top: 9px; padding-bottom: 9px; }
  .btn { min-height: 42px; padding: 9px 16px; }
  .btn-small { min-height: 36px; padding: 7px 12px; }

  /* Homepage banner and interior page titles */
  .hero { min-height: 440px; }
  .hero-content { padding-top: clamp(64px, 6vw, 82px); padding-bottom: 64px; }
  .hero h1 { max-width: 760px; margin-bottom: 12px; font-size: clamp(42px, 4.7vw, 58px); }
  .hero-copy { max-width: 520px; font-size: 18px; }
  .hero-actions { gap: 10px; margin-top: 22px; }
  .page-hero { padding: 44px 0; }
  .page-hero h1 { font-size: clamp(34px, 3.8vw, 48px); }
  .page-hero .lead { max-width: 760px; font-size: 18px; }
  .about-hero h1 { font-size: clamp(38px, 4.4vw, 56px); }
  .topic-copy h1 { font-size: clamp(34px, 4.2vw, 54px); }
  .article-content h1 { font-size: clamp(34px, 4vw, 52px); }
  h2 { font-size: clamp(28px, 3vw, 39px); }
  .section { padding: clamp(42px, 4vw, 56px) 0; }
  .section-heading { margin-bottom: 22px; }

  /* Cards and feature blocks */
  .feature-card { min-height: 205px; padding: 20px; }
  .feature-card h3 { font-size: 26px; }
  .info-card { padding: 18px; }
  .content-grid { gap: 14px; }
  .service-card { padding: 18px 16px; }
  .notice { margin-bottom: 24px; padding: 16px 18px; }
  .demo-notice { margin-bottom: 28px; }
  .news-featured, .news-listing { margin-bottom: 40px; }
  .news-feature-card { min-height: 225px; padding: 22px; }
  .news-feature-card h3 { font-size: clamp(27px, 3.2vw, 40px); }
  .news-section-heading h2 { font-size: clamp(27px, 2.8vw, 36px); }
  .news-article-card { min-height: 240px; padding: 18px; }
  .calendar-preview .event-card { min-height: 190px; padding: 16px; }
  .calendar-preview .event-details { min-height: 58px; }
  .calendar-preview .event-venue { min-height: 30px; }
  .calendar-day { min-height: 110px; padding: 6px; }
  .calendar-weekday { padding: 8px 4px; }
  .search-page { min-height: 42vh; }
  .search-result { padding: 16px 18px; }
  .article-page { min-height: 48vh; }

  /* Topic pages, parish information and media */
  .topic-back { margin-bottom: 14px; }
  .topic-grid, .worship-intro-grid, .community-feature-grid, .visit-feature-grid { gap: clamp(26px, 3.5vw, 44px); }
  .topic-demo-notice { margin-bottom: 22px; }
  .topic-lead { margin-bottom: 16px; font-size: 18px; }
  .topic-actions { margin-top: 18px; }
  .topic-links-heading { margin-top: 34px; }
  .topic-links-heading h2, .map-heading h2 { font-size: clamp(27px, 2.8vw, 36px); }
  .topic-link-grid .info-card { min-height: 165px; }
  .worship-intro-grid, .community-feature-grid { margin-bottom: 30px; }
  .visit-address-card { padding: clamp(20px, 2.5vw, 28px); }
  .visit-address-card h2 { font-size: clamp(27px, 2.8vw, 35px); }
  .map-section { margin: 40px 0; padding: 20px; }
  .map-frame { max-height: 400px; aspect-ratio: 16 / 6; }
  .about-intro-grid, .about-place-grid, .chapel-page-grid { gap: clamp(26px, 3.5vw, 44px); }
  .vision-quote { padding: clamp(22px, 2.5vw, 30px); }
  .vision-quote p { font-size: clamp(23px, 2.5vw, 29px); }
  .image-frame img { height: 340px; }
  .about-photo, .topic-image { max-height: 360px; }
  .video-frame-large { max-width: 900px; }
  .calendar-demo-image { max-height: 210px; }

  /* Compact page edges and shared footer */
  .donate { padding: 42px 0; }
  .footer { padding: 36px 0 14px; }
  .footer-grid { gap: 24px; }
  .footer-bottom { margin-top: 22px; }
}
@media (max-width: 1050px) {
  .container { width: min(100% - 40px, 900px); }
  .nav-wrap { gap: 16px; }
  .nav { gap: 8px; }
  .nav-trigger { font-size: 12px; }
  .nav-link { font-size: 12px; }
  .brand strong { font-size: 13px; }
  .brand small { font-size: 9px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .news-article-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topic-link-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1200px) {
  .nav-wrap { position: relative; min-height: 70px; }
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; padding: 12px 20px 20px; border-top: 1px solid var(--stone); background: var(--paper); box-shadow: 0 15px 30px #00000014; }
  .nav.is-open { display: flex; flex-direction: column; }
  .nav-item { width: 100%; }
  .nav-trigger { display: flex; width: 100%; justify-content: space-between; padding: 13px 8px; font-size: 15px; text-align: left; }
  .nav-link { display: block; width: 100%; padding: 13px 8px; font-size: 15px; }
  .dropdown { position: static; min-width: 0; margin: 0 0 7px 8px; padding: 3px 8px; border: 0; border-left: 2px solid var(--stone); border-radius: 0; box-shadow: none; }
  .nav-item:last-of-type .dropdown { right: auto; left: auto; }
  .nav-give { align-self: flex-start; margin: 8px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 620px); }
  .hero { min-height: 520px; }
  .hero-content { padding-top: 100px; padding-bottom: 86px; }
  .hero h1 { font-size: clamp(44px, 12vw, 58px); }
  .hero-copy { font-size: 18px; }
  .split { display: block; }
  .split .text-link { display: inline-flex; margin-top: 16px; }
  .service-grid, .feature-grid, .news-grid, .content-grid { grid-template-columns: 1fr; }
  .news-article-grid { grid-template-columns: 1fr; }
  .news-listing-heading { align-items: stretch; flex-direction: column; }
  .news-filter { width: 100%; }
  .news-featured, .news-listing { margin-bottom: 48px; }
  .news-feature-card { min-height: 0; }
  .news-article-card { min-height: 0; }
  .topic-link-grid { grid-template-columns: 1fr; }
  .topic-link-grid .info-card { min-height: 0; }
  .topic-grid, .worship-intro-grid, .community-feature-grid, .visit-feature-grid { grid-template-columns: 1fr; }
  .topic-grid { gap: 28px; }
  .topic-image { order: 2; }
  .map-heading { align-items: flex-start; flex-direction: column; }
  .map-frame { aspect-ratio: 4 / 3; }
  .media-feature-grid { grid-template-columns: 1fr; }
  .search-form { align-items: stretch; flex-direction: column; }
  .search-form .btn { align-self: flex-start; }
  .service-card { border-right: 0; border-bottom: 1px solid #ddd4c3; }
  .service-card:last-child { border-bottom: 0; }
  .feature-card { min-height: 205px; }
  .two-col { grid-template-columns: 1fr; }
  .about-hero-grid, .about-intro-grid, .about-place-grid, .chapel-page-grid { grid-template-columns: 1fr; }
  .about-hero-grid { gap: 26px; }
  .about-place-reverse .about-photo, .about-place-reverse .about-place-copy { grid-column: auto; grid-row: auto; }
  .about-place-reverse .about-place-copy { order: -1; }
  .parish-timeline { width: 100%; padding-left: 30px; }
  .parish-timeline::before { left: 7px; }
  .timeline-item { grid-template-columns: 1fr; gap: 5px; padding: 4px 0 25px 16px; }
  .timeline-item::before { top: 5px; left: -29px; }
  .about-visit-inner { align-items: flex-start; flex-direction: column; }
  .chapel-more-grid { grid-template-columns: 1fr; }
  .image-frame img { height: 320px; }
  .calendar-toolbar { align-items: stretch; flex-direction: column; }
  .calendar-day { min-height: 106px; padding: 5px; }
  .calendar-event-button { padding: 5px; font-size: 10px; }
  .calendar-demo-image { grid-template-columns: 1fr; }
  .calendar-demo-image img { max-height: 260px; }
  .calendar-filters { flex-wrap: wrap; }
  .event-month-toolbar { grid-template-columns: auto 1fr auto; gap: 8px; }
  .event-month-toolbar .btn { min-height: 40px; padding: 8px 9px; font-size: 12px; }
  .event-month-toolbar h2 { font-size: 23px; }
  .month-button-word { display: none; }
  .calendar-month-grid { display: none; }
  .calendar-agenda { display: grid; gap: 12px; }
  .calendar-agenda-day { padding: 16px; border: 1px solid var(--stone); background: white; }
  .calendar-agenda-day h3 { margin: 0 0 10px; color: var(--deep); font-size: 19px; }
  .calendar-page-footer { align-items: flex-start; flex-direction: column; }
  .calendar-event-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .calendar-filters label { flex: 1 1 180px; }
  .calendar-filters select { width: 100%; min-width: 0; }
  .event-card { grid-template-columns: 110px minmax(0,1fr); gap: 14px; padding: 16px; }
  .event-link { grid-column: 2; }
  .calendar-preview { grid-template-columns: 1fr; }
  .calendar-preview .event-card { grid-template-columns: 120px minmax(0,1fr); min-height: 0; }
  .calendar-preview .event-date { padding: 0 12px 0 0; border-right: 1px solid var(--stone); border-bottom: 0; }
  .calendar-preview .event-details { min-height: 0; }
  .calendar-preview .event-link { grid-column: 2; }
  .calendar-footer { align-items: flex-start; flex-direction: column; }
  .donate-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
}
@media (max-width: 460px) {
  .container { width: calc(100% - 28px); }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand strong { font-size: 11px; }
  .brand small { font-size: 8px; letter-spacing: .1em; }
  .hero { min-height: 500px; background-position: 58% center; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: fit-content; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-diocese { grid-template-columns: 1fr; gap: 13px; margin-top: 23px; padding: 17px; }
  .footer a.footer-diocese-logo { width: 150px; min-height: 78px; justify-self: start; }
  .footer-diocese-logo img { max-height: 66px; }
}

/* Giving page: warm, clearly marked prototype content, with compact desktop spacing. */
.giving-page { overflow: hidden; }
.giving-hero { padding: 38px 0; color: white; background: linear-gradient(115deg,var(--deep),#315d49); }
.giving-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(28px,5vw,60px); }
.giving-hero-grid { grid-template-columns: minmax(0,1fr) minmax(180px,.45fr); }
.giving-hero-mark { display: grid; width: min(100%,260px); aspect-ratio: 1; place-items: center; justify-self: center; border: 1px solid #d7c69b; border-radius: 50%; color: #e2d2ad; font-size: clamp(80px,12vw,150px); font-family: var(--serif); }
.giving-hero-copy { max-width: 620px; }
.giving-hero-copy h1 { max-width: 650px; margin: 0 0 14px; font: 600 clamp(38px,4vw,54px)/1.08 var(--serif); letter-spacing: -.03em; }
.giving-hero-lead { max-width: 570px; margin: 0; color: #f2f4ee; font: 21px/1.48 var(--serif); }
.giving-hero-note { max-width: 530px; margin: 14px 0 22px; color: #d6e0d8; font-size: 14px; }
.giving-hero-image { min-width: 0; margin: 0; padding: 9px; border: 1px solid #ffffff55; border-radius: 7px; background: #ffffff12; }
.giving-hero-image img { display: block; width: 100%; max-height: 340px; aspect-ratio: 4 / 3; border-radius: 3px; object-fit: cover; }
.giving-hero-image figcaption { padding: 9px 4px 0; color: #e8dfca; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.giving-difference { background: var(--paper); }
.giving-section-heading { max-width: 800px; margin: 0 auto 24px; }
.giving-section-heading h2 { margin-bottom: 10px; }
.giving-section-heading > p:last-child { margin: 0; color: var(--muted); }
.giving-benefit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
.giving-benefit-card { display: flex; min-width: 0; gap: 13px; padding: 19px 17px; border: 1px solid var(--stone); background: white; }
.giving-icon, .giving-method-icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--green); background: #eee8d9; font-size: 19px; }
.giving-benefit-card h3 { margin: 0 0 5px; color: var(--deep); font-size: 18px; line-height: 1.25; }
.giving-benefit-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.giving-ways { background: var(--cream); }
.giving-method-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.giving-method-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 21px; border: 1px solid var(--stone); background: white; }
.giving-method-featured { border-top: 3px solid var(--gold); }
.giving-method-icon { margin-bottom: 15px; }
.giving-method-card .eyebrow { margin-bottom: 4px; font-size: 9px; }
.giving-method-card h3 { margin: 0 0 7px; color: var(--deep); font-size: 23px; line-height: 1.2; }
.giving-method-card > p:not(.eyebrow) { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.giving-method-card .giving-availability { margin-top: auto !important; padding-top: 12px; color: var(--green) !important; font-size: 12px !important; font-weight: 700; }
.giving-method-card .giving-card-note { margin: 0; color: #777b70; font-size: 11px !important; }
.giving-method-card .btn { margin-top: 8px; }
.giving-method-card .btn:disabled, .giving-appeal-card .btn:disabled { cursor: not-allowed; opacity: .68; transform: none; }
.giving-qr-placeholder { display: grid; width: 138px; min-height: 124px; align-content: center; justify-items: center; gap: 7px; margin: 0 0 11px; padding: 12px; border: 1px dashed #9d906e; color: var(--deep); background: repeating-linear-gradient(135deg,#faf8f0 0,#faf8f0 8px,#f3efe4 8px,#f3efe4 16px); text-align: center; }
.giving-qr-placeholder > span { font-size: 32px; line-height: 1; }
.giving-qr-placeholder strong { max-width: 115px; font-size: 10px; line-height: 1.35; }
.giving-method-link { margin-top: auto; padding-top: 10px; }
.giving-development-note { margin: 20px 0 0; padding: 13px 16px; border-left: 3px solid var(--gold); color: #5f655e; background: #fffdf8; font-size: 12px; }
.giving-development-note strong { color: var(--deep); }
.giving-assurance { background: var(--paper); }
.giving-assurance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.giving-assurance-card { padding: 23px 24px; border: 1px solid var(--stone); background: white; }
.giving-assurance-card h2 { margin: 0 0 9px; color: var(--deep); font-size: clamp(25px,2.4vw,32px); }
.giving-assurance-card > p:not(.eyebrow) { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.giving-assurance-card .giving-availability { color: var(--green) !important; font-weight: 700; }
.giving-assurance-card .giving-card-note { margin: 0; font-size: 11px !important; }
.giving-security-card { background: var(--cream); }
.giving-security-status { display: flex; align-items: flex-start; gap: 8px; color: var(--deep) !important; font-weight: 700; }
.giving-security-status span { color: var(--gold); }
.giving-appeals { padding-top: 0; background: var(--paper); }
.giving-appeal-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 25px 28px; color: white; background: linear-gradient(110deg,var(--deep),#315d49); }
.giving-appeal-card .eyebrow { margin-bottom: 7px; color: #e3d4af; }
.giving-demo-label { display: inline-flex; margin-bottom: 8px; padding: 4px 8px; border: 1px solid #ffffff90; color: white; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.giving-appeal-card h2 { margin: 0 0 4px; font-size: clamp(25px,2.6vw,34px); }
.giving-appeal-card h3 { margin: 0 0 5px; font-size: 17px; }
.giving-appeal-card p:last-child { max-width: 680px; margin: 0; color: #e3eae4; font-size: 13px; }
.giving-legacy { padding: 0 0 44px; background: var(--paper); }
.giving-legacy-inner { display: grid; grid-template-columns: 48px minmax(0,700px); align-items: start; gap: 17px; padding: 21px 0 0; border-top: 1px solid var(--stone); }
.giving-legacy-mark { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--stone); border-radius: 50%; color: var(--gold); font-size: 25px; }
.giving-legacy-inner h2 { margin: 0 0 6px; color: var(--deep); font-size: clamp(25px,2.5vw,33px); }
.giving-legacy-inner p:not(.eyebrow) { margin: 0 0 5px; color: var(--muted); font-size: 14px; }
.giving-legacy-inner .giving-card-note { color: #777b70 !important; font-size: 11px !important; }
.giving-thanks { padding: 32px 0; color: white; background: var(--deep); }
.giving-thanks-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.giving-thanks-inner > div { max-width: 760px; }
.giving-thanks-inner .eyebrow { margin-bottom: 5px; color: #dfd0aa; }
.giving-thanks-inner h2 { margin: 0 0 6px; font-size: clamp(26px,3vw,37px); }
.giving-thanks-inner p:last-child { margin: 0; color: #d6e0d8; font-size: 14px; }
.giving-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
@media (min-width: 1051px) {
  .giving-hero { padding: 32px 0; }
  .giving-hero-image img { max-height: 310px; }
  .giving-method-card { min-height: 250px; padding: 19px; }
  .giving-benefit-card { min-height: 118px; }
}
@media (max-width: 900px) {
  .giving-benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .giving-method-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .giving-hero { padding: 30px 0; }
  .giving-hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .giving-hero-mark { width: 108px; font-size: 56px; justify-self: start; }
  .giving-hero-copy h1 { font-size: clamp(36px,9vw,48px); }
  .giving-hero-lead { font-size: 19px; }
  .giving-hero-image { max-width: 560px; }
  .giving-hero-image img { max-height: 290px; }
  .giving-assurance-grid { grid-template-columns: 1fr; }
  .giving-appeal-card { align-items: flex-start; flex-direction: column; gap: 15px; padding: 21px; }
  .giving-thanks-inner { align-items: flex-start; flex-direction: column; }
}

/* Text-led content pages and non-photographic location/section artwork. */
.topic-grid-text-only { grid-template-columns: minmax(0,900px); justify-content: center; }
.topic-content-section h2 { margin: 24px 0 8px; font-size: clamp(22px,2.4vw,29px); }
.topic-content-section:first-child h2 { margin-top: 0; }
.topic-content-section ul { padding-left: 22px; color: var(--muted); }
.topic-content-section li { margin: 0 0 8px; }
.worship-visual { display: grid; min-height: 230px; place-items: center; border: 1px solid var(--stone); color: var(--gold); background: radial-gradient(circle at center,#f5f0e4 0,#e9e2cf 42%,#dbe2d8 100%); }
.worship-visual span { display: grid; width: 112px; height: 112px; place-items: center; border: 1px solid #af985e; border-radius: 50%; color: var(--deep); font: 50px/1 var(--serif); }
.community-visual { min-height: 250px; color: var(--green); background: linear-gradient(135deg,#efe8d8,#d8e2d7); }
.community-visual span { font-size: 70px; }
.history-context { max-width: 880px; margin: 30px auto 0; padding: 24px; border-left: 3px solid var(--gold); background: var(--cream); }
.history-context h2 { margin-top: 0; font-size: 25px; }
.history-context p:last-child { margin-bottom: 0; }
.parish-place-card { display: grid; min-height: 340px; place-items: center; align-content: center; gap: 36px; border: 1px solid var(--stone); color: var(--deep); background: radial-gradient(circle at 50% 38%,#f7f2e7 0,#e9e3d5 45%,#dce4d9 100%); }
.parish-place-card img { display: block; width: 100%; height: auto; min-height: 340px; max-height: 420px; aspect-ratio: 4 / 3; object-fit: cover; }
.parish-place-mark { display: grid; width: 128px; height: 128px; place-items: center; border: 1px solid #b9a56d; border-radius: 50%; font: 64px/1 var(--serif); }
.parish-place-card .image-caption { position: static; padding: 0; color: var(--deep); background: transparent; }
.about-photo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.visit-image { margin: 18px 0 0; }
.visit-image img { display: block; width: 100%; max-height: 200px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.visit-image figcaption, .gallery-single figcaption { padding: 8px 12px; color: #695b4f; font-size: 11px; line-height: 1.4; }
.directory-page { background: var(--paper); }
.directory-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 30px; }
.directory-group { min-width: 0; }
.directory-section-heading { margin-bottom: 14px; padding-bottom: 9px; border-bottom: 1px solid var(--stone); }
.directory-section-heading h2 { margin: 0; color: var(--deep); font-size: clamp(25px,2.5vw,31px); }
.directory-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.directory-entry { display: flex; min-width: 0; min-height: 140px; flex-direction: column; margin: 0; padding: 17px 19px; border: 1px solid var(--stone); border-top: 3px solid var(--gold); border-radius: 6px; background: #fff; overflow-wrap: anywhere; }
.directory-entry h3 { margin: 0 0 3px; color: var(--green); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .055em; }
.directory-entry p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.directory-entry .directory-name { color: var(--deep); font: 600 18px/1.35 var(--serif); }
.directory-entry .directory-secondary-name { margin-top: 9px; }
.directory-person .directory-contacts { display: grid; gap: 3px; margin-top: 6px; }
.directory-entry .directory-method { display: flex; min-width: 0; align-items: flex-start; gap: 8px; overflow-wrap: anywhere; }
.directory-method a { min-width: 0; padding-block: 3px; color: var(--muted); overflow-wrap: anywhere; }
.directory-method a:hover, .directory-method a:focus-visible { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.contact-icon { width: 16px; flex: 0 0 16px; color: var(--gold); font-size: 14px; line-height: 1.5; text-align: center; }
.pcc-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--deep); }
.pcc-list li { padding: 11px 14px; border: 1px solid var(--stone); border-radius: 5px; background: #fff; font-size: 14px; }
.directory-back { margin-top: 28px; }
@media (max-width: 900px) { .about-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 900px) { .directory-cards, .pcc-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 760px) { .directory-cards { gap: 10px; } .directory-entry { padding: 15px; } }
@media (max-width: 460px) { .about-photo-grid, .directory-cards, .pcc-list { grid-template-columns: 1fr; } .directory-grid { gap: 24px; } .directory-entry { min-height: 0; } }
.gallery-empty { display: grid; max-width: 760px; margin: 0 auto; padding: 42px 30px; place-items: center; border: 1px solid var(--stone); background: var(--paper); text-align: center; }
.gallery-empty-mark { display: grid; width: 68px; height: 68px; margin-bottom: 17px; place-items: center; border: 1px solid #b9a56d; border-radius: 50%; color: var(--green); font: 34px/1 var(--serif); }
.gallery-empty h2 { margin: 0 0 8px; font-size: 28px; }
.gallery-empty p { max-width: 560px; margin: 0; color: var(--muted); }
.gallery-empty .history-links { justify-content: center; margin-top: 22px; }
.map-placeholder { display: grid; min-height: 190px; place-items: center; border: 1px solid var(--stone); background: linear-gradient(140deg,#e9e3d5,#dbe4d9); }
.map-placeholder .map-place-label { position: static; font-size: 13px; letter-spacing: .16em; }
.map-placeholder .map-pin { position: absolute; }
.service-pattern { max-width: 880px; margin: 0 auto 28px; padding: 24px; border: 1px solid var(--stone); background: var(--paper); }
.service-pattern h2 { margin: 0 0 9px; color: var(--deep); font-size: clamp(24px,2.5vw,32px); }
.service-pattern p, .service-pattern li { color: var(--muted); }
.service-pattern li { margin-bottom: 8px; }
.service-pattern .text-link { display: inline-block; margin-top: 6px; }
@media (max-width: 520px) {
  .giving-benefit-grid, .giving-method-grid { grid-template-columns: 1fr; }
  .giving-benefit-card { padding: 16px; }
  .giving-method-card { min-height: 0; padding: 19px; }
  .giving-qr-placeholder { width: 100%; min-height: 102px; }
  .giving-assurance-card { padding: 19px; }
  .giving-legacy-inner { grid-template-columns: 38px minmax(0,1fr); gap: 12px; }
  .giving-legacy-mark { width: 36px; height: 36px; font-size: 20px; }
  .giving-thanks { padding: 26px 0; }
}

/* Confirmed social accounts sit within the parish introduction, ready to wrap. */
.footer-social { margin-top: 28px; }
.footer .footer-social h2 { max-width: 260px; color: #f1e5bc; font: 500 15px/1.5 var(--serif); letter-spacing: 0; text-transform: none; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer a.social-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; padding: 8px 12px; border: 1px solid #ffffff40; border-radius: 5px; color: #f7f4eb; text-decoration: none; }
.social-link svg { flex: none; }
.social-external { font-size: 14px; }
.footer a.social-link:hover,.footer a.social-link:focus-visible { background: #244b3b; border-color: #e6cf88; text-decoration: underline; text-underline-offset: 4px; }
.footer a.social-link:focus-visible { outline: 3px solid #e6cf88; outline-offset: 4px; }
.media-channel-link { margin: 12px 0 0; text-align: center; }

/* Small refinements to existing controls, navigation and parish footer. */
.calendar-month-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
#calendar-today { font-weight: 600; }
#calendar-today:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.nav-trigger,.nav-link,.dropdown a,.nav-give { transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.nav-trigger:hover,.nav-link:hover,.nav-trigger:focus-visible,.nav-link:focus-visible { background: var(--cream); box-shadow: inset 0 -2px var(--gold); }
.nav-trigger:focus-visible,.nav-link:focus-visible,.dropdown a:focus-visible,.nav-give:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.dropdown a:hover,.dropdown a:focus-visible { background: var(--cream); color: var(--deep); text-decoration: underline; text-underline-offset: 4px; }
.nav-trigger.is-current-section,.nav-link[aria-current="page"],.dropdown a[aria-current="page"] { color: var(--deep); box-shadow: inset 0 -2px var(--green); }
.footer .footer-credit { margin-top: 12px; margin-bottom: 0; color: #bdcbc2; font-size: 11px; text-align: right; }
.footer-diocese { grid-template-columns: minmax(0,1fr) 250px; gap: 18px; padding: 9px 20px; }
.footer a.footer-diocese-logo { min-height: 0; padding: 9px; background: white; border: 1px solid transparent; }
/* Source artwork bounds: (395,401)–(1896,1127) in 2291×1521; retain breathing room on every side. */
.diocese-logo-crop { position: relative; display: block; width: 100%; aspect-ratio: 1.95; overflow: hidden; }
.footer-diocese-logo .diocese-logo-crop img { position: absolute; width: 144%; max-width: none; max-height: none; height: auto; left: -22%; top: -44%; object-fit: initial; }
.footer a.footer-diocese-logo:hover { border-color: #e6cf88; box-shadow: 0 0 0 2px #e6cf8850; }
@media (max-width: 680px) {
  .calendar-month-actions { gap: 6px; }
  .footer-diocese { grid-template-columns: 1fr; gap: 13px; padding: 15px 17px; }
  .footer a.footer-diocese-logo { width: min(100%,250px); min-height: 0; }
  .footer .footer-credit { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-trigger,.nav-link,.dropdown a,.nav-give { transition: none; }
}

/* Shared quick access; the existing menu holds these actions on smaller screens. */
.nav-youtube { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 44px; border-radius: 6px; color: #c12832; transition: background-color 180ms ease, color 180ms ease; }
.nav-youtube svg { width: 22px; height: 22px; flex: none; }
.nav-social-label { display: none; }
.nav-youtube:hover,.nav-youtube:focus-visible { background: var(--cream); color: #a91f29; }
.nav-youtube:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.nav-link.nav-calendar { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid #b4955b80; border-radius: 22px; color: var(--deep); background: var(--cream); }
.nav-calendar svg { flex: none; }
.nav-link.nav-calendar:hover,.nav-link.nav-calendar:focus-visible { border-color: var(--gold); background: #efe6d2; }
.nav-link.nav-calendar[aria-current="page"] { color: white; border-color: var(--green); background: var(--green); box-shadow: inset 0 -2px #e6cf88; }
.home-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
@media (min-width: 1201px) and (max-width: 1350px) { .nav { gap: 10px; } }
@media (max-width: 1200px) {
  .nav { max-height: calc(100dvh - 70px); overflow-y: auto; }
  .nav-youtube { justify-content: flex-start; padding: 10px 8px; }
  .nav-social-label { display: inline; color: var(--ink); font-weight: 600; }
  .nav-link.nav-calendar { align-self: flex-start; width: auto; min-height: 44px; margin: 3px 8px; }
}
@media (max-width: 760px) { .home-feature-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .nav-youtube { transition: none; } }
/* Transparent hit area prevents outside dismissal from activating embedded/page content. */
.navigation-dismiss-backdrop:not([hidden]) { position: fixed; inset: 0; z-index: 19; background: transparent; }

/* Mobile accordion and shared utility area; desktop children retain their layout. */
.nav-chevron { display: none; }
.nav-actions { display: contents; }
@media (max-width: 1200px) {
  .nav { gap: 0; padding: 8px 16px 16px; max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overscroll-behavior: contain; }
  .nav > * { flex-shrink: 0; }
  .nav-trigger, .nav > .nav-link { display: flex; align-items: center; min-height: 44px; padding: 10px 8px; line-height: 24px; }
  .nav-chevron { display: block; flex: none; margin-left: 12px; color: var(--green); transition: transform 180ms ease; }
  .nav-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }
  .dropdown { max-height: none; overflow: visible; margin: 0 0 6px 16px; padding: 0 0 0 8px; background: transparent; border-left: 1px solid var(--gold); }
  .dropdown a { display: flex; align-items: center; min-height: 44px; padding: 8px 10px; font-size: 14px; font-weight: 400; line-height: 1.45; }
  #menu-worship > a[href="calendar.html"] { display: none; }
  .nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--stone); }
  .nav-actions > a { flex: none; margin: 0; min-height: 44px; font-size: 14px; }
  .nav-actions .nav-youtube { gap: 6px; padding: 8px; }
  .nav-actions .nav-calendar { padding: 8px 10px; }
  .nav-actions .nav-give { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { .nav-chevron { transition: none; } }


/* Optional contact portrait: full source proportions, no synthetic placeholders. */
.directory-person.has-portrait { display: flex; align-items: center; gap: 14px; margin: 8px 0; }
.directory-portrait { display: block; flex: none; width: 88px; height: 132px; object-fit: contain; border: 1px solid var(--stone); border-radius: 6px; background: var(--cream); }
.directory-person-details { min-width: 0; }

/* Homepage care-for-creation feature, using the unaltered official award badge. */
.home-eco { padding-top: 0; }
.home-eco-panel { display: grid; grid-template-columns: minmax(0,1fr) 216px; align-items: center; gap: clamp(24px,5vw,64px); padding: 32px 40px; border: 1px solid var(--stone); border-left: 3px solid var(--gold); border-radius: 8px; background: var(--cream); }
.home-eco-copy h2 { font-size: clamp(26px,3vw,36px); }
.home-eco-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); }
.home-eco-badge { display: block; width: 216px; height: auto; aspect-ratio: 1; object-fit: contain; }
.home-eco .text-link:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; border-radius: 2px; }
@media (max-width: 760px) {
  .home-eco-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .home-eco-badge { width: 176px; justify-self: center; }
}

/* Genuine parish photographs with readable overlaid homepage card content. */
.home-feature-grid { gap: 18px; }
.home-feature-grid .feature-card { min-height: 380px; padding: 28px; border: 1px solid var(--stone); border-radius: 9px; background: var(--deep); box-shadow: 0 6px 18px #18392d14; isolation: isolate; transition: box-shadow 180ms ease; }
.home-card-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% top; z-index: -2; }
.home-feature-grid .community .home-card-photo { object-position: 60% 45%; }
.home-feature-grid .feature-card::after { content: none; display: none; background: none; }
.home-feature-grid .feature-card > div { max-width: 260px; }
.home-feature-grid .feature-card h3 { font-size: clamp(32px,3.2vw,42px); line-height: 1.15; color: white; text-shadow: 0 2px 4px #000b, 0 0 1px #0009; }
.home-feature-grid .feature-card h3::after { content: ''; display: block; width: 42px; height: 2px; margin: 14px 0; background: #e2c77d; }
.home-feature-grid .feature-card p { margin: 0 0 20px; color: white; font-size: 16px; line-height: 1.5; text-shadow: 0 1px 2px #000c, 0 2px 5px #0008; }
.home-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 14px; border: 1px solid #e2c77d; border-radius: 50%; color: #fff8e7; }
.home-card-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 16px; border: 1px solid #e2c77d; border-radius: 7px; background: #244b39; color: white; transition: background-color 180ms ease; }
.community .home-card-cta { background: #655125; }
.home-feature-grid .feature-card:hover { box-shadow: 0 9px 24px #18392d29; }
.home-feature-grid .feature-card:hover .home-card-cta,.home-feature-grid .feature-card:focus-visible .home-card-cta { background: #163b29; text-decoration: none; }
.home-feature-grid .feature-card:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
@media (max-width: 1000px) {
  .home-feature-grid .feature-card::after { content: none; display: none; background: none; }
}
@media (max-width: 760px) { .home-feature-grid .feature-card { min-height: 340px; padding: 24px; } }
@media (prefers-reduced-motion: reduce) { .home-feature-grid .feature-card,.home-card-cta { transition: none; } }

/* Compact photographic navigation panels; icons share the title baseline. */
.home-feature-grid .feature-card { min-height: 280px; }
.home-feature-grid .feature-card > div { max-width: 340px; }
.home-card-title { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.home-card-title::after { position: absolute; left: 52px; bottom: -12px; content: ''; width: 42px; height: 2px; background: #e2c77d; }
.home-feature-grid .home-card-title h3::after { display: none; }
.home-card-title .home-card-icon { flex: none; width: 40px; height: 40px; margin: 0; }
.home-card-title .home-card-icon svg { width: 22px; height: 22px; }
.home-feature-grid .feature-card p { max-width: 260px; margin-bottom: 16px; }
.home-feature-grid .worship .home-card-photo { object-position: 55% top; }
.home-feature-grid .community .home-card-photo { object-position: 60% 40%; }
@media (max-width: 1000px) { .home-feature-grid .feature-card { min-height: 300px; } }

/* Shared parish identity: live typography and the existing circular cross. */
.brand { gap: 12px; }
.brand-mark { flex: none; border-color: var(--gold); color: var(--deep); transition: border-color 180ms ease, background-color 180ms ease; }
.brand strong { color: var(--deep); font-weight: 500; line-height: 1.2; letter-spacing: .055em; }
.brand small { margin-top: 5px; color: #52705e; line-height: 1.3; letter-spacing: .16em; }
.brand:hover .brand-mark { border-color: #806637; background: #b4955b0d; }
.brand:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; border-radius: 4px; }
.footer .footer-brand { max-width: 100%; gap: 14px; text-decoration: none; }
.footer-brand strong { color: #fff9ed; font-size: 17px; letter-spacing: .045em; }
.footer-brand small { color: #dcc58a; font-size: 10px; letter-spacing: .18em; }
.footer-brand .brand-mark { width: 42px; height: 42px; color: #fff9ed; border-color: #d5bc7b; }
.footer .footer-brand:hover,.footer .footer-brand:focus,.footer .footer-brand:focus-visible { text-decoration: none; }
.footer-brand:hover .brand-mark { border-color: #fff1c7; background: #ffffff08; }
.footer .footer-brand:focus-visible { outline: 3px solid #e6cf88; outline-offset: 5px; }
.footer-grid > div:first-child > p { margin-left: 56px; }
@media (max-width: 760px) {
  .site-header .brand { gap: 9px; }
  .site-header .brand strong { font-size: 12px; letter-spacing: .035em; }
  .site-header .brand small { font-size: 8px; letter-spacing: .14em; margin-top: 4px; }
  .footer-brand strong { font-size: 16px; }
  .footer-brand small { font-size: 9px; letter-spacing: .14em; }
}
@media (max-width: 380px) { .site-header .brand strong { font-size: 11px; } .footer-brand strong { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .brand-mark { transition: none; } }
.footer .footer-photo-credit { margin-top: 18px; margin-bottom: 12px; color: #c4d0c7; font-size: 11px; line-height: 1.6; } .footer .footer-photo-credit a { display: inline; margin: 0; color: #e6cf88; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; } .footer-photo-credit a:focus-visible { outline: 2px solid #e6cf88; outline-offset: 3px; }


/* Compact shared parish footer: paired features, three information areas, slim credits. */
.footer { padding: 28px 0 20px; }
.footer-features { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid #ffffff24; }
.footer-features > section { min-width: 0; }
.footer-feature-diocese { display: grid; grid-template-columns: minmax(0,1fr) 160px; gap: 20px; align-items: center; border-left: 1px solid #ffffff24; padding-left: 32px; }
.footer .footer-feature-kicker { color: #dcc58a; margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.footer .footer-features h2 { font: 600 26px/1.25 var(--serif); color: #fff9ed; letter-spacing: 0; text-transform: none; margin-bottom: 10px; }
.footer .footer-features p:not(.footer-feature-kicker) { max-width: 440px; margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.footer a.footer-feature-link { display: inline-block; color: #f1e5bc; margin: 0; font-size: 14px; font-weight: 600; padding-block: 6px; }
.footer .footer-feature-diocese a.footer-diocese-logo { width: 160px; padding: 7px; margin: 0; align-self: center; }
.footer .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-top: 28px; }
.footer .footer-grid > .footer-identity > p { margin: 10px 0 0 56px; max-width: 340px; }
.footer .footer-social { margin-top: 12px; margin-left: 56px; }
.footer .footer-social h2 { margin-bottom: 5px; }
.footer .social-links { margin: 0; }
.footer a.social-link { margin: 0; padding: 5px 9px; }
.footer-explore-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
.footer .footer-grid a:not(.brand):not(.social-link) { margin: 0; padding-block: 7px; }
.footer .footer-bottom { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px 20px; margin-top: 24px; padding-top: 14px; }
.footer-bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.footer .footer-bottom a { display: inline; margin: 0; font-size: 12px; }
.footer .footer-credit { margin: 0; font-size: 12px; }
.footer .footer-photo-credit { grid-column: 1 / -1; margin: 0; font-size: 12px; }
.footer a:focus-visible { outline: 3px solid #e6cf88; outline-offset: 4px; }
@media (max-width: 1100px) { .footer-feature-diocese { grid-template-columns: 1fr; gap: 12px; } .footer .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 24px; } .footer-explore-links { grid-template-columns: 1fr; } }
@media (max-width: 899px) { .footer-features { grid-template-columns: 1fr; gap: 22px; } .footer-feature-diocese { grid-template-columns: minmax(0,1fr) 160px; padding: 22px 0 0; border-left: 0; border-top: 1px solid #ffffff24; } .footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .footer-identity { grid-column: 1 / -1; } .footer-explore-links { grid-template-columns: repeat(2,minmax(0,1fr)); } .footer .footer-bottom { grid-template-columns: 1fr; } .footer .footer-credit { text-align: left; } }
@media (max-width: 599px) { .footer { padding-top: 24px; } .footer-features { padding-bottom: 24px; } .footer-feature-diocese { grid-template-columns: 1fr; } .footer .footer-grid { gap: 24px 18px; } .footer-explore-links { grid-template-columns: 1fr; } .footer .footer-grid > .footer-identity > p, .footer .footer-social { margin-left: 0; } .footer .footer-photo-credit { line-height: 1.8; } }

.footer-feature-diocese > div { align-self: start; }

.directory-portrait.profile-derivative { object-fit: cover; }
.directory-portrait-frame { display: block; position: relative; flex: none; box-sizing: border-box; width: 88px; height: 132px; overflow: hidden; border: 1px solid var(--stone); border-radius: 6px; background: var(--cream); }
.directory-portrait-frame img { display: block; position: absolute; max-width: none; }

/* Keep the Churchyard frame around its unchanged 4:3 photo and caption. */
.topic-image.churchyard-photo { max-height: none; }

/* Semantic Calendar rows retain the existing seven-column layout. */
.calendar-week{display:contents}
